Hi Guys,
Can anyone help me with this code please?
PrevLot = LastLot(magic);
PrevLoss = LastLoss(magic);
if(Use_Lot_Multiply==true && PrevLoss<0) {NewLot=NormalizeDouble(PrevLot*Lot_Multiply_Factor,AccTpe);} else
{NewLot=Lots;}
Right now the way it is coded it just kept multiplying the last lot size for every trade loss. Can anyone help restrict this to multiply for just 2 consecutive losses and then back to normal lot size again?
Thanking you in advance.
CT
Can anyone help me with this code please?
PrevLot = LastLot(magic);
PrevLoss = LastLoss(magic);
if(Use_Lot_Multiply==true && PrevLoss<0) {NewLot=NormalizeDouble(PrevLot*Lot_Multiply_Factor,AccTpe);} else
{NewLot=Lots;}
Right now the way it is coded it just kept multiplying the last lot size for every trade loss. Can anyone help restrict this to multiply for just 2 consecutive losses and then back to normal lot size again?
Thanking you in advance.
CT