Volume Profile Custom Periods

derekpop

New member
Does anyone know if it is possible to have a weekly volume profile show on a 60 minute chart or a daily volume profile show on a 30 minute chart?

Etc
 
Did you check out the Time Per Profile option within the indicator?

ZhqbClb.png


If that doesn't work, you must be looking for the MTF version of Volume Profile.
 
I'm usually pretty good about accomplishing what I need/want but struggling on this one. I'm wanting a study to show the POC from the VolumeProfile with a different predefined time range and length. For example: On a 2 day 5 minute chart, have the study showing 15 day 1 hour POC from Volume Profile. I've accomplished this perfectly for a watchlist column that shows whatever Xdays Ytime POC I desire. I can show just a POC line on the current chart with custom lookback days but the current chart's time aggregation, but not sure how to get it right to show different lookback days AND different time aggregation.

I guess the first question to determine is: can you even use a different time (not day range) for the Volume Profile. Example: if you're on a 5 min chart show the POC from a 1hr aggregation. Hope that makes sense.

Thanks in advance
 
If you are asking how to change your watchlist column into a Multi Time Frame Indicator, you can find a tutorial here:
https://usethinkscript.com/threads/converting-indicator-to-multi-timeframe-mtf-in-thinkorswim.8050/
Thank you but I stated I had already accomplished the watchlist part. What I want is to show a specific POC, say 15 day 1 hr POC and show that on any other chart regardless of time or days. Change the chart to a 1Y1D chart? No problem, it should still show the POC from the 15d1hr chart. I'm sure you're aware just changing the time from say 15 days to 10 days gives a different result and for consistency I want to use the same time always. I've manually done this for a long time, manually drawine price lines on the POC/VAH/VAL always on the same number of days and time aggregation so it'll show up on any timeframe...at that price. Just gets tiring doing it every day so would like to automate it more.
 
Thank you but I stated I had already accomplished the watchlist part. What I want is to show a specific POC, say 15 day 1 hr POC and show that on any other chart regardless of time or days. Change the chart to a 1Y1D chart? No problem, it should still show the POC from the 15d1hr chart. I'm sure you're aware just changing the time from say 15 days to 10 days gives a different result and for consistency I want to use the same time always. I've manually done this for a long time, manually drawine price lines on the POC/VAH/VAL always on the same number of days and time aggregation so it'll show up on any timeframe...at that price. Just gets tiring doing it every day so would like to automate it more.
Higher aggregations cannot be plotted on lower aggregations on the ToS platform
 
is there a volume profile that will show the extended market then show the market as its open separately?
I found the script for anyone that wants it

Code:
# Volume Profile for User Set Time
# Mobius
# Chat Room Discussion 03.26.2018

input pricePerRowHeightMode = {AUTOMATIC, TICKSIZE, default CUSTOM};
input customRowHeight = 1.0;
input onExpansion = no;
input profiles = 5; #Hint profiles: for just RTH 1 for GlobeX and RTH 2
input showPointOfControl = yes;
input showValueArea = yes;
input valueAreaPercent = 68;
input opacity = 5;
input Begin = 0930;

def TS = TickSize();
def Active = SecondsTillTime(Begin) == 0;
def cond = Active;
def height;
switch (pricePerRowHeightMode) {
case AUTOMATIC:
    height = PricePerRow.AUTOMATIC;
case TICKSIZE:
    height = PricePerRow.TICKSIZE;
case CUSTOM:
    height = customRowHeight;
}
profile vol = VolumeProfile("startNewProfile" = cond, "onExpansion" = onExpansion, "numberOfProfiles" = profiles, "pricePerRow" = height, "value area percent" = valueAreaPercent);
def con = CompoundValue(1, onExpansion, no);
def pc = if IsNaN(vol.GetPointOfControl()) and con
         then pc[1]
         else vol.GetPointOfControl();
def hVA = if IsNaN(vol.GetHighestValueArea()) and con
          then hVA[1]
          else Round(vol.GetHighestValueArea(), 0);
def lVA = if IsNaN(vol.GetLowestValueArea()) and con
          then lVA[1]
          else vol.GetLowestValueArea();
def hProfile = if IsNaN(vol.GetHighest()) and con
               then hProfile[1]
               else vol.GetHighest();
def lProfile = if IsNaN(vol.GetLowest()) and con
               then lProfile[1]
               else vol.GetLowest();
def plotsDomain = IsNaN(close) == onExpansion;

plot POC = if plotsDomain
           then Round(pc / TS, 0) * TS
           else Double.NaN;
plot ProfileHigh = if plotsDomain
                   then Round(hProfile / TS, 0) * TS
                   else Double.NaN;
plot ProfileLow = if plotsDomain
                  then Round(lProfile / TS, 0) * TS
                  else Double.NaN;
plot VAHigh = if plotsDomain
              then Round(hVA / TS, 0) * TS
              else Double.NaN;
plot VALow = if plotsDomain
             then Round(lVA / TS, 0) * TS
             else Double.NaN;

DefineGlobalColor("Profile", GetColor(1));
DefineGlobalColor("Point Of Control", GetColor(5));
DefineGlobalColor("Value Area", GetColor(8));

vol.Show(GlobalColor("Profile"), if showPointOfControl then GlobalColor("Point Of Control") else Color.CURRENT, if showValueArea then GlobalColor("Value Area") else Color.CURRENT, opacity);

POC.SetDefaultColor(GlobalColor("Point Of Control"));
POC.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
VAHigh.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
VAHigh.HideBubble();
VAHigh.HideTitle();
VALow.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
VALow.HideBubble();
VALow.HideTitle();
VAHigh.SetDefaultColor(GlobalColor("Value Area"));
VALow.SetDefaultColor(GlobalColor("Value Area"));
ProfileHigh.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
ProfileLow.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
ProfileHigh.SetDefaultColor(GetColor(3));
ProfileLow.SetDefaultColor(GetColor(3));
ProfileHigh.Hide();
ProfileLow.Hide();
def bubble = isNaN(close[2]) and !isNaN(close[3]);
 
Last edited by a moderator:

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