Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 07:20:26 +0000



slope when there's no slope

View Count: 664

[2016-01-25 15:28:32]
Crtfyd - Posts: 281
I use several studies and change the settings in the Graph Draw Style "Line" to "Based on slope".
I then color the first box green for up and second box red for down.
This gives me a good visual.
The problem I have is when the number is EQUAL to the previous bar, it colors the horizontal line the last "up/down" color.
I'd like to make a quicker visual identification of a horizontal line by having horizontal lines (no change in volume in this case) to a different color. So up=one color, down=another color, horizontal(no change)= 3rd color.
Is there a way of doing this? I see (in this case the Trade Volume)a "custom" option button for the draw type, but its greyed out.
Thx
[2016-01-26 00:13:55]
Sierra Chart Engineering - Posts: 104368
For this you need to create your own Advanced Custom Study:
Advanced Custom Study Interface and Language (ACSIL)


And you need to use the sc.Subgraph[].DataColor array:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_scSubgraph.html#scSubgraphDataColor
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