Support Board
Date/Time: Sat, 23 Nov 2024 12:58:38 +0000
High of Swing Low Bar/Low of Swing High Bar
View Count: 258
[2024-08-20 18:38:37] |
User688525 - Posts: 257 |
Hello Sierra Chart, Is there a built-in study to display a horizontal line at the high of the swing low bar/low of the swing high bar? Also, are pre-release downloads stable for use in live/production? Thank you |
[2024-08-20 20:03:21] |
John - SC Support - Posts: 36238 |
The "Swing High and Low" study has an Input for "Extend Until Future Intersection". Set this to "Yes" to get a line at each swing bar until the line intersects with a future bar. Refer to the following: Swing High and Low If this does not do what you want and you want a line that goes all the way to the right side of the chart, then add the "Extend Bar Value to Future Intersection" and set the "Based On" to be the "Swing High and Low" and set the "Input Data from Bar for Extension Lines" to be either "Swing High" or "Swing Low". If you want the lines for both, then you would need two copies of the "Extend Bar Value to Future Intersection". Note that the lines do not stop as they are looking for a Swing High (or Swing Low) value to stop at, not a future bar. Refer to the following: Extend Bar Value Until Future Intersection For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-08-21 09:09:24] |
User688525 - Posts: 257 |
Hi John, Thank you for the help. With the "Swing High and Low", currently the line extends from the high (if a swing high) or low (if a swing low). Is it possible to extend the low of a swing high and a high of a swing low? Also, are pre-release versions of Sierra Chart stable for use in live/production? |
[2024-08-23 17:42:10] |
User688525 - Posts: 257 |
Hi John, Any help with the above? Thank you |
[2024-08-23 19:39:36] |
John - SC Support - Posts: 36238 |
With the "Swing High and Low", currently the line extends from the high (if a swing high) or low (if a swing low). Is it possible to extend the low of a swing high and a high of a swing low?
So you are wanting the lowest low of the Swing Highs and the highest high of the Swing Lows? To do this, you would need to use the "Spreadsheet Study" and use the "MINZ()" and "MAX()" functions. The reason you need to do this is that the study "Highest High/Lowest Low for N Bars" will find a value of 0 for the lowest low. You would have the same problem with the MIN() function. In a column in the Spreadsheet system, you would enter the following to the find the lowest low over the recent 1997 bars: =MINZ(ID1.SG1@$3: ID1.SG1@$2000) Where ID1 is the ID of the Swing High/Low study and the references are to cell rows 3 through 2000. You may need to adjust these numbers based on how far back you want to find the lowest low. We leave it to you to work out how to do the MAX for the Highest High. Refer to the following: https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#MINZ_Function https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#MAX_Function Working with Spreadsheets: References to Study Subgraph Columns when using the Spreadsheet Study For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2024-08-23 20:32:04
|
[2024-08-23 21:29:15] |
User688525 - Posts: 257 |
Thank you John for the assistance and head start. I'll be able to work out the rest.
|
To post a message in this thread, you need to log in with your Sierra Chart account: