MA Crossover Alert 2
This Old Kings indicator for MetaTrader 4 is called MA Crossover Alert 2. Judging by its name, it is built around moving averages and alerts. In the code it works with moving averages. It draws arrows on the chart and can send alerts. It has 8 settings, for example Sound ON (default true), Email ON (default false) and Fast MA Mode (default 3). 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 MA Crossover Alert 2
MA Crossover Alert 2 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 8 settings, such as Sound on, Email on and Fast ma mode. MQL source code included.
Files in the download: _MA_Crossover_Alert_.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Sound on | true | Turn this alert on or off |
| Email on | false | Turn this alert on or off |
| Fast ma mode | 3 | 0=sma, 1=ema, 2=smma, 3=lwma, 4=lsma |
| Fast ma period | 3 | Period or timeframe used by the calculation |
| Fast price mode | 6 | 0=close, 1=open, 2=high, 3=low, 4=median(high+low)/2, 5=typical(high+low+close)/3, 6=weighted(high+l |
| Slow ma mode | 3 | 0=sma, 1=ema, 2=smma, 3=lwma, 4=lsma |
| Slow ma period | 34 | Period or timeframe used by the calculation |
| Slow price mode | 6 | 0=close, 1=open, 2=high, 3=low, 4=median(high+low)/2, 5=typical(high+low+close)/3, 6=weighted(high+l |
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 · Alerts · Buy/Sell Arrows · MT4 Indicator · MQL4 Source Code