Spike Hunter
This Old Kings indicator for MetaTrader 4 is called Spike Hunter. In the code it works with MACD, moving averages, Bollinger Bands and ADX. It draws arrows on the chart and can send alerts. It has 40 settings, for example Mode (default 0), Length (default 9) and Smooth (default 1). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 24 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 Spike Hunter
Spike Hunter is an indicator for MetaTrader 4 based on MACD, Moving Average, Bollinger Bands and ADX. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 40 settings, such as Mode, Length and Smooth. MQL source code included.
Files in the download: absolute-strength-histogram.ex4, absolute-strength-histogram.mq4, Advanced_ADX.ex4, Advanced_ADX.mq4, Candle_Time_End_And_Spread.ex4, Candle_Time_End_And_Spread.mq4, DailyData.ex4, DailyData.mq4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Mode | 0 | 0-RSI method; 1-Stoch method |
| Length | 9 | Period |
| Smooth | 1 | Period of smoothing |
| Signal | 4 | Period of Signal Line |
| Price | 0 | Price mode : 0-Close,1-Open,2-High,3-Low,4-Median,5-Typical,6-Weighted |
| Mode ma | 3 | Mode of Moving Average |
| Mode histo | 3 | |
| Adx period | 13 | Period or timeframe used by the calculation |
| Clock color | DimGray | Colour on the chart |
| Corner placement | 1 is top right 3 is bottom right | |
| Corner | 3 | |
| Zone color | C'30,33,36' | Colour on the chart |
| Candle shift | 8 | Bar shift (0 = current bar) |
| Show info | True | |
| Show swap | True | |
| Show background | True | |
| Show bar | True | |
| Deviation | 1 | |
| Money risk | 1.0 | Risk per trade (percent of balance) |
| Line | 0 | |
| Nbars | 8700 | |
| Sound on | TRUE | Turn this alert on or off |
| Local gmt | 8 | Local time zone GMT offset |
| Broker gmt | 1 | Broker MT4's GMT offset |
| Show text | true | Show each session on the left top corner. |
| Fractal period | 5 | Fractal period: 5 for built in fractal |
| Price high | PRICE_HIGH | Price high |
| Price low | PRICE_LOW | Price low |
| Upper arrow displacement | 0.2 | Upper arrow displacement |
| Lower arrow displacement | 0.2 | Lower arrow displacement |
| Lot size | 1 | Lot Size |
| Lb | 10 | |
| Alerts on | false | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
| K period | 5 | Period or timeframe used by the calculation |
| D period | 3 | Period or timeframe used by the calculation |
| Slowing | 3 | |
| Ma period | 11 | Period or timeframe used by the calculation |
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 · MACD · Moving Average · Bollinger Bands · ADX · MT4 Indicator · MQL4 Source Code