Click here to Login

Composite Indicators

Updated on 2009-06-12

Composite Indicators

Composite Indicators are indicators that use multiple securities data in their calculation. Such indicators show the general sentiment for a set or a group of securities.
There are a lot of composite indicators available and their interpretation depends on the formula used in the calculation.
Among the popular ones, we can cite the famous Advance-Declines line, the Arms index, the McClellan Summation Index...
Apart from these popular composites, it is very difficult to find other composites data on the net.
Hopefully, QuantShare comes with its own composite plug-in that let you create any kind of sentiment indicator very easily and within few seconds.
In addition, the composites you create with QuandShare are self updated, which means that when you upload new quotes or any other kind of data, composites will look if these changes affect its data (if the symbol changes is referenced by composite, or if the new data is referenced by the composite formula...), and if it is the case, the composite re-calculate itself automatically.
Your composite are always up-to-date, you don't have to worry about them.

Create a composite

Select 'Tools' then 'Composites'.
In the 'Composites' form, click on 'Add'.

The first step is to select the symbols that will be used in the calculation.
You can also specify whether to include others composites in the calculation or not.
NB: if the composite A refers B, and B refers A, then the calculation will not proceed because of mutual references.
Once the symbols are selected, define your formula and the calculation function. This is the most important step; you can create almost any kind of composite by changing these two fields.
For every symbol, the QuantShare will execute the formula and get the variable 'composite', then depending on the 'Calculation function', it will sum up, average, get the maximum... of the composite variable values for every trading bar.

Formula: composite = rsi(14);
Date: 06/05/2009
Symbol A: 52
Symbol B: 48
Symbol C: 60

When using 'Average' as 'Calculation function', you will get a value of (52 + 48 + 60) / 3, for the composite at the date 06/05/2009.
This composite will calculate the average rsi of a set of symbols.


There is also a very important feature in the composite plug-in that lets you reject symbols for a specific bar.
You can create a filter by including the 'filter' variable in your formula.
composite = rsi(14);
filter = volume > 1000;

The above example instructs the composite plug-in to create an indicator that calculates the average rsi for a set of symbols and on bars where the symbol volume is higher than 1000.
The number of symbols used to calculate the composite will be different for each bar.


For every composite created, a new symbol will be added; composite names start with '_'.
As you may have guessed, composites can be used in creating trading rules, in ranking systems, prediction models...

no comments (Log in)

QuantShare Blog
Search Posts

Recent Posts

Create Graphs using the Grid Tool
Posted 1291 days ago

Profile Graphs
Posted 1396 days ago

Previous Posts

Composite Indicators
Posted 5483 days ago

Example of advanced rule
Posted 5485 days ago

Beta release
Posted 5487 days ago

More Posts


Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.