Login Page - Create Account

Support Board


Date/Time: Wed, 22 Jan 2025 16:03:36 +0000



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

[2018-09-29 12:21:17]
ForgivingComputers.com - Posts: 989
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