Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 10:08:47 +0000



[User Discussion] - Offering To The Community: MACD zero lag

View Count: 3669

[2017-10-23 11:03:49]
User112730 - Posts: 41
I wrote a MACD zero lag indicator for SC, with option for DEMA or TEMA, and am sharing it with any sc user who may need it.
SC support, could you please check it then include it in the main distribution, with the other custom indicators ?
(Or better, add the MA type DEMA and TEMA option to the other MA type in the original MACD indicator)

Description : MACD zero lag is the calculation of MACD with double or triple exponential moving average, instead of simple exponential moving average.
This is supposed to make it less lagging (but it will still be)
Date Time Of Last Edit: 2017-10-23 11:04:55
attachmentMACD_zerolag.dll - Attached On 2017-10-23 10:59:36 UTC - Size: 77.5 KB - 497 views
attachmentMACD_zerolag.cpp - Attached On 2017-10-23 10:59:49 UTC - Size: 5.32 KB - 544 views
[2017-10-23 17:04:43]
Sierra Chart Engineering - Posts: 104368
SC support, could you please check it then include it in the main distribution, with the other custom indicators ?
Yes we will do that.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-03-22 10:33:53]
User952186 - Posts: 58
Is this already added? If yes, what is the name of it? I tried several custom MACD studies but could not find DEMA, TEMA options.
Thanks.
[2018-03-22 12:41:01]
User112730 - Posts: 41
I may be wrong, but it seems to me that before, I have seen is added to the custom indicator list in SC.
For some reason, I can not find it in the last version of SC. Maybe a mistake that will be corrected ?

Meanwhile, you can use the dll attached to post #1 or compile a dll from the source code attached to post #1
[2018-03-22 12:56:39]
User952186 - Posts: 58
Thank you for your reply.
I added the dll to C:\SierraChart\Data folder. But I could not view it there.
What will be the name of it? Per your code, It should be named as "MACD zero lag".
Thanks.
Ozzy
Attachment Deleted.
imageCapture.PNG / V - Attached On 2018-03-22 12:56:22 UTC - Size: 84.22 KB - 584 views
[2018-03-22 14:19:37]
User112730 - Posts: 41
I confirm that the name is "MACD zero lag", and that I do not see it in the study list anymore, even the one I installed myself. (1721 -32)
Tried a remote compil in SC 64bits, same problem.

Maybe the support have an idea about this ?
[2018-03-22 14:22:44]
User952186 - Posts: 58
Thanks. I hope they will investigate it soon then.
Best regards
[2018-03-22 20:11:11]
Xfanman1 - Posts: 320
I confirm that the name is "MACD zero lag", and that I do not see it in the study list anymore, even the one I installed myself. (1721 -32)
Tried a remote compil in SC 64bits, same problem.

Maybe the support have an idea about this ?

Worked fine for me, I compiled it and see it on my chart. I've included both your Study and the Standard Study side by side in the chart below if anyone's interested comparing the two. I did add the FreeDLL command to your code as I didn't see that in there. Not sure if that was necessary or not but it's working. I've attached a copy of the 64bit version also.

Thanks for writing this and sharing-->

Scott
Private File
imageMACDzerolag.PNG / V - Attached On 2018-03-22 20:10:48 UTC - Size: 102.5 KB - 671 views
[2018-03-22 20:37:24]
User952186 - Posts: 58
Hi Scott,
Thank you for your comment and efforts.
I also compiled it but I don't see it.
Where did you add FreeDLL command exactly?
Thanks.
Ozzy
[2018-03-22 20:45:20]
Xfanman1 - Posts: 320
Ozzy, see the attached image. If you need help compiling the 32bit version let me know I can do it for you. Otherwise I know you said you tried 1722 vur make sure you double check because the Custom DLL's' disappeared in 1721 I think.

--Scott

P.S., I added the modified .CPP file for you in case that helps.
Date Time Of Last Edit: 2018-03-22 20:46:50
imageFreeDLL.PNG / V - Attached On 2018-03-22 20:45:13 UTC - Size: 43.22 KB - 500 views
attachmentMACD_zerolag.cpp - Attached On 2018-03-22 20:46:33 UTC - Size: 5.48 KB - 433 views
[2018-03-22 21:25:05]
User952186 - Posts: 58
Thank you!
It was due to the version I was using 1721 now upgraded to 1722.
[2018-03-23 08:21:59]
User112730 - Posts: 41
I confirm also on my side : problem with v1721-32bits (and maybe some version<1721) of SC : user contributed studies list disappeared;
With v1722-32bits this list is back, and MACD zero lag can be found in it.
[2018-06-13 21:34:31]
User297856 - Posts: 2
hi everyone. I have MACD zero lag indicator/studies & I would like it to put an UP/DOWN Arrow on the chart based on that value of MACD zero lag. anyone knows what is the procedure. kindly pls till me. thanks everyone.
[2018-06-14 01:20:43]
Xfanman1 - Posts: 320
There are a couple of ways to do this. If you tell me exactly what you want the MACD to alert (crossovers/levels above or below the zero line etc) I can probably point you in the right direction.


Scott
[2021-07-21 21:20:12]
Ludovic da costa - Posts: 9
Hello
can make an arrow appear on the graph region 1 to predict where the macd of region 2 have crossed
thank you
[2021-07-22 15:00:39]
bradh - Posts: 846
can [you] make an arrow appear on the graph region 1 to predict where the macd of region 2 have crossed [?]

A single study can only display in one graph region at a time. A Spreadsheet Formula study that draws an arrow at a crossover can easily be added to the chart with its output to graph region 1. You will need two, one for each direction.
[2021-07-22 16:30:56]
Ludovic da costa - Posts: 9
I don't know how to do it someone can help me
[2021-07-22 22:28:17]
bradh - Posts: 846
Here is a demo chartbook.
attachmentCrossover Arrows.cht - Attached On 2021-07-22 22:27:27 UTC - Size: 3.54 KB - 200 views
Attachment Deleted.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account