Download MetaTrader 5

Invalid SL or TP

To add comments, please log in or register
They are making profit already using Freelance service. You can join them!
paristrading
12
paristrading 2016.10.05 00:15 

2016.10.04 17:59:52.325 '70294368': order sell 8.00 #Euro50 opening at 3010.40 sl: 3026.37 tp: 2994.43 failed [Invalid S/L or T/P]

 

I get the above error, the stops level is 30, so I do not understand why error occurs and how to resolve?

 

The issue does not occur in strategy tester only when I run my expert on my demo account when the market is live

Muhammad Mudasir
6823
Muhammad Mudasir 2016.10.05 22:32  
paristrading:

2016.10.04 17:59:52.325 '70294368': order sell 8.00 #Euro50 opening at 3010.40 sl: 3026.37 tp: 2994.43 failed [Invalid S/L or T/P]

 

I get the above error, the stops level is 30, so I do not understand why error occurs and how to resolve?

 

The issue does not occur in strategy tester only when I run my expert on my demo account when the market is live


Share the code then we can see where the problem is
paristrading
12
paristrading 2016.10.06 00:41  
Muhammad Mudasir:

Share the code then we can see where the problem is

error states; Failed to Sell: 130

I'm using FX Pro Quant so not actually writing the code 

Jose Francisco Casado Fernandez
2413
Jose Francisco Casado Fernandez 2016.10.08 20:21  
paristrading:

error states; Failed to Sell: 130

I'm using FX Pro Quant so not actually writing the code 

You have to round up price for SL and TP according to the tick size, and check min stops distance. Regards.
paristrading
12
paristrading 2016.10.09 12:05  
Jose Francisco Casado Fernandez:
You have to round up price for SL and TP according to the tick size, and check min stops distance. Regards.

Thanks Jose, I will give rounding up the SL and TP a go.

 

Cheers 

To add comments, please log in or register