特定の時間枠にEAを固定する
1件の返信
Requesting a feature to lock the EA to a specific timeframe, if EA is to be loaded on a 15 min timeframe it should generate a warning message if another timeframe is chosen and should not be able to open trades.
よろしくお願いいたします。.
0
You can do it by calling Custom Function: Period(), for example:
IF Period() 15
THEN LogToJournal(“Incorrect period”)
Period returns currenttimeframe in minutes, so it will return 5 for M5, 15 for m15, 60 for H1, 240 for H4, 1440 for D1 and so on.
マーク
StrategyQuantアーキテクト
0
1件の返信を表示中 - 1 - 1件目 (全1件中)