MACD Stochastics scan


Category:
0
0

the MACD Stochastics scanner, I tried to flip the code to search for short trades but had no luck. What is it in the code I need to switch opposite?  Can you help with some tips to do so? Thanks for all your help and great resources.

RESOLVED
Marked as spam
Posted by (Questions: 4, Answers: 1)
Asked on February 18, 2017 6:12 pm
405 views
1
Private answer

To be sure we have a clear context, you are speaking about the code demonstrated in this video: https://www.hahn-tech.com/thinkorswim-custom-scan-stochastic-macd/

Yes?

If that is the case, then these two statements will allow you to switch between a momentum shift in the oversold range and a momentum shift in the overbought range.

plot scan = (SlowK[1] < SlowD[1]) and (SlowK > SlowD) and (lowest(SlowK[1],3) < 20) and (Diff[1] > Diff[2]);
#plot scan = (SlowK[1] > SlowD[1]) and (SlowK < SlowD) and (highest(SlowK[1],2) > 50) and (Diff[1] < Diff[2]);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on February 18, 2017 6:26 pm