I'm having some issues replicating something I need in eSignal that I wrote simply in TS and I don't know java at all.
It's basically a MACD but I don't know how to pass the Diff in, it only accepts OHLC it seems.
Input: Line(0), Length1(3), Length2(10), Length3(16), Osc(16);
Var: Diff(0);
Diff=Average(close,length1)-average(close,length2);
Plot2(Average(diff,length3),"Confirm");
Plot4(Diff-Average(Diff,OSC), "OSC");
That's it, and I know it's probably simple if I knew how to code in java.
It's basically a MACD but I don't know how to pass the Diff in, it only accepts OHLC it seems.
Input: Line(0), Length1(3), Length2(10), Length3(16), Osc(16);
Var: Diff(0);
Diff=Average(close,length1)-average(close,length2);
Plot2(Average(diff,length3),"Confirm");
Plot4(Diff-Average(Diff,OSC), "OSC");
That's it, and I know it's probably simple if I knew how to code in java.
Comment