Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Does anyone know how to use bwFractal in strategy builder in Ninjatrader 8?

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

    Does anyone know how to use bwFractal in strategy builder in Ninjatrader 8?

    Does anyone know how to use bwFractal in strategy builder in Ninjatrader 8? I tried the below but doesn't seem to work.
    Attached Files

    #2
    This is my strategy but it never gets triggered because of bwFractal. When I isolated bwFractal it didn't work

    Click image for larger version

Name:	image.png
Views:	454
Size:	45.5 KB
ID:	1254111

    Comment


      #3
      Hello trgui7883,

      I would suggest using a print to see what values the indicator is producing. In a new empty set add only the action Misc -> Print. In the prints configuration you can select the indicator and its plot for the value. When you run the strategy it will output the value on each bar so you can get a better idea of what's happening.

      Comment


        #4
        I used print. I added the action Misc -> Print but I got nothing in output. My issue is with this strategy for bwFactal

        Click image for larger version

Name:	image.png
Views:	428
Size:	14.3 KB
ID:	1254164


        Comment


          #5
          The formula bwFractal(false, true,3,1).Upper[3]>0) doesn't seem to bring the highest polt of the Fractbwal.

          Comment


            #6
            Do you know how to add the condition (when high fracatal appear) to strategy builder

            Comment


              #7
              Hello trgui7883,

              In the image you added a condition which is what I said to not do. You need to remove that condition and just have a print. In the print you used a blank string, instead if that you need to use the indicator so you can print out the indicators value for each bar.

              Comment


                #8
                I don't understand what do you mean.

                Comment


                  #9
                  Hello trgui7883,

                  To print a value out you need a set which has nothing in the top half of the screen, no conditions. That means it prints on every bar.

                  As an action you need to print the indicators value. What you pictured is just a blank string which wont be helpful. You need to hover the mouse over that field and click Set then choose the indicator you are using.

                  If you print the value of the plot for each bar you can see how the strategy is seeing the indicator to know how to modify your condition to work.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by NullPointStrategies, Yesterday, 05:17 AM
                  0 responses
                  54 views
                  0 likes
                  Last Post NullPointStrategies  
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  131 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  73 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  44 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  49 views
                  0 likes
                  Last Post TheRealMorford  
                  Working...
                  X