Custom trading hours not compatible with the timeframe used
Forums › ProRealTime English forum › ProOrder support › Custom trading hours not compatible with the timeframe used
- This topic has 7 replies, 3 voices, and was last updated 6 years ago by
Nicolas.
Tagged: custom trading hours
-
-
11/27/2018 at 1:41 AM #8578511/27/2018 at 8:27 AM #8579411/27/2018 at 7:49 PM #85859
- For a new topic, your title should be explicit enough to prompt the community to read your discussion.
“error?” is not a correct title according to the posting rules.
oh i see, im sorry! Will think of that next time 🙂
Would you happen to know that the problem might be here nicolas? Also would really appreciate if you look at my other topic “auto goes opposite from backtest” Would really appreciate
11/28/2018 at 11:00 AM #85900Because 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.
11/28/2018 at 7:53 PM #85942Because 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.
i see, and i tried that, changing to exact full hours, and since using 4h chart, did from 8am+4h+4h+4h= close at 20pm. Still the same message.
11/28/2018 at 8:47 PM #85944It does not matter when you start, but when 4-hours CANDLES start!
I don’t think they start/end at 8.
11/28/2018 at 10:40 PM #8595611/29/2018 at 8:46 AM #85970 -
AuthorPosts
Find exclusive trading pro-tools on