Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 22:02:45 +0000



Coding Help Needed - Automatically Plot Vertical Lines

View Count: 984

[2017-09-26 18:21:05]
MichaelPPTF - Posts: 69
Hi support team,

I am very new to SC indicator programming and I would like to know if the following can be done:

1. Symbol specific
I would like these lines to be plotted on a specific symbol. For example, I would like to see these lines (levels) on CL but when I switch the symbol to ES, they should disappear.

2. Only accounts for specific decimal places
Let's say I would like to have a vertical line on every other 0.15 level on CL, like 49.15/ 48.15/ 50.15 and so on, but only pertains to what the current level is (when CL is at 50, display three levels within $2 range, 51.15/ 50.15/ 49.15).

3. Control the appearance of the lines
Some line should be red and dashed, and some should be yellow and solid, etc.

Can these be done with a custom indicator? Where should I start?

Thank you very much.
[2017-09-26 18:43:31]
Sierra Chart Engineering - Posts: 104368
Yes this can be done by using ACSIL:
Advanced Custom Study Interface and Language (ACSIL)

First thing to do is just get familiar with ACSIL by working on a simple study.
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: 2017-09-26 18:44:00

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

Login

Login Page - Create Account