Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 04:28:21 +0000



Post From: Prior RTH Session Daily OHLC during Evening Session

[2024-01-07 03:12:28]
Sawtooth - Posts: 4120
I would like for the 1-4-24 RTH High and Low to be displayed as the PDH and PDL beginning with the start of the ETH session.
My example does this.
It extends the final RTH H/L through the subsequent ETH, and also through the next RTH.

To do what I did:
- The Daily OHLC settings need to be as in the attached pic.
- The Session Times need to use the Evening Session, with a start time of 17:00:00

1. Add the Spreadsheet Formula study
- Set the Chart Region to 1
- Use a formula like this in its Formula field:
=IF(BARTIME=TIME(17,0,0),ID12.SG2[-1],ID13.SG1[-1])
where ID13 is this Spreadsheet Formula study
- Set the Draw Style to Dash
- Set the Short Name to PDH and check 'Name Label'

2. Duplicate the above Spreadsheet Study
- Use a formula like this in its Formula field:
=IF(BARTIME=TIME(17,0,0),ID12.SG3[-1],ID14.SG1[-1])
where ID14 is this Spreadsheet Formula study
- Set the Short Name to PDL.
Date Time Of Last Edit: 2024-01-07 03:12:58
imageDaily OHLC settings.PNG / V - Attached On 2024-01-07 03:12:23 UTC - Size: 42.91 KB - 67 views