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

[amibroker] Re: Graph Settings



PureBytes Links

Trading Reference Links

Thanks Steve,

I tried entering the code using styleownscale as follows:

Plot (Volume, "Volume +", Col, styleHistogram | styleThick | 
styleOwnScale, Minvalue = 0);

and the xaxis does zero itself, but the histogram graph doesn't move 
at all.  What's more, the 20 bar EMA of volume that I have overlaid 
does move so now the graph is totally out of whack. Wierd..

Here's the entire code.  Maybe you can figure out what I'm doing 
wrong:

//****************
col = IIf ( Close > Ref (Close, -1), colorBrightGreen, colorRed);

Plot (Volume, "Volume +", Col, styleHistogram | styleThick | 
styleOwnScale, Minvalue = 0);

VolumeEMA = Param ("Volume EMA", 26, 1, 50, 1);

Plot (EMA(Volume, VolumeEMA), "", colorBlue, styleLine | styleThick 
| styleOwnScale, Minvalue = 0);

Title = Name() + "   " + Date() + "      Volume" + WriteVal (Volume, 
8.0) + " shares" + "        " + WriteVal (VolumeEMA, 1.0) + " Bar 
Volume EMA:  " + WriteVal (EMA(Volume, VolumeEMA), 1.0);
//**********************

Thanks,
Chris




--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxxx> wrote:
> Hi,
> 
> Use the Plot() function and set "minvalue" argument to zero. Or 
you could select Custom button in IB and set the min/max.
> 
> Steve
>   ----- Original Message ----- 
>   From: indiana0352 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Saturday, September 20, 2003 10:34 PM
>   Subject: [amibroker] Graph Settings
> 
> 
>   Ive created a custom volume indicator but when it plots, the x-
axis 
>   is not zero.
> 
>   Is there a way of forcing the bottom of a histogram to zero 
when  
>   plotting??
> 
>   Thanks in advance,
>   Chris
> 
> 
>         Yahoo! Groups Sponsor 
>               ADVERTISEMENT
>              
>        
>        
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
>   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>   --------------------------------------------
>   Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
ReplayTV: Control live television
Special Sale: 50% off ReplayTV
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/aUMW7B/A6qGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/