なぜ取引はバーの開店時に開かないのですか?
2件の返信
こんにちは、,
I have a very simple code which should open a trade when conditions are met ONLY at the open of a bar and close at the same bar.
It closes indeed at the close, however it opens not at the open but at a price I cannot trace. Please help!
よろしくお願いいたします。,
デニス
If (IsBarOpen is True) && (((Close[2] > Close [1]) and ( Market Position() is Flat) And (IsBarOpen is True))))
それから
Buy 0.1 Lots at market
Magicnumber= 1000;
Close position after 1 bars
End If;
0
it should open the trade at bar open. I tested it in MT4 and it works, I cannot imagine what could be wrong in your case.
Are you trading it on MT4? When are the trades opened, does it take long from open since they are opened?
マーク
StrategyQuantアーキテクト
0
2件の返信を表示中 - 1 - 2件目 (全2件中)
