## 2 MA Strategy

Strategies are published here.

### 2 MA Strategy

Signals are generated by simple two MA (moving average) cross.
Second MA, is MA, of First MA.

2 MA Strategy.lua

The Strategy was revised and updated on December 10, 2018.

Apprentice
FXCodeBase: Confirmed User

Posts: 27495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: 2 MA Strategy

Apprentice wrote:
2 ma.png

Signals are generated by simple two MA (moving average) cross.
Second MA, is MA, of First MA.

2 MA Strategy.lua

hi
plz add that parameter to this straegy
thanks
by
arindam89

Posts: 53
Joined: Mon Dec 12, 2011 5:39 am

### Re: 2 MA Strategy

The attached link is not valid.

Apprentice
FXCodeBase: Confirmed User

Posts: 27495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: 2 MA Strategy

Apprentice wrote:The attached link is not valid.

viewtopic.php?f=31&t=1985&p=8548&hilit=profit%2Floss+care#p8548
thnaks
arindam89

Posts: 53
Joined: Mon Dec 12, 2011 5:39 am

### Re: 2 MA Strategy

arindam89 wrote:
Apprentice wrote:The attached link is not valid.

viewtopic.php?f=31&t=1985&p=8548&hilit=profit%2Floss+care#p8548
thnaks

hi
thanks
by
arindam89

Posts: 53
Joined: Mon Dec 12, 2011 5:39 am

### Re: 2 MA Strategy

What is "Valid interval for operation in second" ?
kgsmith

kgsmith69

Posts: 24
Joined: Thu May 05, 2011 9:52 pm
Location: USA

### Re: 2 MA Strategy

This strategy does opposite, sells when it should be buying and buys when it should be selling.
dimfil

Posts: 4
Joined: Thu Dec 01, 2011 2:58 pm

### Re: 2 MA Strategy

1.
"Valid interval for operation in second" is time after end of trading hours
in which all positions are closed if you use Mandatory Closing option.

2.
Try this use Revers -Type of signal .

Apprentice
FXCodeBase: Confirmed User

Posts: 27495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: 2 MA Strategy

Thanks Apprentice.
kgsmith

kgsmith69

Posts: 24
Joined: Thu May 05, 2011 9:52 pm
Location: USA

### Re: 2 MA Strategy

I'm not sure whats going on?

Settings

Result

Chart

Maybe its something after update. Trading Station/Market Scope is a little glitchy after update on my computer. Or its just something I'm doing wrong with settings.
kgsmith

kgsmith69

Posts: 24
Joined: Thu May 05, 2011 9:52 pm
Location: USA

Next