i havet ested this code maaaaany times before on auto, same settings, same timezon and same trading hours. Now i get this?! I have tried to enter manually in the code the hours in the error message, still does not work
- 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.
- 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
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.
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.
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.
It does not matter when you start, but when 4-hours CANDLES start!
I don’t think they start/end at 8.
yes i did that, changed in my code and in custom trading option in prt
Please post in your next message the code lines where you are using time values.