my condition for the scanner is the following:
Code: Select all
Var:
LowerBB(0),
risk(0);
LowerBB = BollingerBand(C, 20,-2);
Condition12 = H < H[1] and L > L[1] and H[1] < H[2] and L[1] < L[2] and L[1] < LowerBB;
If Condition12
Then Begin
risk = ((H[1] - L[1])/H[1])*100;
plot1("Long","Trade",green);
plot2(risk,"rischio %",cyan);
plot3(L[1],"Exit",cyan);
End;
Here is the chart for the first stock in the list above. Why the scanner is refers at the candle in the past. if the condition is gone I do not care.