Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 02:14:55 +0000



Study based on calculated value

View Count: 736

[2015-12-02 23:10:54]
Kefir - Posts: 34
Hello,

is it possible to calculate value and draw a point per bar for a custom study without using spreadsheet?
I have let's say Average True Range(10) id1.sg1, previous days close (overlaid from another chart) id2.sg4 and a multiplier let's say 3.5. I would like to draw a point per each bar at the value = id2.sg4 +3.5 * id1.sg1

Is this possible by some single study where I would just wrote above formula to some value field?

Thanks in advance for answer
Best regards
r
[2015-12-03 00:26:52]
Sawtooth - Posts: 3976
Simple Alert formulas can only produce TRUE/FALSE results, so your formula is TRUE at every bar, not a value at every bar. To get a value at every bar without a spreadsheet study, you'll need to use a hidden Study Subgraph Multiply study Based On the ATR study to multiply the ATR by 3.5, then use the Study Subgraphs Add study to add the results of the Study Subgraph Multiply study to the previous day's close overlaid study.
Date Time Of Last Edit: 2015-12-03 00:55:14
[2015-12-04 04:52:35]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation for this here:
https://www.sierrachart.com/index.php?page=doc/doc_ArithmeticStudies.php
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

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

Login

Login Page - Create Account