Rolling Bar type - NinjaTrader | futures io social day trading
futures io futures trading


Rolling Bar type
Updated: Views / Replies:595 / 10
Created: by Bullywig Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 1  
 
Thread Tools Search this Thread
 

Rolling Bar type

  #1 (permalink)
Elite Member
Chicago
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: FDAX, NQ, HG, SI, CL
 
Bullywig's Avatar
 
Posts: 39 since Oct 2015
Thanks: 21 given, 15 received

Rolling Bar type

Is there a bar type available that calculates an assigned (x) minutes bar, but updates every minute? Essentially a rolling bar type? So for example, a 10, 15, or 30 minute bar that updates every minute rather that the assigned value of the bar?

Reply With Quote
 
  #2 (permalink)
Elite Member
Gits (Hooglede) Belgium
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,768 since Sep 2013
Thanks: 2,085 given, 4,564 received
Forum Reputation: Legendary


Bullywig View Post
Is there a bar type available that calculates an assigned (x) minutes bar, but updates every minute? Essentially a rolling bar type? So for example, a 10, 15, or 30 minute bar that updates every minute rather that the assigned value of the bar?

What would be the mechanism of the update ?

It then is no longer ea time based bar, but something else
you can extend NT with a custombar type, you need to tell more about the logic
for the update, to be able to answer your question

Reply With Quote
The following user says Thank You to rleplae for this post:
 
  #3 (permalink)
Elite Member
Chicago
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: FDAX, NQ, HG, SI, CL
 
Bullywig's Avatar
 
Posts: 39 since Oct 2015
Thanks: 21 given, 15 received



rleplae View Post
What would be the mechanism of the update ?

It then is no longer ea time based bar, but something else
you can extend NT with a custombar type, you need to tell more about the logic
for the update, to be able to answer your question


I'm sorry if my description was too vague. Let me see if I can explain things more clearly.
Let's take a 10 minute bar. Normally it would update every ten minutes and contain the data from the previous 10 minutes. Updates would normally be as an example 8:00, 8:10, 8:20 etc.

I would like to form a 10 minute bar that contains the data from the previous 10 minutes, but that updates every minute;
8:01, 8:02, 8:03 etc. Essentially, it's still a 10 minute bar, but it updates every minute so that I have a picture of a 10 minute bar forming every minute from the previous 10 minutes of data.

I'm new to trading and just learning, but this is something that interests me as a filter, and I do not have the coding experience to understand the logic and build it myself. Perhaps someday I will, but just cutting my teeth as we speak on learning c# so I can follow along. Any direction or advice is appreciated, and thank you for commenting in general.

Cheers.
Bullywig

Reply With Quote
The following user says Thank You to Bullywig for this post:
 
  #4 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 679 since Jun 2009
Thanks: 732 given, 748 received

Answer
This post has been selected as an answer to the original posters question Answer


Bullywig View Post
Is there a bar type available that calculates an assigned (x) minutes bar, but updates every minute? Essentially a rolling bar type? So for example, a 10, 15, or 30 minute bar that updates every minute rather that the assigned value of the bar?

This can be done with a custom indicator placed on a one minute bar chart.

Reply With Quote
The following 2 users say Thank You to RJay for this post:
 
  #5 (permalink)
Elite Member
Chicago
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: FDAX, NQ, HG, SI, CL
 
Bullywig's Avatar
 
Posts: 39 since Oct 2015
Thanks: 21 given, 15 received


RJay View Post
This can be done with a custom indicator placed on a one minute bar chart.

Thank you for your response. Can you elaborate a bit? What indicator would do this? Does it already exist? Do you have an example of this I can see. Thanks

Cheers.

Bullywig

Reply With Quote
 
  #6 (permalink)
Super Moderator
London UK
 
Futures Experience: Beginner
Platform: CQG
Broker/Data: S5
Favorite Futures: Futures
 
xplorer's Avatar
 
