Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Zero point force - MetaTrader 5 script | Forex indicator download - MT4/MT5 resources - MetaTrader 5 resources

author EAcpu | 5 reads | 0 comments |

Zero Point Force - indicator for MetaTrader 5

Real author:

Zero point force indicator drawn based on two moving averages. The zero point concept of this indicator comes from physics! Shows the force at zero point!

Indicator calculation formula:

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

The indicator was first implemented in MQL4 and published in the code base on March 10, 2010.

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

Zero Point Force - indicator for MetaTrader 5

Figure 1 Zero point force indicator


Attachment download

📎 smoothalgorithms.mqh (133.8 KB)

📎 zpf.mq5 (8.6 KB)

Source: MQL5 #1202

Verification code Refresh