return;
EMAVal = EMA(Close, eMAP)[Displace];
SMAVal = SMA(Close, sMAP)[0];
Plot0.Set(EMAVal);
Plot1.Set(SMAVal);
i have sMAp set to 4, but getting the midpoint of the current bar not the SMA average of the psat 4 bars close. i just realized if i put a 4 instead of setting the sMAP to 4 it works. the sMAP is an int just like the eMap, but it just wont work with sMAP.
Comment