Good evening, start by looking what the Zig Zag to fully understand the operation of this indicator … Then you must set the same Zig Zag in the code “Cumulative Volume Zig Zag” to adapt it to the best TimeFrame that you use !!! Note that this indicator has the tendency to repaint the information it returns to you.