Good day everyone,
Sorry for the newbie question, I am quite new to ProRealCode and have just began trying out my strategies. I’ve set up a strategy for Crude oil on the daily time frame (which sets a new candle at 05:00 UTC according to the IG platform). I tried running my code but it automatically enters new positions at 00:00 (5 hours ahead). I thought that perhaps, this is the default setting for market entry. How do I adjust the market entry on the daily turnover for this instrument, at 05:00? I am based in the Philippines/Singapore.
This is the only time specification I’ve used in the code:
TIMEFRAME(daily, updateonclose)
Any help would be appreciated, thanks.
sets a new candle at 05:00 UTC
How do you think a Daily TF can trigger at 05:00?
You need a 1 Hour or below TF so that a candle closes at exactly 05:00.
In the ProOrder systems list you can view on which timezone you have launched your strategy. Perhaps it uses the wrong one according to what you want.