Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 03:53:09 +0000



saving a study

View Count: 851

[2021-11-25 17:39:36]
User374708 - Posts: 19
Hi, sorry for this question but I cannot find an answer and solution.

I want to save a study (macd for example) that is part of a study collection and integrate it into another collection on another chart.

How should i do it please?

thanks a lot

Christophe
[2021-11-25 18:04:14]
JohnR - User831573 - Posts: 300
I'm not sure if this is what you want, but let's say the MACD is from collection "A" and you have a 2nd collection "B" that you want to add this study to and put all of it on a different chart.

All you need to do is the following, I think.
1 - Go to the 2nd chart and add the the 2nd collection.
2 - Add your study (MACD or what ever it is) to the 2nd chart.

That is it. Now, there are some other things you can do.

A - while you are on your first chart, you can go to the study setting window and save as defaults.
Chart Studies: Study Settings Window

B - on the 2nd chart, you can now save things as a new collection "C", which will get your collection "A" and the study you just added. Or reuse an existing name to over write it with the new set of studies and settings.

Hope this helps.

JohnR
[2021-11-26 11:46:58]
User374708 - Posts: 19
Hi John ,

thank you for your return, however I do not understand the manipulation.

If I open a graph with the study "A" collection and I want to add a personal study that I recorded as a "single", I do not find it in "add custom study", and if I do "analysis" I find it well in my study collections, but if I select it, my "A" collection disappear, and i 've just my single study on my graph.

Thank you for your help

regards

christophe
[2021-11-26 19:18:13]
JohnR - User831573 - Posts: 300
Christophe,

I think there is some confusion. Studies and collections are 2 different things. A study (or indicator) as others call them, is some logic and usually producing plots or objects drawn on a chart. A collection is 1 or more studies you save in a group, thus the name 'collection'. So you can easily add them to a chart with all of the parameters, colors and setting configured to the way you want them. Most collections are more than one study, but does not have to be.

All studies are not in "add custom study". Only ones that were created via ACSIL / C++ code by you or someone else. There are many, many studies that are provided with SC. Some are MACD, moving averages, RSI, etc. None of these are in 'Add Custom Study'.

Now, it is possible to customize the 'base' studies, for example the MACD. You can change the plot colors, various lengths, etc. Then you have an option on the bottom right corner of the 'Study Settings' window to save this configuration as default.

Now, on to your situation. I think a possible solution is the following.

Study Collections

If you want apply a Study Collection to the chart and not clear the existing studies from the chart, then check the Save Studies As Study Collection >> Prompt to Remove Existing Studies checkbox before saving the Study Collection with Save All or Save Single.

For instructions to create a Study Collection, refer to Create a Study Collection.

When enabling this option, a plus sign (+) is appended to the Study Collection name. When applying a Study Collection that was saved with this option, then Sierra Chart will ask whether or not to clear existing studies from the chart.

Using this method you are able to apply one or more Study Collections to a chart without removing or clearing the existing studies. Each time you apply a new Study Collection, press No when prompted, to not clear the existing studies.

So, when you save your study as a collection, make sure you check the box described above which asks about removing existing studies.

Hope this helps,

JohnR

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

Login

Login Page - Create Account