Forum

Helping create an ea.

Hi guys,i'm looking into making a simple martingale ea but i think i encountered a dead end. So,the function send_order buy/sell should do the thing it intends to do.I appeal and it should open a new sell/buy order with the volume increased by the lot_multiplicator but it says "'volume1' -

Pips difference

Hi guys,so i have this code which goes and makes the following thing. It start with opening 2 orders,one for buy and one for sell. I want,after opening these 2 orders,after a set amount of pips to open another order. I thought that would work with making the difference in the vask and vbid

Pip counter

Hi guys,i'm new to mql4 programming and i want to make a "sort of" martingale system. Right now the code looks like this void OnTick () { if ( OrdersTotal ()== 0 ) { OrderSend ( _Symbol , OP_BUY, 0.01 , Ask, 3