Page 1 of 5

MA Cross Strategy with confirmation by distance b/w lines

PostPosted: Thu Mar 31, 2011 6:08 am
by sunshine
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.

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

PostPosted: Mon Apr 04, 2011 4:30 am
by NID007
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

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

PostPosted: Tue Apr 05, 2011 3:37 am
by sunshine
Hi,
I've updated the top post. Please re-install the strategy.

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

PostPosted: Wed Apr 06, 2011 12:59 pm
by NID007
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

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

PostPosted: Tue Sep 27, 2011 8:19 am
by Damian
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

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

PostPosted: Tue Sep 27, 2011 10:49 am
by Apprentice
Your request is added to the developmental cue.

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

PostPosted: Fri Sep 30, 2011 12:36 pm
by ancient-school
Would be useful to have Parameter "Maximum Allowed Trades": Enter Value: "1","2","10" etc ...

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

PostPosted: Fri Sep 30, 2011 2:42 pm
by Apprentice
Your request is added to the developmental cue.

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

PostPosted: Fri Sep 30, 2011 3:15 pm
by ancient-school
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" ...

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

PostPosted: Wed Nov 02, 2011 2:05 am
by Journeyman
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