[LegacyColorValue = true];
{ VWAP MA }
input:
Price(AvgPrice),length(25),upColor(cyan),dnColor(r ed);
vars:
it(0);
it = VWAP_SMA(Price,length);
plot1(it,"VWAP MA");
if plot1 > plot1[1] then setplotcolor(1,upColor);
if plot1 < plot1[1] then setplotcolor(1,dnColor);
Can someone tell me how to code this in Ninja?
Comment