Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 20:53:09 +0000



[Programming Help] - color bar based on alert condition - formula issue

View Count: 407

[2023-06-20 12:38:15]
User278398 - Posts: 291
im trying to display only the first point of the 10 points (i mark it in pic "id2")
how can i dissplay only this point?
regards.
imageid1.png / V - Attached On 2023-06-20 12:37:38 UTC - Size: 365.73 KB - 91 views
imageid2.png / V - Attached On 2023-06-20 12:37:55 UTC - Size: 384.62 KB - 87 views
[2023-06-20 12:58:50]
Sierra_Chart Engineering - Posts: 17198
Not sure we understand this. But it sounds like from what we understand you definitively cannot do that. You will have to create your own custom study.

Always best to create your own custom study when you cannot accomplish what you want with Sierra Chart built-in functionality.
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
[2023-06-20 13:11:43]
Sawtooth - Posts: 4120
how can I display only this point?
Add another Color Bar Based On Alert Condition study
- Set 'Number of Bars to Calculate' to 10
- Use this formula on the Alerts tab:
=ID2.SG1[9]
- Hide your ID2 study.
[2023-06-21 10:16:56]
User278398 - Posts: 291
thank u for this :) it worked!!
...
just for understanding:
if i am using your solution
i can need to use only (no need id2,id3)
id1 : Color Bar Based On Alert Condition study
- Set 'Number of Bars to Calculate' to 10
- Use this formula on the Alerts tab: =c[9]
and it worked as well.

***
i am using lots of color bar based on alert condition study,
and i prefer no to use the "trick" by change "number of bars to calculate"
.

i want to use only formulas and simplify it (if it can):
1: do u have another solution only with formulas ( in the alert tab) to get what i need?

*** there is way to use only 1 study1 study: Color Bar Based On Alert Condition study,
by using the Alerts tab
and get:
2.the first 10 points (as i display in pic "id2", (but not as i success by 2 studies).i want to
simplify my future solutions
)
3. only the first point of the 10 points (as my origin question)

***
i bothersome u with those questions because in logic i cant understand why there is not a simple way by formulas.
how can be simple formula as "=c[10]" which display me all the points beside the first 10 points,
but there is not a formula to get the first 10 points,
there is not a formula to get only one point in the position number 10 (as i need),
there is not a formula to get two points in other position(in position number 10 and number 9)

***

many thanks
[2023-06-21 12:28:59]
Sawtooth - Posts: 4120
there is not a formula to get the first 10 points,
=C[10]=0 did work in the past, but SC changed something, so now you must use a second instance. See this:
Hide currently forming candle

there is not a formula to get only one point in the position number 10 (as i need),
You found a way by using:
- Set 'Number of Bars to Calculate' to 10
- Use this formula on the Alerts tab: =c[9]

there is not a formula to get two points in other position(in position number 10 and number 9)
Use my original solution in post #3 with this formula:
=ID2.SG1[8]

These are no other simpler ways to do what you want.

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

Login

Login Page - Create Account