DMI Histogram

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

Re: DMI Histogram

Postby Apprentice » Tue Nov 22, 2011 4:29 am

What information do you want to be displayed.
DMI> 0
and
DMI <0?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DMI Histogram

Postby nookie » Wed Nov 23, 2011 10:35 am

To look like this:

viewtopic.php?f=17&t=8084&p=17842&hilit=heat+map#p17842

And calculated like If DMI+ is dominant ( > DMI- ) then a blue bar is shown, and if DMI- is dominant a red bar is shown. And this for H1, H2, H4, H6 and D1
nookie
FXCodeBase: Graduate
 
Posts: 203
Joined: Tue May 24, 2011 12:50 pm


Re: DMI Histogram

Postby nookie » Thu Nov 24, 2011 7:16 am

Cool, thanks, but can it be changed the output from bar to tick as Im not sure how to be done this "barsize".

An option on this one would be nice like this if can be added:

Green
DMI+ > DMI-
DarkGreen
if DMI+ rising

Red
DMI+ < DMI-
DarkRed
if DMI- rising

Also, from the help, cant find where to put this expression in a code.. there is not an example also there, can you please point me to the right diection?

public method host:execute("removeLabel", ...)
nookie
FXCodeBase: Graduate
 
Posts: 203
Joined: Tue May 24, 2011 12:50 pm

Re: DMI Histogram

Postby Apprentice » Sat Nov 26, 2011 4:41 am

"changed the output from bar to tick"
I am not sure what you thought by this line.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DMI Histogram

Postby nookie » Sat Nov 26, 2011 5:48 am

I'm sorry maybe I got it wrong.. but this is the visualization thing I was talking about, mentioned in this post, is it possible this dmi thing to look similar ?

viewtopic.php?f=30&t=6541&p=17230#p16990

Re: Optimizing/Fixing Heat Map Indicator (Elder Impulse System)
by vstrelnikov » Fri Oct 28, 2011 12:45 am

Strictly speaking that is not the calculation error, but just an visualization issue.
New version of indicator uses 5-pixel wide line instead of 'text output' to improve displaying performance. Unfortunately, line is drawn between centers of time periods, so it looks like the indicator is delayed for 1 period.

I've added the new method of visualization based on the 'candles group' output. (See attached)
It is painted like a filled bar from beginning to the end of period.
Would you please take a look on it, and if it looks fine I'll update the version in original post.

nookie
FXCodeBase: Graduate
 
Posts: 203
Joined: Tue May 24, 2011 12:50 pm

Re: DMI Histogram

Postby Apprentice » Sun Nov 27, 2011 6:03 pm

Added to developmental cue.

Triangle Indicator use core.host:execute("removeAll");
viewtopic.php?f=17&t=1643&p=7535&hilit=triangle#p7535

core.host: execute ("removeLabel", id) is similar.
Using id variable, you can define the label you want to delete.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: DMI Histogram

Postby nookie » Wed Nov 30, 2011 5:09 am

Thanks a lot for it. A thing I'm noticing as a problem with this is its "repainting" itself cause of the different timeframes. I'm wondering if it can be made like this that indicator reloads itself every time it has some new data painted on it? This will remove this repainting thing

Thanks
nookie
FXCodeBase: Graduate
 
Posts: 203
Joined: Tue May 24, 2011 12:50 pm

Re: DMI Histogram

Postby jay1994 » Wed Jul 24, 2013 6:59 pm

Is there a mq4 or mt4 version of this indicator? It looks very promising, thanks in advanced.
jay1994
 
Posts: 73
Joined: Wed Jul 24, 2013 6:31 pm

PreviousNext

Return to Custom Indicators

Who is online

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