Support Board
Date/Time: Tue, 04 Feb 2025 02:52:27 +0000
[Programming Help] - Study to show only after threshold met?
View Count: 839
[2020-01-02 00:59:32] |
osaga - Posts: 53 |
Hello SC Is there a way to only make a study show up after a specific threshold (min/max) is met? I know I can use the scale settings to make it appear using a User Defined scale, but is there a Study Subgraph or similar study that will only allow values after a specific threshold (min/max)? In my case I am using a Study Subgraph to show the difference between 2 moving averages. I want the values to show up only after the difference is 20 ticks or higher. Is this possible? Thank You! |
[2020-01-02 01:13:31] |
Ackin - Posts: 1865 |
Try: Color Bar Based on Alert Condition + change item "Based On:".... choose "Study Subgraph" set "Output when condition true (IN4)" ......to "Use Input Data" + alert condition =IDxx.SG1>=(20*TICKSIZE) xx is value of the ID Study Subgraph 20 is your tick value + change Drawstyle in the study settings from "Colorbar" to "ValueOnHigh" change Width to value 8 and more Date Time Of Last Edit: 2020-01-02 01:47:26
|
[2020-01-02 01:18:21] |
Ackin - Posts: 1865 |
btw. You are registered on my forum, then for this use the study: "Universal number filter"
Date Time Of Last Edit: 2020-01-02 01:48:15
|
[2020-01-02 11:38:06] |
osaga - Posts: 53 |
Ackin... thank you again for helping me out. I really appreciate your help and knowledge. I'm going to check out your universal filter. I do have both of the free scripts installed. Best Regards |
[2020-01-02 11:46:24] |
Ackin - Posts: 1865 |
Oshine) If you would like to create additional alerts for this purpose, please write your request in the free section suggestions. This study is very simple, a few lines, so it's not a problem to improve it either. |
To post a message in this thread, you need to log in with your Sierra Chart account: