sir, i know it is price action, but the afl can draw lines automatically the standard decision points like day high low, previous day high, close and low and pivot points, such afl definitely helps the day trader
Brother, this may serve purpose to some extant.
These afl lines are basically copied from AFL posted by Shri Murali Krishna at wisestocktrader.
Thanx to Niranjanam for his excellent book.
DayH = TimeFrameGetPrice("H", inDaily, -1); DayHI = LastValue (DayH,1); // yesterdays high
DayL = TimeFrameGetPrice("L", inDaily, -1); DayLI = LastValue (DayL,1); // yesterdays low
DayC = TimeFrameGetPrice("C", inDaily, -1); DayCI = LastValue (DayC,1); // yesterdays close
DayOO = TimeFrameGetPrice("O", inDaily); DayOOI = LastValue (DayOO,1); // current day open
DayOH = TimeFrameGetPrice("H", inDaily); DayOHI = LastValue (DayOH,1); // current day open
DayOL = TimeFrameGetPrice("L", inDaily); DayOLI = LastValue (DayOL,1); // current day open
PlotGrid(LastValue(DayH), ParamColor("Color1", colorWhite )) ;
PlotGrid(LastValue(DayL), ParamColor("Color1", colorWhite )) ;
PlotGrid(LastValue(DayC), ParamColor("Color1", colorWhite )) ;
pv=(DayH+DayL+DayC)/3;
PlotGrid(LastValue(pv), colorGreen ) ;
PlotGrid(LastValue(DayOH), ParamColor("Color2", colorYellow )) ;
PlotGrid(LastValue(DayOL), ParamColor("Color2", colorYellow )) ;