Posts: 3,730 since Sep 2015
Thanks: 8,651 given, 6,772 received


Bullywig View Post
I'm sorry if my description was too vague. Let me see if I can explain things more clearly.
Let's take a 10 minute bar. Normally it would update every ten minutes and contain the data from the previous 10 minutes. Updates would normally be as an example 8:00, 8:10, 8:20 etc.

I would like to form a 10 minute bar that contains the data from the previous 10 minutes, but that updates every minute;
8:01, 8:02, 8:03 etc. Essentially, it's still a 10 minute bar, but it updates every minute so that I have a picture of a 10 minute bar forming every minute from the previous 10 minutes of data.

I'm new to trading and just learning, but this is something that interests me as a filter, and I do not have the coding experience to understand the logic and build it myself. Perhaps someday I will, but just cutting my teeth as we speak on learning c# so I can follow along. Any direction or advice is appreciated, and thank you for commenting in general.

Cheers.
Bullywig

Unless I'm misinterpreting what I read, I think you have your understanding wrong. You say "a 10 min bar updates every 10 minutes". That's not the case. Any bar duration updates istantaneously. Doesn't matter if the duration of the bar is daily, hourly, 10 or 1 minute, the "current" bar will always update as price changes.

So if you have a 10 minutes bar, it will keep tracking price until the 10 minutes have elapsed. When 10 minutes have passed, that bar will "solidify" in whichever form it was when the 10 minutes were up and a new one will form, and this one will now be the current bar.

The current bar always updates price in real time (requires realtime data of course)

Video example of 5 mins bar that updates constantly attached.

Attached Files
5-mins-chart.mp4 (205.9 KB, 14 views)
Reply With Quote
The following 3 users say Thank You to xplorer for this post:
 
  #7 (permalink)
Elite Member
Chicago
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: FDAX, NQ, HG, SI, CL
 
Bullywig's Avatar
 
Posts: 39 since Oct 2015
Thanks: 21 given, 15 received


xplorer View Post
Unless I'm misinterpreting what I read, I think you have your understanding wrong. You say "a 10 min bar updates every 10 minutes". That's not the case. Any bar duration updates istantaneously. Doesn't matter if the duration of the bar is daily, hourly, 10 or 1 minute, the "current" bar will always update as price changes.

So if you have a 10 minutes bar, it will keep tracking price until the 10 minutes have elapsed. When 10 minutes have passed, that bar will "solidify" in whichever form it was when the 10 minutes were up and a new one will form, and this one will now be the current bar.

The current bar always updates price in real time (requires realtime data of course)

Video example of 5 mins bar that updates constantly attached.


Thank you for pointing that out. I used the wrong word; I should have said "culminates" instead of updates, or "prints"; not update. I do understand the bar is constantly updating. What I'm having a difficult time explaining is;

is there a way to have a bar comprised of 10 minutes worth of data that is constantly updating, culminate every minute on the previous 10 minutes worth of data, instead of culminating every 10 minutes? A 1 minute bar that contains the previous 10 minutes worth of dat, thus, what I'm calling a rolling bar type, and perhaps that is not an accurate description, but in my mind it's making sense. Hope that helps clarify things a bit more.

i.e., instead of culminating 8:00, 8:10, 8:20 at fixed intervals, have that interval fixed at a user defined period; for my example 1 minute; therefore, if possible, the 10 minute bar would culminate every 1 minute, instead of every 10 minutes like a standard 10 minute bar would do.

Reply With Quote
The following 2 users say Thank You to Bullywig for this post:
 
  #8 (permalink)
Super Moderator
London UK
 
Futures Experience: Beginner
Platform: CQG
Broker/Data: S5
Favorite Futures: Futures
 
xplorer's Avatar
 
Posts: 3,730 since Sep 2015
Thanks: 8,651 given, 6,772 received


Bullywig View Post
A 1 minute bar that contains the previous 10 minutes worth of dat, thus, what I'm calling a rolling bar type, and perhaps that is not an accurate description, but in my mind it's making sense. Hope that helps clarify things a bit more.

