Indicators: Choppy market index

 

Choppy market index:

Choppy market index

Author: Mladen Rakic

 

Hey there,

can someone tell me how to use the iCustom function with this indicator?

best regards

nufan

 
Automated-Trading:

Choppy market index:

Author: Mladen Rakic

Read here: https://www.mql5.com/en/articles/43, how iCustom is used in an EA.

Dokumentation zu MQL5: Technische Indikatoren / iCustom
Dokumentation zu MQL5: Technische Indikatoren / iCustom
  • www.mql5.com
[in]  Name des Benutzerindikators mit dem Pfad in Bezug auf Ordnerverzeichnis der Indikators (MQL5/Indicators/). Wenn ein Indikator in einem Untervezeichnis liegt, zB. in  MQL5/Indicators/ [in] input-Parameter eines Benutzerindikators, die durch Kommas getrennt sind. Typ und Parameterfolge müssen entsprechen. Wenn Parameter nicht angegeben...
 

Thanks for the link! I had already found it before, but unfortunately the description doesn't help me. I would expect icustom to read the indicator with the default values as follows:

CMI = iCustom(NULL,0, "Choppy market index",1,0);

But unfortunately that doesn't work. how should it look right? :-)

Thanks already!
 

Really(!!) read the article, and also the documentation: In the editor, set the cursor to iCustom and press F1!

It doesn't matter what you expect, only what the system delivers: iCustom() delivers a handle - not the values!

 
how can you compute if it is negative or positive?
 
โช คณ # : เป้าว่ามันเป็นลบหรือบวก?
Very complicated...I don't understand this indicator as well
 
Maxguyver Kuze #:
Very complicated...I don't understand this indicator as well
Use a momentum Indicator set to 20 period. Rest is clearly explained in the description.
 
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