I am a little desperate right now.
I am working since a week on this problem and cant finde a solution.
I put on a chart with
Data1 = M1 (minute)
Data2= D1 (daily)
I just want to have the daily DMI (data2). It doesn’t matter which stock
Code: Select all
dplus=DMIPlusCustom(h of data2,l of data2, c of data2,14);
dminus=DMIMinusCustom(h of data2,l of data2, c of data2,14);
print(" dplus: ",dplus," dminus: ",dminus);
dplus: 0.00 dminus: 81.36
dplus: 0.00 dminus: 97.29
It is obvious that this has to be wrong. There is no DMI with “0” or over “90”.
Could someone please tell me where I am wrong?