MACD With Histogram Coloring

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

Re: MACD With Histogram Coloring

Postby AlexanderS » Mon Oct 04, 2021 3:45 pm

HI
Can you make Alert in this indikator

one alert option is cross signalline

two alert option is histogram coloring

but pleas two option not all in one alert

THANKS BRO :mrgreen:

AND THIS FOR STRATEGY TO
AlexanderS
 
Posts: 10
Joined: Tue Sep 14, 2021 3:58 am

Re: MACD With Histogram Coloring

Postby Apprentice » Tue Oct 05, 2021 1:47 am

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

Re: MACD With Histogram Coloring

Postby Apprentice » Tue Oct 05, 2021 6:04 am

Try the MACD - HC with Alert.lua
https://fxcodebase.com/code/viewtopic.php?f=17&t=229

Can you please define strategy rules?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD With Histogram Coloring

Postby AlexanderS » Sun Mar 20, 2022 5:15 pm

HI
Pleas make a strategy
with
MACD - HC WITH ALERT
with all same signals ( ON OFF OPTION )

THANKS
AlexanderS
 
Posts: 10
Joined: Tue Sep 14, 2021 3:58 am

Re: MACD With Histogram Coloring

Postby Apprentice » Mon Mar 21, 2022 3:09 am

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


Re: MACD With Histogram Coloring

Postby L8ping » Tue May 24, 2022 12:47 pm

Error on your formula, it's an EMA to apply, so change
MVAI = core.indicators:create("MVA", MACD, IN);
by
MVAI = core.indicators:create("EMA", MACD, IN);
By the way the default MACD of the trading station have the same bug!
L8ping
 
Posts: 1
Joined: Thu Mar 10, 2022 2:20 pm

Re: MACD With Histogram Coloring

Postby Apprentice » Wed May 25, 2022 3:45 am

Fixed version.
Attachments
MACD - With Histogram Coloring.lua
(5.75 KiB) Downloaded 98 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 22 guests