I'm learning ES Backtesting this weekend. I get the general picture but have yet to see any reference to coding Time Stops. Profit targets and stop losses, not problems but if I want to close at a certain time, how do I do this?
I dont need to know how to test ifLong or ifShort ... Then coverShort or exitLong. I just want a test equivalent to
if time = 12:00 then strategy.coverShort(... ) ..
How do I do this?
I dont need to know how to test ifLong or ifShort ... Then coverShort or exitLong. I just want a test equivalent to
if time = 12:00 then strategy.coverShort(... ) ..
How do I do this?
Comment