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

Weighted Index for Amibroker (AFL)
kaiji
about 14 years ago
Amibroker (AFL)

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

Weighted Index using AddToComposite and Foreign functions.

By Gerard – gerard_kellett [at] optusnet.com.au

Similar Indicators / Formulas

Three Day Balance Points
Submitted by nvkha over 9 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji about 14 years ago
DIX50,20,10
Submitted by morgen over 13 years ago
4-Day-Range Switch
Submitted by santho_sd over 13 years ago

Indicator / Formula

Copy & Paste Friendly
//Select a group of tickers i.e. Apply to/Use Filter/Define - choose a watchlist
//Click on Scan to create your new index
AddToComposite((Close*Volume),  "~GMarketIndx", "I");

AddToComposite(Open*((Close*Volume)/Foreign("~GMarketIndx","I")),"~GMarketIndx", "O");  
AddToComposite(High*((Close*Volume)/Foreign("~GMarketIndx","I")),"~GMarketIndx","H");   
AddToComposite(Low*((Close*Volume)/Foreign("~GMarketIndx","I")),"~GMarketIndx","L");   
AddToComposite(Close*((Close*Volume)/Foreign("~GMarketIndx","I")),"~GMarketIndx", "C"); 
AddToComposite(Volume*((Close*Volume)/Foreign("~GMarketIndx","I")),"~GMarketIndx","V");   
			
Buy = 0; // required by scan mode
	

//To check on some of the values;
//Click on Explore
Filter = Close>0;
AddColumn(Close,"Close",1.3);

AddColumn(Close*Volume,"Close*Volume",1.3);
AddColumn(Foreign("~GMarketIndx", "I"),"I",1.3);
AddColumn(Close*((Close*Volume)/Foreign("~GMarketIndx","I")),"CFinal",1.3);

AddColumn(Volume,"Volume",1.3);
AddColumn(Close*Volume,"Close*Volume",1.3);
AddColumn(Foreign("~GMarketIndx", "I"),"I",1.3);
AddColumn(Volume*((Close*Volume)/Foreign("~GMarketIndx","I")),"VFinal",1.3);

0 comments

Leave Comment

Please login here to leave a comment.

Back