Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Builder to identify Wiseman Fractal

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Strategy Builder to identify Wiseman Fractal

    How do you tell the Strategy Builder to recognise when a Wiseman Fractal signal has been plotted. They are triangular shapes plotted on a price chart

    Thanks

    #2
    Hello demo166130,

    Thank you for your note.

    This would not be possible in the builder as the logic is not exposed for this indicator.

    I will submit a feature request that this be accessible via the builder builder.

    Please let us know if you
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      How do you access plotted Wiseman Fractal indicators in code?

      thanks,

      Chris

      Comment


        #4
        Hello Chris,

        Thank you for the post.

        This would depend on the indicator that you are using, do you have a link to the indicator being used? You would need to call the indicator by its name in code, and then access the Plot for the data you want. If the indicator draws drawing objects, it would be more difficult to use for signals, it would need to be programmed to use Plots instead.

        If the indicator uses plots, the syntax may look similar to how you would call the Bollinger bands and one of its plots: https://ninjatrader.com/support/help...tsub=bollinger

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Is there any change? How can i read current state of Wiseman Fractal - Indicator? (No matches on documentation side)
          What is the name of the indicator-file?

          I can include the indicator via code / function request but i'm not able to find the related indicator-file this should be come as well as @RSI, @ADX etc. from distributor NinjaTrader?

          Comment


            #6
            Hello PeterGolz,

            The most simple way to generate the code for this would be to use the strategy builder. You can form a condition using the indicator and then click ViewCode to see the exact syntax to use the indicator. Just a simple condition such as Close > indicator -> wiseman fractal

            Please let me know if I may be of additional assistance.
            JesseNinjaTrader Customer Service

            Comment


              #7
              There are several independent questions:

              1.) No matches on documentation side could be found for Wiseman Fractal!?
              2.) Where can i see the indicator sourcecode sutch as @RSI, @ATX etc.?
              3.) How can i read the current state (arrows) of the indicator (Wiseman Fractal)?
              (*.Value[0] dosen't work for example)

              Comment


                #8
                Hello PeterGolz,

                Currently there is no documentation for this indicator.
                The indicator is a internal indicator so this is not available as source code, it can be called from NinjaScript to add it visually.
                The arrows are not something which is exposed it looks like it renders that. The indicator can be selected in the builder/manually coded to add it visually but I don't see that it can be used for conditions in any way.

                Please let me know if I may be of additional assistance.

                JesseNinjaTrader Customer Service

                Comment


                  #9
                  // Wiseman Fractal
                  if ((Low[0] >= Low[2])
                  && (Low[1] >= Low[2])
                  && (Low[3] > Low[2])
                  && (Low[4] > Low[2])
                  )
                  {
                  Draw.TriangleDown(this, @"Fractal_1" + CurrentBar, false, 2, Low[2] - (1*TickSize), Brushes.Red);
                  }

                  if ((High[0] <= High[2])
                  && (High[1] <= High[2])
                  && (High[3] < High[2])
                  && (High[4] < High[2])
                  )
                  {
                  Draw.TriangleUp(this, @"Fractal_1" + CurrentBar, false, 2, High[2] + (1*TickSize), Brushes.Blue);
                  }
                  Use this logic to create a custom indicator which match with the signals generated by Wiseman Fractals indicator. Attached is the custom indicator I created for version 8. It includes Divergence bar with Wiseman Fractals signals for the Wiseman Alligator strategy.
                  Attached Files

                  Comment


                    #10
                    Originally posted by amul_shail2020 View Post
                    // Wiseman Fractal
                    if ((Low[0] >= Low[2])
                    && (Low[1] >= Low[2])
                    && (Low[3] > Low[2])
                    && (Low[4] > Low[2])
                    )
                    {
                    Draw.TriangleDown(this, @"Fractal_1" + CurrentBar, false, 2, Low[2] - (1*TickSize), Brushes.Red);
                    }

                    if ((High[0] <= High[2])
                    && (High[1] <= High[2])
                    && (High[3] < High[2])
                    && (High[4] < High[2])
                    )
                    {
                    Draw.TriangleUp(this, @"Fractal_1" + CurrentBar, false, 2, High[2] + (1*TickSize), Brushes.Blue);
                    }
                    Use this logic to create a custom indicator which match with the signals generated by Wiseman Fractals indicator. Attached is the custom indicator I created for version 8. It includes Divergence bar with Wiseman Fractals signals for the Wiseman Alligator strategy.
                    Hi. thanks for doing this. i have added it but cant use the indicator in ninjatrader editor when adding indicators to my automated strategy. I can right click it on a chart and add it but not able to use when building a strategy. Any advice? thanks.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by PaulMohn, Today, 03:49 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post PaulMohn  
                    Started by inanazsocial, Today, 01:15 AM
                    1 response
                    7 views
                    0 likes
                    Last Post NinjaTrader_Jason  
                    Started by rocketman7, Today, 02:12 AM
                    0 responses
                    10 views
                    0 likes
                    Last Post rocketman7  
                    Started by dustydbayer, Today, 01:59 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post dustydbayer  
                    Started by trilliantrader, 04-18-2024, 08:16 AM
                    5 responses
                    23 views
                    0 likes
                    Last Post trilliantrader  
                    Working...
                    X