EAが午前8時から午後9時30分までの間のみトレードを行いに、午後9時30分にすべてのオープンポジションを決済するようにするには、どの取引ルールを選択すべきですか?
1件の返信
皆さん、こんにちは,
could you tell me please which Trading Rule I have to choose, that the EA opens Trades only between the Trading Day Time 8:00 a.m. to 9:30 p.m. and close all open Trades at 9:30 p.m. for example?
もし
it is between 8:00 a.m. to 9:30 p.m.
and……….
それから
…………….
Thanks for feedback.
Birdy70
0
こんにちは,
you have to specify two trading rules i this case:
Rule 1 – to open trades between 8:-00 and 9:30 pm
もし
Time >= GetTime(8, 0, 0)
そして
Time < GetTime(21, 30, 0)
そして
some other entry conditions…
それから
Enter at market
Rule 2 – to close all positions after 9:30 pm
もし
Time >= GetTime(21, 30, 0)
それから
Close all positions
マーク
StrategyQuantアーキテクト
0
1件の返信を表示中 - 1 - 1件目 (全1件中)