Here is a variation of
http://www.linnsoft.com/scans/tdSequentialSetup.htm
method.
The small hollow circles are used as warnings of the upcoming Buy signal, which comes as soon as the sequence is interrupted.
It seems interesting.
Here is the AFL code and some amibroker charts follow in the attachement.
Plot(C,"C",colorBlack,64);Title=Name();
for(x=5;x<20;x++)
{
S2=Sum(C<Ref(C,-3),x)==x;
Buy=s2==0 AND Ref(s2,-1);
PlotShapes((shapeHollowSmallCircle+shapePositionAbove)*s2,x);
PlotShapes(shapeUpArrow*Buy,colorBrightGreen);
Title=Title+WriteIf(s2,"["+WriteVal(x,1.0)+"]","");
}
http://www.linnsoft.com/scans/tdSequentialSetup.htm
method.
The small hollow circles are used as warnings of the upcoming Buy signal, which comes as soon as the sequence is interrupted.
It seems interesting.
Here is the AFL code and some amibroker charts follow in the attachement.
Plot(C,"C",colorBlack,64);Title=Name();
for(x=5;x<20;x++)
{
S2=Sum(C<Ref(C,-3),x)==x;
Buy=s2==0 AND Ref(s2,-1);
PlotShapes((shapeHollowSmallCircle+shapePositionAbove)*s2,x);
PlotShapes(shapeUpArrow*Buy,colorBrightGreen);
Title=Title+WriteIf(s2,"["+WriteVal(x,1.0)+"]","");
}