Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2017.05.11 10:43

Tipu MACD - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 3
Tipu_MACD.mq4 (19.18 KB)view

Tipu MACD is one the popular indicators in the market. It is based on the MACD Oscillator that was devised by Gerald Appel in late 1970s. MACD is a momentum oscillator that is calculated by subtracting the two price moving averages calculated on the price. It is one of the simplest indicators that provides best of both trend and momentum. You may read about Tipu MACD here.

I have modified the original code for Tipu MACD published in the Market by removing the compatibility with Tipu Panel. This version of Tipu MACD is for learning purposes and is open for anyone who is interested in developing an Expert Advisor using this indicator.

Here is an example of how to use Tipu MACD in an Expert Advisor.

int iSignal, //signals
iTrend; //trend

iSignal = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,9,0);
iTrend = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,10,0);

if (iSignal == OP_BUY) //for sell use OP_SELL

if(iTrend == OP_BUY) //for sell use OP_SELL



ChartEvent Test Example ChartEvent Test Example

Test ChartEvent is an example demonstrating the various types of ChartEvent: keyboard keys events, mouse click & move events, custom events. The source code works both in MetaTrader 4 and MetaTrader 5.

TrailingStop TrailingStop

Trailing stop allows you to automatically protect the profits with your positions. It adjusts itself according to the current market rate and the amount of pips you give it to trail behind.

Binary Options Simulated Trading Indicator for MT4 Binary Options Simulated Trading Indicator for MT4

This is a binary options simulated trading indicator on MetaTrader 4 client, novice traders can use to practice trading strategies, program interface have simplified Chinese and English.

Standard Deviation Channel MT4 Standard Deviation Channel MT4

A channel based on standard deviation of close price.