Enter on CalOnBarClose=True, but Exit Immediately on X Ticks | Traders Hideout


futures.io - futures trading strategies, market news, trading charts and platforms


Traders Hideout


Discuss day trading practices and futures trading strategies on this forum for all markets. This forum is also for discussing and reviews for brokers, data feeds, and commercial or third party add-ons




 

Enter on CalOnBarClose=True, but Exit Immediately on X Ticks

  #5 (permalink)

Market Wizard
Birmingham UK
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: TST/Rithmic
Favorite Futures: YM/Gold
 
ratfink's Avatar
 
Posts: 3,650 since Dec 2012
Thanks: 17,356 given, 8,341 received


albertjay View Post
I have a bunch of entry strategies that all rely on CalcOnBarClose=True. However, once in a while price goes in your direction really quickly and you want to exit to secure gains immediately, before the bar closes. For example, if price has 12 ticks gain on entry bar, then exit before close. Anyone have a good way of doing this without changing CalcOnBarClose to false?

Thanks in advance!

-Al

@spinnybobo is doing something similar, if you're also ok with just live.

https://futures.io/ninjatrader/40409-access-tick-data-within-barsinprogress-minute-loop.html#post595490

Cheers

Travel Well
Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to ratfink for this post: