Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal

Corelation - indicator for MetaTrader 4

2008.07.28 07:45
2016.11.22 07:32
corelation.mq4 (3.64 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator is intended for searching the correlations between different symbols. It allows you to overlay one chart with another to visually detect how different symbols correlate with each other. It also allows you to superimpose moving averages.


  • simbol_name - the ticker of the symbol whose chart will be layed on the current one;
  • bars_for_autoscale - the amount of bars the charts will be scaled on (0 - maximal amount);
  • inverse - inverses the chart upside down;
  • MA - show or not to the moving average for the overlaid chart (true - show; false - do not show);
  • MAPeriod - the period of the moving average;
  • MAOnly - shows only the moving average (hides chart).

The scaling occurs in the way the maximums and minimums at the region of N-bars (bars_for_autoscale variable) coincide with each other.

The indicator can be used for hedging and spread trade strategies on correlating pairs.

Translated from Russian by MetaQuotes Ltd.
Original code:

Kanal_Ant Kanal_Ant

The indicator of MA-channel allows to analyse the dynamics of the price by using the technique of A_Vlad, the gist of it is the line of balance LB acts as the attraction of price when there is no external influence.

MA Channels MA Channels

It displays Fibo levels of the price channel created on the moving avrage.

ZZ_Ensign_Fibo ZZ_Ensign_Fibo

A ZigZag alike the one used in Ensign with little differences (v1). With displaying of statical and dynamical fibs and Andrews' pitchfork.

FiboPiv_Daily_DK FiboPiv_Daily_DK

The indicator FiboPiv_Daily_DK.