Support Board
Date/Time: Sat, 01 Mar 2025 08:16:08 +0000
Daily OHLC to Extend THROUGH everything, so to pierce through everything
View Count: 691
[2021-09-27 21:11:35] |
ElKimoBasha999 - Posts: 22 |
Hey so I am trying to 1: draw a "constant" horiztonal line to extend infinitely from left to right for every OHLC on a daily candle for say the last 30 or 60 daily candles. The closest I found was extend until further intersection and I don't want that, I want it to go from left to right across the screen, regardless of anything in the way. and finally 2: to be able to color each of of the 4 lines (high - low - close - open) independently, for example red for the high and blue for the low, light blue for close etc... I got pretty close with the "Period OHLC - Variable Period" study as attached below BUT only thing missing is that the lines are too short and no option to make them EXTEND accross left to right.. So exactly like this screenshot but jus make the lines stretch left to right infinetly http://www.sierrachart.com/image.php?Image=1632777200500.png THANK YOU Date Time Of Last Edit: 2021-09-27 21:14:53
|
[2021-09-27 21:38:11] |
John - SC Support - Posts: 38292 |
1. Probably the easiest way to do this (but it will take a fair amount of setup, and can only be done for 15 bars in one spreadsheet) will be to use the Spreadsheet Study and then set 4 columns each to be the Open/High/Low/Close for each bar that you want to have the lines extend for. In other words, you would enter the following: K3: =$B$3 L3: =$C$3 M3: =$D$3 N3: =$E$3 O3: =$B$4 P3: =$C$4 Q3: =$D$4 R3: =$E$4 ... You would also want to ensure that the Spreadsheet Study is set to display in Region 1. You can then also set the Draw Style for each Subgraph to Line Extend to Edge. Refer to the following: Chart Studies: Line Extend To Edge (ACSIL: DRAWSTYLE_LINE_EXTEND_TO_EDGE) Also refer to the Input on the Spreadsheet Study for the number of Formula Columns, which you would need to increase to 60 (maximum) in order to do this for 15 bars: Spreadsheet Study Inputs: Number of Formula Columns 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: