{ if(MainCCI[i] > ErgoCCI[i]) {signal = "SHORT";} if (MainCCI[i] < ErgoCCI[i]) {signal = "LONG";} if (MainCCI[i] == ErgoCCI[i]) {signal = "NEUTRAL";} IndicatorShortName(""+signal); return(0); } // !!! return is absent in this block } //+------------------------------------------------------------------
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
Hello, I am trying to code this system however after compiling it returns the "not all control paths return a value" and when I double click it shows its in the following block, could someone please point out the problem.
Thank you in advance