Login Page - Create Account

Support Board


Date/Time: Thu, 21 Nov 2024 11:24:48 +0000



How to compare multiple symbols?

View Count: 249

[2024-11-09 15:21:59]
WyckoffSleuth - Posts: 25
I wonder if there is a possibility to compare two or more symbols in % (or ratio) gains / losses of a certain time.
An immediate apology for making a direct comparison to a competitor, but it will be just a lot easier to explain. In Tradingview there is a “Compare” symbol which essentially does two things:
1.  Replaces the vertical axis from prices to % of gains or losses
2.  Takes the first point in time (date) that is currently displayed on the screen, and starts drawing both two (or more) symbols by “matching” at this point (essentially the first point for study calculation to be at 0% gains/losses of both symbols at a first date that is displayed on screen), and from that point on both graphs show gains / losses in %

See attached screenshot for example of TV, and Stockcharts also have almost identical function as well.

After reading the study descriptions (I looked into “Ratio (Bar)” and “Add Additional Symbol”) and browsing this forum, it seems like the quick and straightforward answer that this is not impossible in Sierra because it is not possible to replace the vertical axis into anything else except the price. Also it seems like there is no direct way to start a study at the first point displayed on the screen, although it may be possible with the custom study; or alternatively theoretically it is possible to set the chart to load only from a certain date, but that’s quite long winded.
As mentioned it seems this isn’t possible but I just want to check that I am not missing some methods that I am not aware of; I’d appreciate if someone else would confirm this.
Many thanks for good software and support, and again apologies for mentioning competitor.
imageTV.jpg / V - Attached On 2024-11-09 15:18:23 UTC - Size: 145 KB - 40 views
[2024-11-09 16:46:28]
user_xyz - Posts: 415
You would think this is a simple task considering the complexity and seemingly infinite features of sierra chart, maybe something has been changed/added recently.

I have tried doing this a few times over the years and could never get the origin to start at the same point.

One of my threads
Composite Symbols Same Origin Point

Searching through other threads I previously tried the study Percent Change Since Open however I could never get the origin point to be 0 for all symbols added.

Example of origin spread on the y-axis. After countless hours just gave up in frustration.
Date Time Of Last Edit: 2024-11-09 16:46:48
imagey-axis.png / V - Attached On 2024-11-09 16:45:54 UTC - Size: 11.53 KB - 31 views
[2024-11-10 01:38:07]
Sawtooth - Posts: 4118
I wonder if there is a possibility to compare two or more symbols in % (or ratio) gains / losses of a certain time.
Have a look at this custom spreadsheet study:
https://www.sawtoothtrade.com/free-stuff-6.html
[2024-11-11 20:46:10]
WyckoffSleuth - Posts: 25
Thank you both. I looked both into the linked thread and in the spreadsheet study, played with the spreadsheet study a little. I couldn't make it work but to be honest I only spent 15 minutes, im sure I was missing some simple thing. Maybe the problem was because I switched to Historical chart (I think default that loaded was Intraday). Appreciate the effort but it seemed a bit too complex for some rapid checks.
Also played "Percent Change Since Open" but also couldn't achieve this. But again, didn't spend too much time on it - im sure user_xyz investigated all avenues.
Feels like this feature combined with a few other minor things (e.g. easy access to earnings dates) may justify a TV basic licence just to make things easier.
[2024-11-11 21:06:44]
John - SC Support - Posts: 36174
You can definitely get the Percentages as you want in Sierra Chart. It may take a bit of work with the Spreadsheet Study to make it happen, but it should not be that hard.

We do not have earnings dates or reports in the system. That is not something we can help with, but there may be a third party study out there that can do this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-11-11 22:39:51]
WyckoffSleuth - Posts: 25
Thank you John, good to know it may be possible, I may return to it when I have more time.
For now I just wanted to check if there wasn't an already existing study which would allow to simply add all symbols to compare.
[2024-11-12 14:21:06]
Sierra_Chart Engineering - Posts: 17133
We can work on a study to do what you need in post #1. We may already have that. We will look into this.

