Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.09.21 11:20

iCrossClose - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 18

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.


  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,

Translated from Russian by MetaQuotes Software Corp.
Original code:

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.