Dwain's SMACD indicator

User avatar
dap711
Trader
Posts: 205
Joined: Mon Aug 08, 2016 8:27 pm
Location: Oklahoma City, Oklahoma USA

Re: Dwain's SMACD indicator

Post by dap711 »

JohnnyRy wrote: Sat Sep 23, 2023 9:22 pm Understood. I posted Mladen's original because I compiled your SMACD.mq5 file and the indicator showed this which I didn't understand:
I posted the code to the EA version of the SMACD indicator, which simplified the whole view (buy blue, sell red, close trades if not blue or red, and only open trades after a cross over) If you put both versions of SMACD on the same chart (with the same settings) you will see where I was headed.

Anyway, I've developed this same indicator in ThinkOrSwim and use it daily to trade options. I've found that with stocks, it's best used with a daily TF. Next step is to created it in TradingView and automate stock trading.

:rocket:
Last edited by dap711 on Sun Sep 24, 2023 7:05 pm, edited 1 time in total.
TransparentT
Trader
Posts: 57
Joined: Fri Oct 22, 2021 11:42 pm

Re: Dwain's SMACD indicator

Post by TransparentT »

After communicating with dap711 in private messages and getting permission from tomele, I wanted to post the updated version of SMACD here for both Empty4 and Empty5.

I had mrtools, a prolific coder from the Forex-Station forum, take the initial mq5 file provided by dap711 and have the indicator ported into Empty4 (mq4). mrtools was also kind enough to create an updated Empty5 version AND provide the source code for both files.

So here they are in all their glory. Test them out, have fun, and let's see where they take us!

! Smacd.mq4

! Smacd.mq5

PS - I've consulted with mrtools for multiple indicator requests and he is a very good coder. I hope I'm not going too far with my plug but it's only fair I give him credit for his efforts.

I'll have a much more detailed write-up of this indicator on Forex-Station and will post it here when I am done.

EDIT: Here is the write-up I promised.
You do not have the required permissions to view the files attached to this post.
Last edited by TransparentT on Sun Sep 24, 2023 7:40 pm, edited 1 time in total.
User avatar
dap711
Trader
Posts: 205
Joined: Mon Aug 08, 2016 8:27 pm
Location: Oklahoma City, Oklahoma USA

Re: Dwain's SMACD indicator

Post by dap711 »

TransparentT wrote: Sun Sep 24, 2023 6:45 pm After communicating with dap711 in private messages and getting permission from tomele, I wanted to post the updated version of SMACD here for both Empty4 and Empty5.

I had mrtools, a prolific coder from the Forex-Station forum, take the initial mq5 file provided by dap711 and have the indicator ported into Empty4 (mq4). mrtools was also kind enough to create an updated Empty5 version AND provide the source code for both files.

So here they are in all their glory. Test them out, have fun, and let's see where they take us!


! Smacd.mq4



! Smacd.mq5


PS - I've consulted with mrtools for multiple indicator requests and he is a very good coder. I hope I'm not going too far with my plug but it's only fair I give him credit for his efforts.

I'll have a much more detailed write-up of this indicator on Forex-Station and will post it here when I am done.

Respect to mrtools! Nicely done!
User avatar
dap711
Trader
Posts: 205
Joined: Mon Aug 08, 2016 8:27 pm
Location: Oklahoma City, Oklahoma USA

Re: Dwain's SMACD indicator

Post by dap711 »

JohnnyRy wrote: Thu Sep 21, 2023 7:44 pm Please find below, the mq5 source code of Mladen's Stochastic Momentum Index indicator freely published in 2018 (https://www.mql5.com/en/code/19986). For a comparison with Dwain's indicator, please see the chart pic below. Note that I did not change any indicator colors prior to uploading the pic.


EURUSDH1.png
I think I missed something .. if you look at when SMI and SMACD agree (same color) .. it appears to be a 100% win rate .. just saying ..
User avatar
dap711
Trader
Posts: 205
Joined: Mon Aug 08, 2016 8:27 pm
Location: Oklahoma City, Oklahoma USA

Re: Dwain's SMACD indicator

Post by dap711 »

All,

For the past year, I've been fighting spinal stenosis w/sciatica. It's the absolute worse pain I've felt in my life. So, I'm not able to get on as much or even think about programming. But, if there is any source code to any of my EA's or indicators (MT5) you would like, just drop a reply and I'll see if I can dig it up.
TransparentT
Trader
Posts: 57
Joined: Fri Oct 22, 2021 11:42 pm

Re: Dwain's SMACD indicator

Post by TransparentT »

dap711 wrote: Mon Sep 25, 2023 1:38 am All,

For the past year, I've been fighting spinal stenosis w/sciatica. It's the absolute worse pain I've felt in my life. So, I'm not able to get on as much or even think about programming. But, if there is any source code to any of my EA's or indicators (MT5) you would like, just drop a reply and I'll see if I can dig it up.

Very unfortunate news. :cry:

I am grateful you were able to help me out with your SMACD indicator. Please let me know if there's anything I can do in return to help improve your current circumstances.
Graceofgod
Posts: 8
Joined: Wed Dec 02, 2015 2:25 pm

Re: Dwain's SMACD indicator

Post by Graceofgod »

dap711 wrote: Mon Sep 25, 2023 1:38 am All,

For the past year, I've been fighting spinal stenosis w/sciatica. It's the absolute worse pain I've felt in my life. So, I'm not able to get on as much or even think about programming. But, if there is any source code to any of my EA's or indicators (MT5) you would like, just drop a reply and I'll see if I can dig it up.
Dap711, I am truly sorry to hear about your illness...It touched me so much because my father is suffering from the same illness and I have took care of him for about 10 years now, and I know the kind of pains he goes through that is why I feel for you. Be good and get better.

Thank you so much for the SMACD indicator. I very much appreciate it, and I want to know if its possible to get it in the MTF. Thanks once again and God bless you.
User avatar
dap711
Trader
Posts: 205
Joined: Mon Aug 08, 2016 8:27 pm
Location: Oklahoma City, Oklahoma USA

Re: Dwain's SMACD indicator

Post by dap711 »

Thank you all for the warm wishes .. I really appreciate it and it saddens my heart to know others suffer the same. If you didn't know, U.S. has severely cracked down on opiate use, and doctors are afraid to prescribe them. Lucky my primary doctor knew me very well and didn't hesitate to give them to me. He was a God send. I'm scheduled for a couple more surgeries next month and hopefully I'll be able to get back to a regular day, pain free.
Post Reply

Return to “MQ5 Nuggets for the Dauntless”