fxcodebase-backup

Classic MACD strategy (20 MA in 1)

Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=2569
Forum: 31 · Topic 2569 · 6 post(s)


Classic MACD strategy (20 MA in 1)

Alexander.Gettinger · Mon Nov 01, 2010 9:36 pm

Strategy looks like viewtopic.php?f=31&t=2473 Standard MA and MACD replaced on extended. For work this strategy must be installed two indicators:

  1. Moving Average Indicator: 20 in 1: viewtopic.php?f=17&t=2430
  2. MACD (20 in 1 MA): viewtopic.php?f=17&t=2564

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


Re: Classic MACD strategy (20 MA in 1)

easytrading · Mon Jul 13, 2015 6:00 pm

hello Apprentice,

is it possible to add parameter (Allowed side:Buy,Sell and Both) to the strategy ,please? your help is much appreciated.


Re: Classic MACD strategy (20 MA in 1)

cnikitopoulos94 · Sun Sep 13, 2015 2:48 am

When I back Test it, It only does one transaction instead of reversing the transaction. Is there a way that can be switched?


Re: Classic MACD strategy (20 MA in 1)

Apprentice · Mon Sep 21, 2015 2:59 am

Try it now. I found a bug in indicator code.


Re: Classic MACD strategy (20 MA in 1)

cnikitopoulos94 · Mon Sep 21, 2015 12:20 pm

lol sorry apprentice post is pretty old.. I made it so that reversal on buy/sell quanity is multiplied by 2 .. seperating it from closing condition.


Re: Classic MACD strategy (20 MA in 1)

Apprentice · Tue Dec 13, 2016 4:15 pm

Strategy was revised and updated.