Support Board
Date/Time: Wed, 27 Nov 2024 05:35:08 +0000
Post From: Current Price Study > Displacement
[2023-08-25 17:33:17] |
John - SC Support - Posts: 36309 |
If you are wanting the offset value to always be 22 ticks, regardless of the tick size of the chart (if you are changing the symbol of the chart), then the best way to do this is to use either a Spreadsheet or the Spreadsheet Formula for the lines above/below the Current Price. If you use the Spreadsheet Formula, you would use two copies, one to create a line above and a second for the line above. The formula you would enter for the line above would be the following: =ID1.SG1 + 22 * TICKSIZE Where ID1 is the ID of the Current Price Line study. You may need to change the number to match your actual Current Price Line study. If you use the Spreadsheet Study, then you just need one copy and you will use two columns to create the lines. Note that the syntax for entering formulas is different between the Spreadsheet Formula (which uses the Alert Syntax) and the Spreadsheet (which uses Spreadsheet Syntax). Refer to the following for reference: Spreadsheet Formula Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart Using the Spreadsheet Study 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 |