Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Vues:
4142
Note:
(15)
Publié:
2018.03.01 11:57
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

D-Oscillator is an oscillator based on the RSI and CCI ratio.


Calculation formula

Line1[i] = 2/(Smooth + 1)*StCCI + (1 - 2/(Smooth + 1))*Line1[i-1]

Line2[i] = 2/(Smooth*0.8 + 1)*Line1[i-1] + (1 - 2/(Smooth*0.8 + 1))*Line2[i-1]

where

StCCI = [CCI_Coeff]*CCI[i] + (1 - [CCI_Coeff])*StRSI

StRSI = (RSI[i] - MinRSI)*200/(MaxRSI - MinRSI) - 100

MaxRSI, MinRSI - the maximum/minimum values of RSI between [i-D_Period] and [i].

The indicator has five input parameters:

  • RSI period - RSI calculation period;
  • D-period - the number of bars to search for the maximum/minimum RSI values;
  • CCI period - CCI indicator parameter;
  • CCI coefficient - CCI indicator parameter;
  • Smooth - smoothing.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/19953

BB-Decimal BB-Decimal

Colored Bollinger Bands

Trend Me Leave Me Trend Me Leave Me

The EA trades using the signals of iADX (Average Directional Movement Index, ADX) and iSAR (Parabolic SAR) indicators. The profit/loss of the last closed position is taken into account. Positions are moved to breakeven.

GeoMean_MA GeoMean_MA

Geometric Mean Moving Average is a simple moving average calculated by the geometric mean method.

MACD_Divergence MACD_Divergence

The indicator searches for divergences and displays them on the chart of the custom MACD indicator.