Forum

how to change lot size when one trade is closed ...?

for example, when one closed trade is profitable and I want to increase lots at next opened trade Is there anybody know how to write this code...? thx

How to send two orders that meet the same rule in different day...?

Dear all I want to send two orders that meet the same rule in different day below is my code int p=20; int a,aa; double vol3=0.1; double open,type; datetime b; if((Ask-Open[0]>=1000*Point || Ask-Open[1]>=1000*Point) && Ask >= iMA(NULL,0,p,0,MODE_SMA,PRICE_HIGH,1)+500*Point && OrdersTotal() == 0 ) {