MA crossover strategy

Strategies are published here.

Moderator: admin

MA crossover strategy

Postby Alexander.Gettinger » Mon Mar 21, 2011 3:08 am

Strategy based on MA crossover indicator (viewtopic.php?f=17&t=2621).

MA_Crossover_Strategy.png


Download:
MA_Crossover_Strategy.lua
(15.45 KiB) Downloaded 1140 times


For this strategy must be installed AVERAGES indicator (viewtopic.php?f=17&t=2430).
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3322
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: MA crossover strategy

Postby alepan72 » Mon May 02, 2011 5:20 am

Goodmorning everyone!
I use strategies with an MA as stop. When I add the option, strategy confirm the enter/exit point in to the close of candle. I wonder if you can tell me how to write the code, when I have a strategy that work with candles (RSI, crossover, Stochastic etc.), my MA stop close the trade on tick and not on close of candle.
Thanx in advance and best regards for your services!!!
Image
User avatar
alepan72
 
Posts: 59
Joined: Wed Oct 27, 2010 4:19 am

Re: MA crossover strategy

Postby rebeljedi » Thu Feb 16, 2012 2:05 am

hi Alexander,

could you kindly create a combination of this strategy MA Crossover with this ADX DMI strategy?

The strategy:

1. FasterMA crosses above SlowerMA (confirmed cross) and
ADX>=[specified value] and DMIplus>=[specified value] on the candle where crossing happens
=> buy on open of next candle

2. 1. FasterMA crosses below SlowerMA (confirmed cross) and
ADX>=[specified value] and DMIminus>=[specified value] on the candle where crossing happens
=> sell on open of next candle

thank you!
Attachments
ADX_DMI_Strategy.lua
(11.81 KiB) Downloaded 386 times
rebeljedi
 
Posts: 11
Joined: Mon Dec 19, 2011 1:28 am

Re: MA crossover strategy

Postby Apprentice » Thu Feb 16, 2012 2:50 am

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

Re: MA crossover strategy

Postby rebeljedi » Thu Feb 16, 2012 3:06 am

Thank you very much, Alexander!
rebeljedi
 
Posts: 11
Joined: Mon Dec 19, 2011 1:28 am

Re: MA crossover strategy

Postby amazon1a » Wed Feb 22, 2012 9:24 pm

I am also very interested in this strategy. Thanks
User avatar
amazon1a
 
Posts: 72
Joined: Wed Oct 05, 2011 10:47 am

Re: MA crossover strategy

Postby rebeljedi » Mon Jul 02, 2012 7:22 am

rebeljedi wrote:hi Alexander,

could you kindly create a combination of this strategy MA Crossover with this ADX DMI strategy?

The strategy:

1. FasterMA crosses above SlowerMA (confirmed cross) and
ADX>=[specified value] and DMIplus>=[specified value] on the candle where crossing happens
=> buy on open of next candle

2. 1. FasterMA crosses below SlowerMA (confirmed cross) and
ADX>=[specified value] and DMIminus>=[specified value] on the candle where crossing happens
=> sell on open of next candle

thank you!


Hi, I would like to check if there is any update on this request as you have indicated it will be in the developmental queue. Thank you.
rebeljedi
 
Posts: 11
Joined: Mon Dec 19, 2011 1:28 am

Re: MA crossover strategy

Postby rebeljedi » Tue Aug 14, 2012 3:08 am

Hi,

I am checking in again to restate my interest in the MAcrossover-ADX DMI request.
Please kindly advise if there is a new link.

Thank you.
rebeljedi
 
Posts: 11
Joined: Mon Dec 19, 2011 1:28 am

Re: MA crossover strategy

Postby guangho » Thu Oct 25, 2012 1:34 pm

Friends, hello!

The strategy, it will generate signals when the " opening " and " closing " of the operation.

I would like to ask: can modify it to generate a signal only when the " opening " and " closing "? Because I just want to through the " limit " and " stop" for unwinding operation. My account is allowed to lock.

Thank you very much.
guangho
 
Posts: 85
Joined: Sat Sep 29, 2012 12:16 pm

Re: MA crossover strategy

Postby Apprentice » Fri Oct 26, 2012 2:57 am

If I understood well.
Set "Allow strategy to trade" to no.
And you will have a trade signal only.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19227
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 4 guests