Version 1.1 2020.11.12
- New option for calculating VolumeFormula is added: MFi. It's accessible in the input parameter UseVolumes. When selected, MACDAD uses money flow formula (typical price * volume) with respect to up/down typical price direction (accounted with positive or negative sign). Since MACDAD is an oscillator, it makes no sense to build it on another oscillator, such as standard MFI, which accumulates positive/negative money flows and finds their ratio (index). Instead, MACDAD accumulates money flow values by itself and uses standard MACD approach to oscillate.

- New parameter Alerts allows you to enable alerts for specific events: MACD histogramm crosses zero up or down; Dashed oscillator line crosses zero up or down (red signal line crosses histogramm); both signals.

- New parameter AlertsOnTicks (false by default) controls if alerts can be generated only once on every bar, or multiple times by ticks (if true). When it's true, every type of signal can be raised twice: first for initial crossing and second for optional retreat (crossing back). Next crossings if they happen will be skipped in order to prevent massive alerts on price fluctuations. When AlertsOnTicks = false, bars with indices 1 and 2 are checked for event generation (both 1 and 2 are completed bars). When AlertsOnTicks = true, bars 0 and 1 are checked for event conditions (the bar 0 keeps changing, it's not completed yet).