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

[amibroker] Re: making a plot conditional on existence of another pane



PureBytes Links

Trading Reference Links


Yuki,

It can probably be done with static variables;
The volume pane formula would create a static var like:
 
    StaticVarSet( name() +"HasVolP" , true )

then the price chart would have this code:

if (!staticVarGet(name() +"HasVolP"==true)
    plot(v,"v",colorBlue,styleHistogram|styleownscale);

Walt

--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> I wonder if this is possible?
> 
> For example, I have particular sheets that do not have a volume
> indicator in any pane.  When such sheets are viewed, I'd like to see
> the histogram overlay in my custom price chart, which is invariably
> one of the panes on the sheet. On other sheets however, when one of
> the panes is volume, I'd like to have the volume histogram overlay
> disappear from the same custom price chart.
> 
> I'm guessing this cannot be done, but it sure would be nice.
> 
> Yuki





------------------------ 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/