Code: Select all
if marketposition = 0 and
(time=905 or time=1300 or time=1700)
then sellshort ("S") 1 contracts next bar at market;
When the trade takes more time and more than one bar, it seems that the fault does not occur.
Any idea?
Thank you
Code: Select all
if marketposition = 0 and
(time=905 or time=1300 or time=1700)
then sellshort ("S") 1 contracts next bar at market;