Click here to Login




Compare Multiple Securities in a Single Chart

Updated on 2019-10-10





In any single chart, you can add tickers to compare performance between two or more assets.

To do so, right click on the chart, select "Edit Formula" then you can either type the formula directly or have the wizard tool write it for you. To do this, click on the "Add Indicator" button, select the "External Symbol" tab, type a ticker symbol, enable "Compare with current symbol" then click on "OK".
The above steps would plot a new OHLC graph on the top of the existing one.

In the previous screen, you also have the ability to plot a line instead of an OHLC chart by clicking on the "What to Show?" field and selecting "Close".

Do the above steps again to add another symbol to the chart and thus compare multiples securities at once.

If you do not want to compare the performance of these securities but rather display each graph using a different scale, click on the "Chart" icon at the bottom of the chart (near the "S" button) and select "Set Linear Scale".

Finally, if you want that the different securities use the same scale (Not very useful in comparing assets however), right click on the chart and select "Edit Formula".

In the new form toolbar, there is a left and a right button. These will show you the different formulas used by the chart.

NB: A chart can have one or multiple formulas. Different formulas is used simply to differentiate between the different indicators displayed on that chart. You can combine all formulas in a single one, that does not change the display.

Now, note that the function that will display the OHLC chart of the external symbol is "PlotCandleStick1". The last parameter of the function will allow you to specify style settings. All you have to do here is replace "StyleOwnScale" with "StyleSymbolNone".

NB: Once you put the cursor at the last parameter (or any other parameter position), use CONTROL+SPACE to display the list of available values for that parameter. This function could be very useful when writing QS language formulas.

If you want to learn more about QS language, please check the following blog post:

QuantShare Programming Language Tutorial











no comments (Log in)

QuantShare Blog
QuantShare
Search Posts




QuantShare
Recent Posts

Create Graphs using the Grid Tool
Posted 1480 days ago

Profile Graphs
Posted 1585 days ago

QuantShare
Previous Posts

Lock, Link and Undock your Charts
Posted 2395 days ago

How to Use the Percentage Scale
Posted 2944 days ago


More Posts

Back







QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
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.