Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6044
- Rating:
- Published:
- 2012.12.26 10:29
- Updated:
- 2023.03.29 13:42
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The real author:
Yuriy Tokman
This indicator was first implemented in MQL4 and published in Code Base on 07.01.2009.
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 ytg_Price_Peak indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1332

The X2MA Moving Average turned to the oscillator using the normalization of its values in the range from 0 to 100.

This indicator displays the market activity in percentage