Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2006, 12:51 AM
secxces's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 89
secxces is on a distinguished road
Thumbs up HMA - Calling All Programmers!!

Hi All.

Well, heres the deal. I came across the HMA_Color indicator some time ago. As I dont like to get weird ideas into my head from all the new indicators that are constantly popping up, I just threw it to the side like everything else. After coming past it a few more times, I started looking into it. It seemed fantastic, worked very well. I use regular EMA's and never really liked the JMA, but HMA seemed to be very smooth. But, whenever you come across anything thats too good to be true, it usually is. So the next step is to test the "Paints The Past" test. And sure enough. After a few hours of screen captures and staring, not only does it gap between its color changes, but HMA_Color also changes its signals. So, having spent that much time on it I figured I should go ahead and just attempt to investigate some more.

While browsing the russian forums with a language translator, I came across another form of the HMA, a non colored version. When going through the code it seems to be alot different then the source code for the HMA.mq4 posted on this site. I went ahead and tested it with "Method" setting of 3 (which my only thought means EMA form or something). And it seems to be moving in the exact form as the HMA_Color without changing signals. Eureka. (I hope im not wrong.)

Now, the only problem I am trying to fix is the slope color. The idea of simply coloring the slopes seems rather simple to me. Basically, When A > B color this color and when A < B color this color. But since my coding capabilites is rather bad. I contacted a few brilliant people on the forums here. I figured I should just create a thread and see if others are interested.

Now, on another note, I figure the color of the HMA slope might be tricky for some reason, and if so, then what could I do. Well, I also came across and indicator called Hull trend. Which is on the forums as well. It paints the bars based upon the HMA slope. It works fine and doesnt paint the past. So, what I was thinking was if color the HMA on the slope on the line was difficult from some reason, couldnt someone with the right knowledge just program the HMA line color to respond to the color command of the Hull Trend. Now, that seems rather complicated to me, but basically im saying is it possible to combined the HMA (the russian version) with Hull Trend. Essentially the programming in the HMA_Color is incorrect or doesnt work, were as the one in Hull Trend works fine and the HMA from the russian forums doesnt seem to paint the past or change signals.

Ok. After all the typing. Conclusions.

What am I asking?

Im wondering if any of the coders on this site can do any ONE of the following magic tricks:

A) Make HMA_Color work (Not Change & Not Gap)
B) Make the Russian HMA color on the slope (Using only two colors)
C) Or Combined the Russian HMA with Hull Trend
D) Or Even Simpler : A Regular Line EMA that is colored by the color of Hull Trend

Again, if any of this is possible with only two colors. Like Green, and Red, and not a third color (which typically means flat) (2 colors meant for multiple moving average viewing, that way things dont get confusing). My cutting and pasting techniques are not gonna work on this one. LOL.

I do apologize for any misinformation above. Please bring anything to my attention. And if anyone of the programmers would kindly like to take on the task, my hats off to you.

Good Luck,

- secXces

--Attached is the indicators and a screen shot of the gaps in HMA_Color--
Attached Images
File Type: gif pic01.gif (19.5 KB, 3978 views)
Attached Files
File Type: mq4 HMA_Color.mq4 (3.2 KB, 697 views)
File Type: mq4 HMA_Russian.mq4 (2.8 KB, 631 views)
File Type: mq4 Hull Trend.mq4 (3.5 KB, 686 views)

Last edited by secxces; 03-07-2006 at 02:33 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 03-07-2006, 03:12 AM
secxces's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 89
secxces is on a distinguished road
EDIT - Bump Bump

Last edited by secxces; 03-07-2006 at 05:54 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 03-07-2006, 08:10 AM
FloFri's Avatar
Junior Member
 
Join Date: Sep 2005
Posts: 23
FloFri is on a distinguished road
Lightbulb

Hi Secxces,

do you realise that information-wise there is nothing added like this?
All the HMA (including the Russian, method parameter=3) give the same curve. The Hull-trend gives the corresponding slope up/down.

So basically you would like a HMA that changes color with the slope for convenient reading?

Greetings,

Floris.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 03-07-2006, 09:03 AM
secxces's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 89
secxces is on a distinguished road
Quote:
Originally Posted by FloFri
Hi Secxces,

do you realise that information-wise there is nothing added like this?
All the HMA (including the Russian, method parameter=3) give the same curve. The Hull-trend gives the corresponding slope up/down.

So basically you would like a HMA that changes color with the slope for convenient reading?

Greetings,

Floris.
Yes Floris, that is correct. The HMA_Color indicator that is attached, again, has errors. Using the russian HMA, with a 3 setting, there isnt any errors or signal changes. It works great. But it doesnt have a color slope as the HMA_Color is. Can you help?

Thanks,
- secXces
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 03-07-2006, 10:49 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
Hi,

I have revised HMA_Russian, now it plots in color.

Igor
Attached Files
File Type: mq4 HMA_Russian_Color.mq4 (4.0 KB, 1194 views)
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 03-07-2006, 11:23 AM
FloFri's Avatar
Junior Member
 
Join Date: Sep 2005
Posts: 23
FloFri is on a distinguished road
Cool

Thanks Igorad, I just finished my version, quick and dirty (I used less code, your one probably is faster).

Cheers!

[EDIT] Q&D very true, sorry! [/EDIT]

Last edited by FloFri; 03-14-2006 at 03:54 PM. Reason: indicator-version has flaw, removed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 03-07-2006, 04:55 PM
secxces's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 89
secxces is on a distinguished road
Igorad & Flofry,

They both look great. Ill check them out later on, for errors, my trading day is done and sleep is up for battle. Im impressed though, very good job. My hats off to both of you. Next beer is on me...lol.

- secXces

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 03-08-2006, 08:14 AM
Member
 
Join Date: Feb 2006
Posts: 55
Braindancer is on a distinguished road
Good job
Especially I would like to thank Flofri.
I found your version very usefull on D1 timeframe.
For me, your version have two advantages over igorad version.
First, it doesn't recolour the past
Second it keeps it colour from the opening of the bar to the very end, and that makes it ultimate tool for analysing the past and for trading of course.

I think igorad have done a great job too, but his version changes colour on open bar as hull trend does, because it relays on that indicator. And I think it recolour the past, If I'm wrong please forgive me


So again, thank you both for great, great job
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 03-08-2006, 12:08 PM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
Hi,

my version don't recolor the past.
If you are familiar with my indicators, any not redraw the past.
In this case simply there is a change of color on a current bar.

Igor.
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 03-08-2006, 12:31 PM
FloFri's Avatar
Junior Member
 
Join Date: Sep 2005
Posts: 23
FloFri is on a distinguished road
Smile

Thanks!

As to changing the current bar, I didn't realise -from my own habit of not considering the current bar in the EA decision- that it can be. Fortunately Igor looks at it another way. Useful for all of us.

Thanks everyone for the fantastic constructive efforts in this forum!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
HMA EA, hma indicator, hma russian, HMA russian color, HMA.mq4, HMA_Color, hull trend


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling a Script from an EA witchazel Metatrader 4 7 09-21-2008 10:25 PM
Calling All Masterminds, Programmers, And Coders!!! FX-Hedger Indicators - Metatrader 4 65 01-28-2008 05:58 PM
Calling Programmers/Coders... Aaragorn Expert Advisors - Metatrader 4 11 06-19-2006 06:15 PM
Custom Chart Request-calling all programmers Aaragorn Metatrader 4 6 06-16-2006 01:18 AM


All times are GMT. The time now is 03:12 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.