how can you compute if it is negative or positive?
Hi Mladen, how to call this indicator? I tried below. But got error like "2023.11.17 11:12:22.990 program file added: \Indicators\Choppy market index.ex5. 11971 bytes loaded
2023.11.17 11:12:22.995 2023.11.06 01:00:00 cannot load custom indicator 'Choppy market index' [4002]
2023.11.17 11:12:22.995 2023.11.06 01:00:00 indicator create error
"
This is how I called it:
cmiValue = iCustom(_Symbol, _Period, "Choppy market index", 0,periodCMI, periodSMA, "ma_sma", inpLevel1, exitLevel, inpLevel3);
smaValue = iCustom(_Symbol, _Period, "Choppy market index", 1, periodCMI, periodSMA, "ma_sma", inpLevel1, exitLevel, inpLevel3); I compiled the indicator no problem. I can add to charts. But I have above issues to use it in my EA. Thanks,
Qin

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
Choppy market index:
Choppy market index
Author: Mladen Rakic