MTF 3_MA_Cross Strategy

Strategies are published here.

Moderator: admin

MTF 3_MA_Cross Strategy

Postby Apprentice » Mon Feb 04, 2019 10:51 am

1.png

Based on request.
viewtopic.php?f=27&t=11427

Open Long:
1. ema period 7 > ema period 14> ema period 21 in time frame H4 and
2. ema period 7 > ema period 14> ema period 21 in time frame H8 and
3. ema period 7 > ema period 14> ema period 21 in time frame D1 and
4.ema period 7 cross over ema period 14 and ema period 14 > ema period 21 in H1
Vice versa for Short.


MTF 3_MA_Cross Strategy.lua
(35.07 KiB) Downloaded 526 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MTF 3_MA_Cross Strategy

Postby MC. Trend Trader » Wed Feb 06, 2019 8:04 am

Hello,
The strategy gives very many entry signals after the first signal. and I do not want to control it via the Use Position Cap

Open Buy position:
For example, the strategy should only be allowed to open one position when a buy signal is generated, but only if the previous signal was a sell signal.

Open Sell Position:
For example, the strategy should only be allowed to open one position if a sell signal is generated, but only if the previous signal was a buy signal.

I do not want the strategy before a turnaround comes another position opens

Many greetings
MC. Trend Trader
FXCodeBase: Initiate
 
Posts: 107
Joined: Sun Jul 05, 2015 12:36 am

Re: MTF 3_MA_Cross Strategy

Postby Apprentice » Fri Feb 08, 2019 6:24 am

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

Re: MTF 3_MA_Cross Strategy

Postby Apprentice » Sat Feb 09, 2019 4:57 am

Try this version.
MTF 3_MA_Cross Strategy v2.lua
(35.85 KiB) Downloaded 508 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 19 guests