Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 16:10:02 +0000



[User Discussion] - study subgraph average

View Count: 1064

[2020-09-10 21:53:16]
User220914 - Posts: 239
hi

I am trying to use this study (study subgraph average) with a displaced moving average but it keeps defaulting to the original
moving average value and then doing the average. i understand i can displace it later but I am averaging a non displaced average and
a displaced average so i need the original averged with the displaced.

Is this a flaw or is there a work around if possible could you add check for displaced values or something in the study average subgraphs
thank you
[2020-09-11 09:51:48]
Sierra Chart Engineering - Posts: 104368
Study Subgraphs Average is going to be referencing the nondisplaced values. You really need to then create your own custom study to do what you need:
https://www.sierrachart.com/index.php?page=doc/Contents.php#AdvancedCustomStudySystemInterfaceandLanguage
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-09-11 15:52:32]
User220914 - Posts: 239
i do not have the time or the energy to learn how to program in sierra.

I was hoping you would make a new (study average subgraphs with/without dispalccement and allow the program to actually check and use the displacement value.

I know you are busy over there but it might be much easier for Sierra to do this and add it to the studies section which would be great.

thank you
[2020-09-11 22:09:50]
Sawtooth - Posts: 3973
is there a work around
You could do a workaround using the Spreadsheet Study study.
Post again if you want details.
[2020-09-14 23:29:17]
User220914 - Posts: 239
that would be great if you had some details thanks
[2020-09-14 23:47:31]
Sawtooth - Posts: 3973
First, some questions:
1) What are the ID#s for each of the MAs?
2) Which ID# gets displaced?
3) How many bars of displacement, and is it positive or negative?
Date Time Of Last Edit: 2020-09-14 23:48:32
[2020-09-15 12:27:27]
Sawtooth - Posts: 3973
Actually there is an easier way, using two instances of the Spreadsheet Formula study:

Add an instance of the Spreadsheet Formula study, set the 'Draw Zero Values' to No.
Use a formula like this in the Formula field:
=ID1.SG1[-3]
- where ID1 is the MA to be displaced, by e.g. 3 bars to the left.

Add another instance of the Spreadsheet Formula study, set the 'Draw Zero Values' to No.
Use a formula like this in the Formula field:
=AVERAGE(ID2.SG1,ID3.SG1)
- where ID2 is the MA that is not displaced, and ID3 is the first Spreadsheet Formula study.
Date Time Of Last Edit: 2020-09-15 14:13:06
[2020-09-15 15:49:14]
User220914 - Posts: 239
i have not done any spreadshet formulas out side of jut grabbing high lose close data so i will look at this and i really aprpeciate
your explanation which does not seem all that difficult. thank you

If you have the time i had another question.

Let say I am using a BB with std dev 2 and MA 10. which i think is the default setting and the moving average type is
simple which i think is the default setting.

we have the ability to pick from the drop down menu 4 or 5 other MA types i.e. exponential kinear rollng widler weighted
and have these reference the main price graph.

My question is and i have played around with it and got bad results is how do I say use the other MOVING AVERAGES in the studies
of sierra chart like i.e. the adaptive MA or the hull or any of those other 20 that are listed because i cannot choose them in the drop down area and
if i put use the adaptive MA in the reference box instead of the main price graph then it give me some very weird results.

I am wodnering is there a way to get into the code and add certain MA or other indicators on that drop down or how would i make the BB move off of
a different MA that is not listed in the drop down box.

THANK YOU in ADVANCE big time
[2020-09-15 15:53:58]
User220914 - Posts: 239
it seems to me that sierra should jut code ALL of the studies they have in the study library into those drop downs for every other study so we can easily pick and choose exactly what we want out of the data instead of the 4 or 5 they pre loaded. this day and age with computer power being so incredibly fast and memory servers being so cheap that i don't see any reason not to load it up so we can tweak it without programming or doing spreasheet studies on our own.

I feel like that is the drawback to using a lot of the formulas is that i cannot manipulate them with point and click which would be pretty easy to implement since they
have already implemented it for 4 or 5 studies why not just have it reference all the studies and lets us click on which one we want. years ago sure computing pwoer was slow and got bogged down but that is not the case now.
[2020-09-26 06:46:54]
Ackin - Posts: 1863
it seems to me that sierra should jut code ALL of the studies they have in the study library into those drop downs for every other study so we can easily pick and choose exactly what we want out of the data instead of the 4 or 5 they pre loaded. this day and age with computer power being so incredibly fast and memory servers being so cheap that i don't see any reason not to load it up so we can tweak it without programming or doing spreasheet studies on our own.

It is not like that. All studies that have this selection embedded in them do not have anything preloaded, everything is calculated at runtime.
The reason for choosing only a few moving averages is rather that the study is very old (its code) and the second and perhaps the main reason is stability. If the developer gives anything the exact limits you can use, stability is high. In the case of universal inputs, people "push" everything possible there and then report the issue here.

I have a BB with universal Input, send me a DM if you want ...
Date Time Of Last Edit: 2020-09-26 06:48:07

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

Login

Login Page - Create Account