Change time later in MT5 code
4件の返信
I have created now some futures strategies and did not copy before the imported data to the brokers timezone.
Now it happened the following. The strategy should close the trade at 15:00 US CT. But at already 10:00 US CT the trade has been closed. This happened because my brokers time was at this moment 15:00 in MT5.
So I changed the EndofDay setting in MT5 code from 15:00 to 20:00 (meaning shift it 5 hours later) to close the strategy at 15:00 US CT, this worked.
But does this affect in any way the realiabilty of any backtest I did with the original time settings? The strategy is not based on a special time setting ect.
ありがとうございます!
DP
0
sure – if you dont use cloned data to the timezone used in the platform, the backtest will be different – it could depend on used timeframe and building blocks, but most probably the backtest will be different
you need to retest the strategies to see the difference
利益を上げるアルゴトレーダーになりたいですか?私たちは2014年序盤からStrateQuantソフトウェアを使い始めました。現在では、あらゆるタイプの市場に対応するEA構築に関する膨大なノウハウを持っています。私たちはこのノウハウ、アプリ、ツール、そしてすべての最終的な戦略をリアル・トレーダーの皆様と共有しています。参加したい方は、以下にご記入ください フォーム.
0
Thanks Hankey!
Ok to clone the data… all futures are downloaded by default with the timezone EXCHANGE in SQX. If my broker is 5 hours earlier (so broker has 15:00 while exchange is still 10:00) then it means that I need to clone with shift +5, correct?
DP
0
take one candle from your platform and compare it with the candles in SQX in datamanager and you will find what settings you need to use
you need to synchronise the timezone
利益を上げるアルゴトレーダーになりたいですか?私たちは2014年序盤からStrateQuantソフトウェアを使い始めました。現在では、あらゆるタイプの市場に対応するEA構築に関する膨大なノウハウを持っています。私たちはこのノウハウ、アプリ、ツール、そしてすべての最終的な戦略をリアル・トレーダーの皆様と共有しています。参加したい方は、以下にご記入ください フォーム.
0
4件の返信を表示中 - 1 - 4件目 (全4件中)