Click here to Login

                                                   How to draw two symbols on 1 chart


2010-12-11 10:09:13

Hello Guru
May you help me How to draw two symbols on 1 chart ?

2010-12-11 17:03:10


Best Answer
- Right click on a chart and create a new pane.
- Right click on the new pane, click on "Edit formula" then type the following formula:

symbol = "GOOG";
close1 = GetSeries(symbol, close);
open1 = GetSeries(symbol, open);
high1 = GetSeries(symbol, high);
low1 = GetSeries(symbol, low);

PlotCandleStick1(open1, high1, low1, close1, symbol, colorBlack, StyleOwnScale);
PrintChart(symbol, "", BottomLeft, colorBlack, colorTransparent, colorTransparent, 255);

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Relative Performance/Return Chart - Compare Several Assets/Stocks
How far are the close prices from the support line
Chart Patterns: Double Top and Double Bottom
Relative Performance Chart - Dynamic assets and index
Number of Symbols in Watchlists

How-to Lessons
How to plot two different time frames in the same chart
How to display two stocks on the same chart
How to add a trading indicator to a chart
How to plot a stock using different periods in the same chart
How to display notes/commentaries on a chart

Related Forum Threads
How to update NSE/BSE symbols in QuantShare?
how to draw Flag (Bullish) on chart?
How to download data for selected symbols ?
How to export historical data for a list of symbols
Multiple symbols on the same chart

Blog Posts
How to Backtest a Strategy from a Chart
How to Create a List of Ticker Symbols
How to Calculate and Display the Bid/Ask Spread on a Chart
Update Chart Layout based on Active Ticker Symbol - Part 2
Update Chart Layout based on Active Ticker Symbol

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.