A label illustrating $/min (dollars traded per minute)

azakusa

Member
Hello everyone.

I typically daytrade equities (10$ and under) on the one minute chart. An important part of this is calculating dollars traded per minute in order to determine position sizing and stability of the action.

For instance a 0.50/share stock trading at steady $200,000 minutes is unusually high volume for that price and worth taking a shot at. Whereas if the same stock is only trading $60,000 minutes I will think twice about it and watch for more order flow. (Or if its trading million dollar minutes, betting the house).

In a nutshell I am looking to create a script for a label that shows $/min or (dollars) traded per minute. This way I wont have to calculate it on the fly all the time.

My usual (by eye) calculation is to take the avg vols per minute and multiply it by the current price. However due to lack of programming I have not a clue how to create the code for this. When it comes to ThinkScript I am more of a hack cut and paster, capable of only the simpler things. You know, the high sense low IQ type. ;-)

That said, is there a post or thread that anyone can point me to which can give me some ideas how where to start with the thinkscript for such an indicator? I have looked through many of them and cant find anything relevant.

Lastly, as with the previous 2 indicators you all have helped me with, I am deeply indebted -because they really are amazing pieces of code. Hoping to grind out another super useful one.

Best.
 
Solution
I think I found it!

# Dollar Volume Indicator
# ©2020
# Evan Evans
# evanevans333 (at) gmail

plot DollarVolume = close * volume;
DollarVolume.AssignValueColor(if close>close[1] then color.uptick else color.downtick);

# DollarVolume

AddLabel(yes, AsDollars(DollarVolume), Color.WHITE);
I think I found it!

# Dollar Volume Indicator
# ©2020
# Evan Evans
# evanevans333 (at) gmail

plot DollarVolume = close * volume;
DollarVolume.AssignValueColor(if close>close[1] then color.uptick else color.downtick);

# DollarVolume

AddLabel(yes, AsDollars(DollarVolume), Color.WHITE);
 
Solution

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