Orderr Modification Error 130. What is this? While entering order from EA MT4.

To add comments, please log in or register
Boristabby55
20
Boristabby55  

My EA enters  up to 5 orders, then modifies with TP and SL.  Also sets trailing stops. Journal shows many many Error 130 msgs.

Entered same question last week but it is no longer in the MT4 Forum area??  Did it get answered?  Help, help.

Alain Verleyen
38701
Alain Verleyen  

Forum on trading, automated trading systems and testing trading strategies

Order Modify Error 130

Boristabby55, 2018.04.01 22:36

What and why do I get this as my MT4 EA opens an account?
Lakshan Perera
9849
Lakshan Perera  
Boristabby55:

My EA enters  up to 5 orders, then modifies with TP and SL.  Also sets trailing stops. Journal shows many many Error 130 msgs.

Entered same question last week but it is no longer in the MT4 Forum area??  Did it get answered?  Help, help.

Error 130 is because of invalid stops.
1) Maybe you stop levels have invalid form of normalization/rounding off.
2) or your broker has set a minimum distance between stop levels and current market price and the EA tries to set a TP or SL or a pending order closer to the market price than the amount set by your broker

Here my broker doesn't have this fixed minimum distance (freeze levels) between current price and the stop levels so it is mentioned as 0


Files:
To add comments, please log in or register