Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 31532
- Rating:
- Published:
- 2018.07.16 17:09
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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);

A low latency container for working with ticks

The script downloads the historical quotes data of the current chart symbol and timeframe.

Library for defining schedules by weekday and time.

Set all opened charts to use auto scaling or fixed scaling simultaneously.