I have tried to use the difference in the MACD Histogram from one day 
to another, but it is not working correctly.

Hist1 = MACD() - Signal();
Condition13 = Hist1 < Ref(Hist1, -1);

What I would like to do is use Condition13 as one of the conditions to 
buy or sell. If the Histogram is less than the day before, the conditon 
would be met.

However, I find that several times the conditions are met, but I do not 
get the signal. The formula works when I eliminate this conditon.

What am I doing wrong. I don't have much programming experience as you 
can tell.

Thanks,
Tom

Reply via email to