When using variables instead of values, coding doesn't work!!
OrderLots() ==SellLots*1
Doubles rarely compare equal.
Bid/Ask: (No Need) to use NormalizeDouble in OrderSend - MQL4 forum
Can price != price ? - MQL4 forum
Help ... how to know broker's accepted volume ? - MQL4 forum
Doubles rarely compare equal.
Bid/Ask: (No Need) to use NormalizeDouble in OrderSend - MQL4 forum
Can price != price ? - MQL4 forum
Help ... how to know broker's accepted volume ? - MQL4 forum
yeah thanks dude....
yeah thanks dude....
hmmm, i got an alternative idea for that and now is working...i converted them to integer by multiplying them with some 100s, and stored in integer variables, then compared them.... thanks dudes..
In this code snippet, Instead of BuyLots*1, BuyLots*3,BuyLots*9, if i use digits like 0.1,0.3,0.9 respectively. The code works, if not the the below code does not work. can anyone point out what wrong i have done in this code??