Page 1 of 1

Didi Index

PostPosted: Tue Jun 18, 2013 3:18 pm
by Alexander.Gettinger
This indicator is a ported MQL5 indicator from http://www.mql5.com/en/code/1725.

Formulas:
Curta = MA(Curta_Period)/MA(Media_Period),
Media = 1,
Longa = MA(Longa_Period)/MA(Media_Period).

Didi_Index.PNG


Download:
Didi_Index.lua
(5.12 KiB) Downloaded 972 times


For this indicator must be installed Averages indicator (viewtopic.php?f=17&t=2430).

The indicator was revised and updated

Re: Didi Index

PostPosted: Tue Jun 18, 2013 3:20 pm
by Alexander.Gettinger
MQL4 version of Didi index: viewtopic.php?f=38&t=41320

Re: Didi Index

PostPosted: Sat May 27, 2017 11:59 am
by Apprentice
Indicator was revised and updated.

Re: Didi Index

PostPosted: Tue Sep 03, 2019 7:19 am
by spinemaligna
Hi everyone,

Could I ask that this indi be coded as a histogram. It would keep everything neat.

Thanks

Ross

Re: Didi Index

PostPosted: Tue Sep 03, 2019 7:45 am
by Apprentice
If we choose to have a histogram for all three,
they will overlap.
My advice is to pick one for the histogram.

Re: Didi Index

PostPosted: Wed Sep 04, 2019 6:19 am
by spinemaligna
Hi Apprentice,

To be specific, could a histogram be coded that would return a green signal when Curta is above Media and a red signal when opposite.
Failing that could a colour coded vertical line be drawn on the chart when the two lines cross.
Thanks

Ross

Re: Didi Index

PostPosted: Thu Sep 05, 2019 5:19 am
by Apprentice
EURUSD m1 (09-05-2019 1025).png

Try this version.
Didi_Index Bar.lua
(6.16 KiB) Downloaded 500 times

Re: Didi Index

PostPosted: Thu Sep 05, 2019 10:03 am
by spinemaligna
Perfect thank you.

Ross