Forex HMA4 Indicator
From the Old Kings archive: Forex HMA4 Indicator, an indicator for MetaTrader 4. In the code it works with moving averages. It draws arrows on the chart and can send alerts. It has 24 settings, for example note1 (default Hull Moving Average Peri), HMA Period (default 7) and MA Shift (default 0). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 1 indicator file 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 Forex HMA4 Indicator
Forex HMA4 Indicator is an indicator for MetaTrader 4 based on Moving Average. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 24 settings, such as Note1, Hma period and Ma shift. MQL source code included.
Files in the download: HMA4.mq4, installation manual.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Note1 | Hull Moving Average Period | |
| Hma period | 7 | Period or timeframe used by the calculation |
| Ma shift | 0 | Bar shift (0 = current bar) |
| Note2 | 0=Simple,1=Exponential | |
| Note3 | 2=Smooth,3=Linear Weighted | |
| Ma method | 3 | |
| Note4 | 0=High/Low,1=Close/Close | |
| Ma price | 6 | |
| Note5 | ---------------------------------------- | |
| Note6 | Filter # default = 2.0 | |
| Filter number | 2.0 | |
| Note7 | Draw Dots = true | |
| Note8 | Draw Lines = false | |
| Draw dots | false | |
| Note9 | ---------------------------------------- | |
| Note11 | turn on HMA Pop-up Alert = true | |
| Note12 | turn off = false | |
| A alerts | true | Turn this alert on or off |
| Note13 | ---------------------------------------- | |
| Note14 | send HMA Email Alert = true | |
| Note15 | turn off = false | |
| Email on | false | Turn this alert on or off |
| A turned up | false | |
| A turned down | false |
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: Buy/Sell Arrows · Alerts · Moving Average · MT4 Indicator · MQL4 Source Code