Skip to main content

Sideway Filter for Amibroker (AFL)

kananwisha over 13 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker, exploration

This code is used for find-out the stock in side-way period

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Sideway Filter"); 

Filter=((HHV(C,10)-LLV(C,10))/LLV(C,10))*100<20;
//Filter=((HHV(C,10)-LLV(C,10))/LLV(C,10))<0.10;
AddColumn(C,"close",1.2);
AddColumn(V,"Vol",1.2);

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.