Repaints Trend Reversal for ThinkorSwim

Repaints
Status
Not open for further replies.
How is the stop loss calculated on this code, like which lines of code tell the program to set a stop loss.

Thanks
 

New Indicator: Buy the Dip

Check out our Buy the Dip indicator and see how it can help you find profitable swing trading ideas. Scanner, watchlist columns, and add-ons are included.

Download the indicator

@tem2005 Hi, thanks for the interest. I still have these running off to the side on smaller charts. One is a one minute chart, the other is a five minute chart. I've become a little addicted to this, because they are surprisingly accurate for generating entry signals. The one minute signal is a little earlier than I would use, and it repaints. The five minute is great for confirmation, as I would already be in a trade. I would be in because I think there is a few points to be gained based on my own system and price formations. Also, as has been discussed by better system traders than me on this board, the caveat is that they need to be combined with other indicators for confirmation. Just like many indicators used in isolation, they have difficulty in choppy markets. So, using an ADX, for example, or a momentum based indicator would tell you if you are in a period of sideways chop, and thus avoid the entries. I would be curious if someone actually uses this indicator faithfully to generate trades and what the results are. My observation is that the signals on the one minute are right much more than they are wrong. You can't back test it because it does repaint, although if you do take a trade based on the signal, and then it recalcs and repaints to turn off, the actual successful signal is usually soon after. So if you do try to take trades based on the signal , you may want to wait a candle or two before entering. As I said, I'm usually in a trade within a few candles of this signal. One final general point, lately, the NQ, for example, seems to just reverse and take off for 100, 200 points, which is 10s of thousands of profits trading multiple mini contracts. That is not typical. And the market being up 200-300 points overnight is also not typical. These huge moves and sharp reversals are evidence of the volatile nature of politics, the economy, the pandemic, and people chasing yield and rotating funds. And this volatility can last for a while. So any system needs to adapt. In my experience, the successful system(s) will deal with the four market states. Trending/Volatile, Trending/Non-volatile, Range-bound/ Volatile, and Range-bound/Non-volatile. Good luck :)
 
@tem2005 Hi, thanks for the interest. I still have these running off to the side on smaller charts. One is a one minute chart, the other is a five minute chart. I've become a little addicted to this, because they are surprisingly accurate for generating entry signals. The one minute signal is a little earlier than I would use, and it repaints. The five minute is great for confirmation, as I would already be in a trade. I would be in because I think there is a few points to be gained based on my own system and price formations. Also, as has been discussed by better system traders than me on this board, the caveat is that they need to be combined with other indicators for confirmation. Just like many indicators used in isolation, they have difficulty in choppy markets. So, using an ADX, for example, or a momentum based indicator would tell you if you are in a period of sideways chop, and thus avoid the entries. I would be curious if someone actually uses this indicator faithfully to generate trades and what the results are. My observation is that the signals on the one minute are right much more than they are wrong. You can't back test it because it does repaint, although if you do take a trade based on the signal, and then it recalcs and repaints to turn off, the actual successful signal is usually soon after. So if you do try to take trades based on the signal , you may want to wait a candle or two before entering. As I said, I'm usually in a trade within a few candles of this signal. One final general point, lately, the NQ, for example, seems to just reverse and take off for 100, 200 points, which is 10s of thousands of profits trading multiple mini contracts. That is not typical. And the market being up 200-300 points overnight is also not typical. These huge moves and sharp reversals are evidence of the volatile nature of politics, the economy, the pandemic, and people chasing yield and rotating funds. And this volatility can last for a while. So any system needs to adapt. In my experience, the successful system(s) will deal with the four market states. Trending/Volatile, Trending/Non-volatile, Range-bound/ Volatile, and Range-bound/Non-volatile. Good luck :)
Thank you very much for the much rich response. I appreciate it. Have you tried it on hourly daily ..etc?
 
I only use it on the 1 & 5 minute charts for alerts to entry possibilities. There are longer term position traders and investors here that may use it on longer time frames for equities, but I think most are swing or day traders involved in options, futures and ETFs. Trading the NQs in today's environment, it would be financial suicide to hold multiple contracts for hours or days.
 
