• Overview
  • Reviews
  • Comments
  • What's new

Pan PrizMA Convergence Divergence

This is an indicator of convergence and divergence of moving averages, which are built by a quartic polynomial and extrapolated by a quadratic polynomial. Pan PrizMA Convergence Divergence is an option extracted from the Pan PrizMA indicator for use in automated trading based on MACD strategies. Averaging by a quartic polynomial increases the smoothness of lines, adds momentum and rhythm, while extrapolation allows adjusting the delay or lead of signals.

Details: https://www.mql5.com/ru/market/product/18363#!tab=comments


External variables

  • Fast_line_1_leverage - leverage (an analog of period) of a short average line smoothed by a quartic polynomial.
  • Fast_line_2_leverage - leverage of a short average extrapolated by a quadratic polynomial.
  • Slow_line_1_leverage - leverage of a long average line smoothed by a quartic polynomial.
  • Slow_line_2_leverage - leverage of a long average extrapolated by a quadratic polynomial.
  • base - half of the SMA period subtracted from the price. The first MACD is drawn as lines, while the histogram determines the distance between them.
  • Multiplikator - histogram multiplier.
  • Signal SMA Period - signal line period.

The video features the robot that was described in Comments to Pan PrizMA. This is the result of an optimization which is far from complete, performed on a certain history proposed from outside, and if the historical data are credible, the indicator is able to identify some regularities.

No reviews
Version 1.2 - 2017.02.21
The following resource saving condition has been removed:
// if(rates_total==PRED_CHISLO_BAROV)return(0);
Otherwise, aft connection loss, the indicator chart disappeared until the emergence of a new bar. Leave well alone.