Login Page - Create Account

Support Board


Date/Time: Fri, 05 Sep 2025 03:37:21 +0000



Post From: Mark the most recent pair

[2025-06-26 04:53:16]
Sawtooth - Posts: 4261
Could something like this be done using an analysis study alert?
It could be done with the Spreadsheet Formula study, and the Color Bar Based On Alert Condition study, but it would not limit the marker to the two most recent higher closes:

- Add the Spreadsheet Formula study, set the Chart Region to 1, Hide the study, and use a formula like this in its Formula field:
=IF(C>ID1.SG1[-1],C,ID1.SG1[-1])
where ID1 is this Spreadsheet Formula study.

- Add the Color Bar Based On Alert Condition study, and use a formula like this on its Alerts tab:
=ID1.SG1<>ID1.SG1[-1]