If I have a script running on a daily time frame. Is there a way of setting the start and end time of the day for the instrument just for a particular script without setting it as a default for the instrument as a whole (which is used for other strats using multiple timeframes)
For this daily script I would like to set the daily time frame to start at X and end at Y.
Any orders generated as a result of the script should be placed on the start of following day at X
It’s possible to change the time an instrument trades; I did it for DAX from 7 through 21 GMT (8-22 CET) and the candles in between are displayed as a GAP.
But I cannot tell you what values DHigh(1), DLow(1), DClose(1) and DOpen(1) may return. You may wite a simple strategy and usze GRAPH to see what happens.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue