Archives: RSM Indicator for ThinkorSwim

Status
Not open for further replies.
I am still studying it but I suggest you read the Power X Program to get a full understanding of it. I have been using it for the ES with3 minute next to a screen that has 6tic Range Bar Heicken Ashi with Woodie's CCI below it, so far it has been good.
 
here is a link showing two different tickers one I actually got to show the target labels now (BAC) and one don't show the target label at all (UMC)
You still seeing NA for UMC, I tried this before and after market of UMC in multiple timeframes, for the frames the trend is in progress, I have the target labels.

Honestly, I think You just lost the trend right there in the DayFrame, try use White as a color instead of DARK_GRAY, a bit easier to spot the candle, when we loose the trend. Look for the following Code Block in the upper indicator and replace it with the following, or just simply replace DARK_GRAY to WHITE.

Code:
################################################################
##########         Assign Price Color                  #########
################################################################
AssignPriceColor(if paintBars and RSI >= 50 and SlowK >= 50 and Value > Avg then Color.GREEN else if paintBars and RSI < 50 and SlowK < 50 and Value < Avg then Color.RED else if paintBars then Color.WHITE else Color.CURRENT);

-Surya
 
Last edited:
What Ticker are you working with and what timeframe?

L63uG7C.png

Is this last graph "FloatingPL" the same graph like in the PowerX software to check if a stock would make money with the strategy? I am still searching for a backtesting option in TOS.
 
Is this last graph "FloatingPL" the same graph like in the PowerX software to check if a stock would make money with the strategy? I am still searching for a backtesting option in TOS.
Not sure what Power-X Software will look like, But floating PL is to get an idea of what the profit would be, if you were to use a said strategy in TOS.

-S
 
Not sure what Power-X Software will look like, But floating PL is to get an idea of what the profit would be, if you were to use a said strategy in TOS.

-S
I see...so I tried to copy/paste the code for the Strategy (from post #1) into TOS but I can't see any trades happening in the Upper Field. All I can see are arrows but not the entries and exits. Any hints on how to make that happen would be appreciated. Thanks!
 
Last edited:
I hope @cos251 can look into the RSI / Stoch value issue. I think Markus explains that both values have to be above 50 not 50 at all. I tried to take out the = symbols but with no change in the chart. Maybe somebody else can shed some light on this issue.

@RickAns Thank you for verifying the Profit Target. That makes it pretty easy to see. Do we know which ADR was used to determine the PT? Also, I can't see an ADR value for any given day anywhere in the chart section. Any idea where I can turn it on or add some code to make it visible?

Thank you!
This was adjusted in latest code.
See first post
https://usethinkscript.com/threads/rsm-indicator-for-thinkorswim.5407/
 
Just checked and it looks like I may need to adjust the code some to display the ATR/ADR and Indicator Labels correctly on the weekly chart. I get that squared away as well.
 
So I was digging a little deeper since TOS still doesn't match up with the original trading method published by Rockwell on TV.

First, I needed to change the average types to match the values TV is showing:

RSI = WILDERS
Stoch = SIMPLE
MACD = EXPONENTIAL

After that I compared HAL in TOS and TV. When you look at the 02/11/2021 you can see that TOS shows a black bar while TV shows a green bar. All three values are in the green and there should be no reason TOS should show the bar in grey.

 
Last edited:
Yes, I create a new Strategy, paste the code from the first post under Strategy and save it. Does the strategy need a specific name? I called it RSMStrategy.

alright, click back on studies, right there in the same screen as your Screenshot and search for Floating PL, this would be a Lower Study, add it. Your Screen should look like my screenshot. with P/L details. Also add the RSM Upper Study, if you want to see all the signals where the trade decisions are taken.

Lastly, Just noticed, the trades appears to be showing up in lower time frames not 1Y 1D. @cos251 or I will look in to this. Might be the strategy not to hold overnight.

-Surya
 
alright, click back on studies, right there in the same screen as your Screenshot and search for Floating PL, this would be a Lower Study, add it. Your Screen should look like my screenshot. with P/L details. Also add the RSM Upper Study, if you want to see all the signals where the trade decisions are taken.

Lastly, Just noticed, the trades appears to be showing up in lower time frames not 1Y 1D. @cos251 or I will look in to this. Might be the strategy not to hold overnight.

-Surya
Just looked at the code to refresh myself. @SuryaKiranC you are correct, trades are set for RTH only. We'll have to adjust and provide an option for overnight trades.
 
alright, click back on studies, right there in the same screen as your Screenshot and search for Floating PL, this would be a Lower Study, add it. Your Screen should look like my screenshot. with P/L details. Also add the RSM Upper Study, if you want to see all the signals where the trade decisions are taken.

Lastly, Just noticed, the trades appears to be showing up in lower time frames not 1Y 1D. @cos251 or I will look in to this. Might be the strategy not to hold overnight.

-Surya
Yes, that was the problem. I always look at the 1Y 1D chart (since this is what Markus does) and the Study doesn't work that way. Thanks you both for looking into this.
 
Just looked at the code to refresh myself. @SuryaKiranC you are correct, trades are set for RTH only. We'll have to adjust and provide an option for overnight trades.
Overnight and Swing Should be an option if the trend is not lost, I will work with you, that should give a more closer and realistic P/L outlook.
 
Status
Not open for further replies.

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
294 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