GrumpyDuckMan:
Hello everyone,
I am trying get negative numbers stored separately from positive numbers over a 15 minute timeframe.
Question: How do I do this? Is there an in built function for this?
try this
int statistics() { int pos = 0; for(int shift=26; shift>=0; --shift) { cci = iCCI(_Symbol,PERIOD_M15,14,PRICE_CLOSE,shift); if(cci<0) pos++; } return pos; }

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 everyone,
I am trying get negative numbers stored separately from positive numbers over a 15 minute timeframe.
Question: How do I do this? Is there an in built function for this?