Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 15:16:17 +0000



Post From: Color Bar or Background on [n]th Bar after ZigZag Reversal Bar

[2018-09-29 12:21:17]
bradh - Posts: 854
How can I "Color Bar/Background" on the [n]th Bar after a Zig Zag Reversal Bar/(Reversal Price)? I can't figure out what should be an obviously simple formula.

I found two ways to do it.

Assume n = 3 and Zig Zag Study is ID1.

1. On the Zig Zag study, enable Display HH,HL,LL,LH Labels. Alert on =ID1.SG2[-3]<>0. You can hide the Text Labels if you don't want to see them.

2. On the Zig Zag study, enable Additional Output for Spreadsheets. Alert on =ID1.SG3[-3]<>0