MTF MACD SCAN


Category:
0
0

I’m scanning using the directions here:

 

https://www.hahn-tech.com/thinkorswim-mtf-macd-scan/

 

My question is this, it tells you to use the code up top for the 2 longer term timeframes and that produces a scan for a macd curling UP.  The lower portion of code it tells you to use for your short timeframe and it has you scan for a MACD that is crossing down.

 

So when I scan using Daily, 1 hour, and 15m as the timeframes, I get Daily and 1 hour curling up and 15m curling down.  Why is that?  Why dont I want all 3 MACDs curling up?

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on June 11, 2020 1:39 pm
150 views
0
Private answer

Each of the sections of code contains two signals, one for each direction. Simply move the "#" symbol to turn off the one you don't want and turn on the one you do.

Here are the two signals from the top section of code:

plot scan = Diff[1] > Diff[2];
# OR
#plot scan = Diff[1] < Diff[2];

And here are the two signals from the bottom section of the code:

plot scan = Diff[1] <= Diff[2];
# OR
#plot scan = Diff[1] >= Diff[2];

As you can see if you do not make any changes the signals for the two are opposite directions. So simply move the "#" symbol to make sure that both of them are in the same direction.

After I submit this solution I will update the code on that blog post so that the default signals are in the same direction for both.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on June 11, 2020 2:38 pm