MA Crossover Strategy

Strategies are published here.

Moderator: admin

MA Crossover Strategy

Postby Apprentice » Mon Nov 22, 2010 7:23 am

MA crossover Strategy.png


This strategy give, signals when the short moving average falls / rises above the long moving average.

MA crossover Strategy.lua
(17.64 KiB) Downloaded 3524 times



This Strategy use Averages (20 in 1) Indicator
viewtopic.php?f=17&t=2430

The Strategy was revised and updated on December 18, 2018.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MA Crossover Strytegy

Postby Representative » Wed Dec 15, 2010 1:34 pm

Hello everyone.

I am using this strategy successfully, but now I wanted it to trade for me when I am away (as I just missed out on 30 pips, which is not nice after several losses to miss out on a profit :P ) but as I put that in, gave all its variables it started giving me a log after a random candle opened (not a cross at all).
And it didnt open a trade, but it is giving me logs... and as I am typing this the logs went up from 30 to 145 at the moment.
The log says: [string "MA crossover Strategy.lua"] Cannot recognize the host command.

Up to 180 logs now.

Anyone any ideas on whats going on here? and how to fix it?
Representative
 
Posts: 7
Joined: Mon Nov 15, 2010 2:59 pm

Re: MA Crossover Strytegy

Postby Nikolay.Gekht » Wed Dec 15, 2010 4:10 pm

What Trade Station version do you use?

AFAIK this stategy requires 01.09.101210 version installed or autotrading patch installed over older versions. I strongly recommend to update up to the latest version.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: MA Crossover Strytegy

Postby Representative » Wed Dec 15, 2010 5:02 pm

I am using marketscope 2.0.
and when I click check for updates it says that there are no updates available (I installed it late august 2010).
Representative
 
Posts: 7
Joined: Mon Nov 15, 2010 2:59 pm

Re: MA Crossover Strytegy

Postby Representative » Wed Dec 15, 2010 5:05 pm

I just checked and it is version 01.09.082610 I am downloading the patch as I am writing this message.

Fingers crossed :)
Representative
 
Posts: 7
Joined: Mon Nov 15, 2010 2:59 pm

Re: MA Crossover Strytegy

Postby shinobi_brian » Fri Dec 17, 2010 6:41 am

This doesn't seem to be entering trades, not sure what's wrong?
shinobi_brian
 
Posts: 5
Joined: Sat Oct 09, 2010 8:32 am

Re: MA Crossover Strytegy

Postby Representative » Fri Dec 17, 2010 11:28 am

Have you downloaded the patch and added the strategy to your cutsom strategies?

And congrats on winning one of the FXCM micro questions ;)
Representative
 
Posts: 7
Joined: Mon Nov 15, 2010 2:59 pm

Re: MA Crossover Strytegy

Postby snakewob » Thu Jan 20, 2011 10:31 am

I have testet
and the backtest makes not stop losses or trailing stops.
it is not be got for the backtest performace.

can anyone slove the problem?
snakewob
 
Posts: 3
Joined: Fri Jan 14, 2011 3:44 pm

Re: MA Crossover Strytegy

Postby luciana » Tue Jan 25, 2011 1:59 pm

Hi, is it possible to add to the strategies/signals based on MA more options for MA methods? Specifically, at the moment, I'm looking for WMA/ MA crossover strategy. Thanks.
luciana
 
Posts: 41
Joined: Mon Nov 29, 2010 9:08 am

Re: MA Crossover Strytegy

Postby luciana » Thu Jan 27, 2011 9:38 am

Can be the WMA added to the MA based startegy/signals to be able to include it into my own strategy ? Yes, No, Maybe...Thanks in advance.
luciana
 
Posts: 41
Joined: Mon Nov 29, 2010 9:08 am

Next

Return to Custom Strategies

Who is online

Users browsing this forum: Google [Bot] and 16 guests