Forum

Lot Size calculation

Dear All, each time it returns increment value , i want to open next order multiple 1.4 times of current open lot sizes , i tried this double lot_size_total_sell() { double a= 0 ; int total = OrdersTotal (); for ( int cnt = total- 1 ; cnt >= 0 ; cnt--) { OrderSelect (cnt

error code 4051 and invalid lot size during automization of EA

hi there, any one who really help me out regarding error code 4051 and invalid lot size during automization of my EA , as i am unable to publish it

Symbol Profit instead of Account Profit

Hello Every one, i want to take profit of 1 dollar from my trades opened by EA, but it takes my manual trades also into consideration also other EAs positions too, kindly help me out, i am new on MQL