NexusFi: Find Your Edge


Home Menu

 





AggregationPeriod.Hour drawing on M5 chart bug


Discussion in ThinkOrSwim

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




 
Search this Thread

AggregationPeriod.Hour drawing on M5 chart bug

  #1 (permalink)
luzerka
Alabama
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0

Hi! This is bug?
simple study:


why?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
22 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
HaydenP
Carthage Texas Usa
 
Posts: 15 since Jun 2015
Thanks Given: 0
Thanks Received: 2


luzerka View Post
Hi! This is bug?
simple study:


why?

Not completely sure what the question is. Please reply in detail and I will see if I can help

Reply With Quote
  #3 (permalink)
luzerka
Alabama
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0


sorry. I can not download images
simple study:
plot value = high(period="1 hour");
added to M5
view(combine link please):

http
://content.screencast.com
/users/nmwind/folders/Jing/media/94a711d4-e2c3-4855-a240-50141e7e4a29/2015-06-16_1149.png

why?
if use study
plot value = high(period="2 hours");
then blue lines will be longer than an hour. but half an hour still lose;

Reply With Quote
  #4 (permalink)
HaydenP
Carthage Texas Usa
 
Posts: 15 since Jun 2015
Thanks Given: 0
Thanks Received: 2


luzerka View Post
sorry. I can not download images
simple study:
plot value = high(period="1 hour");
added to M5
view(combine link please):

http
://content.screencast.com
/users/nmwind/folders/Jing/media/94a711d4-e2c3-4855-a240-50141e7e4a29/2015-06-16_1149.png

why?
if use study
plot value = high(period="2 hours");
then blue lines will be longer than an hour. but half an hour still lose;

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.

Reply With Quote
  #5 (permalink)
luzerka
Alabama
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0

I do not understand why M15,M30 or D1 is working correctly...

Reply With Quote
  #6 (permalink)
HaydenP
Carthage Texas Usa
 
Posts: 15 since Jun 2015
Thanks Given: 0
Thanks Received: 2


luzerka View Post
I do not understand why M15,M30 or D1 is working correctly...

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.

Reply With Quote
  #7 (permalink)
luzerka
Alabama
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0

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

Reply With Quote
  #8 (permalink)
HaydenP
Carthage Texas Usa
 
Posts: 15 since Jun 2015
Thanks Given: 0
Thanks Received: 2


luzerka View Post
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

Looking now I will replt back as soon as I can, probably about 20 minutes
Hayden

Reply With Quote
  #9 (permalink)
luzerka
Alabama
 
Posts: 6 since Jun 2015
Thanks Given: 0
Thanks Received: 0

view result(combine link please):

http
://content.screencast.com
/users/nmwind/folders/Jing/media/f7b53e4d-088b-4896-ab31-1343c5ad585e/2015-06-16_1529.png

Reply With Quote
  #10 (permalink)
HaydenP
Carthage Texas Usa
 
Posts: 15 since Jun 2015
Thanks Given: 0
Thanks Received: 2



luzerka View Post
view result(combine link please):

http
://content.screencast.com
/users/nmwind/folders/Jing/media/f7b53e4d-088b-4896-ab31-1343c5ad585e/2015-06-16_1529.png

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.

Reply With Quote




Last Updated on June 16, 2015


© 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