this formula for my friend asnavale
we want to make this fromla in daily time frame
EMAV = EMA(V, 10);
Above = 0;
Below = 0;
if(BarCount > 10)
{
for(i = 1; i <11; i ++)
{
if(V[BarCount - i] > EMAV[BarCount - i]) Above = Above + 1;
if(V[BarCount - i] < EMAV[BarCount - i]) Below = Below + 1;
}
Plot(Above, "Above", colorGreen, styleOwnScale | styleNoDraw | styleNoLabel);
Plot(Below, "Below", colorRed, styleOwnScale | styleNoDraw | styleNoLabel);
}
so please peopel poor man need help
we want to make this fromla in daily time frame
EMAV = EMA(V, 10);
Above = 0;
Below = 0;
if(BarCount > 10)
{
for(i = 1; i <11; i ++)
{
if(V[BarCount - i] > EMAV[BarCount - i]) Above = Above + 1;
if(V[BarCount - i] < EMAV[BarCount - i]) Below = Below + 1;
}
Plot(Above, "Above", colorGreen, styleOwnScale | styleNoDraw | styleNoLabel);
Plot(Below, "Below", colorRed, styleOwnScale | styleNoDraw | styleNoLabel);
}
so please peopel poor man need help