MA Cross Strategy with confirmation by distance b/w lines

Strategies are published here.

Moderator: admin

MA Cross Strategy with confirmation by distance b/w lines

Postby sunshine » Thu Mar 31, 2011 6:08 am

The strategy checks for the cross between two moving average lines and trade long or short (see below) if the distance between lines become bigger that the specified during the next N bars. If lines do not diverge, the strategy will not trade. If you specify 0 as the distance and 0 as a number of bars, the strategy will work exactly as the standard MA cross signal.

BUY:
Fast MA crosses over the slow MA, and the distance between lines become bigger that the specified during the next N bars.

SELL:
Fast MA crosses under the slow MA, and the distance between lines become bigger that the specified during the next N bars.

The strategy can also trade on the Tick time frame.

scr.PNG


macross_conf_dist_strategy.lua
Donwload:
(17.96 KiB) Downloaded 2735 times


The Strategy was revised and updated on December 18, 2018.
sunshine
 

Re: MA Cross Strategy with confirmation by distance b/w lines

Postby NID007 » Mon Apr 04, 2011 4:30 am

thanks for your post ,
I have installed the this version

I would like to set the Limit order in pips , to less than one pip in the parameters

i.e. 0.1 , 0.2. 0.3 , 0.5 etc upto 0.9 max for my personal trading. this version does not permit it ,can we add it please thankyou in advance

Nid007
NID007
 
Posts: 30
Joined: Mon Feb 14, 2011 3:35 pm

Re: MA Cross Strategy with confirmation by distance b/w lines

Postby sunshine » Tue Apr 05, 2011 3:37 am

Hi,
I've updated the top post. Please re-install the strategy.
sunshine
 

Re: MA Cross Strategy with confirmation by distance b/w lines

Postby NID007 » Wed Apr 06, 2011 12:59 pm

sunshine wrote:Hi,
I've updated the top post. Please re-install the strategy.



Thanks so much Sunshine I will test it thanks again great work
Nid007
NID007
 
Posts: 30
Joined: Mon Feb 14, 2011 3:35 pm

Re: MA Cross Strategy with confirmation by distance b/w lines

Postby Damian » Tue Sep 27, 2011 8:19 am

Hi. I have question. Can You add time parameters for this strategy?
Start Time for trading
Stop Time for trading
Use Mandatory closing
Mandatory closing time?

Thanks
Damian
 
Posts: 2
Joined: Tue Sep 27, 2011 7:14 am


Re: MA Cross Strategy with confirmation by distance b/w lines

Postby ancient-school » Fri Sep 30, 2011 12:36 pm

Would be useful to have Parameter "Maximum Allowed Trades": Enter Value: "1","2","10" etc ...
Going for it is more important than winning or losing!
User avatar
ancient-school
 
Posts: 20
Joined: Tue Apr 13, 2010 1:56 pm


Re: MA Cross Strategy with confirmation by distance b/w lines

Postby ancient-school » Fri Sep 30, 2011 3:15 pm

Apprentice wrote:Your request, "Maximum Allowed Trades": Enter Value: "1","2","10" etc ..., is added to the developmental cue.


Parameter Price to Start Trading at, would also be interesting, i.e. once price is above or below a Price Value it trades as per settings...

Parameter, Price Value to Start Trading: "Above:, "x.xxxx" or "Below", "x.xxxx" ...
Going for it is more important than winning or losing!
User avatar
ancient-school
 
Posts: 20
Joined: Tue Apr 13, 2010 1:56 pm

Re: MA Cross Strategy with confirmation by distance b/w lines

Postby Journeyman » Wed Nov 02, 2011 2:05 am

Great strategy!

Is there any way to add a stop order on a third moving average? It tends to give up a lot of profit if it waits for the next signal to open before closing the last positions.

I would like to encourage users to post their settings. This is a really good strategy, if set up correctly.

I use the following for a five minute chart on the AUDUSD:

3 min fast MA
50 min slow MA
10 distance
5 number of bars
50 pip fixed stop
Journeyman
 
Posts: 5
Joined: Thu Oct 20, 2011 6:40 pm

Next

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 1 guest