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

ATRNorm - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

ATRNorm - indicator for MetaTrader 5

ATRNorm is a normalized version of the average true amplitude. The indicator can also normalize the tick volume, standard deviation, etc. using the ValueType input parameter. ATRNorm was created to detect flat areas.

The indicator was first implemented in MQL4 and published in the code base on May 10, 2012 (in Russian).

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

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input unit period = 12 ; // indicator period
Input unit horse = 12 ; // smoothing period
Input IndType ValueType=ATR; // Standardized indicator type
Input unit norm limit = 24 ; // normalized period
input ENUM_APPLIED_VOLUME volume type = volume_scale ; // volume
Enter integer shift = 0 ; // horizontal movement of the indicator in bars 

ATRNorm - indicator for MetaTrader 5


Attachment download

📎 atrnorm.mq5 (12.25 KB)

📎 smoothalgorithms.mqh (133.8 KB)

Source: MQL5 #971

Verification code Refresh