Envelope Filter 2
Envelope Filter 2 is an indicator for MetaTrader 4 from the Old Kings collection. Its name points to moving-average envelopes. Its source code uses moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 23 settings, for example Period1 (default 5), Period2 (default 13) and Period3 (default 34). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 9 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 · v1.0 · Free
About Envelope Filter 2
Envelope Filter 2 is an indicator for MetaTrader 4 based on Moving Average and ATR. It draws buy and sell arrows on the chart, can alert you with a pop-up, sound, email or push message and can show data from another timeframe (MTF). It has 23 settings, such as Period1, Period2 and Period3. MQL source code included.
Files in the download: +++AgimatFX2018pro_PriceLineGrid.ex4, 31_Level_ZZ_Semafor.ex4, 31_Level_ZZ_Semafor.mq4, Beast Super Signal.ex4, Envelope Filter TMA.tpl, Envelope.ex4, HalfTrend 2.ex4, HalfTrend 2.mq4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Period1 | 5 | Number of bars in the calculation |
| Period2 | 13 | Number of bars in the calculation |
| Period3 | 34 | Number of bars in the calculation |
| Dev step 1 | 1,3 | Distance between orders |
| Dev step 2 | 8,5 | Distance between orders |
| Dev step 3 | 21,12 | Distance between orders |
| Symbol 1 kod | 140 | |
| Symbol 2 kod | 141 | |
| Symbol 3 kod | 142 | |
| Time frame | PERIOD_CURRENT | Period or timeframe used by the calculation |
| Amplitude | 2.0 | |
| Alerts on | true | Turn this alert on or off |
| Alerts on current | false | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts notification | true | false; |
| Alerts sound | true | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
| Show bars | false | true; |
| Show arrows | true | |
| Arrow size | 2 | |
| Uparrow code | 233 | |
| Dnarrow code | 234 | |
| Arrows on first bar | true |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Channels & Envelopes · Buy/Sell Arrows · Alerts · Multi-Timeframe (MTF) · Moving Average · ATR · MT4 Indicator · MQL4 Source Code