Sounds simple - yet I cannot seem to be able to do this using the strategy wizard.
Also I don't think coding something like :
if ToTime(Time[0]) >= 10300
set FirstHourHigh = CurrentDayOHL().CurrentHigh
Then
If Close[0] > FirstHourHigh
buy
I don't think this will work since it will constantly repopulate the FirstHourHigh every time a new high is reached.
If I change it to If ToTime = 10300 then my computer has to be on at that time to make sure I get a correct value for the first hour high, which is not always possible.
I need to be able to turn my computer at any time and be able to run the strategy which will get the first hour high and generate a trade when that high is breached.
This also means that there will be no trades before 10:30 as the high is unknown yet.
Am I missing something? Is there a way to do this?
Any help would be greatly appreciated.
Thanks
Comment