Trabalho concluído
Termos de Referência
My requirements are as follows:
- The MT4 indicator must accurately replicate the trading signals outlined in the trading view Pinescript code attached, ensuring that its output aligns with that of TradingView. If any functionalities present in the Pinescript cannot be implemented in the MT4 or may pose a challenge, please communicate this before agreeing to undertake the project.
- The code quality must be exemplary, avoiding issues such as division by zero or array errors.
- The indicator should be optimized for efficient performance, ensuring that it does not require full recalculation with every new tick or candle.
Required buffers include:
Buffer1: DivergenceType (1 = Positive Regular Divergence, 2 = Negative Regular Divergence, 3 = Positive Hidden Divergence, 4 = Negative Hidden Divergence)
Buffer2: DivergenceCandleStartDatetime (candle where the line started)
Buffer3: MACD (1 if divergence found, 0 if not)
Buffer4: MACD Histogram (1 if divergence found, 0 if not)
Buffer5: RSI (1 if divergence found, 0 if not)
Buffer6: Stochastic (1 if divergence found, 0 if not)
Buffer7: CCI (1 if divergence found, 0 if not)
Buffer8: Momentum (1 if divergence found, 0 if not)
Buffer9: OBV (1 if divergence found, 0 if not)
Buffer10: VWmacd (1 if divergence found, 0 if not)
Buffer11: Chaikin Money Flow (1 if divergence found, 0 if not)
Buffer12: Money Flow Index (1 if divergence found, 0 if not)
Buffer13: External Indicator (1 if divergence found, 0 if not)
The divergence should be displayed on the respective candle where it occurs.
Additionally, I require a copy of the MQL4 source code, not just the compiled version.