Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop and Targets submitted at the same time as entry

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

    Stop and Targets submitted at the same time as entry

    I am having trouble with a strategy that I’m constructing in the strategy builder (I don’t know how to code). It is a multiple target strategy where I enter with two contracts when my conditions are met (this part is working fine) and then I set one contract target to an indicator (this is also working fine) and then submit a trailing stop for the second contract (this is working as well).
    The conditions to enter the trade are contingent on the current bar closing before any position is entered, for that reason I have used the ”on bar close” calculation.

    The problem I have is the stop and target orders do not enter until another complete bar has printed, obviously I can’t have this as the price can run down through my stop and then it doesn’t get entered. I seem to have a choice of either calculating “on tick” or “price change”, but then I enter many trades that I wouldn’t want to enter (mid bar conditions meet the strategy conditions, the the full bar doesn't). Can I have the entry wait for the bar close and then subsequent bars calculate in real time?


    What am I missing that would have the entry wait for a bar to close but the stops and target will enter at the same time?

    Screen shots of the strategy attached
    ​​
    Attached Files

    #2
    Hello MChiarandini,

    To have the entry condition work OnBarClose but have other conditions work OnPriceChange you can do that. In your entry condition you would need to add a condition checking misc -> is first tick of bar equals misc -> true. That will let the condition execute as each bar closes.

    Comment


      #3
      Thank You Jesse, I coudn't imagine there was a way to do this.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      475 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      315 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      253 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      340 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      305 views
      0 likes
      Last Post CarlTrading  
      Working...
      X