Trend Indicator with RSI and Moving Average Envelopes
Info
The Trend Indicator with RSI and Moving Average Envelopes is a Indicator for MetaTrader 4 that trend indicatorinput parameters:timeframe = 60the period of the diagram can be any of the following sizes: 1 - 1 minute; 5 - 5 minutes; 15 - 15 minutes; 30 - 30 minutes; 60 - 1 hour; 240 - 4 hours; 1440 - 1 day; 10080 - 1 week; 43200 - 1 month; 0 (zeroes) - period of the current chart. RSI = 5Period of RSI indicator.
Usage
This tool is typically used for trend following strategies across multiple currency pairs.
Platform
This Indicator works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Indicators folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use Trend Indicator with RSI and Moving Average Envelopes
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
Trend IndicatorInput Parameters:Timeframe = 60The period of the diagram can be any of the following sizes: 1 - 1 minute; 5 - 5 minutes; 15 - 15 minutes; 30 - 30 minutes; 60 - 1 hour; 240 - 4 hours; 1440 - 1 day; 10080 - 1 week; 43200 - 1 month; 0 (zeroes) - period of the current chart.
Typical Use Case
This Indicator excels in trend following on MetaTrader 4.
Compatible Platform & Setup
This Indicator works on MetaTrader 4. Place the file in the MQL4/Indicators folder and restart the terminal.
Description & Settings
Related: B Bands Psar Indicator - another powerful indicator for MetaTrader 4 traders.
Trend IndicatorInput Parameters:
Timeframe = 60
The period of the diagram can be any of the following sizes: 1 - 1 minute; 5 - 5 minutes; 15 - 15 minutes; 30 - 30 minutes; 60 - 1 hour; 240 - 4 hours; 1440 - 1 day; 10080 - 1 week; 43200 - 1 month; 0 (zeroes) - period of the current chart.
Also recommended: Fast Stochastic Indicator - similar indicator with strong performance on MetaTrader 4.
RSI = 5
Period of RSI indicator.
Applied_RSI = 0
The used price. There can be any of price constants: 0 - close price; 1 - open price; 2 - high price; 3 - low price; 4 - average price, (high+low) /2; 5 - typical price, (high+low+close) /3; 6 - weighted price of closing, (high+low+close+close) /4.
MA = 50
Period of moving average indicator.
Method_MA = 0
A method of averaging. Can be any of meanings of methods sliding average (moving average): 0 - simple moving average; 1 - exponentially smoothed moving average; 2 - smoothed moving average; 3 - linearly weighted moving average.
Koridor = 5
A threshold of an envelope.
You may also like: rsar korsar indicator: a comprehensive guide - excellent alternative for indicator users on MetaTrader 4.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property indicator_separate_window
#property indicator_buffers 6
#property indicator_color1 yellow
#property indicator_color3 aqua
#property indicator_color4 aqua
#property indicator_color5 lime
#property indicator_color6 red
#property indicator_width1 3
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.