pavelion / Profile
Friends
6
Requests
Outgoing
pavelion
Added topic Error code 130, invalid stops
OrderSend ( _Symbol , OP_BUY, 0.01 ,Ask,0,Ask- _Point *MarketInfo( _Symbol ,MODE_STOPLEVEL), 0 ); I have checked the min stop lvl is 0.0003. It works fine if I use a value >= 0.0005. What's wrong? Edit: It works if first I change sl to
pavelion
Added topic Define/change a macro by if
I have this input bool a= true ; input bool b= false ; If(a && b) #define result > else if (a) #define result < else if (b) #define result = else #define result != then I want to use result like this Print ( 5 result 3 ) Is it possible
pavelion
Added topic Expert initialization failed by using MathArctan2\atan2
I can't test or run expert advisor Whenever I use MathArctan2\atan2. I use Print (MathArctan2(-10,10) or atan2 (-10,10)). Btw the first parameter of this formula is y in MQL5 Refrence, but x is the first parameter in the signature of function
: