Indicator with Volume Profile, POC and Value area

dersch6221992

New member
Hey guys long time lurker here and looking for some help... I have a few different things i wanted to see if someone can help me with.
I have two different scripts for volume profiles with POC/ value areas... i have a few issues with these scripts though and the main issues is that they are so data hungry that my /ES chart doesnt even really load correctly...

So this is what i am hoping someone can do for me (i just am not technologically inclined enough to do this).

I want an indicator where i can see the value area with the the numbers displayed on the right axis. I would also want the POC to do the same...

i honestly dont care about the VP that much so i dont wanna see the bars on the chart (i have never found an indicator where i can turn this off oddly).

I will also be using this on /ES and a 15min chart.

below are two indicators i have for VP/ POC/ VA

http://tos.mx/xYSSBdf

https://tos.mx/193sRSW
 
Hey guys long time lurker here and looking for some help... I have a few different things i wanted to see if someone can help me with.
I have two different scripts for volume profiles with POC/ value areas... i have a few issues with these scripts though and the main issues is that they are so data hungry that my /ES chart doesnt even really load correctly...

So this is what i am hoping someone can do for me (i just am not technologically inclined enough to do this).

I want an indicator where i can see the value area with the the numbers displayed on the right axis. I would also want the POC to do the same...

i honestly dont care about the VP that much so i dont wanna see the bars on the chart (i have never found an indicator where i can turn this off oddly).

I will also be using this on /ES and a 15min chart.

below are two indicators i have for VP/ POC/ VA

http://tos.mx/xYSSBdf

https://tos.mx/193sRSW

The 1st link is one that I posted and it was noted that it is very resource intensive.

The following may provide what you want. You can also choose at the input screen to hide the lines.

Screenshot 2023-11-16 100948.png
Code:
input daysback = 0;
input hidelines = no;
input showontodayonly = yes;
def ymd = GetYYYYMMDD();
def candles = !IsNaN(close);
def capture = candles and ymd != ymd[1];
def dayCount = CompoundValue(1, if capture then dayCount[1] + 1 else dayCount[1], 0);
def thisDay = (HighestAll(dayCount) - dayCount) ;

def poc = if thisDay == daysback then reference VolumeProfile("price per row height mode" = "TICKSIZE", "time per profile" = "DAY", "on expansion" = no) else poc[1];
def vahigh = if thisDay == daysback then reference VolumeProfile("price per row height mode" = "TICKSIZE", "time per profile" = "DAY", "on expansion" = no).VAHigh else vahigh[1];
def valow = if thisDay == daysback then reference VolumeProfile("price per row height mode" = "TICKSIZE", "time per profile" = "DAY", "on expansion" = no).VALow else valow[1];

plot poc1 = if thisDay > daysback or
showontodayonly and getday()!=getlastday()
then Double.NaN
else poc;
plot vahigh1 = if thisDay > daysback or
showontodayonly and getday()!=getlastday()
then Double.NaN
else vahigh;
plot valow1 = if thisDay > daysback or
showontodayonly and getday()!=getlastday()
then Double.NaN
else valow;

poc1.setdefaultColor(color.cyan);
vahigh1.setdefaultColor(color.yellow);
valow1.setdefaultColor(color.yellow);

poc1.sethiding(hidelines);
vahigh1.sethiding(hidelines);
valow1.sethiding(hidelines);

#Bubble
input showbubble = yes;
input bubblemover = 3;
input showValuesinBubble = yes;
def b = bubblemover;
def bm = bubblemover;
def bm1 = bm + 1;


addchartBubble(showbubble and isnan(close[bm]) and !isnan(close[bm1]), poc1[bm1],
if showValuesinBubble then "POC $" + poc1[bm1] else "POC", Color.PINK, yes);
addchartBubble(showbubble and isnan(close[bm]) and !isnan(close[bm1]), vahigh1[bm1],
if showValuesinBubble then "VAH $" + vahigh1[bm1] else "VAH", Color.GREEN, yes);
addchartBubble(showbubble and isnan(close[bm]) and !isnan(close[bm1]), valow1[bm1],
if showValuesinBubble then "VAL $" + valow1[bm1] else "VAL", Color.RED, yes);
 

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