What is The Most effective way to prevent multi order in one bar (M1 bar) ?
3 replies
alirazzak
7 years ago #115033
Hi
Just curious , What is The Most effective way to prevent multi order in one bar (M1 bar) ?
First Question :
Which one is more effective : –> using both Condition (“OrderOpenedThisBar” — “is not” — “True”) and (“OrderClosedThisBar” — “is not” — “True”)
–> or just using one Condition (“OrderOpenedThisMinutes” — “is not” — “True”)
Second Question :
What the different and which one is fastest for EA work to prevent multi order in M1 bar,? using (“OrderOpenedThisminutes” — “is not” — “True”) vs (“OrderOpenedThisminutes” — “is” — “False”)
From EAwizard userguide, it will only “return to True when order with selected magic order is placed and closed at this minute” . So Two above have same meaning ?
tomas262
7 years ago #136562
For 1 minute bar both function should do the same job. The first one should provide more flexibility since it’S auto-fit to selected timeframe
Let me know if you need a Wizard example
alirazzak
7 years ago #136606
Okay I Use all :
“OrderOpenedThisBar” — “is not” — “True”) and (“OrderClosedThisBar” — “is not” — “True”) and (“OrderOpenedThisMinutes” — “is not” — “True”)
I dont know inside the code but I think its works because total trade number is reduced
chibobski84
7 years ago #138711
Viewing 3 replies - 1 through 3 (of 3 total)