Forum

Indicator loop mql4 vs mql5

Hy, I want to have an indicator which was originally coded in MQL4 in MQL5. Everyting is ok so far. Just one warning with data conversion. But that is ok. My question is about the indicator loop in function OnCalculate(). I'am not sure with the new code for the old indicator loop: Old version

ZigZag with cumulative volume for each wave

Hello, I'am looking for an adapt ZigZag showing the cumulative volume for each ZigZag, for expample like this. Do you have any ideas to build up a Zigzag with volume? Greetings Mike