Day dollar volume chart label


Category:
0
0

Hello Hahn,

 

Is there a way in thinkorswim not to just see volume but number of trades that have happened on the day or the amount of volume in dollars?

Best

Marked as spam
Posted by (Questions: 22, Answers: 63)
Asked on November 2, 2018 6:06 pm
1198 views
0

already been asked.

( at November 2, 2018 6:29 pm)
0
Thank you, just did a search and couldn’t find the exact thread for trade count on the day Best
( at November 3, 2018 7:15 am)
0
Private answer

After hashing out the details in the comment section of this previous post…. https://www.hahn-tech.com/ans/day-dollar-volume-scanner/

…we have the following code. Basically this is set to work on any intraday time frame. The concept being the lower the time frame used, the more accurate the results.

Here is the code:

def volumeDollars = Round(volume * hlc3, 0);
def newDay = GetDay() <> GetDay()[1];
rec todaysVolumeDollars = if newDay then volumeDollars else todaysVolumeDollars[1] + volumeDollars;
AddLabel(yes, Concat("Total Vol Dollars: ", todaysVolumeDollars), Color.WHITE);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 3, 2018 3:53 pm
0

WOW, I must say this solution is brilliant and I highly recommend every trader to use this as it provides a true indication of liquidity. Interactive Brokers trader workstation has this feature built in and I crossed referenced the results with that other platform and I have to say. The results are extremely similar.

I will be dropping a donation.

Thank you for being a blessing!!!

( at November 3, 2018 5:02 pm)
0
Please Hahn, please can you provide the same code as a scan condition please. The minium value to filter out results should be 1million dollars of volume Best
( at November 4, 2018 6:23 am)
0

A scan would just be this:
plot scan = todaysVolumeDollars > ???;

( at November 4, 2018 7:28 am)
0
Hello dear Hahn The code above does not work for me in the scanner. I'm trying to create a volume code in dollars over $ 25,000 on stocks priced up to $ 0.05 can you help me with that? Thanks
( at November 1, 2021 3:27 am)
0
The code included in the solution above is not a scanner. Which is why it does not work for you in the scanner. If you want to scan for volume over 25k and stocks priced up to $0.05 you don't need to write any code at all. Those are built-in filters included on the platform.
( at November 1, 2021 8:15 am)
0
thanks a lot for the answer What I am looking for is to scan volume in dollars not in stocks and this I did not find in the existing options Thanks
( at November 1, 2021 8:27 am)
0
Hello dear hahn I'm still looking and have not found a solution how to scan stocks by volume in dollars Do you have any idea? Thanks
( at November 3, 2021 2:17 am)
0
def volumeDollars = Round(volume * hlc3, 0); plot scan = volumeDollars > 1000;
( at November 3, 2021 8:03 am)
0
Thank you very much dear Hahn You helped me a lot and I really appreciate it One last question how do I do for example between $ 1000 and $ 2000? What you wrote is over $ 1000 right? And again thank you very much
( at November 3, 2021 9:09 am)
0
Simplest way is to just add a second Study Filter to the scan and set the second one to less than. They will be combined to work as one filter criteria so long as you add them to the condition group named "All of the following".
( at November 3, 2021 1:47 pm)
0
I understood thank you very much the code you entered is over $ 1000 What do I need to change for it to be less than $ 1000 and again thank you very much dear man
( at November 4, 2021 10:43 am)
0
change the greater than sign to a less than sign. I'm sorry I cannot provide any more assistance on this matter.
( at November 4, 2021 4:05 pm)