PureBytes Links
Trading Reference Links
|
Am looking for a work around when various exits mixed with a reentry cause
an early exit.
I use NextOpen and often enter/exit so many points above or below the next
open.
The problem occurs when the current position is told to exit on the nextbar,
leaving this bar as BarSinceEntry (BSE) being >0 (say 3), and at this same
bar a reentry signal is generated for the next bar, if nextopen parameters
are met. This occurs, and the new entry is at BSE=0.
However, a different exit signal from the previous bar requires BSE be >0.
Now the current bar is actually BSE=0 for the new entry, but when the signal
was given, a bar ago, BSE=3. So the exit occurs where it shouldn't.
Any ideas appreciated.
Jon
|