Support Board
Date/Time: Thu, 23 Jan 2025 09:48:02 +0000
Post From: Alert Based on ZigZag Tot. Accum. Volume Comparison
[2018-11-15 13:25:34] |
Sawtooth - Posts: 4162 |
You'll need to use the Spreadsheet System/Alert study to do what you want. It can't be done with the Color Bar studies because you'll need to create a persistent variable of the previous leg's value. In fact, you'll need to do it for the two most recent legs because the most recent leg isn't finalized for n bars. Here's an example set of formulas: Spreadsheet Example Formulas and Usage: Return Last Two Zig Zag Reversal Values You'll need to modify these to get the two most recent ZZ highs/Lows, then write an alert formula based on them. |