BarsSinceExit Question | 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




 

BarsSinceExit Question

  #1 (permalink)

Los Angleles, CA
 
Trading Experience: Intermediate
Platform: Multicharts
Favorite Futures: Forex
 
Posts: 7 since Nov 2011
Thanks: 18 given, 2 received

BarsSinceExit Question

I don't understand how to use BarsSinceExit correctly.

For example when I use the expression:


1. if marketposition= 0 and BarsSinceExit (1) >= 0 then begin //works as intended

2. if marketposition= 0 and BarsSinceExit (1) >= 1 then begin //does not work as intended


Basically, I don't want my strategy to open and close positions on the same bar.

I want to limit entry and/or exit signals in this strategy to once per bar.

I checked the user manual and power language keyword reference but did not see anything obvious that would explain
why the strategy works using example #1 yet does not open new positions using example #2.
Would be great if someone could point me in the right direction.

Thanks,

Follow me on Twitter Reply With Quote