// Downloaded From https://www.WiseStockTrader.com
//**********************************\\Price Line//****************************************************//
FirstBar= BarCount - 15; 
YY= IIf(BarIndex() >= Firstbar,EndValue(C),Null); 
CandleColor = IIf(C==O, colorYellow, IIf(C>O, colorLime, colorRed));
Plot(YY, "", LastValue (CandleColor), styleThick|styleDashed|styleNoRescale|styleNoLabel,0,0,1);
Dist= 0; 
for( i = 0; i < BarCount; i++ ) 

{ 
CColor = IIf(C[i]==O[i], colorYellow, IIf(C[i]>O[i], colorLime, colorRed));
if(i+1== BarCount) PlotText( "<>"+C[ i ], i+2, YY[ i ]-Dist[i], CColor,shape=2); 
} 
//**********************************\\Price Line//****************************************************//



See through Bar Replay & see Marketlogy.com