SetBarsRequired( -2, -2 );
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
function tf_ma(e,d)
{
global i;
for (i=e; i<d; i++)
{
tf = i * in1Minute;
TimeframeSet(tf);
meme =MA(C, 15);
TimeframeRestore();
}
m = TimeFrameExpand(meme,tf,expandPoint);
for( b = 0; b < BarCount; b++ ) {
//PlotText(" " , b, L[ b ], colorRed, colorDefault, -12 );
if(m[b]) PlotText(" "+(i), b, L[b]-1-(i), colorCustom1);
}
return;
}
tt = tf_ma(1,7);
// if(tt[b]) PlotText(" "+(i), b, L[b]-1-(i), colorCustom1);