Didi Index

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Didi Index

Postby Alexander.Gettinger » Tue Jun 18, 2013 3:18 pm

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 457 times


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

The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Didi Index

Postby Alexander.Gettinger » Tue Jun 18, 2013 3:20 pm

MQL4 version of Didi index: viewtopic.php?f=38&t=41320
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Didi Index

Postby Apprentice » Sat May 27, 2017 11:59 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Didi Index

Postby spinemaligna » Tue Sep 03, 2019 7:19 am

Hi everyone,

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

Thanks

Ross
spinemaligna
 
Posts: 82
Joined: Sun Sep 12, 2010 2:42 am

Re: Didi Index

Postby Apprentice » Tue Sep 03, 2019 7:45 am

If we choose to have a histogram for all three,
they will overlap.
My advice is to pick one for the histogram.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Didi Index

Postby spinemaligna » Wed Sep 04, 2019 6:19 am

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
spinemaligna
 
Posts: 82
Joined: Sun Sep 12, 2010 2:42 am

Re: Didi Index

Postby Apprentice » Thu Sep 05, 2019 5:19 am

EURUSD m1 (09-05-2019 1025).png

Try this version.
Didi_Index Bar.lua
(6.16 KiB) Downloaded 14 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 22471
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Didi Index

Postby spinemaligna » Thu Sep 05, 2019 10:03 am

Perfect thank you.

Ross
spinemaligna
 
Posts: 82
Joined: Sun Sep 12, 2010 2:42 am


Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 14 guests