Can anyone help to correct the follwing AFL code for plot daily ATR into 5m chart.
I want Daily ATR plotted as per intraday High and Low. I am using 5m chart.
TimeFrameSet( inDaily ); // switch now to daily
function CDL( array )
doy = DayOfYear();
Lastdoy = doy == LastValue( doy...