hi everybody
I've been coding easylanguage for a while but I never found how to do this:
I want to enter long if the OPEN of the current bar is higher then a calculated value (let's say X).
And I want to place a limit order at the open value 1 second after the open.
Using prorealtime I can test this strategy writing
if open > X then
buy 1 shares at open limit realtime
how do I do that in easylanguage?
Please note that I can't use "buy next bar at Open" because I need the open value in order to take the decision.
One could ask me why I don't change the wole system using the close information...
Because in Italy there are often gaps and using the close information I would completely loose the first trading bar after the market open.
Any help?
Thanks
I've been coding easylanguage for a while but I never found how to do this:
I want to enter long if the OPEN of the current bar is higher then a calculated value (let's say X).
And I want to place a limit order at the open value 1 second after the open.
Using prorealtime I can test this strategy writing
if open > X then
buy 1 shares at open limit realtime
how do I do that in easylanguage?
Please note that I can't use "buy next bar at Open" because I need the open value in order to take the decision.
One could ask me why I don't change the wole system using the close information...
Because in Italy there are often gaps and using the close information I would completely loose the first trading bar after the market open.
Any help?
Thanks