Page 1 of 2

MACD Strategy

PostPosted: Tue Sep 25, 2012 3:57 am
by Apprentice
MACD Strategy.png

Long
MACD / Signal Line Crossover
Short
MACD / Signal Line Crossunder

Exit Long (optional)
Close < MA Line
Exit Short (optional)
Close > MA Line
MACD Strategy.lua
(18.92 KiB) Downloaded 1315 times


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

Re: MACD Strategy

PostPosted: Tue Sep 25, 2012 4:14 am
by Apprentice
MACD Strategy with confirmation.png

Trade if we have 1. and 2. condition satisfied.
Long
1. MACD/Signal Line Crossover
2. Close < MA + Validation Zone width (optional)
Short
1. MACD/Signal Line Crossunder
2. Close > MA - Validation Zone width (optional)
MACD Strategy with confirmation.lua
(18.39 KiB) Downloaded 1076 times

Re: MACD Strategy

PostPosted: Fri Sep 28, 2012 8:11 am
by trader969
Do any of your strategies work with mini accounts?

Re: MACD Strategy

PostPosted: Sat Sep 29, 2012 1:39 am
by Apprentice
In general, unless otherwise specified, all the indicators, strategies,
work on both Standard or and Mini.

Re: MACD Strategy

PostPosted: Sun Sep 30, 2012 8:27 am
by trader969
I downloaded this strategy and had it running for 24 hrs in nzd/usd, on friday, I made sure that the lot size was 1, which is the lowest it goes, this is a mini account, and made sure to that it said live trading and it did not execute a single trade, during that time period, with the movement in nzd I find it hard to believe both conditions werent met to execute, is there something else I have to do?

Re: MACD Strategy

PostPosted: Sun Sep 30, 2012 9:32 am
by Apprentice
What Time Frame is used.
As confirmation, Add MACD indicator to chart.
Do you have MACD / Signal Cross during testing period.

Re: MACD Strategy

PostPosted: Sun Sep 30, 2012 10:35 am
by trader969
I put it 5 minute time frame, in backtestring it seemed to be more profitable, and yes I had the macd indicator running, I also clicked yes to dynamic trailing stops

Re: MACD Strategy

PostPosted: Sun Sep 30, 2012 12:01 pm
by Apprentice
Hm, I made a test and everything is fine for me.
How did you do the testing in Backtester or in live trading.
For Live trading you should have something like this.
Capture.PNG

Did you have an active strategy, like I have here.
If you are using MACD Strategy with confirmation,
It's entirely possible, we have a very strict filter.
You've tested over the weekend maybe? :)

Re: MACD Strategy

PostPosted: Mon Mar 25, 2013 4:52 am
by tengy yan nan
who can help me to change the cross happen when histogram=0 to [1/-1] or above or under thanks

Re: MACD Strategy

PostPosted: Mon Mar 25, 2013 5:25 pm
by Apprentice
Your request has been added to the development list.