Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Tipu MACD - indicator for MetaTrader 4

Views:
70125
Rating:
(38)
Published:
2017.05.11 10:43
Updated:
2018.05.18 15:58
Tipu MACD.mq4 (17.89 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 //--Method#1 iSignal = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,7,0); iTrend = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,8,0); if (iSignal == OP_BUY) //for sell use OP_SELL { } if(iTrend == OP_BUY) //for sell use OP_SELL { }

//--Method#2 bool BuySignal = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,9,0); bool SellSignal = iCustom(_Symbol,_Period,"Tipu MACD",2,12,26,9,PRICE_CLOSE,"",1,5,clrBlue,clrRed,true,true,"",1,false,false,false,10,0);

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.