Forum

Function()

Hi there, I am new to coding and still learning. I tried below function however it shows 'result of expression not used'. double NextLot() { if (OrderLots() == 0.01 ) {NextLot() == 0.02 ;} else if (OrderLots() == 0.02 ) {NextLot() == 0.03 ;} return (OrderLots()); } The object is to

Round digit (MQL4)

Hi there, Is there anyway to round 0.001 to 0.01? Eg : 0.012 to 0.02. I tried round (); Unfortunately it only round up 5 and above. Thanks in advance

Market activation

Hi there, Just want to ask, if I use an activation on my current PC. But my PC seem have some problem so I have to take it to the shop and might reformat the PC. So is that mean that I will need to spend another activation on the next