//ScalperHighLow Bracket By JRA Jan 2015
HX=Ref(H,-1);
LX=Ref(L,-1);
TicksOffset= Param("TicksOffset",0.0001,0.0001,0.50,0.0001);//NofTicksAboveorBelow
y0=LastValue(HX)+TicksOffset;
y1=LastValue(LX)-TicksOffset;
Offset = 2;
for(i=BarCount-2;i>1;i--)
{
bars = i;
i = 0;
}
Plot(LineArray(bars-Offset, y0, BarCount, y0,1), "", colorDarkRed, styleLine|styleLine|stylenolabel, Null, Null, Offset);
Plot(LineArray(bars-Offset, y1, BarCount, y1,1), "", colorDarkRed, styleLine|styleLine|stylenolabel, Null, Null, Offset);
for (i=bars; i <BarCount;i++)
{
if (C>y0)
color=colorblue;
else
color = Null;
PlotText(""+Y0, BarCount+1,Y0,Null,color);
AlertIF( C>y0, "SOUND C:\\Windows\\Media\\ringout.wav", "Audio alert", 1 );
}
for (i=bars; i <BarCount;i++)
{
if (C<y1)
color=colorred;
else
color = Null;
PlotText(""+Y1, BarCount+1,Y1,Null,color);
AlertIF( C<y1, "SOUND C:\\Windows\\Media\\ringout.wav", "Audio alert", 1 );
}
dear all this afl is high low of previous candle can any one add buy sell signal in high low breakout. buy signal is wheh candle cross above high and vice versa for sell signal
thanks