PureBytes Links
Trading Reference Links
|
hi jose,
perhaps this is better, i suppose you re an old Ms users in a australian
forum.
stephane
x = C;
for(i=1;i<BarCount;i++)
{
a[i] = Min(x[i],x[i-1])/Max(x[i],x[i-1]);
}
Plot(a,"test",colorGreen,styleLine);
Jose a écrit :
>
>
> 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 '-)
>
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
> <http://us.ard.yahoo.com/SIG=129ci8ah5/M=298184.5584357.6650215.3001176/D=groups/S=1705632198:HM/EXP=1100909855/A=2434970/R=0/SIG=11edksnhv/*http://www.netflix.com/Default?mqso=60185402>
>
>
>
> ------------------------------------------------------------------------
> *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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
>
>
> __________ Information NOD32 1.876 (20040924) __________
>
> Ce message a ete verifie par NOD32 Antivirus System.
> http://www.nod32.com
------------------------ 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/
|