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.12 12:18

Zero Point Force - indicator for MetaTrader 5

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

votes: 15
zpf.mq5 (8.6 KB)view

The real author:

Ivan Kornilov


The Zero Point Force indicator drawn on the basis of two Moving Averages. The indicator has the idea of the zero point taken from physics! Shows force classified at the zero point!

The formula for calculation of the indicator:

ZPF[Bar] = MA (Period, Volume[bar]) * (MA (Period, Price[Bar]) - MA (2*Period, Price[Bar])) / 2

This indicator was first implemented in MQL4 and published in CodeBase on 10.03.2010.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".


Fig.1 The Zero Point Force indicator

Fig.1 The Zero Point Force 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.