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

2013.02.14 05:31

Ma_Distance_From_Price - indicator for MetaTrader 5

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

votes: 19

The real author:

David W Honeywell


A semaphore signal indicator for the moments when the trend force measured by the deviation of the price from the Moving Average is higher than a fixed limit. The measured deviation is defined in points using the threshold value of the PipLevel input variable of the indicator (the level of triggering in points from the Moving Average).

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


Fig.1 The Ma_Distance_From_Price indicator

Fig.1 The Ma_Distance_From_Price indicator 

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.