| PureBytes Links Trading Reference Links | 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
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
    Individual Email | Traditional
<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)
<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 |