Range bound Analysis

amitrandive

Well-Known Member
#1
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.

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();
 

TradeOptions

Well-Known Member
#2
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.

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();
Amit bhai, I am 100 % sure that this can be done in amibroker. The condition is not at all complicated from amibroker's afl perspective. Although since I am noob in AFL, so I cannot correct this code. Hopefully, some experienced friend will correct it soon.

Could you please tell the name of the platform or website, from where you have taken this snapshot ?

Thanks and regards
 

amitrandive

Well-Known Member
#3
Amit bhai, I am 100 % sure that this can be done in amibroker. The condition is not at all complicated from amibroker's afl perspective. Although since I am noob in AFL, so I cannot correct this code. Hopefully, some experienced friend will correct it soon.

Could you please tell the name of the platform or website, from where you have taken this snapshot ?

Thanks and regards
software is paid , keystocks
 

Similar threads