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

2012.12.19 11:17

AffineTransform - indicator for MetaTrader 5

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

votes: 16

The real author:

Likhovidnov V.N.

The indicator transfers the price data to the new coordinates system shifting price axis. Before throwing the indicator to the chart create a chart object of trend line in the chart. Remember the name of this line in the Windows clipboard and after throwing the AffineTransform indicator to the chart, enter from the Windows clipboard the name of the trend line as input parameter of the indicator.

This indicator was first implemented in MQL4 and published in Code Base at on 07.12.2009.

Fig.1 The AffineTransform indicator

Fig.1 The AffineTransform indicator


Translated from Russian by MetaQuotes Software Corp.
Original code:

Ind_2 Line+1 Ind_2 Line+1

The indicator of the arbitrage situation for spread consisting from two instruments

AnchoredMomentum AnchoredMomentum

The improved Momentum indicator. The indicator is described by Rudy Stefenel in February'1998 issue in Stock&Commodities


The MACD histogram drawn using two signal lines in the price chart of the financial asset.

String - Library of functions for working with strings String - Library of functions for working with strings

Library of functions for working with strings: StringToArray, StringToPeriod and PeriodToString