Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 19:25:59 +0000



[Programming Help] - sc.MACD() code

View Count: 665

[2020-07-22 16:48:51]
emanuele - Posts: 6
I could not fine sc.MACD() code in cpp code files dir.

Where can I find it?

Thank you
[2020-07-22 17:31:02]
User90125 - Posts: 715
Did you try the info given in your first posting of this question?

sc.MACD() | Post: 228140
Date Time Of Last Edit: 2020-07-22 17:33:32
[2020-07-23 08:33:11]
emanuele - Posts: 6
Yes I tried and I didn't find it.

See attached image...

None of 6 "MACD(" is the function code itself...
imageMACD_search.PNG / V - Attached On 2020-07-23 08:32:02 UTC - Size: 57.6 KB - 235 views
Attachment Deleted.
[2020-07-23 09:40:56]
User907968 - Posts: 826
sc.MACD uses internal study function as per sierrachart.h

Look in scstudyfunctions.cpp for equivalent function, you might find it.
Date Time Of Last Edit: 2020-07-23 09:42:59
[2020-07-23 09:55:29]
emanuele - Posts: 6
Thank you!

I guess it's MACD_S.

I'm looking for source code to implement it with speed-up granted by maintaining partial sums of long mov_av.

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

Login

Login Page - Create Account