What’s BarsSinceOrderClosed display -1 mean?
1件の返信
I found the description is “return number of bars since the specified order was OPENED“. Is this description wrong?
How ever, I have use the function”BarsSinceOrderClosed” to limit open new orders and make it log to journal ,then it display “-1” for all orders no matter how many bars between the last order closed and the new order start point.
How can I make the right settings to limit a new order must open after the closed order in 2 bars?
ありがとう。.
0
こんにちは,
the function returns -1 in case it does not detect any previous orders to evaluate. Are you sure you set the magic number correctly? You can attach or send us your project for a quick check
0
1件の返信を表示中 - 1 - 1件目 (全1件中)