doubleMyLot= (Mybalance * 0.02) / 0.0015 ;
The next line is not executed because the value in the variable is not appropriate
Example My Balance Now 985$ :
(985 * 0.02) / 0.0015 = 13133 which is suitable for the size of a lot (give me a code to solve this problem only and I thank you
trade.Buy( MyLot,NULL,Ask,Ask - (100 * _Point),Ask + (300 * _Point),"test");
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Please write the code for this problem I have
The variable is in red
Thank you