@tem2005 You are probably right. I never even looked at it on a time frame longer than 5 minutes. I think that if I would trade with weeks / months / years as my timeframe, I would highly consider what is going on in the general economy for my overview, then try to find very oversold instruments for a placement. To be honest, I usually put 6-7 figures into a S&P 500 fund as soon as the SPX has a decline of 50%, and scale in more as it declines further. I also will put more money in as it rallies 30% or more (based on how big the retracements are during the decline). The last time I did this was in 2009-2010. Full disclosure, I just closed out all of my S&P holdings and went to cash. I also closed out all of my bond portfolio. I may miss more of a rally, but at my age I really don't feel like suffering 30-50% draw downs on the sums of money I put in my "core" holdings. I definitely would not be initiating long term core holdings at this point in the cycle. I'm not sure if I will do this strategy for myself anymore, but I will do it for my teenage child in her "core" holdings. My strategy only works if your time horizon is 5 - 10 years. I know, some will say that this strategy could really backfire, but I have done it in three bear markets now, and it gets painful at times, but the payoffs are spectacular.
 
@tem2005 The signals from the 1 and 5 minute charts with this indicator seem to be pretty good, but they need to be filtered out with other indicators (such as the ADX) to make sure you are not getting signals during a congestion period, which would cause many whipsaws. Try keeping this one running while you are looking at your other "base" charts to see if they are coming when you would otherwise be entering trades. If they do, and seem reliable, you've got a money maker. But do watch them for a while to see if they are early, late or of poor quality.
 
Last edited:
This indicator looks great in back test, however in real time not so much, i suggest, you use it with another indicator for confirmation
 
I couldn't get the scanner to work, but this reversal indicator works great if you use it in conjunction with the "Buy the Dip" indicator you made. The BTD often will hit before this does, but it will be outside your criteria for BTD, but not for this indicator. Usually, I will see a BTD indicator 4-8 bars before the reversal indicator shows up on a daily chart. I also recommend before buying look at the stock behavior in previous "reversals" and see how well it has behaved in previous cycles. You can also do a replay of it and see if it repainted during any of the previous reversals. I had a 17.9% return on CZZ, a 23.9% return on IPI, 9.5% on IVC, and 21.3% on USX. Both of my current trades are also doing well with a 2.3% and 1.9% return since Friday. My target on one is at least 102 (I bought at 90.50) and the other is $30 (I bought it at 25.74). It would be great to see how this scanner works.
 
@FreefallJM03 Thanks for sharing your experience. How did you set up your scanner? Can you post a screenshot of it?
When I pull up the scan, it asks for things like "offset, plot, etc, then to the right it shows a menu of options for 'crosses' 'crosses below' 'crosses above' I tried to paste a screen shot, but it wouldn't let me.
 
I couldn't get the scanner to work, but this reversal indicator works great if you use it in conjunction with the "Buy the Dip" indicator you made. The BTD often will hit before this does, but it will be outside your criteria for BTD, but not for this indicator. Usually, I will see a BTD indicator 4-8 bars before the reversal indicator shows up on a daily chart. I also recommend before buying look at the stock behavior in previous "reversals" and see how well it has behaved in previous cycles. You can also do a replay of it and see if it repainted during any of the previous reversals. I had a 17.9% return on CZZ, a 23.9% return on IPI, 9.5% on IVC, and 21.3% on USX. Both of my current trades are also doing well with a 2.3% and 1.9% return since Friday. My target on one is at least 102 (I bought at 90.50) and the other is $30 (I bought it at 25.74). It would be great to see how this scanner works.
Great work. Do you notice any delay in getting daily chart signals to appear?
 
Great work. Do you notice any delay in getting daily chart signals to appear?
The signals appear fine on the daily chart. Another thing to take note of is if it repaints, how many bars to the right of the original signal was the repaint? On one of mine it did repaint, but three bars later it showed the signal again for a reversal ending the downtrend (green signal). I kept the stock during that period and it advanced upward to give me a 20% plus profit. Most of the time I've seen it repaint, the repaint is within 4 bars. Again, you have to look at the stock behavior and price action during previous turns. Thus far it has worked fine for me using this methodology. I check the chart after close, not during the day for the daily close. Then, I set up for the entry on the next day which is what I've done with my current trade of MAXR which is currently up about 6.5% since entering the trade on Tuesday last week (17 NOV 20). It does have some wild fluctuations though. Today, it tested 9 EMA and thus far has been bouncing back and forth under and over VWAP. I believe it will at least reach $28.00, but has potential to hit $30.00 by 7 DEC 20. With these trades you have to be able to endure some of the drawdowns, but others take off like a rocket like USX, IPI, and some others I've traded. Some of the picks look like stinkers, but if you follow the stock behavior of previous upward trends you see similar behavior. IVC was one of those, but I still turned a 9.5% profit before selling it. I could've held that one longer for a higher profit, I sold it at 8.5 and it is at 9.13 now, which I suspected it would hit 9.00-9.50.
 
Status
Not open for further replies.

Volatility Trading Range

VTR is a momentum indicator that shows if a stock is overbought or oversold based on its Weekly and Monthly average volatility trading range.

Download the indicator

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
506 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