Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 05:12:21 +0000



Post From: Missing Open to Close(Last) Range in "High/Low for Time Period" study

[2023-07-24 17:06:15]
Sawtooth - Posts: 4000
Try these formulas instead:
=IF(AND(BARTIME>=TIME(9,30,0),BARTIME<TIME(9,30,1)),O,IF(ID7.SG1=0,0,ID86.SG1[-1]))
=IF(AND(BARTIME>=TIME(10,25,0),BARTIME<TIME(10,25,1)),C,IF(ID7.SG1=0,0,ID87.SG1[-1]))
where ID7 is the 'IDR time range top' High/Low For Time Period study.

The second IF releases the persistent variable beyond the IDR times.