I try to enter in more position while retracing the price but in my code only the firts one entering.
Why? The code below:
Code: Select all
if Low[0]<= FirstEntry and PosNum1 < 1 and MP = 0
then begin
StopLongEntry = 1;
PosNum1 = 1;
SumPos = PosNum1;
Buy ("Long1") PosNum1 contract this bar at close;
end;
if Low[0]<= SecondEntry and PosNum2 < 1 and MP = 1 //raggiunto il valore del secondo ingresso
then begin
PosNum2 = 1;
SumPos = PosNum1 +PosNum2;
Buy ("Long2") PosNum2 contract this bar at close;
end;
Thanks in advance