Moving Average that change color on slope change

Indicators coded by community members
Message
Author
christoff
Posts: 46
Joined: Thu Nov 09, 2006 2:29 am

Moving Average that change color on slope change

#1 Postby christoff » Sun Aug 07, 2011 4:15 am

In MT4 the Moving Average indicator where the line color changes depending on the direction of the slope of the MA, is freely available.

Is there maybe such a MA available for FT2 or can somebody coded this?

Regards
Attachments
FT2 MA in Color.jpg
FT2 MA in Color.jpg (143.78 KiB) Viewed 28677 times

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Mon Aug 08, 2011 6:36 am

Hello Christoff,

Can you please post your MT4 indicator in ex4 or mq4 format?
Check our other product here:
http://www.forexcopier.com

christoff
Posts: 46
Joined: Thu Nov 09, 2006 2:29 am

Here it is

#3 Postby christoff » Mon Aug 08, 2011 9:03 am

Please find attached both ex4 and mq4

Cheers,
Christoff
Attachments
MA in Color.zip
(5.39 KiB) Downloaded 4608 times

Stonev
Posts: 204
Joined: Thu Jan 28, 2010 2:20 pm

#4 Postby Stonev » Mon Aug 08, 2011 10:06 am

Hello Christoff,
I can convert this indicator to ForexTester format.

use my e-mail if you have any questions: Stonev@yandex.ru

Regards,
Alexey

christoff
Posts: 46
Joined: Thu Nov 09, 2006 2:29 am

#5 Postby christoff » Tue Aug 09, 2011 12:57 am

One thing I forgot to mention is that although the MT4 indicator as attached above caters for various MA types (simple, exponential,etc.), me personally only uses the exponential type.

So its not that important to have exactly all the types as in the MT4 version.

What ever is doable will be great as long as the exponential type is available. Maybe even if only the types as is currently available under the FT2's standard MA, it will be great.

Thanks

And Stonev any help would be greatly appreciated.

Regards

christoff
Posts: 46
Joined: Thu Nov 09, 2006 2:29 am

#6 Postby christoff » Tue Aug 16, 2011 12:43 am

Hi

I found a HMA which changes color as coded by Swannyfx here:

http://forextester.com/forum/viewtopic.php?t=2510

I took the code for the HMA which changes color and changed it to cater for all the different MA type because I was looking for EMA that will change color on slope change.

There is just one problem and it is that the indi leaves blank spaces in between the color changes.

I currently bypass this problem by just 1st loading a normal EMA and then on top of that I load the color change one.

Maybe someone out there know how to fix it inside the MA_Color indi so that we don't need to overlay 2 MA's.

If you can help please have a look at the linked post as I have attached everything there so as not to confuse anyone or to duplicate the same request.

Regards,
Christoff

dackjaniels
Posts: 151
Joined: Tue Feb 24, 2009 1:03 pm

#7 Postby dackjaniels » Tue Aug 16, 2011 1:42 am

Hi Christoff,

When the MA switches buffers it needs a starting point from which to draw a line in the new colour, so effectively it needs two consecutive prices in the buffer before a line will be drawn. This is why you get a gap when it first switches from the red buffer to the blue one (or vice versa).

I've attached an updated one that, when it changes buffer, also updates the previous value for that buffer so it will start drawing the new colour immediately.

Regards,
Steve
Attachments
MovingAverageColor.zip
(54 KiB) Downloaded 2106 times

christoff
Posts: 46
Joined: Thu Nov 09, 2006 2:29 am

#8 Postby christoff » Tue Aug 16, 2011 8:00 am

Hi Steve,

Thanks a million! :D

I am just getting deeper and deeper in debt with you for all the help you are giving.

I tested it and it works like a charm!!!!!

Regards,
Christoff

hjabu
Posts: 30
Joined: Fri Aug 21, 2009 9:30 am
Contact:

Hi steve could change FT AMA2

#9 Postby hjabu » Tue Sep 13, 2011 1:34 pm

Hi, i need somebody please change this AMA for FT AMA2,
see at my attach picture... and also mt attach ex4 file from Mt..
Attachments
ama2.gif
ama2.gif (16.95 KiB) Viewed 28223 times

Stonev
Posts: 204
Joined: Thu Jan 28, 2010 2:20 pm

#10 Postby Stonev » Wed Sep 14, 2011 3:45 am

Hello,
I can help you,
but ex4 file not attached.

please send it to my e-mail: Stonev@yandex.ru

Alexey

hjabu
Posts: 30
Joined: Fri Aug 21, 2009 9:30 am
Contact:

AMA2

#11 Postby hjabu » Sat Sep 17, 2011 1:22 am

Yes i can sent it, i ,m very appreciate for your help many thanks.


Return to “Indicators”

Who is online

Users browsing this forum: No registered users and 51 guests