![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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![](https://c.mql5.com/forextsd/smiles/redface.png)
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.