Unisciti alla nostra fan page
- Visualizzazioni:
- 3528
- Valutazioni:
- Pubblicato:
- 2018.07.13 15:16
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
This indicator calculates the index of a given currency, using the USD index. The Close prices of six currency pairs are used to calculate the index.
For example:
- EUR index is calculated as (EUR / USD) * USDX;
- CHF index is calculated as USDX / (USD / CHF).
The indicator has one input parameter:
- Instrument - name of instrument, the index of which shall be calculated.
It should be noted that six currency pairs are used for calculating the index, namely: EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, and USDCHF; and all the necessary history for those symbols must be additionally loaded to get a correct display. This will require some time. It means that, at the first running or switching the chart timeframe, the indicator will first load history and only then calculate and display the index for your desired currency.
The indicator works on the charts of any currency pairs.
Fig 1. Index EUR
Fig. 2. Index RUB
Fig. 3. Index SEK
Fig. 4. Index USD
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/21157
![Ang_Zad_C_Hist_Candle](https://c.mql5.com/i/code/indicator.png)
A candlestick-based chart based on histograms Ang_Zad_C_Hist calculated on the Open, High, Low, and Close timeseries of the price chart.
![VR Atr pro Lite MT5](https://c.mql5.com/i/code/indicator.png)
Indicator Atr Lite calculates the average price motion
![SymbolX_Candle](https://c.mql5.com/i/code/indicator.png)
This indicator calculates the index of a given currency, using the USD index. It is based on indicator SymbolX, but four prices are used for calculations: OHLC instead of just one Close price.
![ASO](https://c.mql5.com/i/code/indicator.png)
Indicator ASO (Average Sentiment Oscillator) displays the general market climate.