Macd Osma On Chart Mtf V2 4
This Old Kings indicator for MetaTrader 4 is called Macd Osma On Chart Mtf V2 4. Its name points to MACD (moving average convergence / divergence) and several timeframes at once. The file name marks it as version 2.4. In the code it works with MACD, moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 28 settings, for example Time Frame (default tf_cu), Time Frame Custom (default 0) and Fast (default 12). 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 · v2 · Free
About Macd Osma On Chart Mtf V2 4
Macd Osma On Chart Mtf V2 4 is an indicator for MetaTrader 4 based on MACD, 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 28 settings, such as Time frame, Time frame custom and Fast. MQL source code included.
Files in the download: macd-osma-on-chart-mtf-v2.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | tf_cu | Time frame |
| Time frame custom | 0 | Custom time frame to use (if custom time frame used) |
| Fast | 12 | Быстрая - Период |
| Slow | 26 | Медленная - Период |
| Signal | 9 | Сигнальная - Период |
| Mode | MODE_EMA | Быстрая и Медленная - Метод |
| Price | PRICE_CLOSE | Быстрая и Медленная - Цена |
| Display type | en_ald | en_lin; // Display type |
| Lines width | 2 | Lines width (when lines are included in display) |
| Bars width | 2 | Bars width (when bars are included in display) |
| Alerts on | true | Turn alerts on? |
| Alerts on current | false | Alerts on current (still opened) bar? |
| Alerts message | true | Alerts should display alert message? |
| Alerts sound | true | Alerts should play alert sound? |
| Alerts push notif | false | Alerts should send alert notification? |
| Alerts email | false | Alerts should send alert email? |
| Sound file | news.wav | "stops.wav" //"alert2.wav" //"expert.wav"; |
| Up pips | 0 | Upper band in pips (<= 0 - no band) |
| Dn pips | 0 | Lower band in pips (<= 0 - no band) |
| Arrow code up | 233 | 159; // Up Arrow code |
| Arrow code dn | 234 | 159; // Down Arrow code |
| Arrow gap up | 0.5 | Gap for arrow up |
| Arrow gap dn | 0.5 | Gap for arrow down |
| Arrow size up | 1 | Up Arrow Size |
| Arrow size dn | 1 | Down Arrow Size |
| Arrow on first | true | Arrow on first bars |
| Shift | 0 | Average shift |
| Interpolate | int_line | Interpolating method when using multi time frame mode |
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: MACD · Multi-Timeframe (MTF) · Buy/Sell Arrows · Alerts · Moving Average · ATR · MT4 Indicator · MQL4 Source Code