Two MA cross strategy

Strategies are published here.

Moderator: admin

Re: Two MA cross strategy

Postby sergesp » Wed May 09, 2012 8:53 pm

Thanks very much Apprentice - awaiting the modified version.

Thanks again :)
sergesp
 
Posts: 18
Joined: Thu Mar 01, 2012 6:28 pm

Re: Two MA cross strategy

Postby arindam89 » Wed May 30, 2012 11:46 pm

Alexander.Gettinger wrote:Strategy based on Two MA cross indicator: viewtopic.php?f=17&t=11038&p=29206#p29206

Two_MA_Cross_Strategy.PNG


Download strategy:
Two_MA_Cross_Strategy.lua


For this strategy must be installed Two MA cross indicator (Two_MA_Cross2.lua) from viewtopic.php?f=17&t=11038&p=29206#p29206


hi Alexander.Gettinger
thanks for the great job you are doing
i have a very simple request for you can you just add dynamic trailing stop loss to this strategy
thanks
by
arindam
arindam89
 
Posts: 53
Joined: Mon Dec 12, 2011 5:39 am

Re: Two MA cross strategy

Postby Alexander.Gettinger » Fri Jun 01, 2012 1:11 pm

Trailing stop is present in this strategy.
Use "Trailing stop order" parameter.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Two MA cross strategy

Postby RJH501 » Fri Jun 01, 2012 3:04 pm

Apprentice could you please add the ability to trade only in one direction (short or long) or both.

Also the ability to only trade between specific hours.

Thank you in advance and regards.

RJH
RJH501
 
Posts: 84
Joined: Mon May 30, 2011 8:38 pm

Re: Two MA cross strategy

Postby Apprentice » Mon Jun 04, 2012 1:30 am

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

Re: Two MA cross strategy

Postby Coondawg71 » Thu Oct 11, 2012 10:23 am

Can we please request this Strategy support Pivot Point Moving Average? Or would that not make sense given the possibility one of the moving averages included in this strategy is nearly the same? If so, which moving average would be the same?

Thanks,

sjc
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: Two MA cross strategy

Postby Apprentice » Thu Oct 11, 2012 2:00 pm

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

Re: Two MA cross strategy

Postby Outside_The_Box » Thu Oct 10, 2013 7:52 pm

RJH501 wrote:Apprentice could you please add the ability to trade only in one direction (short or long) or both.


Ditto. This is essential for all strategies in my opinion, to have the option at least.
User avatar
Outside_The_Box
 
Posts: 31
Joined: Tue Apr 02, 2013 5:33 pm

Re: Two MA cross strategy

Postby Kilgharrah » Sun Oct 30, 2016 6:06 am

Hi, I do not know if I'm doing something wrong, but it does not work the option Start Time and Stop Time during the simulation run or backtesting. Not if I have to change the local time on my computer or change the Time zone in the MarketScope?
User avatar
Kilgharrah
 
Posts: 46
Joined: Wed Sep 28, 2016 3:56 pm

Re: Two MA cross strategy

Postby Kilgharrah » Sun Oct 30, 2016 5:03 pm

I do not know how hard it is to add a feature to this strategy.

It is to add a field to specify something like a kind of time out, after this time if there is profit at the time (but has not reached the limit yet) move or create a Trailing Stop (possibility to choose Dynamic or Fixed) to breakeven . And if there is no profit in that time would be excellent to have a yes / no field to choose whether to close the order or not after this time out (although not yet reached Stop).

Thank you so much in advance
User avatar
Kilgharrah
 
Posts: 46
Joined: Wed Sep 28, 2016 3:56 pm

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 21 guests