i.e., instead of culminating 8:00, 8:10, 8:20 at fixed intervals, have that interval fixed at a user defined period; for my example 1 minute; therefore, if possible, the 10 minute bar would culminate every 1 minute, instead of every 10 minutes like a standard 10 minute bar would do.

I think I now understand - are you looking for a certain pattern to be seen inside of a larger pattern, i.e. looking at 1-minute candles inside a 10-min candle?

If so, this thread should help - there's a link to a NinjaTrader indicator that does that

https://futures.io/platforms-indicators/43401-30-min-candle-5min-chart.html

Reply With Quote
The following 2 users say Thank You to xplorer for this post:
 
  #9 (permalink)
Elite Member
Chicago
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: FDAX, NQ, HG, SI, CL
 
Bullywig's Avatar
 
Posts: 39 since Oct 2015
Thanks: 21 given, 15 received


xplorer View Post
I think I now understand - are you looking for a certain pattern to be seen inside of a larger pattern, i.e. looking at 1-minute candles inside a 10-min candle?

If so, this thread should help - there's a link to a NinjaTrader indicator that does that

https://futures.io/platforms-indicators/43401-30-min-candle-5min-chart.html

Thank you for the link. I will look at that shortly.

Actually though, I'm trying to achieve the the opposite of what you are describing if I'm interpreting your comments correctly.

What I'm looking for is a 10 minute candle inside a 1 minute candle. I have used larger time frames as a trend filter, but waiting for the larger candle to close severely limits the trading opportunities in my opinion. By the time the candle closes, an opportunity may have presented itself and played out while we are waiting for the larger time frame candle to close. The lag factor tends to counteract the confirmation factor in my opinion. If there is a way to have 1 minute candles that are comprised of the previous 10 minutes (I am only using 10 minutes here as an example) then the ten minute candle would reside in a minute candle by rolling over each minute, and would then align with any potential moves in more of a "real time" environment without as much lag factor to contend with. In my head it seems very straight forward,but I obviously have no idea how to construct such a candle, and I certainly don;t have the experience to know if this is even a good idea or not. Intuition though tells me it would be worth looking into. Again, I appreciate the engagement. It's immensely helpful at this stage of my trading and coding adventure.

Cheers
Bullywig

Reply With Quote
The following user says Thank You to Bullywig for this post:
 
  #10 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 679 since Jun 2009
Thanks: 732 given, 748 received



Bullywig View Post
Thank you for your response. Can you elaborate a bit? What indicator would do this? Does it already exist? Do you have an example of this I can see. Thanks

Cheers.

Bullywig

On a one minute bar chart, For Five minute data collection on a one minute bar:

Value of "bar" open is Open of the 4th prior bar back.
Value of "bar" high is High Max for currentbar + 4 prior bars.
Value of "bar" low is Low Min for currentbar + 4 prior bars.
Value of "bar" close is always current bar Close values.

This can be plotted using Lines, Rectangles, and Color.

Reply With Quote
The following 2 users say Thank You to RJay for this post:

Reply



futures io > > > > Rolling Bar type

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Battlestations: $750 in prizes - Show us your trading desk!

August
 

The Business of Trading w/Darren Reed & Jigsaw Trading

Aug 14
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
new bar type aaaaaa225 Hire a Consultant or Programmer 0 September 19th, 2017 06:54 PM
Footprint : does bar type is better? And why? ninjadiluce Platforms and Indicators 1 September 10th, 2016 07:00 PM
How to get this bar type? thefxpros NinjaTrader 5 September 25th, 2014 12:39 PM
Reversal Bar Type monolisa NinjaTrader 18 August 2nd, 2012 10:02 AM
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 8 April 1st, 2012 11:29 PM


All times are GMT -4. The time now is 06:27 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2018-08-13 in 0.17 seconds with 35 queries on phoenix