Login Page - Create Account

Support Board


Date/Time: Mon, 20 Jan 2025 20:47:04 +0000



[Programming Help] - ACSIL DrawStyle

View Count: 1866

[2018-07-01 18:25:27]
User61576 - Posts: 445
I compiled this example Example ACSIL Trading Systems
it worked and the dots for the signals where displayed as expected (above/below the candle bars).

When I changed the Drawstyle (in the study setup) from POINT_ON_LOW (long)/POINT_ON_HIGH(short) to be Arrow Up/Arrow Down, the result was a total offset of the drawstyle like it got scaled on another chart as you can see in the attached screenshot.
pls advice.
thanks
imageScreenshot_1.png / V - Attached On 2018-07-01 18:24:42 UTC - Size: 17.49 KB - 399 views
[2018-07-04 21:57:45]
Sierra Chart Engineering - Posts: 104368
When using other Subgraph Draw Styles you need to set the value you want the Subgraph to display at, at the chart bar column index with that Subgraph. So you need to set it to either the bar high or low price.
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: 2018-07-04 21:58:28
[2018-07-05 19:09:26]
User61576 - Posts: 445
pls check my setup
and let me know what i am doing wrong
thanks
imageScreenshot_1.png / V - Attached On 2018-07-05 19:09:15 UTC - Size: 46.26 KB - 372 views
imageScreenshot_2.png / V - Attached On 2018-07-05 19:09:23 UTC - Size: 60.09 KB - 325 views
[2018-07-05 19:26:08]
Sierra Chart Engineering - Posts: 104368
We updated the code on this page so this problem will not occur:
Example ACSIL Trading Systems

Use the updated code.
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: 2018-07-05 19:26:23
[2018-07-06 09:09:09]
User61576 - Posts: 445
1. it's ok now. thanks.
2. can you pls explain what did you change so we could all learn?
[2018-07-06 09:27:03]
Sierra Chart Engineering - Posts: 104368
We changed this line to include the actual price level where the subgraph draw style should be displayed:
Subgraph_BuyEntry[sc.Index] = sc.Low[sc.Index];

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