Making a Bar's High/Low Values Stand Out

msualexander

New member
Hey all,

Thanks for taking a look at my question.

I've been dabbling in day trading for about nine months now and I often will base an entry price or stop based upon the high or low of a particular bar displayed in the chart. A lot of the time I'm doing this very quickly and on occasion I've looked at the wrong number causing me to enter a bad entry/stop.

I'm looking to make a bar's high and low values stand out to me when I'm glancing at my chart in the "Trade" tab. I initially was hoping to highlight the fields to right of the ticker so that the "High" field is green and the "Low" field is red. I've been told that's not possible by another TOS user, but I want to check with the forum to confirm.

Alternatively (or better yet, actually), I'd like to use to display the high and low (in green/red) within the chart itself.

I've watched several YouTube videos regarding the "addlabel" command, but I haven't found anything that allows me to move my curser over a bar and display the high and low for that particular bar.

I have not used ThinkScript aside from following along on YouTube videos.

I've attached a screenshot where I circled the fields that I'm referring to in red.

Any suggestions?

Thanks in advance for your time.

https%3A//i.imgur.com/1NDVc0w.jpg[/img]']
1NDVc0w.jpg
 
Welcome to the Forum @msualexander.
Thinkscript does not provide us any means of writing code that will directly interact with the Thinkorswim hard-coded parts that you see on the screen or any of its modules... Custom modifications are beyond the scope of the capabilities of the platform...
 
ThinkScript can not detect mouse input in this manner, unfortunately. If you plot the high and low of each bar, the plot will appear in the title bar, just as VWAP does in your example, and you will be at least be able to change the color. As for labels, the particular labels shown must be defined by code, they can not be change by simply moving your mouse around. You could possibly use the values above and values below painting strategy, and print the high and low over and under each bar. Though, this would gunk up your chart with text.
 
Hey all,

Thanks for taking a look at my question.

I've been dabbling in day trading for about nine months now and I often will base an entry price or stop based upon the high or low of a particular bar displayed in the chart. A lot of the time I'm doing this very quickly and on occasion I've looked at the wrong number causing me to enter a bad entry/stop.

I'm looking to make a bar's high and low values stand out to me when I'm glancing at my chart in the "Trade" tab. I initially was hoping to highlight the fields to right of the ticker so that the "High" field is green and the "Low" field is red. I've been told that's not possible by another TOS user, but I want to check with the forum to confirm.

Alternatively (or better yet, actually), I'd like to use to display the high and low (in green/red) within the chart itself.

I've watched several YouTube videos regarding the "addlabel" command, but I haven't found anything that allows me to move my curser over a bar and display the high and low for that particular bar.

I have not used ThinkScript aside from following along on YouTube videos.

I've attached a screenshot where I circled the fields that I'm referring to in red.

Any suggestions?

Thanks in advance for your time.

https%3A//i.imgur.com/1NDVc0w.jpg[/img]']
1NDVc0w.jpg
You could make a new study and make sure it plots first. In the picture below, it just contains a short name, HL, and 2 plots for high and low. You can choose whatever colors you want.
 
What @SleepyZ suggested is one of the ideas I had also.

Alternatively, depending on if the candles you care about can be identified reliably via code then the high and low prices could be displayed a few different ways:
  • values directly above and below those candles
  • chart bubbles at or near those candles
  • label in the top left corner of the chart or lower study
For instance, one of the day trading strategies I used to use for entries was based on inside bars, with entry and stop at high+.01 and low-.01. Inside bars are easy to identify with code so I had a label at the top of my chart that told me, for the most recent inside bar, the prices above and below, the stop range and the number of shares to trade based on my desired risk.
 

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