Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Are you remembering that on intraday charts that time is expressed in milliseconds so you will have to / or * by the appropriate number depending on your aggregation period.
Me either I would need to look at the code. If you want me too just copy and paste a portion of it in here and I will be happy too. But I'm pretty sure thats what it is. Take a look at the TPO profile , Volume or Monkey profile, not sure which one but if I remember correctly they do something similar in one of those.
code:
plot value = high(period="1 hour"); # working bad
plot value = high(period="30 min"); #working good
plot value = high(period="15 min"); #working good
plot value = high(period="day"); #working good
true for M5 or M1
I see what you are talking about now and it is going to be something very similar to what is done in the monkey bar study, well a modified version of it. If you want to sen me the whole study I think I can fix it, I'm not sure I know how to explain what I think is happening in words. It has to do with what we earlier talked about, the primary aggregation period and the secondary aggregation period, and the multiplier used to calculate the line length. I hope that is clearer than mud. I will try to recreate what is happening here (thanks for the image; worth a 1000 words) and post a few lines that may fix it but without the seeing how you are defining the agg periods and how they relate to the length calculations it will be hit or miss. Let me know and I will continue from my end.