Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 22:47:23 +0000



[Programming Help] - "Auto Retracement/Projection" only for "Color Bar Based on Alert Condition" Bars

View Count: 273

[2024-01-23 22:49:45]
User224654 - Posts: 18
Hello,
I have highlighted candles with the "Color Bar Based on Alert Condition" study. Now I would like to apply the "Auto Retracement/Projection" study to these candles only. To do this, I copied the alert condition from "Color Bar Based on Alert Condition" into the "Auto Retracement/Projection" study. Unfortunately, it does not work. The desired Fibonacci level is applied to all candles in the chart. However, they should only be applied to the colored ones.

Here is a screenshot.

How can I solve this?

Thank you very much.

https://www.sierrachart.com/image.php?Image=1706049938887.png
imageScreenshot_1.png / V - Attached On 2024-01-23 22:38:06 UTC - Size: 15.39 KB - 65 views
Attachment Deleted.
[2024-01-24 15:39:28]
John - SC Support - Posts: 36285
What you are wanting to do is not really possible. You can base the "Auto Retracement/Projection" on a different study as outlined here:
Auto Retracement/Projection: Basing Auto Retracement/Projection on Another Study

But the problem occurs since you are only wanting to use some bars, and not all of them. This will create zeros where the bars that are not being used were which throws off the auto-retracement/projection.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-27 20:56:55]
User224654 - Posts: 18
Hi John,

thank you.

Would that be possible with a spreadsheet study?
Or would a C++ study have to be programmed for this?
Date Time Of Last Edit: 2024-01-28 07:39:49
[2024-01-29 16:45:51]
John - SC Support - Posts: 36285
The issue is that you can not use the "Auto Retracement/Projection" due to the zero values. You would have to program a retracement/projection tool, so you would most likely have to do this using ACSIL.
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