Specify pair for Open[2]
But I cannot seem to go back two seconds with iOpen(). How can I get the open price for a specified pair exactly two seconds ago?
hknight:
But I cannot seem to go back two seconds with iOpen(). How can I get the open price for a specified pair exactly two seconds ago?
Read the replies to your other post .. . you CANNOT unless you record the prices tick by tick by tick . . .
But I cannot seem to go back two seconds with iOpen(). How can I get the open price for a specified pair exactly two seconds ago?
HKnight,
The MarketInfo() function comes in handy sometimes, Hahaha! ;) You may also consider recording prices (tick-by-tick) OR ;) write code to imitate a timer which will check every two seconds...
Thank you
How can I specify the pair for Open[2]?
I want it to apply to USDCHF regardless of the chart that the expert adviser is attached to.