Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 19312
- Note:
- Publié:
- 2018.12.28 12:59
- Mise à jour:
- 2019.01.17 11:29
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Shadow True Strength Index oscillator with two signal lines (TSI shadows).
It has ten adjustable parameters:
- Price source - calculation price of the source data, on which TSI (*) is calculated
- Price source period - calculation period of the source data, on which TSI (*) is calculated
- First smoothing period - primary smoothing period
- Second smoothing period - secondary smoothing period
- First shadow period - first signal line calculation period
- First shadow method - first signal line calculation method
- Second shadow period - second signal line calculation period
- Second shadow method - second signal line calculation method
- Overbought - overbought level
- Oversold - oversold level
Calculations:
TSI = 100.0 * UDM2 / ADM2
Shadow1 = MA(TSI, First shadow period, First shadow method)
Shadow2 = MA(Shadow1, Second shadow period, Second shadow method)
where:
UDM2 = EMA(UDM1, Second smoothing period)
ADM2 = EMA(ADM1, Second smoothing period)
UDM1 = EMA(UDM, First smoothing period)
ADM1 = EMA(ADM, First smoothing period)
UDM = Close - PrevClose
ADM = ABS(UDM)
* Source data for TSI calculation:
unlike indicator TSI calculated on the Close price, the calculations here are based on prices of the simple moving average (SMA) featuring both calculation prices and a timeframe. If SMA's Price source period is 1, the TSI line of the indicator fully coincides with the line of indicator TSI. In case of the high values of the Price source period, the TSI line is smoothed.
unlike indicator TSI calculated on the Close price, the calculations here are based on prices of the simple moving average (SMA) featuring both calculation prices and a timeframe. If SMA's Price source period is 1, the TSI line of the indicator fully coincides with the line of indicator TSI. In case of the high values of the Price source period, the TSI line is smoothed.
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22784

This is a utility for rounding the lot size correctly

Indicator Volatility Ratio2