I am trying to put together an indicator based on the MACD. The Indicator will use the same inputs as MACD as well as the calcs, but I want the output (osilator) to be based on a point system.
Value[0] = macd;
if slope Value[0] is positive input to point system = 1
if slope Value[0] is = 0 input to point system = 0
if slope Value[0] is negative input to point system = -1
Avg[0] = macdAvg;
if slope Avg[0] is positive input to point system = 1
if slope Avg[0] is = 0 input to point system = 0
if slope Avg[0] is negative input to point system = -1
Diff[0] = macd - macdAvg;
if slope Diff[0] is positive input to point system = 1
if slope Diff[0] is = 0 input to point system = 0
if slope Diff[0] is negative input to point system = -1
I have been trying to put together this osilator and have come up short. I do not want to ruin the MACD indicator, but when I use the Indicator generator it does not give me the flexibility to call other indicators.
any assistance would be appreciated.
Comment