MACD crossing on chart Signal

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

MACD crossing on chart Signal

Postby Coondawg71 » Tue May 07, 2013 5:49 pm

Please convert this very useful indicator to Lua.

This is the very same idea and implementation of a indicator I had in mind when requesting the following:

viewtopic.php?f=17&t=26223&p=58901#p58901

I see this indicator becoming the first of many that will show a visual signal on the price chart, simple yet very effective to traders.

Thanks,

sjc

http://www.mql5.com/ru/code/1691
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: MACD crossing on chart Signal

Postby Apprentice » Wed May 08, 2013 6:34 am

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

Re: MACD crossing on chart Signal

Postby Alexander.Gettinger » Wed May 01, 2019 7:58 pm

Please try this indicator:
MACD With Crossing.lua
(6.86 KiB) Downloaded 348 times


Averages.lua is available here.
viewtopic.php?f=17&t=2430
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: MACD crossing on chart Signal

Postby jrichardson83 » Sun May 19, 2019 8:37 am

Alexander.Gettinger wrote:Please try this indicator:
MACD With Crossing.lua


Getting the following error:

"An error occurred during the calculation of the indicator 'MACD WITH CROSSING(USD/CAD.Close, MVA, 12, 26, MVA, 9)'. The error details: C:/Program Files (x86)/Candleworks/FXTS2/Indicators/Custom/MACD With Crossing.lua:99: attempt to index upvalue 'Fast_MA' (a nil value)."
jrichardson83
FXCodeBase: Graduate
 
Posts: 228
Joined: Thu Jan 01, 2015 1:03 pm

Re: MACD crossing on chart Signal

Postby Apprentice » Tue May 21, 2019 5:26 am

Try this version.

Averages.lua is available here.
viewtopic.php?f=17&t=2430
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD crossing on chart Signal

Postby Plastic » Mon Aug 31, 2020 7:11 am

Thanks for your job
Is it possible to have a 2-coloured MACD line: upslope in green and downslope in red ?
Last edited by Plastic on Mon Aug 31, 2020 11:19 am, edited 1 time in total.
Plastic
 
Posts: 16
Joined: Tue Aug 25, 2020 4:37 am

Re: MACD crossing on chart Signal

Postby Apprentice » Mon Aug 31, 2020 8:22 am

Can you define uptrendvgreen and downtrend red?
Is it Upslope and downslope?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD crossing on chart Signal

Postby Plastic » Mon Aug 31, 2020 11:04 am

Yes I meant positive or negative slope
Plastic
 
Posts: 16
Joined: Tue Aug 25, 2020 4:37 am


Re: MACD crossing on chart Signal

Postby Plastic » Tue Sep 01, 2020 7:15 am

This version does what I'm looking for but I like very much the visual of "MACD with crossing" indicator
Is it possible to combine the 2 of it?
Thanks a lot
Plastic
 
Posts: 16
Joined: Tue Aug 25, 2020 4:37 am

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 17 guests