Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 22:00:18 +0000



Drawstyle study

View Count: 843

[2018-11-06 09:18:31]
stephane1 - Posts: 110
Hello,
I would like draw area fill between two lines values in same studie(two SG) with study "volumeatpriceV2", but it seems that all drawstyle doesn't work(example: fill bottom, fill top).
I modifie DRAWSTYLE in .cpp but same way, does't work.
any ideas ?
regards
sr
Date Time Of Last Edit: 2018-11-06 09:20:44
[2018-11-06 17:32:06]
John - SC Support - Posts: 31159
You cannot do what you are trying to do directly with the Volume at Price Threshold Alert V2. That study sets all the trigger values to the same setting when you make a change, so it simply will not work.

You would need to use the Study Subgraphs Reference study and set the inputs to the Volume at Price Threshold Alert V2 subgraphs for which you would want to draw the fill between (For Exammple: Trigger Level 0 and Trigger Level 3). And then set the Fill Top and Fill Bottom for the subgraphs in the Study Subgraphs Reference. Also you would want to set the Scale for the Study Subgraphs Reference to Automatic - it is set to Independent by default.

The documentation for the Study Subgraphs Reference can be found here: Study Subgraphs Reference

But, in looking this over, we found that the Study Subgraphs Reference always draws zero values, which can create a problem, particularly for how you are looking to do this. So we have updated the study to include an option whether to draw the zero values or not. This will be out in the next Pre-Release - 1837.


One other note, the Input setting for Highlight Adjacent Alerts Minimum Group Size may be what you are looking for, as it allows you to highlight a group of adjacent alerts. You will find the documentation for this here: Volume at Price Threshold Alert V2
For the most reliable, advanced, and zero cost futures order routing, use 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