Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 02:57:23 +0000



Extend open price to previous bar? (into the past)

View Count: 129

[2024-07-02 11:35:18]
User367161 - Posts: 10
Hi. I have created a simple candlestick chart with a VbP Study. Works well so far.
What I want, is to automatically draw a line from the open of the present candle to the previous candle, so I can see in wich relation the opening price is to POC and value area of the previous candle. As I did manually here:

https://www.sierrachart.com/image.php?Image=1719919969401.png

Best regards,
Andreas
[2024-07-02 14:25:12]
Sawtooth - Posts: 4118
What I want, is to automatically draw a line from the open of the present candle to the previous candle
Try this:

1. Add the Spreadsheet Formula study
- Set the Chart Region to 1
- Set 'Draw Zero Values' to No
- Put this formula in the Formula field: =O[1]
- Set the Draw Style to Dash

2. Duplicate the above Spreadsheet Formula study
- Put a formula like this in its Formula field: =ID2.SG1[-1]
where ID2 is the first Spreadsheet Formula study.
[2024-07-02 17:13:56]
User367161 - Posts: 10
... I'll try. Thanx :))

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account