TicketSend Error 130? - Print Function

Back to topics list To post a new topic, please log in or register
avatar
39
FrazeColder 2016.04.04 16:34
 

Hey Guys,

 

I have a problem. My code is calculating a Stop Loss. As you can see in the picture:
My Bid is 1.13844 and my min. stop is 1.13794. So at least exactly 50 points. But why I get a 130 Error? 

 


And how can I print more variables in one print methode?
In Java I just type System.out.Print("Hello"+a+"bla bla bla, next variable"+b); - How can I do this in MQL?

Greetings :) 

avatar
13004
WHRoeder 2016.04.04 20:30 #
 
FrazeColder:

I have a problem. My code is calculating a Stop Loss. As you can see in the picture:
My Bid is 1.13844 and my min. stop is 1.13794. So at least exactly 50 points. But why I get a 130 Error? 

And how can I print more variables in one print methode?
  1. How should we know, we can't see your code, nor what your variables are. (I'd guess you opening a buy using Bid.)
  2. RTFM. Look at the example in Print - Common Functions - MQL4 Reference and/or PrintFormat - Common Functions - MQL4 Reference
avatar
1217
FMIC 2016.04.05 14:11 #
 
Remember to check your broker's StopLevel (for new orders) and FreezeLevel (when modifying orders), which places limits on the minimum size or distance of the stops that can cause an 130 Error.
Back to topics list  

To add comments, please log in or register