Simple strategy for EMA

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Simple strategy for EMA

Postby aladin » Mon Jun 11, 2018 10:45 am

Hi, Can you please help me for this strategy?
It is simple, but I try to search in database but didn't found nothing !
(A lot of moving average strategy but without the choosing of price High, Close or Low)

I'm looking for a simple strategy on EMA

2 EMA any period for each one (I use 55 period )
Any timeframe ( I use 1 Hours )

1 EMA Price High
1 EMA Price Low

When Candle cross and only close above EMA Price High -> open buy position
When Candle cross and only close below EMA Price Low -> open sell position

a usual with custom take profit and stop loss / one side open one position / Time parameters

Thank You in advance !
aladin
 
Posts: 13
Joined: Sun Jul 23, 2017 9:04 pm
Location: Switzerland


Re: Simple strategy for EMA

Postby aladin » Mon Jun 11, 2018 5:01 pm

Hi Apprentice,
Thank you for very fast answer !!!

I try the strategy but I think something is wrong in parameters 2.MA Calculation.

For buy above the EMA 55 High in section 1.MA Calculation -> it works perfectly ! It open exactly a buy position when candle cross and close above the EMA

Problem is for 2.MA Calculation that do not respect the parameters of the EMA 55 ( seems that respect a kind of MA with another period I try few MA and period but no idea) it open before, between the 2 EMA

I try also to invert the parameters 1.MA Calculation with EMA 55 LOW and works fine, open sell position exactly after candle cross and close below the EMA 55 LOW

Problem always for 2.MA Calculation also if I add High parameters.

I hope you can check and fix it please!
Otherwise can you please explain how can I disable 2.MA Calculation?

Thank You very much !
aladin
 
Posts: 13
Joined: Sun Jul 23, 2017 9:04 pm
Location: Switzerland


Re: Simple strategy for EMA

Postby aladin » Thu Jun 14, 2018 7:23 pm

Hi again Apprentice,

I try your new fixed version but I found the same problems.

The 2.MA Calculation use a different MA instead the selected EMA (I think use the LWMA but not sure of the period 55, I also try with all the MA but no one is EMA 55 period Low or High)
Also the "Max Number of open position in any direction" and " Max Number of position in one direction" I try to use option 1 in both but open 3 or more position when there are just opened.

Now I can make 2 different backtest:

First is with 1.MA Calculation EMA 55 High / Close on opposite - False / Allowed side - Buy

Second is with 1.MA Calculation EMA 55 Low / Close on opposite - False / Allowed side - Sell

It works but I have to make 2 different backtest! And if "Close on opposite" is True close the position early because is a different MVA on 2.MA Calculation.

Thanks again for your work and if possible for check.
aladin
 
Posts: 13
Joined: Sun Jul 23, 2017 9:04 pm
Location: Switzerland

Re: Simple strategy for EMA

Postby aladin » Sun Jun 17, 2018 8:37 am

Hi Apprentice,

I solved with this:

Parallel MA Strategy

viewtopic.php?f=31&t=2821#p6432

Thanks again.
aladin
 
Posts: 13
Joined: Sun Jul 23, 2017 9:04 pm
Location: Switzerland


Return to Indicator and Signal Requests

Who is online

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