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

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

author EAcpu | 5 reads | 0 comments |

ATRStops_v1_HTF - indicator for MetaTrader 5

Trend indicator implemented in the form of NRTR. The time range of the indicator is set in the input parameters of the indicator:

 //+------------------------------------------------------------------------+
//|Input parameters of the indicator |
//+------------------------------------------------------------------------+
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Chart period of iSAR indicator
Input unit length = 10 ; // indicator period
Input unit ATR period = 5 ; // Period of ATR indicator
Enter double Kv= 2.5 ; // ATR volatility
Enter integer shift = 0 ; // Horizontal movement of the indicator in bars

The average true amplitude is used to construct a moving average.

Place the compiled file with the ATRstops_v1.ex5 indicator in terminal_data_folder\MQL5\Indicators.

The indicator was first implemented in MQL4 and published in the code base of mql4.com on April 7, 2008.

ATRStops_v1_HTF - indicator for MetaTrader 5

Figure 1. ATRstops_v1_HTF indicator


Attachment download

📎 atrstops_v1.mq5 (10.47 KB)

📎 atrstops_v1_htf.mq5 (10.62 KB)

Source: MQL5 #1766

Verification code Refresh