Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 05:30:45 +0000



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

[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.