NexusFi: Find Your Edge


Home Menu

 





Bar count from diffrent timeframe is this possible?


Discussion in ThinkOrSwim

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




 
Search this Thread

Bar count from diffrent timeframe is this possible?

  #1 (permalink)
strategynode
Provo utah/usa
 
Posts: 4 since Sep 2014
Thanks Given: 0
Thanks Received: 0

Hi I have an idea but have no clue how to even code it or if it is even possible in thinkscript

The premise of this idea is based on the fact the red and green daily candle. A candle turns red when the close is below open and green when close is above open (I am pretty sure everyone knows this). I want to create a arrow in the daily chart which is based on the count of green and red bars in a 5min (or other time frame in that candle).

For example - say today $Sample has a red bar in the daily chart but say I count the number of individual candles in a 5min time frame of the same stock and realize that there are more green than red then I would like to add a up arrow on the daily chart for that red candle.

Not sure how to code this, not sure if I explained my myself correctly please feel free to ask for clarification.

Thanks,
StrategyNode

Reply With Quote




Last Updated on January 27, 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