Zero Lag MACD

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: Zero Lag MACD

Postby Apprentice » Wed Apr 28, 2021 3:10 am

Timed MACD.lua was rewritten.
If not a problem, can you test the rest of the Timed indicators?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Zero Lag MACD

Postby swnlobo » Wed Apr 28, 2021 6:37 pm

Apprentice wrote:Timed MACD.lua was rewritten.
If not a problem, can you test the rest of the Timed indicators?


Sure.

In Tickchart

1. Tick Timed MACD works
2. Tick influx doesn't work (straight lines that look like vectors)
3. Tick time frame timed MACD works fine
4. Tick time frame influx doesn't work (straight lines that look like vectors)
5. Period Tick Time Frame Influx doesn't work (straight lines that look like vectors)

Many thanks for your help
swnlobo
 
Posts: 73
Joined: Fri Nov 16, 2018 7:56 am

Re: Zero Lag MACD

Postby Apprentice » Sun May 09, 2021 10:38 am

Try it now.
All should work now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Zero Lag MACD

Postby swnlobo » Thu May 13, 2021 10:03 am

Thank You so Much

All the best

Swnlobo
swnlobo
 
Posts: 73
Joined: Fri Nov 16, 2018 7:56 am


Re: Zero Lag MACD

Postby wise_jedi » Sun Oct 03, 2021 12:23 pm

Hi, may I ask why this zero-lag macd is not calculated simply by subtracting 2 zero-lag moving averages?
wise_jedi
 
Posts: 3
Joined: Sun Oct 03, 2021 11:20 am

Re: Zero Lag MACD

Postby Apprentice » Mon Oct 04, 2021 2:49 am

The Idea is to show the price point of the MACD/Signal line cross.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Zero Lag MACD

Postby wise_jedi » Mon Oct 04, 2021 9:34 am

Hi, thenk's for reply.
Could you be more clear? I mean, what's the difference between using the formula you used and doing:

MACD= Zema(source,fast_period) - Zema(source,slow_period)
Signal = Zema(MACD, period)

Thank's for your time.
wise_jedi
 
Posts: 3
Joined: Sun Oct 03, 2021 11:20 am

Re: Zero Lag MACD

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

MACD= Zema(source,fast_period) - Zema(source,slow_period)
Signal = Zema(MACD, period)
will be an oscillator.


Reverse Engineered ZeroLagMACD in indicator placed on the chart.
While math is a bit different, will show the same signal.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Zero Lag MACD

Postby wise_jedi » Tue Oct 05, 2021 2:13 am

Yes but we are on zero lag macd thread not on reverse engineered zero lag macd thread.
This calculation
MACD = (2 * EMA(price, FAST) - EMA(EMA(price, FAST), FAST)) - (2 * EMA(price, SLOW) - EMA(EMA(price, SLOW), SLOW))
SIGNAL = 2 * EMA(MACD, SIG) - EMA(EMA(MACD, SIG), SIG))
HISTOGRAM = MACD - SIGNAL

And the one I typed above don’t get the same results. My question is why you used this instead of the one I typed.
wise_jedi
 
Posts: 3
Joined: Sun Oct 03, 2021 11:20 am

PreviousNext

Return to Custom Indicators

Who is online

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