This is what I was doing before . . but I changed my code to have an extern bool to set if the Broker is and ECN Broker . . that is the safest option.
RaptorUK:
This is what I was doing before . . but I changed my code to have an extern bool to set if the Broker is and ECN Broker . . that is the safest option.
This is what I was doing before . . but I changed my code to have an extern bool to set if the Broker is and ECN Broker . . that is the safest option.
Hi Raptor,
Did you change to an external bool more as a precaution or did you really experience problems with the stoplevel/freezelevel method?
It was a precaution.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
If you want your ea to automatically determine the broker type (ECN or MM), is it save to say that if
stoplevel or freezelevel returned by marketinfo is 0, you're dealing with an ECN broker and therefore
you have to add your stop loss and and take profit with ordermodify?
thanks!