Hi all,
So I've the EA running well on a ECN Broker without any error 130 return but once running on a STP Broker the opening of orders is fine and when TrailingStop should "start is work" error 130 pops up.
As far I understood ECN Broker runs on a commission base and STP on a spread base. Don't the code should run in any of the Brokers or is anything missing here ?
Thank in advance for any clue to follow
Luis
The best way for you to fix this is by fully understanding what is required, the mathematics are pretty simple but what is involved can seem like a lot of effort, but it you can take the time to understand it is well worth it.
All you need to know is on one page, if you can read it, follow and understand it then you can code checks to avoid error 130: Requirements and Limitations in Making Trades
One difference between ECN and STP brokers is Stop and Freeze levels, ECN usually have them at 0 so for a Buy on an STP you need to ensure that your new SL complies with this Bid - SL >= Stoplevel (* point)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi all,
So I've the EA running well on a ECN Broker without any error 130 return but once running on a STP Broker the opening of orders is fine and when TrailingStop should "start is work" error 130 pops up.
As far I understood ECN Broker runs on a commission base and STP on a spread base. Don't the code should run in any of the Brokers or is anything missing here ?
Thank in advance for any clue to follow
Luis