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

[amibroker] Volume Overlay



PureBytes Links

Trading Reference Links


Hello,

Anyone could help me with this?

How do I show DOW-30 chart (^DJI) (with volume overlay at the bottom) 
on different tab while I'm looking at a price-chart for a certain 
stock symbol, MSFT for example.

I was able to show the ^DJI chart with PlotForeign but I couldn't get 
the Volume to show in the same area.
I don't want the volume to be shown below the chart because I need to 
show other indicators below the 'DOW' so it won't look very crowded.

Any help would be appreciated.

Thanks,
Gary.

Here is the AFL I have written:

//////////////////////////////////////////////////
//Show DOW in different tab as a foreign ticker.//
//////////////////////////////////////////////////

TickerSymbol = "^DJI";
TickerName = "DOW Jones Industrials";

TickerClose = Foreign(Tickersymbol, "Close", FixUp = 1);

UpDnColor = IIf( TickerClose > Ref( TickerClose , -1 ), colorBlue, 
colorRed );

PlotForeign(TickerSymbol, TickerName , UpDnColor , styleBar);


//If I un-comment below, price chart disappears
/*
Plot( Volume, "Volume", UpDnColor, styleHistogram | styleThick );
*/






------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/