Is bar open function
1件の返信
こんにちは,
I want to code an EA that evaluates the market only at the close of each bar. If conditions are met, a market order is immediately opened.
1) Should I use the Is bar open function? Is bar close = bar open?
2) If the indicator shift = 1, does it refer to the bar that just closed, or the bar that just opened?
0
こんにちは,
you can use “IsBarOpen is True” but also checking “evaluate rule on bar open only” will do the same job.
Condition will be evaluated as soon as last working bar closes. It becomes bar with shift = 1
0
1件の返信を表示中 - 1 - 1件目 (全1件中)