Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bool Flags??

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

    Bool Flags??

    Hello, I am trying to implement a few strategies that would take one entry signal per day and exit @ the close, or be stopped out before hand. In the case in which these strategies are stopped out, I would like it to stop trading for the day ie 1 entry only. I like many are masters of the strategy analyzer but are not that good at coding. I have seen others all but beg for someone @ NT to explain, possibly in strategy analyzer, how to enter in the first signal of the day and exclude the rest, simple enough???..Thanks

    #2
    rightcoast, I suggest you check into post 3 of this thread, where something similiar was developed - http://www.ninjatrader-support2.com/...ad.php?t=10885

    Comment


      #3
      Hey Bertrand, thanks for the link. I can get that to work and I assume you would use that to live trade in the manner that I expressed. I was actually looking for a way to backtest this entry. Correct me if I am wrong but coding it in this manner will only trade once...period, unless you adjust manually. Does this mean you cannot backtest a single entry strategy? thanks

      Comment


        #4
        rightcoast, not if you reset the bool flag / user variable like indicated in the post. The concept is to reset it to reset it each day to allow entries again, then block trading as the day progresses.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        368 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        571 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X