Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Indicateurs

Investor_Preference_Index - indicateur pour MetaTrader 5

Vues:
3786
Note:
(8)
Publié:
2018.09.27 16:00
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Investor Preference Index was discussed in the "Technical Analysis of Stocks & Commodities" magazine in December, 1997, page 19. The article was written by Cyril V. Smith Jr.

Initially, this indicator, which was used as the long-term stock market investment tool, compared the efficiency of S&P 500 with the New York Stock Exchange to measure sentiment. The theory suggests that investors prefer certain types of investment.

The indicator has five input parameters:

  • Instrument - the name of the financial instrument
  • ROC period - period for calculating the price rate of change
  • Fast smoothing period - the period of the fast smoothing
  • Slow smoothing period - the period of the slow smoothing
  • Result smoothing period - the period of the resulting smoothing

Calculation:

IPI =100.0*(Result smoothing period * SMA(B2, Result smoothing period)+1.0)

where:

B2 = SMA(B1, Fast smoothing period) - SMA(B1, Slow smoothing period) B1 = ROC1 - ROC2

ROC1 - the current symbol's price rate of change over the ROC period ROC2 - the 'Instrument' symbol's price rate of change over the ROC period

ROC = 100.0 * Log(Close - Log2) / Log2

Log2 = Log(Close[ROC period])

Please note that in order for the indicator to display correctly, historical data for the 'Instrument' symbol are needed, which can lead to a delay in displaying the oscillator line during the first launch or symbol changed.

Fig. 1. Investor Preference Index GBPUSD relative to EURUSD


Fig. 2. Investor Preference Index GBPUSD relative to USDJPY


Fig. 3. Investor Preference Index GBPUSD relative to AUDCAD


Fig. 4. Investor Preference Index GBPUSD relative to USDRUB


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

CCI_Histogram_Vol CCI_Histogram_Vol

The Commodity Channel Index oscillator displayed as a color histogram, using volumes.

GD GD

The Generalized DEMA moving average

MA_Signal MA_Signal

The MA signal indicator

Modified_Moving_Average Modified_Moving_Average

The Modified Moving Average indicator