Tipu CCI - indicator for MetaTrader 4




Tipu CCI - indicator for MetaTrader 4


I have modified the original code for Tipu CCI published in the Market by removing the compatibility with Tipu Panel. This version of Tipu CCI 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 CCI in an Expert Advisor.

//---signal
int iSignal = iCustom(_Symbol,_Period,"Tipu CCI","",14,PRICE_TYPICAL,0,0,"",1,5,clrNONE,clrNONE,"",false,false,1,false,false,false,4,0);
//---trend
int iTrend = iCustom(_Symbol,_Period,"Tipu CCI","",14,PRICE_TYPICAL,0,0,"",1,5,clrNONE,clrNONE,"",false,false,1,false,false,false,5,0);

//---method#1
if(iSignal == OP_BUY) //buy signal, for sell signal use OP_SELL
if(iTrend == OP_BUY)  //buy trend, for sell trend use OP_SELL

//---method#2
bool bBuy = iCustom(_Symbol,_Period,"Tipu CCI","",14,PRICE_TYPICAL,0,0,"",1,5,clrNONE,clrNONE,"",false,false,1,false,false,false,6,0);
bool bSell = iCustom(_Symbol,_Period,"Tipu CCI","",14,PRICE_TYPICAL,0,0,"",1,5,clrNONE,clrNONE,"",false,false,1,false,false,false,7,0);


Download Tipu CCI - indicator for MetaTrader 4




Related News




Latest News
Metro Bank likely to pick interim boss as next CEO: Sky News
18.02.2020 00:15
(Reuters) - Britain's Metro Bank (L:MTRO) is likely to pick acting boss Daniel Frumkin as its next chief executive, Sky News reported https://news.sky.com/story/metro-bank-faces-pressure-to-hand-interim-chief-top-job-11936657 on Monday, citing an unidentified insider. Formal confirmation of an appointment could take place on Tuesday or
Read more
Gazprom deputy CEO Sereda moved to new role at export unit
18.02.2020 00:12
MOSCOW (Reuters) - Gazprom (MCX:GAZP) deputy chief executive officer Mikhail Sereda is to take up a new role at the Russian gas giant's exporting arm, the company said on Monday. Sereda, 49, who is close to Gazprom chief executive Alexei Miller, has been named first deputy of Gazprom Export. He also become general director of Gazprom Trading,
Read more
Spanish supermarket chain Dia appoints new Brazil CEO to lead restructuring
18.02.2020 00:09
SAO PAULO (Reuters) - Spanish supermarket chain Dia (MC:DIDA) said on Monday it has appointed Marcelo Maia as chief executive of its Brazilian subsidiary to lead a restructuring process in Brazil, and as part of a broader global shakeup. Maia will replace Marin Dokozic, who occupied the CEO position for about a year. It was not immediately clear
Read more
Sanders, Bloomberg trade insults as Democratic White House race heats up
18.02.2020 00:06
By Tim Reid and John Whitesides RICHMOND, Calif. (Reuters) - Democratic White House contenders Bernie Sanders and Michael Bloomberg stepped up their attacks on each other on Monday, with Sanders accusing the media mogul of trying to buy the election and Bloomberg saying the senator and his fervent supporters were hurting the party. Sanders
Read more
China's Hubei province reports 93 new coronavirus deaths on Feb. 17
18.02.2020 00:03
BEIJING (Reuters) - The number of deaths in China's central Hubei province from a coronavirus outbreak rose by 93 to 1,789 as of Monday, the province's health commission said on its website on Tuesday. There had been a further 1,807 cases detected in Hubei, the epicenter of the outbreak, taking the total in the province to 59,989.
Read more