Reply

What is The Most effective way to prevent multi order in one bar (M1 bar) ?

3 replies

alirazzak

Subscriber, bbp_participant, community, 33 replies.

Visit profile

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 ?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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

0

alirazzak

Subscriber, bbp_participant, community, 33 replies.

Visit profile

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 

0

chibobski84

Subscriber, bbp_participant, community, 6 replies.

Visit profile

7 years ago #138711

This is useful

 

thanks for the share  😀

0

Viewing 3 replies - 1 through 3 (of 3 total)