PureBytes Links
Trading Reference Links
|
I'm trying to plot this indicator in AB v4.63:
---8<-----------------------
x = C;
xprev = Ref(x,-1);
a = Min(x,xprev)/Max(x,xprev);
Plot(a,"test",colorGreen,styleLine);
---8<-----------------------
Values should be close to 1.00, ranging approx 0.95~1.05
However, the scale on the window extends from +1.2 to -1.2, resultng
in a flat plot out of scale. What am I doing wrong?
Thanks in advance,
jose '-)
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|