The percentage calculation is not going to be based upon the chart bar, at the left of the screen, it will be based upon the first chart bar loaded.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-11-12 14:21:15
[2024-11-12 19:21:40]
Sierra_Chart Engineering - Posts: 17133
As we thought Sierra Chart already has very good support for this:
https://www.sierrachart.com/image.php?Image=1731439344548.png

Any number of symbols can be added to a chart, and any number of the Percent Change Since Open studies can be added to a chart for the main symbol of the chart and any other symbol loaded in the chart. We will write up documentation on how to do all of this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-11-12 19:22:45
[2024-11-12 20:02:22]
user_xyz - Posts: 415
As we thought Sierra Chart already has very good support for this:
https://www.sierrachart.com/image.php?Image=1731439344548.png

I have spent a fair amount of time going through this a while back. The process is a little tedious but it works well enough and I have multiple charts with dozens of symbols being tracked.

Steps
1 - Add Additional symbol (I hide this after adding)
2 - Add Percent Change Since Open
- Set PercentChangeSinceOpen -> Based On: Symbol of choice.

Do this for each symbol you want to track (see image)

The issue as shown in Post #1 and in my post #2 is the origin. I cannot get the origin on y-axis to start at same point.

I believe it has to do with Percent Change Since Open -> Start Time is 'First Bar in Chart' and Input Data for Opening Bar: 'Open' (every symbol tracked will have different opens)

We need some way to zero the origin for all symbols/percent change since open.
Date Time Of Last Edit: 2024-11-13 11:25:07
imageSC.png / V - Attached On 2024-11-12 20:00:33 UTC - Size: 7 KB - 21 views
[2024-11-12 22:13:04]
WyckoffSleuth - Posts: 25
Awesome, thank you both. Looks like I got it working, see screenshot.

A few remarks:
- By performing study "Duplicate" it is actually not so tedious to add new symbols.
- I noticed it requires to recalculate the chart after duplicating the study, the initial line is always wrong.
- What is really great that this allows to change not only line thickness / colour, but also a style (e.g. dashed) which isn't available in TV. Being male I can't see difference of more than 8 colours so this is really nice.
- What I missed was automatic labels for the legend, I couldn't figure out a way how to automatically show a symbol for each line so I used stationary text to manually enter some text. If there is a better way please let me know.
- XYZ - it looks to me that all graphs do start at 0 line. I am using historical chart and Last as an input data.

Speaking of inputs, I am using "Last" for both "Input Data for Opening Bar" and for "Input Data for Current Price". However frankly speaking I don't properly understand what this sentence says in documentation:

Input Data for Opening Bar: This is the Input Data element of the bar for the bar at the open for the time period.
Percent Change Since Open
imagePERCENT CHANGE.jpg / V - Attached On 2024-11-12 22:10:29 UTC - Size: 179.07 KB - 18 views
[2024-11-13 11:24:36]
user_xyz - Posts: 415
Odd I went back through my charts and reset inputs, now everything has same origin starting at 0 line. Working fine now.

What I missed was automatic labels for the legend, I couldn't figure out a way how to automatically show a symbol for each line so I used stationary text to manually enter some text. If there is a better way please let me know.

On the Percent Change Since Open, check the box for Name Label and Value Label and you will see labels/legend like you are wanting. You can configure as you need to, enter a Symbol in Short Name box and you should be all set.
Date Time Of Last Edit: 2024-11-13 22:52:11
imageSC_overlays.png / V - Attached On 2024-11-13 11:18:53 UTC - Size: 5.24 KB - 19 views
[2024-11-17 16:20:40]
WyckoffSleuth - Posts: 25
Thank you both - managed to achieve identical functionality as TV now (see side-by-side screenshot).
Note that documentation suggests using "Overlay" function but as advised im using "add additional symbol" study, which works well also.
Seems like this thread is fully answered now
Date Time Of Last Edit: 2024-11-17 16:23:15
imageScreenshot 2024-11-17 162229.png / V - Attached On 2024-11-17 16:23:11 UTC - Size: 1.43 MB - 15 views
[2024-11-20 22:04:08]
Sierra_Chart Engineering - Posts: 17133
We will make sure the documentation is up-to-date:

Note that documentation suggests using "Overlay" function but as advised im using "add additional symbol" study, which works well also.

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account