i did not think this was possible

german burrito

New member
how did this guy do this?
xWznUW1.png
 
Solution
i don't think the above is actually coded - i checked his other Twitter posts; he is adding pie-charts and other graphical presentations on top of TOS screenshots ..
I've contacted TOS and they confirmed they cannot differentiate between buy/sell volume in the volume-profile study. i checked other sites as well. it doesn't appear that TOS is intrinsically capable of providing coders with this feature. Other charting solutions are easily offering this feature!

i think it's immensely useful to identify where bears vs bulls are with respect to price levels? dont you think so @barbaros ?
Check this out https://b4indicators.com/threads/option-volume.98/

barbaros

Administrator
Staff member
This person spent a lot of time with the upper chart volume profile of the specific option price volumes. You can probably active this with AddCloud() with a lot of math to calculate start and end coordinates.

You can get the ATM options with GetATMOption(). This function accepts CALL or PUT as a parameter. Then use volume() function to retrieve each option's volume.

Example of getting the CALL option of the symbol for a specific expiration:
GetATMOption(GetUnderlyingSymbol(), expirationDate, OptionClass.CALL)

Then, you can retrieve the volume of it with
volume(GetATMOption(GetUnderlyingSymbol(), expirationDate, OptionClass.CALL))

If you do this at each bar, I wonder if you can keep building it up in an array of volume values. And, then calculate x,y of the cloud to paint it as bar chart.

I wonder how this would be useful during the trade time. It may be a nice visual after the fact, but would this influence your decision as it will be drawing it as put or calls are executed in volume. I would love it if getting open interest shown like this on the chart instead.
 

german burrito

New member
This person spent a lot of time with the upper chart volume profile of the specific option price volumes. You can probably active this with AddCloud() with a lot of math to calculate start and end coordinates.

You can get the ATM options with GetATMOption(). This function accepts CALL or PUT as a parameter. Then use volume() function to retrieve each option's volume.

Example of getting the CALL option of the symbol for a specific expiration:
GetATMOption(GetUnderlyingSymbol(), expirationDate, OptionClass.CALL)

Then, you can retrieve the volume of it with
volume(GetATMOption(GetUnderlyingSymbol(), expirationDate, OptionClass.CALL))

If you do this at each bar, I wonder if you can keep building it up in an array of volume values. And, then calculate x,y of the cloud to paint it as bar chart.

I wonder how this would be useful during the trade time. It may be a nice visual after the fact, but would this influence your decision as it will be drawing it as put or calls are executed in volume. I would love it if getting open interest shown like this on the chart instead.
thank you so much @barbaros this is beyond my coding skills, i might take a stab at it to get better at coding.
 

anasmatar

New member
i don't think the above is actually coded - i checked his other Twitter posts; he is adding pie-charts and other graphical presentations on top of TOS screenshots ..
I've contacted TOS and they confirmed they cannot differentiate between buy/sell volume in the volume-profile study. i checked other sites as well. it doesn't appear that TOS is intrinsically capable of providing coders with this feature. Other charting solutions are easily offering this feature!

i think it's immensely useful to identify where bears vs bulls are with respect to price levels? dont you think so @barbaros ?
 

barbaros

Administrator
Staff member
i don't think the above is actually coded - i checked his other Twitter posts; he is adding pie-charts and other graphical presentations on top of TOS screenshots ..
I've contacted TOS and they confirmed they cannot differentiate between buy/sell volume in the volume-profile study. i checked other sites as well. it doesn't appear that TOS is intrinsically capable of providing coders with this feature. Other charting solutions are easily offering this feature!

i think it's immensely useful to identify where bears vs bulls are with respect to price levels? dont you think so @barbaros ?
Check this out https://b4indicators.com/threads/option-volume.98/
 
Solution

anasmatar

New member
Thanks, @barbaros however this doesn't address the main objective of displaying the buy vs sell volume in the volume-shelf (volume by price range)?
I wonder if you can influence TOS to make it feasible on their next release?
 
Top