[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Help with indicator plot scaling



PureBytes Links

Trading Reference Links


Jose;
Since you know what the value range is,
try specifying the scale with the plot arguments:

Plot(a,"test",colorGreen,styleLine,.95,1.05);

This should override the auto-scale.

Walt

--- In amibroker@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx> wrote:
> 
> Thanks, Walt.
> No data spike here - I must have something weird in my AB 
settings... 
> Any other ideas?
> 
> j '-)
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "hairy_mug" <WSCHWARZ@xxxx> wrote:
> > 
> > Jose,
> > seems OK here...
> > Check for a data spike...
> > 
> > walt
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx> wrote:
> > > 
> > > 
> > > 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/