Here is the sample code:
private double high3052;
private double low3052;
private double highlowdiff;
private EMA SmoothDiff;
high3052 = EMA(High, 305)[0];
low3052 = EMA(Low, 305)[0];
highlowdiff = high3052 - low3052;
then I want to do this:
SmoothDiff = EMA(highlowdiff, 305);
I get usable values in high3052 and low 3052. highlowdiff is also a usable value. I just can't figure out how to smooth it with an EMA.
I have tried putting it in a series, plotting it, etc. Any direction you could give would be helpful.
Comment