|
How to use CCI Woodies in EA
Hi Cracks
maybe somebody can help me.
The EA makes no trades with this settings
When i will use the indicator CCI_Woodies_Lnx_v4.mq4 in an EA then I use following code:
extern int TrendCCI_Period = 14;
extern int EntryCCI_Period = 6;
extern int LSMAPeriod = 25; // LSMA period
extern int Trend_period = 5;
extern int CountBars = 1000;
extern int CCISize = 2;
extern int TCCISize = 1;
extern int TrendSize = 1;
extern int NoTrendSize = 1;
extern bool ShowLSMA = false;
extern int LineSize3 = 1;
and definition for Indicator is:
double CCI_0 = iCustom(NULL,0,"CCI_Woodies_Lnx_v4",
TrendCCI_Period,EntryCCI_Period,LSMAPeriod,Trend_p eriod,
CountBars,CCISize,TCCISize,TrendSize,NoTrendSize,S howLSMA,LineSize3,0);
to many parameters for indicator?
No error by compiling
In the journal edit:
CCI_Woodies_Lnx_v4 USDJPY,M15: removed
See EA_Test_template
|