Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 21:35:16 +0000



Color based on Alert Condition Study

View Count: 1982

[2019-06-21 19:33:47]
Crtfyd - Posts: 277
With the "Color based on Alert Condition" Study, regarding "Extension Lines Range".

A suggestion for future version and would seem easy to implement would be to add "End to EOD (End of Day) extension.

The reason is when I analyze more than one day, the existing two options gives too little or too many lines.
With "Extension to future intersection", I don't see the lines during RTH from Pre-Open levels if they were hit in Pre market. If I change to "Extend to end of chart", when I load more than one day to analyze, there are lines from previous days that don't and shouldn't apply. The fix would be to have "Extend to End of day".

Just FYI for future versions

Thx
[2019-06-22 03:03:41]
Sierra Chart Engineering - Posts: 104368
Yes, we will add this. It will be in the next release.
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
[2019-06-23 01:14:59]
mpro - Posts: 44
I want the "Extension to future intersection" to be only be broken when the final candle close crosses the extension line. Not the High or Low. How can I do this?
[2019-06-23 04:06:46]
Crtfyd - Posts: 277
One way to do it would be before the price gets to that level, to put a "Horizontal Line" over the line you are referring to. Then right click it and select "Alerts", then pick your parameters.
[2019-06-25 20:54:19]
mpro - Posts: 44
Found a solution: Color bar based on alert condition with extension line until Chart end. False when MIN(O[2:20000]])<C
[2019-06-27 04:17:26]
Sierra Chart Engineering - Posts: 104368
I want the "Extension to future intersection" to be only be broken when the final candle close crosses the extension line. Not the High or Low. How can I do this?
This will be supported in the next release.
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
[2019-07-10 17:00:45]
mpro - Posts: 44
Works very good. Thank you!

Have you implemented it in scAddLineUntilFutureIntersectionEx or in Color Bar on Alert Condition with EndBarIndex?

sc.AddLineUntilFutureIntersectionEx()
[2019-07-13 12:20:51]
mpro - Posts: 44
Sorry to say that. In "Color Bar Based On Alert Condition" the normal "Extend to Future Intersection" Function is now broken. It has the same behavior as the new "Extend to Future Bar Close Crossing" method.

Tested with Version 1948

A rollback helps more people I think.
Date Time Of Last Edit: 2019-07-13 12:22:45
imageColor_Bar_Based_On_Alert_Condition_Extend_to_Future_Intersec.png / V - Attached On 2019-07-13 12:13:06 UTC - Size: 85.7 KB - 405 views
[2019-07-15 06:34:50]
Sierra Chart Engineering - Posts: 104368
We apologize for that. This will be resolved in version 1949 which will be out in about 20 minutes.


PerformCloseCrossoverComparison in 1949 will be supported by this function:
sc.AddLineUntilFutureIntersectionEx()
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
[2019-07-15 06:43:57]
User657944 - Posts: 173
Hi SC, since the Color bar based and the Background color studies are similar could you please add the Extension line till future extension aldo on the Background based study please? Thx
[2019-07-16 07:46:37]
Sierra Chart Engineering - Posts: 104368
The Color Background Based on Alert Condition study does not work in a way which supports extension lines.

But really there is no need to use that study because the Color Bar Based on Alert Condition can have its Subgraph Draw Style set to "Background" which will cause the background to be drawn.

There will be this new Input in the next release which will allow you to draw the extension lines above the study:
DrawExtensionLinesAboveStudySubgraphs

You will need to set this to Yes when using the Background Draw Style.
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
Date Time Of Last Edit: 2019-07-16 07:46:53
[2019-07-19 13:00:43]
mpro - Posts: 44
Color Bar on Alert Condition works as intended. Now I am trying to use the ASCIL function. When I set PerformCloseCrossoverComparison = true I still get normal extension lines. They break with HL crossover.

This is the Code:
n_ACSIL::s_LineUntilFutureIntersection LineUntilFutureIntersection;
    
    LineUntilFutureIntersection.StartBarIndex = sc.Index;
    LineUntilFutureIntersection.EndBarIndex = 0;
    LineUntilFutureIntersection.LineIDForBar = 1247;
    LineUntilFutureIntersection.LineValue = sc.Close[sc.Index];
    LineUntilFutureIntersection.LineValue2ForRange = false;
    LineUntilFutureIntersection.UseLineValue2 = false;
    LineUntilFutureIntersection.LineColor = Selling_Structure.PrimaryColor;
    LineUntilFutureIntersection.LineWidth = Selling_Structure.LineWidth;
    LineUntilFutureIntersection.LineStyle = Selling_Structure.LineStyle;
    
    LineUntilFutureIntersection.DrawValueLabel = false;
    LineUntilFutureIntersection.DrawNameLabel = false;
    LineUntilFutureIntersection.NameLabel = "";
    LineUntilFutureIntersection.AlwaysExtendToEndOfChart = false;
    LineUntilFutureIntersection.TransparencyLevel = 50;  
    LineUntilFutureIntersection.PerformCloseCrossoverComparison = true;
    
    sc.AddLineUntilFutureIntersectionEx(LineUntilFutureIntersection);

Sierra Chart 1952
No Compiler Errors
Date Time Of Last Edit: 2019-07-19 13:03:23
imageCloseCrossoverComparison.png / V - Attached On 2019-07-19 13:03:20 UTC - Size: 2.76 KB - 274 views
[2019-07-20 07:36:24]
Sierra Chart Engineering - Posts: 104368
We see what the problem is. This will be resolved in the next release.
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