Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639
|
fxpipmeister,
assuming you use the code for all your entries and your signal hasn't taken an entry so far, trying to access previously closed positions values (BarsSinceExit in your case) will likely just return 0.
That's why you second approach could block all entries.
Regards,
ABCTG
|