Forex MA Segments Indicator
This Old Kings indicator for MetaTrader 4 is called Forex MA Segments Indicator. As the name suggests, the idea behind it is moving averages. In the code it works with moving averages. It can send alerts. It has 33 settings, for example note1 (default ----Select MA----), help1 (default set to true to add MA to) and MA D1 200 SMA (default true). 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 MA Segments Indicator
Forex MA Segments Indicator is an indicator for MetaTrader 4 based on Moving Average. It can alert you with a pop-up, sound, email or push message. It has 33 settings, such as Note1, Help1 and Ma d1 200 sma. MQL source code included.
Files in the download: installation manual.txt, MA_Segments.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Note1 | ----Select MA---- | |
| Help1 | set to true to add MA to chart | |
| Ma d1 200 sma | true | set true to display MA's |
| Ma d1 100 ema | true | set true to display |
| Ma d1 50 ema | true | set true to display |
| Ma d1 21 ema | true | set true to display |
| Ma d1 10 ema | true | set true to display |
| Ma h4 200 sma | false | set true to display (false) |
| Ma h4 100 ema | false | set true to display (false) |
| Ma h4 50 ema | false | set true to display (false) |
| Ma h1 200 sma | false | set true to display (false) |
| Ma h1 100 ema | false | set true to display (false) |
| Ma h1 50 ema | false | set true to display (false) |
| Ma m30 200 sma | false | set true to display (false) |
| Ma m30 100 ema | false | set true to display false) |
| Ma m30 50 ema | false | set true to display (false) |
| Ma m15 200 sma | true | set true to display |
| Ma m15 100 ema | true | set true to display |
| Ma m15 50 ema | true | set true to display |
| Ma m5 200 sma | true | set true to display |
| Ma m5 100 ema | true | set true to display |
| Ma m5 50 ema | true | set true to display |
| Ma m5 20 sma | true | set true to display |
| Ma m1 200 sma | false | set true to display (false) |
| Ma m1 100 ema | false | set true to display (false) |
| Ma m1 50 ema | false | set true to display (false) |
| Note2 | line & text settings | |
| Help2 | amount to shift text to the right | |
| Text shift | 10 | amount to shift text to the right of bar[0] |
| Help3 | lenght of line to display | |
| Line length | 10 | amount to extend line to the right of bar[0] |
| Help4 | font size of bar label | |
| Font size | 9 | font size of bar label |
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 · MT4 Indicator · MQL4 Source Code