I want to compare the histogram of one bar with the histogram of tne 
next bar.

Something like this.
Condition=histogram()> Ref(histgram(),-1);

However, I don't know what to use for to get the histogram value for 
each bar.

I have tried several different codes, but they do not give me the 
correct results.

This is one sample which doesn't get the results that I want.
Hist1           = MACD2 - Sig;                                  
Hist2           = Signal() - MACD();                                    
Hist3           = abs(Hist1);
Hist4           = abs(Hist2);                   

Buy2 = Ref(Hist4, -1) > Hist4; 

As you can see, I am not a programer and don't know what I am doing. I 
have the rest of the program, but I need to add this one change.

Thanks,
Tom

Reply via email to