I am trying to implement something in the code which I thought would be somewhat simple, i.e.
if ('condition 1'
&& 'condition 2'
&& 'condition 3'
&& BarsSinceExit() > 0)
EnterShort()
Basically when entering the 'BarsSinceUpdate()' command I get zero orders executed.....removing this line & things go back to normal.
Clearly the code I have is a little more complicated than the above, but the principle is the same.
Any ideas as to where I could be going wrong?
thx
David

Comment