Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 12:07:45 +0000



[Programming Help] - Determine when current price cross over or under trend line

View Count: 1809

[2016-08-03 03:23:17]
User29926 - Posts: 92
Can you provide code of how to determine when price crossover or crossunder an ACSIL drawn trendline.
The ACSIL trendline uses Tool.AddAsUserDrawnDrawing = 1, so the trendline is movable.
[2016-08-03 05:17:48]
Sierra Chart Engineering - Posts: 104368
We do not think we have any examples of this. This can also be somewhat complicated and this question is too nonspecific as well with regard to details.

It is not something we can help with. In general we do not provide programming help.
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-08-04 01:20:06]
User29926 - Posts: 92
"determine when price crossover or crossunder an ACSIL drawn trendline."
How is that too nonspecific?
Don't see how it can get anymore specific then that.

"It is not something we can help with. In general we do not provide programming help."

So in other words,You and your company created the software and the programming language but you don't know how to use it and don't provide programming help to customers who pay for your product.
[2016-08-04 05:07:45]
Sierra Chart Engineering - Posts: 104368
It is definitely too nonspecific because at what chart bar indexes do you want to compare the line to and do you want to compare to all points along the line or just to the endpoints.

So in other words,You and your company created the software and the programming language but you don't know how to use it and don't provide programming help to customers who pay for your product.

This kind of comment is completely away from reality. Of course we know how to use the software, but we cannot get involved in all of the different specialized ways in which a user wants to use it. That is your responsibility. Take the time to learn to do what you want to do. You do not have to rely upon us. Your question is not even Sierra Chart specific in any way.

You cannot expect this kind of programming help from us. This is something that we are not paid for with Sierra Chart pricing. And furthermore your Sierra Chart account is expired. Our support policies are here:
Support Board Posting Information: General Information

Not to mention that if we get involved in programming help, it is detrimental to the entire user base because it takes away time from our own development which benefits all the users.

We do sometimes provide programming help, but only if it is clear and quite easy.

At this point in time this is marked as a Programming Help thread.
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-08-04 05:20:02
[2016-08-05 03:12:34]
User29926 - Posts: 92
It is definitely too nonspecific because at what chart bar indexes do you want to compare the line to and do you want to compare to all points along the line or just to the endpoints.

"when price crossover or crossunder an ACSIL drawn trendline." = when the current price of the current bar has crossed from above or crossed from below the point where the trendline is on the same index as the current bar.

You cannot expect this kind of programming help from us. This is something that we are not paid for with Sierra Chart pricing. And furthermore your Sierra Chart account is expired.

I pay for your software thru my broker and my account with my broker is not expired.
Instead of wasting time to check and see if my account is expired or not, you should have been spending it creating and posting example code to the question I asked.
Thus benefiting the entire user base.
[2016-08-09 00:16:58]
Sierra Chart Engineering - Posts: 104368

I pay for your software thru my broker and my account with my broker is not expired.
What you pay for to the broker goes to the broker primarily. Not to us.

you should have been spending it creating and posting example code
This is quite involved and we would have to find the time to do this.

We agree that it is good to have a function that will take a Chart Drawing and a bar index and determine the relationship between the two, whether it is above or below or there has been a crossover. But all of this takes time to put together so we will make a note of it. But it may be several months before we can get to 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
[2016-08-14 03:31:43]
User29926 - Posts: 92
It appears that I am able to manually add an alert to a ACSIL drawn trend line.
The alert has the choice of "crossing" in the "comparision to drawing" box.
The alert works, so there must be alert code for it somewhere.
If I can find/have this code I may be able to build upon it, to achieve what I need.
I attached a screen shot of the ability to add the alert.
imagealert on cross.PNG / V - Attached On 2016-08-14 03:25:35 UTC - Size: 29.48 KB - 340 views
Attachment Deleted.
[2016-08-14 07:34:27]
Sierra Chart Engineering - Posts: 104368
That is part of immensely complex internal code that you would not understand.

It is not available and it is of no use whatsoever to an outside user.
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-08-14 07:35:04
[2016-09-04 03:10:10]
User29926 - Posts: 92
Has there been any progress on providing a user function that can provide the requested information.
If I am able to get an email alert with this ACSIL drawn trend line data inside of it "Chart Drawing Alert: NQU6 3 Min #13, Line #5, Last (4782.25) Crossing from above (4782.28) | Alert: Trend Line Break Short Entry"
If this trendline data can be sent in an email,then a function or method already exist within Sierra that can built upon to provide your users with this information via ACSIL.

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

Login

Login Page - Create Account