Forums ProRealTime English forum ProOrder support Custom trading hours not compatible with the timeframe used Reply To: Custom trading hours not compatible with the timeframe used

#85900

Because the code is only read one time per bar, at Close, the time you are testing in your conditions must be met at the candlestick Close.

So if you are trading the 1h timeframe, your time condition should only contain plain hour, like 09000 or 220000.

For a 5-minutes timeframe, they should be like 095000, or 173500.

Time format is HHMMSS.

BTW, I’ve never seen this error message before, I think that it has been implemented recently.

 

1 user thanked author for this post.