Two MA cross indicator

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

Two MA cross indicator

Postby Alexander.Gettinger » Thu Jan 05, 2012 4:19 pm

The indicator is written at the request of viewtopic.php?f=27&t=10811&p=22392#p22392

The indicator draws two MA and arrows on their intersections.

Two_MA_Cross.png


Download:
Two_MA_Cross.lua
(6.69 KiB) Downloaded 2553 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: Two MA cross indicator

Postby sergesp » Wed Mar 21, 2012 11:54 am

Hi

Thanks for this indicator: I have a couple of questions:
(1) If I want to be able to select individually the source data for each MVA e.g. if for the slow MVA I want to use the bar open or bar close data independently of the fast MVA how to do that and conversely if I want to be able to use say bar (H+L+C)/3 as the source data.

(2) how do I use the crosses generated in this indicator to be used in my signal / strategy program to generate alerts and trades? (Without having to re write the same program logic in those programs) - or am I going about it in the wrong way?

Thanks for you help
sergesp
 
Posts: 18
Joined: Thu Mar 01, 2012 6:28 pm

Re: Two MA cross indicator

Postby Apprentice » Fri Mar 23, 2012 2:59 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cross indicator

Postby Alexander.Gettinger » Mon Apr 02, 2012 9:38 am

sergesp wrote:(1) If I want to be able to select individually the source data for each MVA e.g. if for the slow MVA I want to use the bar open or bar close data independently of the fast MVA how to do that and conversely if I want to be able to use say bar (H+L+C)/3 as the source data.


Indicator with different sources for slow and fast MA.
(H+L+C)/3 is a typical price.

Download:
Two_MA_Cross2.lua
(8.5 KiB) Downloaded 1902 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Two MA cross indicator

Postby Alexander.Gettinger » Mon Apr 02, 2012 9:46 am

Strategy based on this indicator: viewtopic.php?f=31&t=15504
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Two MA cross indicator

Postby nazaar » Mon Apr 02, 2012 10:50 am

Brilliant!!!

I have been looking for this for a long time, thank you!!!
nazaar
FXCodeBase: Initiate
 
Posts: 178
Joined: Fri May 27, 2011 2:21 pm
Location: Ontario, Canada

Re: Two MA cross indicator

Postby toxl89 » Tue Apr 17, 2012 4:02 pm

Hi Alex,
Can I get the MLQ4 code for this indicator please.
toxl89
 
Posts: 3
Joined: Thu Apr 12, 2012 3:45 am

Re: Two MA cross indicator

Postby Apprentice » Wed Apr 18, 2012 2:03 am

Unfortunately this forum does not provide, support for MT4.
Contact Alex, he would be able to help you.
On our premium service development team.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA cross indicator

Postby sergesp » Wed Apr 25, 2012 7:57 am

Alexander.Gettinger wrote:
sergesp wrote:(1) If I want to be able to select individually the source data for each MVA ...........
be able to use say bar (H+L+C)/3 as the source data.


Indicator with different sources for slow and fast MA.
(H+L+C)/3 is a typical price.

Download:
Two_MA_Cross2.lua


Thank you very much :D
sergesp
 
Posts: 18
Joined: Thu Mar 01, 2012 6:28 pm

Re: Two MA cross indicator

Postby Alexander.Gettinger » Tue May 08, 2012 5:20 pm

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

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 137 guests