Cci_ea - page 5

 

Thanks guys for the feedback

So just change:

if (Method==0)

CCIc=iCCI(Symbol(),0,CCI,PRICE_CLOSE,1); // Current CCI

CCIp=iCCI(Symbol(),0,CCI,PRICE_CLOSE,2); // Previous CCI

}

to

if (Method==0)

{

CCIc=iCCI(Symbol(),0,CCI,PRICE_CLOSE,1); // Current CCI

CCIp=iCCI(Symbol(),0,CCI,PRICE_CLOSE,2); // Previous CCI

}

Hope it will sork sorry that will serve me right to program without having mt4

S.

 

It is ok now and it works fine, but next but after cross is very often to late. Maybe better to enter in same way, once only, but not on the next bar, but on the same bar just after first "touch" of CCI and zero level. Enter only once. Can we check it?

 

Hello,

With a few day of test, no EA was advantageous. I do not attach statement.

The ea of sunwest is into positive on the 2 trades in court but I to put the initial adjustments to him because I saw that it started advantageous then became negative. by posing a TP=6 I think of reducing the loss and of becoming again positive.