Multiple Moving Average (MMVA)

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

Multiple Moving Average (MMVA)

Postby Apprentice » Thu Aug 26, 2010 9:12 am

MMVA.png


Based on the requests I made the next indicator.

Allows you to define the following parameters.
Switching on / off individual average.
Period for the moving average.
Methods of moving average.
Period in which the average is displayed (From the last period)
The line color.

You can define up to ten lines.
I was planning to enable you, the definition of the line number,
However, due to current restrictions is not currently possible.
MMVA.lua
(5.35 KiB) Downloaded 918 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Multiple Moving Average (MMVA)

Postby Apprentice » Tue Aug 31, 2010 2:03 pm

20 in 1 a.k.a. Averages version

MMVA 20 IN 1.lua
(6.35 KiB) Downloaded 857 times


To work, you must install AVERAGES Indikcator.
viewtopic.php?f=17&t=2430
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Multiple Moving Average (MMVA)

Postby pawelas » Tue Aug 31, 2010 2:49 pm

Great job,
It is very helpful,
Thank you
pawelas
 
Posts: 6
Joined: Sun Aug 29, 2010 10:15 pm

Re: Multiple Moving Average (MMVA)

Postby Pipsology » Tue Aug 31, 2010 2:58 pm

It works great. Thank you
Pipsology
 
Posts: 7
Joined: Tue Aug 31, 2010 8:47 am

Re: Multiple Moving Average (MMVA)

Postby iamaaditya » Thu Sep 23, 2010 2:28 pm

I have made my own version of multiple moving averages. 50 averages gives a great trend following look.
I have attached the file. But I want to color the avg lines in such a way that if the line is rising it should be colored green and if falling then red, presently it's all Green.

i am attaching the screenshot of what it is , and what i want..
if anyone can do the needful, it will be of immense help...

What_It_Is
WhatItIs.jpg


What I want
What_I_want.jpg


And the Code is here....
Attachments
50avgs.lua
(1.63 KiB) Downloaded 815 times
iamaaditya
 
Posts: 2
Joined: Thu Sep 23, 2010 2:00 pm

Re: Multiple Moving Average (MMVA)

Postby DS0167 » Thu Sep 23, 2010 4:39 pm

Very good indicator, thank you :)

Just one thing, I noticed that the small averages are effetively displayed as requested but for instance the 200 or the 250 can not be displayed over than the initial parameter... For instance if I want to display the 200 back to 500 periods (or 300) it stops at 200 anyway...

Kind regards
DS0167
DS0167
 
Posts: 86
Joined: Mon Aug 09, 2010 2:22 pm

Re: Multiple Moving Average (MMVA)

Postby Apprentice » Fri Sep 24, 2010 6:05 am

50avgs.png

I added a few more options.
50avgs.lua
(2.31 KiB) Downloaded 1107 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Multiple Moving Average (MMVA)

Postby iamaaditya » Fri Sep 24, 2010 11:43 am

Thanks a lot Apprentice. It was exactly what I wanted and by going through the code learnt few things which i wanted to.
Thanks again and have prosperous trading.
iamaaditya
 
Posts: 2
Joined: Thu Sep 23, 2010 2:00 pm

Re: Multiple Moving Average (MMVA)

Postby Jigit Jigit » Sat Oct 30, 2010 4:57 pm

Thank for this MMVA, Apprentice.
It's great.

Can you, possibly, add line style and thickness.
Cheers,
Jigit Jigit
 
Posts: 54
Joined: Tue Aug 31, 2010 1:04 pm

Re: Multiple Moving Average (MMVA)

Postby Apprentice » Thu Nov 04, 2010 5:42 am

Multiple Moving Average (MMVA) Style Update.
More MA Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 51 guests