Dear All
Can we have a range bound analysis of stocks exploration similar to one shown in the image in Amibroker?
Tried something like this ,not getting correct results.
Can we have a range bound analysis of stocks exploration similar to one shown in the image in Amibroker?
Tried something like this ,not getting correct results.
Code:
_SECTION_BEGIN("Sideway Filter");
sp = Param( "Period", 2, 2, 100 );
HighMax=((HHV(C,sp)-LLV(C,sp))/LLV(C,sp))*100<2;
Filter=C<HighMax;
AddColumn(C,"close",1.2);
AddColumn(IIf(Highmax,Close,Null)," Max Range ", 6.2,1.2,colorGreen);
_SECTION_END();