Login Page - Create Account

Support Board


Date/Time: Sat, 11 Jan 2025 04:39:22 +0000



Extend Closes Until Future Intersection and Line Until Future Intersection ACSIL Function

View Count: 3509

[2016-10-15 22:58:24]
Sierra Chart Engineering - Posts: 104368
In the latest revision of 1473, there is a new study named Extend Closes Until Future Intersection which extends the closing prices in Intraday charts, according to the Session Times, until future intersection with prices.

This uses a new ACSIL function called sc.AddLineUntilFutureIntersection. This allows this functionality to be applied to any study universally.

The source code can be found in the /ACS_Source folder.

We also added this capability to the Swing High/Low study . There is a new input to extend swings forward until future intersection.

Let us know what other studies you would like this functionality added to and we can do that.
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
[2016-10-16 10:38:43]
binaryduke - Posts: 373
Hi SierraChart

This is a great feature and I'm looking forward to using the new ACSIL function.

I've been checking out the feature. It appears that extensions from the last bar of a session do not take into account the first bar of the next session:

http://www.sierrachart.com/image.php?Image=1476613689145.png
The 7 October 2016 13:20 bar closed at 164'29. The subsequent bar traded at this level but the Extend line was only taken out at the 10 October 2016 01:00 bar

http://www.sierrachart.com/image.php?Image=14766140599.png
The 5 October 2016 13:20 bar closed at 165'22. The next bar traded at this price level but the Extend continued until the 6 October 02:00 bar.

EDIT - Have noted your comments about 'according to the session times' and reviewed the code. I can see that this behaviour is intentional within the study.
Date Time Of Last Edit: 2016-10-16 11:56:25
[2016-10-16 22:09:28]
User13668 - Posts: 294
Great addition - thanks.

I seem to have the same situation as the poster above and are not sure about the logic of not taking into account the first bar of the next session.

Attached is an intraday daily chart of the regular (old pit session) trading hours for Crude Oil.

I have circled some of the extended lines that don't stop if they are breeched immediately on the next session.

Would it not have been possible to allow for that event/situation to be toggled on or off in Settings & Input?
imageSC Extend.JPG / V - Attached On 2016-10-16 22:09:21 UTC - Size: 208.73 KB - 404 views
[2016-10-16 22:24:49]
Sierra Chart Engineering - Posts: 104368
We see a slight mistake. The extension line should start on the prior bar. We will fix that.
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
[2016-10-20 04:22:20]
tradernikki - Posts: 41
Is it possible to use this feature in the Daily OHLC study?
[2016-10-20 04:30:41]
Sierra Chart Engineering - Posts: 104368
Yes but we would not add this ourselves to that study. You can do that. Refer to:
https://www.sierrachart.com/index.php?page=doc/BuildCustomStudiesDLL.html
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
[2016-10-24 18:40:08]
Zosimus - Posts: 345
Great addition.
In which of the Studies files in ACS_Source can I find the source code ?
[2016-10-24 18:53:39]
Sierra Chart Engineering - Posts: 104368
Studies5.cpp contains this study:

scsf_ExtendClosesUntilFutureIntersection
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
[2016-10-26 04:02:42]
User13668 - Posts: 294
In the Swing Hi/Lo study it would appear the Extended Lines are taking precedence over any other study in relation to the Study Display Order regardless of what order the two Studies are listed in the Analysis > Studies > Studies to Graph listing.

I assumed that if a Study to draw a Stair Step plot for the Daily Hi/Lo was higher up the listing than the Swing Hi/Lo study, that the former plots would be over the top of the Swing Hi/Lo Extended Line plots, but this is not the case.

I also noticed that changing the Draw Style and/or Line Style for the Line Properties under Swing Hi/Lo Study > Subgraphs (with Extend Swings until Future Intersection set to YES under Settings and Inputs) has no effect, so you can not even change the plot type to perhaps help deal with the above issue - was this intended?
[2016-10-26 04:19:25]
Sierra Chart Engineering - Posts: 104368
Regarding Post #10, we do not notice this and what you describe is technically impossible. However, your understanding is reversed. Refer to:

Chart Studies: Study Display Order
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
[2016-10-26 05:14:07]
User13668 - Posts: 294
Re post #11. Okay, so I see you might have added to the documentation (Chart Studies: Study Display Order) after I made my post as it is now clear the Study at the bottom of the list will be drawn LAST.

However I should have said in post #10 that I had already tried that as the documentation at that time was not clear.

So I still stand by my 'accusation' that the Extended Lines of the Swing Hi/Lo study is drawing over the top of other Studies even though the other study is the LAST in the list.

Attached as screen grab SC1 is a chart showing Stair Step Daily Hi/Lo as Green (Hi) and Red (Lo) dots. Arrows point to the 'naked' lines so you can see what tbey look like and then the same coloured hand drawn circles point to where they should be printing on TOP of the yellow and olive Extended Swing Lines where they overlap at the current Hi and Lo of the day.

I think you can agree Green Hi dots should show up over Yellow Swing lines as you can see the Daily Hi/Lo study is the LAST in the list and Green is a darker colour than Yellow.

To prove my point SC2 is the same screen grab EXCEPT I have made the Hi/Lo of the Day Green and Red dots equal to 3 pixels so they now overlap the 1 pixel width of the Extend Swing Hi/Lo lines. Note that it is only the overlap pixel on each side of the Extend Line that you can see for the Red/Green Day Hi/Lo dots - you will note you can still see the Yellow/Olive Extend Swing lines running through the middle of the dots.
Date Time Of Last Edit: 2016-10-26 05:15:22
imageSC1.JPG / V - Attached On 2016-10-26 05:13:51 UTC - Size: 121.84 KB - 427 views
imageSC2.JPG / V - Attached On 2016-10-26 05:14:01 UTC - Size: 64.51 KB - 377 views
[2016-10-26 05:20:37]
Sierra Chart Engineering - Posts: 104368
Respectfully, we are not going to get involved in post #11. That is a chargeable support request at 55 USD per hour. Take it or leave it. Please do not argue with us on this point. For the perspective of others, the account making the request is a high support load account to us and is through a broker which we receive very little from.

And even if you make referrals and use that as a cause to get extra support, we have no way to validate that, and still this is something we will not get involved in.

This is exactly the kind of support request that takes so much of our time from other development. And we know there is nothing wrong here. We do not know exactly what is going on in your scenario and are not willing to analyze it. Or even fully understand it.
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: 2016-10-26 10:54:25
[2016-10-26 11:26:08]
User63439 - Posts: 83
Let us know what other studies you would like this functionality added to and we can do that.

hi there,

is it possible for you guys to add this function to the auto retracement/ projection study?
i would like to extend the 50% retracement of a 15 minute candle (see chart)
imageextensions.png / V - Attached On 2016-10-26 11:25:39 UTC - Size: 25.89 KB - 426 views
[2016-10-26 19:45:06]
User13668 - Posts: 294
Re post #12

Okay figured it out.

The problem is with the Daily OHLC study (not the Extended Lines in the Swing Hi/Lo study).

Solution: the option 'Draw Study Underneath Main Price Graph' must NOT be ticked in the Daily OHLC study > Settings and Input. In addition the Daily OHLC study must have Display precedence as already noted in this thread.

Not sure I understand why the option of drawing the study under or on top of the main price graph affects the drawing precedence of two studies - but it does.
[2016-10-30 10:56:43]
tradernikki - Posts: 41
I'm really lost. Would anybody be willing to share their usable study for extending close line in Daily OHLC?

Thank you

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

Login

Login Page - Create Account