NexusFi: Find Your Edge


Home Menu

 





Creating a horizontal histogram similar to the TPO or Volume profile


Discussion in ThinkOrSwim

Updated
    1. trending_up 1,668 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

Creating a horizontal histogram similar to the TPO or Volume profile

  #1 (permalink)
gabe
Atlanta, GA
 
Posts: 1 since Feb 2017
Thanks Given: 0
Thanks Received: 0

Hey all,

Is there a way to create a histogram on the price axis based on user defined inputs?

I'm looking to create a study in TOS that is similar to the TPO profile but instead of all prices, only looks at closing prices are counted. My goal is to use this over larger timeframes to create a support/resistance study that autoplots S/R levels or zones based on actual data (rather than equations such as with Pivot points).

When I look into the TPO script, the "timeprofile" function is referenced, but there is no flexibility on which data are aggregated to form the histogram. There is a function called "profile", similar to "def" and "plot", but I can't find much support material on it at all. The only time this command is used is in the TPO profile, Volume Profile, and Monkey bars.

When I write a test script (below), I get an error about incorrect parameter in the profile line.

profile c = close;
c.show();


Anyone have any experience with this?

Reply With Quote




Last Updated on February 23, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts