MACD Signal

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

MACD Signal

Postby Apprentice » Tue Jan 06, 2015 3:47 am

macd Signal.png

Based on request.
viewtopic.php?f=27&t=61650#p97948
Will indicate the MACD / Signal Line / MACD Zero Line, Histogram / Zero Line Cross.
MACD Signal.lua
(5.84 KiB) Downloaded 1343 times

MACD Signal with Alert.lua
(14.08 KiB) Downloaded 872 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD Signal

Postby Alexander.Gettinger » Wed Apr 08, 2015 10:58 am

MQL4 version of MACD Signal indicator: viewtopic.php?f=38&t=62084.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Re: MACD Signal

Postby Santoine » Sat Sep 09, 2017 2:22 am

I would like being able to make an automated trading from the MACD signal and the ability to get the Heikin Ashi close as a source I mean xClose = (Open+High+Low+Close)/4 Thanks
Santoine
 
Posts: 11
Joined: Sat Sep 03, 2016 1:11 am

Re: MACD Signal

Postby Apprentice » Sat Sep 09, 2017 4:00 am

Can you define entry / exit conditions?
Use pseudo code.
If ... and ... cross over ... then ... open long ... open short .. exit ...
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD Signal

Postby Santoine » Sun Sep 10, 2017 5:37 am

It's working exactly as described in Strategy MACD viewtopic.php?f=31&t=4100&p=10276&hilit=macd+strategy+lua#p10276
The major difference is that the MACD isn't calculated directly on the Source (on the selected TF) but on the average of Open, HIgh, Low and Close of current bar (xClose = (Open+High+Low+Close)/4. or Average price of the current bar). Thanks
Santoine
 
Posts: 11
Joined: Sat Sep 03, 2016 1:11 am

Re: MACD Signal

Postby Apprentice » Sun Sep 10, 2017 6:10 pm

Your request is added to the development list, Under Id Number 3890
If someone is interested to do this task, please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: MACD Signal

Postby Santoine » Sun Sep 17, 2017 6:28 am

Apprentice wrote:Try HA Close MACD Strategy.lua
viewtopic.php?f=31&t=4100&p=10276#p10276


Thank you very much. I modified a little the MACD condition and results are very encouraging. In fact they depend on the global trend, For instance last week the trend was Bullish for GBP JPY so best results are with a a Buy only side. I think a filter on HA above a specific MA like 100 hours can be the way to manage the global trend
This is for 20K on last week Buy side only
ACCOUNT STATISTICS
Total profit/loss 1,154.31
Total profit of all trades 1,408.19
Total loss of all trades 253.88
Santoine
 
Posts: 11
Joined: Sat Sep 03, 2016 1:11 am

Re: MACD Signal

Postby Apprentice » Tue Sep 04, 2018 9:34 am

The Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 77 guests