Please need Ribbon for this crossover.
_SECTION_BEGIN("SAR");
Period = Param("Length",5,5,100,1);
// JNSAR = (5 days HEma+5Days CEma+5Days LEma)/15
isum = (Sum(EMA(High,Period),Period) + Sum(EMA(Low,Period),period) + Sum(EMA(Close,Period),period));
jnsar = round(isum/15);
Buy = Cross(Close, jnsar);
Sell =Cross(jnsar,Close);
Short = Sell;
Cover = Buy;
color = IIf(C>jnsar,colorWhite,colorBlack);
P = ParamField("Price field",-1);
Periods1 = Param("Periods1", 5, 2, 300, 1, 10 );
PlotOHLC( Null,EMA( P, Periods1 ),(JNSAR),Null, "", IIf(EMA( P, Periods1 )>(JNSAR) ,colorDarkTeal,colorTan), styleCloud);