Two MA Cross Strategy

Strategies are published here.

Moderator: admin

Two MA Cross Strategy

Postby Apprentice » Mon Jun 11, 2018 12:13 pm

1.png

2.png

Open Long
Price CrossOver 1. MA of high

Open Short
Price CrossUnder 2. MA of low
Two MA Cross Strategy.lua
(26.38 KiB) Downloaded 906 times

Multi Time Frame Two MA Cross Strategy.lua
(27.01 KiB) Downloaded 796 times


MT4/MQ4 version
viewtopic.php?f=38&t=70380
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27560
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Strategy

Postby MC. Trend Trader » Fri Aug 10, 2018 7:10 am

Hello.
I would like to have a MTF (Multi Time Frame) Version of this Strategy.
Best regards
MC. Trend Trader
FXCodeBase: Initiate
 
Posts: 107
Joined: Sun Jul 05, 2015 12:36 am

Re: Two MA Cross Strategy

Postby Apprentice » Sat Aug 11, 2018 6:16 am

Multi Time Frame Two MA Cross Strategy.lua added.
As we have in Multi Time Frame Two MA Cross Strategy?
With separate Time Frame selector for Price and MA.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27560
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Strategy

Postby MC. Trend Trader » Sun Aug 19, 2018 4:12 am

Hello

Yes, with separate Time Frame selector for Price and MA.

1 Time Frame:

Open Long / Buy

Price Source
Fast Ma Period
MA Method
Slow MA Period
MA Method

2 Time Frame:

Open Short / Sell

Price Source
Fast Ma Period
MA Method
Slow MA Period
MA Method

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

Re: Two MA Cross Strategy

Postby Apprentice » Wed Aug 29, 2018 3:59 am

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

Re: Two MA Cross Strategy

Postby Apprentice » Thu Aug 30, 2018 1:34 pm

Separate Time Frame selector added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27560
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Strategy

Postby MC. Trend Trader » Wed Feb 05, 2020 6:58 am

Hello,

For instance if this strategy uses a 200 Moving Average on a 15 minute time frame am i correct in thinking this will need 200*15 minutes (which is 50 Hours) worth of closed price action candles to get started?

If so is there a way to preload historical data like an indicator does for instance?

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


Re: Two MA Cross Strategy

Postby willcsk » Tue Feb 18, 2020 8:24 am

hi Apprentice,,

iz it possible to make this strategy work with averages.lua ?

thx for the help

-willie-
willcsk
 
Posts: 21
Joined: Sat Jan 05, 2013 3:21 am

Re: Two MA Cross Strategy

Postby Apprentice » Tue Feb 18, 2020 9:01 am

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

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 2 guests