PureBytes Links
Trading Reference Links
|
Hello Omega List,
I typed the code incorrectly in my email but correctly in Power
Editor. The code verified but gives a "divide by zero' error when
plotted. Here it is all cleaned up. I tried adding 1 to DnVol but that
didn't help. I'm having problems with $DVOLQ symbol from Quote.com
and think that may be the culprit.
Thanks for the suggestions.
Inputs: UpVol(close of data2),
DnVol(close of data3),
FstLen(19),
SlwLen(39);
Vars: McOsc(0);
McOsc = IFF(DnVol <> 0, XAverage(UpVol / DnVol, FstLen) - XAverage(UpVol / DnVol, SlwLen), 0);
Plot1(McOsc,"McOsc");
Plot2(0, "ZLine");
--
Best regards,
Jim Johnson mailto:jejohn@xxxxxxxxxxx
|