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:
8357
Note:
(29)
Publié:
2010.09.21 11:20
Mise à jour:
2016.11.22 07:32
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The indicator allows to perform any arithmetic action with prices of two symbols and plot result on any other chart.

It allows to calculate the crosses (using multiplication and division), spread (subtract) or just to plot the other symbol's data on the chart.

iCrossClose indicator

Fig. 1. The indicator iCrossClose. The EURGBP itself (blue) and its estimated values (red, caluclated using the EURUSD and GBPUSD) are presented on the lower chart


By default, it plots the cross of EURGBP, calculated using the values of  EURUSD and GBPUSD (Fig. 1)

Input parameters:
  • S1_Symbol - Symbol 1;
  • S1_Invert - Flag to invert the value of symbol 1 (value=1.0/value);
  • S1_K - Multiplication coefficient of the symbol 1 (value=K*value);
  • S1_Plus - Addition to the symbol 1 (value=Plus+value). The operations priority is the following: invert, multiplication, addition;
  • S2_Symbol - Symbol 2;
  • S2_Invert - Flag to invert the value of symbol 2;
  • S2_K - Multiplication coefficient of the symbol 2;
  • S2_Plus - Addition to the symbol 2;
  • R_ArithmeticAction - Arithmetic Action;
  • R_Invert - Flag to invert the result of Arithmetic Action result;
  • R_K - Multiplication coefficient for the result;
  • R_Plus - Addition to the result.

Notes:

  1. To plot the other symbol's data as it is, you must specify the same values of the S1_Symbol and S2_Symbol, S2_K=0, R_ArithmeticAction=Add, and default values for the other parameters.
  2. Until the data isn't ready, it waits for a new tick and prints the message "Please wait...". You can also switch the timeframes to use it at weekends,

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

Price Channel Price Channel

There is a Price Channel indicator, but I don't like it, because it fills all the space between the upper and lower boundaries. This version of Price Channel looks like in MetaTrader 4.

Moving Averages, multi-timeframe [v03] Moving Averages, multi-timeframe [v03]

Moving Average indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe). Includes: SMA, EMA, SMMA, LWMA, AMA, DEMA, TEMA, FRAMA, and VIDYA

ProMart ProMart

The Improved version of MаrtGreg Expert Advisor.

ytg_Percent_Lot ytg_Percent_Lot

The script calculates the number of lots to trade using the specified percentage of risk funds.