MACD Divergence Indicator for ThinkorSwim

I loaded up a watchlist using the macd, and ma cross 5/10/20 then ran a scan for divergence and saved the scan as such. I load up the divergence scan-and look for two lights to agree either green or red. It seems quite effective and matches the macd divergence chart. Note: the divergence both red and green are effective as well
 
This is an amazing indicator I had a chance to use it last two days for 5/5, plus 70% and counting.
 
hi there, please, Where do I find the study called "MACD_Div_Upper" that is used in the video (Jul 26, 2019) to create the custom Watchlists?
 
iZgnOZs.png


It just shows that blue line at the bottom?
I really want to start watching out for hidden divergences though.
 
@ezrollin Create a plain new chart and add the indicator again. See if the error is there or is it because of something else.
 
Its still there. I think theres just something wrong with my system and I should just reset the whole damn thing
 
@ezrollin I see the issue now. Go to that specific indicator's setting and then untick "Show Plot" for the Diff option.

XR5GEyZ.png
 
@ezrollin I see the issue now. Go to that specific indicator's setting and then untick "Show Plot" for the Diff option.

XR5GEyZ.png
Hi @BenTen This fixed one of the problems I was seeing, thank you but I still do not seem to get any arrows in any direction generated.
I am mostly looking at lower time frames (1m, 5m, 15m etc) and FX pairs - should I be seeing results at these timeframes?
I've not touched any of the other settings at all. Thank you
 
@mrmac Are you seeing any signals on the higher timeframe?
@BenTen - should have tried this earlier, I changed the MACD settings to 20, 50, 26 just to see if I could see anything and I now see some pink and green on the 15min charts. I'll need to research more appropriate settings for scalping lower timeframes.
 
i too tried the divergence with IWM. It works quite well and i was able to simulate the buy/sell point on paper trade. I've actually entered a buy order at the last 5 minutes as it shows a double bottom. looking for another nice gap up tomorrow.
hi can you please tell me what is meaing of IWM thaank you!
 
S632XYz.png


Just trying to create a scan that finds higher MACD momentum trends.
Very simple but havent spent time looking into it and dont know what I'm doing! lol
Can I get some help?
Thanks!
Code:
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;
plot Value = MovingAverage(averageType, close, fastLength) - MovingAverage(averageType, close, slowLength);
plot Avg = MovingAverage(averageType, Value, MACDLength);
plot Diff = Value - Avg;

def highermomentum = 1;
def lowermomentum = 2;

plot Momentum = if Diff < Diff[5] < Diff[10] < Diff[30] < Diff[50] < Diff[100] then highermomentum else LowerMomentum;
 
Last edited:
This is brilliant but more for finding support areas. Not sure how it has anything to do with MACD divergence from what I see on my screen
 
Last edited:
@murkr I'm not. I've concluded that divergences should be spot manually.

@BenTen hello. Im seeing what I think are false positives on the MACD_divergence_pivots. Does this code read divergence in Value line as well as Histogram.

Im looking for a divergence indicator for day trading. And notice you commented about manual spotting of divergence. Why do you say that?
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
226 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top