Login Page - Create Account

Support Board


Date/Time: Sun, 20 Jul 2025 04:04:08 +0000



Post From: zig zag swings count

[2023-04-08 23:25:32]
Sawtooth - Posts: 4244
Try this in the Formula field of the Spreadsheet Formula study:
=IF(BARDATE>BARDATE[-1],0,IF(ID6.SG3>0,ID7.SG1[-1]+1,ID7.SG1[-1]))
where ID6 is the Zigzag study, and ID7 is this Spreadsheet Formula study.

This will reset at a new day, then count every ZZ reversal.