Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Plot Foreign Volume for Amibroker (AFL)
dawud
almost 7 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
amibroker, volume

This formula allows you to plot the volume for another ticker on the current price chart.

Indicator / Formula

Copy & Paste Friendly

Apply to show volume

_SECTION_BEGIN("Foreign Volume");

Ticker = ParamStr("Symbol", Name());

SetForeign(Ticker, True, True ); 

Plot( Volume, _DEFAULT_NAME(), IIf( C > O, ParamColor("Up Color", colorGreen ), ParamColor("Down Color", colorRed ) ), ParamStyle( "Style", styleArea | styleOwnScale| styleThick, maskHistogram  ) );

Title = Name() + " - " + Date() + ", " 
	+" Open=" 	+WriteVal(O,1.0)+ ", "
	+" High=" +WriteVal(H,1.0)+  ", "
	+" Low=" +WriteVal(L,1.0)+ ", "
	+" Close=" +WriteVal(C,1.0) 
	+" Volume=" +WriteIf(O>C, EncodeColor(colorRed), EncodeColor(colorGreen)) +WriteVal(V,1.0);

RestorePriceArrays(); 

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back