Skip to main content

Near Day High & Low finder for Amibroker (AFL)

priya almost 15 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    amibroker, exploration, timeframe

Scans stocks which are trading very very close to days High or Days Low. You will get them in advance before they make new high or low

Screenshots

Indicator / Formula

Copy & Paste Friendly
TimeFrameSet(inDaily);
H1 = HHV(H, 1) ;

H2= (H1-C)< .001*C;

L1 = LLV(L,1) ;


L2 = (C-L1) < .001*C ;

TimeFrameRestore() ;

SetOption("NoDefaultColumns", True);

AddTextColumn(Name(), "Symbol");
AddColumn(DateTime(), "Date", formatDateTime);
AddColumn(C, "CMP", 1.2);


Filter = H2 OR L2 ;

Plot(H2,"",colorBlue,styleDashed);
Plot(L2,"",4,styleDashed);

Buy = H2 ;
Sell = L2 ;

PlotShapes( Buy * shapeUpArrow + Sell * shapeDownArrow, IIf( Buy, colorYellow, colorYellow ) );

2 comments

Leave Comment

Please login here to leave a comment.