Hull Moving Average 2.0 Sr Lines +Arrows
From the Old Kings archive: Hull Moving Average 2.0 Sr Lines +Arrows, an indicator for MetaTrader 4. As the name suggests, the idea behind it is the Hull moving average, moving averages and buy / sell signals on the chart. In the code it works with moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 19 settings, for example Time Frame (default Current time frame), HMAPeriod (default 34) and HMAPrice (default PRICE_CLOSE). Try it on a demo chart first and note how its lines or arrows react to new bars. 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 Hull Moving Average 2.0 Sr Lines +Arrows
Hull Moving Average 2.0 Sr Lines +Arrows 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 19 settings, such as Time frame, Hma period and Hma price. MQL source code included.
Files in the download: Hull moving average 2.0 & sr lines +arrows.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | Current time frame | Period or timeframe used by the calculation |
| Hma period | 34 | Period or timeframe used by the calculation |
| Hma price | PRICE_CLOSE | |
| Hma speed | 2.0 | |
| Lines visible | true | |
| Lines number | 5 | |
| Color up | Blue | Colour on the chart |
| Color down | Red | Colour on the chart |
| Unique id | HullLines1 | |
| Alerts on | false | Turn this alert on or off |
| Alerts on current | true | Turn this alert on or off |
| Alerts message | false | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
| 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: Moving Average · Buy/Sell Arrows · Alerts · Multi-Timeframe (MTF) · ATR · MT4 Indicator · MQL4 Source Code