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