Support Board
Date/Time: Sun, 08 Sep 2024 00:41:16 +0000
Vertical plus minus subgraph offset from 0 to 50
View Count: 94
[2024-07-16 13:36:17] |
User43 - Posts: 101 |
How to offset a +/- subgraph from 0 to 50. For example to run a diff on a slow and fast MFI. |
![]() |
[2024-07-16 16:45:15] |
John - SC Support - Posts: 34254 |
You would have to do the math by finding the lowest value and the highest value and then adjusting all the points based on this difference. You would have to use the "Spreadsheet Study" to do this and use the "LARGE()" and "SMALL()" functions to find the highest and lowest values. Refer to the following: https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#LARGE_Function https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#SMALL_Function For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-07-16 18:30:06] |
User43 - Posts: 101 |
Looks like I did not miss an existing feature in Sierra Chart. I already wrote an acsil study for it but it requires several subgraphs to get the desired result. 1st Draw style Bar: to graph all values above 50. 2nd Draw style Bar: to graph the down colored bars below 50 which is just bars with a value of 50. 3rd Draw style Fill Rect Bot: to mask the bars in the second step with the background color. Using the original difference capped at 50. Doable but messy and inefficient. I was hoping this could be added as a feature to the Subgraph properties Currently when a sub graph uses the autocolor +/- it works on a zero base. Would be great to have the option to enter the base for the +/- auto color. Values above the Base to be drawn in primary color, values below in secondary color. Anyhow thanks for your feedback. |
To post a message in this thread, you need to log in with your Sierra Chart account: