Richard's VirtualBars - futures io
futures io futures trading



Richard's VirtualBars


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Richard with 5 posts (10 thanks)
    2. looks_two cory with 4 posts (2 thanks)
    3. looks_3 Jugador with 2 posts (0 thanks)
    4. looks_4 cclsys with 2 posts (0 thanks)
      Best Posters
    1. looks_one Big Mike with 9.0 thanks per post
    2. looks_two Richard with 2.0 thanks per post
    3. looks_3 zikonc with 1.0 thanks per post
    4. looks_4 cory with 0.5 thanks per post
    1. trending_up 8,034 views
    2. thumb_up 32 thanks given
    3. group 11 followers
    1. forum 23 posts
    2. attach_file 8 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

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

 
Search this Thread
 

Richard's VirtualBars

(login for full post details)
  #1 (permalink)
Site Administrator &
Data Scientist
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,309 since Jun 2009
Thanks: 32,000 given, 96,482 received

Richard from MoveTheMarkets has created a nice indicator that may benefit a lot of people trying to incorporate MTF into a minimalist screen/chart view.


Richard
Every so often, people ask me about an indicator that will make virtual large bars on top of their faster trading bars. The idea is to be able to visualize the larger-scale context without resorting to a second chart. In the spirit of the upcoming US Thanksgiving holiday, I made one today for ninja. And, I kinda like it!



More info and the indicator itself:
Virtual Bars Indicator|Move the Markets

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
The following 18 users say Thank You to Big Mike for this post:

Can you help answer these questions
from other members on futures io?
Locate candles 15 cent
ThinkOrSwim
Multicharts Custom instrument
MultiCharts
Select custom session template not working
TradeStation
Kube777 Market Orders
Platforms and Indicators
Simulated Playback Trading
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Big Mike in Ecuador
165 thanks
How did you learn to trade?
99 thanks
2020 profit and loss results
40 thanks
Finally Turning the Corner, tha "its 80% Psychology" thing...
39 thanks
NT8 making rules up as they go along?
39 thanks
 
(login for full post details)
  #2 (permalink)
Perdido Beach, AL
 
Experience: Intermediate
Platform: graph paper
Trading: Guitar
 
websouth's Avatar
 
Posts: 1,150 since Jul 2009
Thanks: 1,094 given, 1,311 received

you beat me to this post because obviously you don't sleep... He has one of the few blogs I read.

This is was gonna be my request in the "request an indicator thread". Richard did an excellent job on this one.

Kinda hard to get on the wrong side of this...
a 5 minute nested inside 60min


Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
Dallas TX/USA
 
 
Posts: 154 since Jun 2009
Thanks: 33 given, 283 received


Thanks, I'm glad you like it. Overriding the plot() method makes me feel like sometimes, but I think it turned out well.

Reply With Quote
The following user says Thank You to Richard for this post:
 
(login for full post details)
  #4 (permalink)
USA
 
 
Posts: 163 since Jul 2009
Thanks: 67 given, 51 received

Very kind of you Sir...much appreciated.

I'm having a little problem, tho. For some reason the 30 min blocks don't start until 9:30, but as you can see from the screenie, I have it set at 8:30.

Attached Thumbnails
Click image for larger version

Name:	virtual.jpg
Views:	173
Size:	131.7 KB
ID:	4959  
Reply With Quote
 
(login for full post details)
  #5 (permalink)
Dallas TX/USA
 
 
Posts: 154 since Jun 2009
Thanks: 33 given, 283 received


Jugador View Post
Very kind of you Sir...much appreciated.

I'm having a little problem, tho. For some reason the 30 min blocks don't start until 9:30, but as you can see from the screenie, I have it set at 8:30.

Hard to tell from your screenshot, but it doesn't look like you have much data on your chart, right? All indicators need a few bars to start up and get oriented. See attached with one of my charts scrolled all the way to the left, for example. To start at 8:30, it would have to "see" bars before 8:30, and then notice that 8:30 had passed.

Also note that 8:30 isn't a starting point as much as it is a synchronization point... in other words, say for some reason you want bars every 37 minutes. That's fine, but you also want a fresh bar at the NYC open every day, so you cut off the bars and start fresh every time 8:30 central rolls around. It also helps when gappy data gets the algorithm confused... at least at the next session the bars will right themselves again.

Attached Thumbnails
Click image for larger version

Name:	ES 12-09  11_18_2009 (SbSRenko 3 Ticks).jpg
Views:	235
Size:	61.1 KB
ID:	4960  
Reply With Quote
The following user says Thank You to Richard for this post:
 
(login for full post details)
  #6 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,010 since Jun 2009
Thanks: 834 given, 7,849 received

Richard, can you make the open of the first virtual bar synchronized with the close of the last bar of the previous session. A no gap chart is what I am after.

Reply With Quote
 
(login for full post details)
  #7 (permalink)
Dallas TX/USA
 
 
Posts: 154 since Jun 2009
Thanks: 33 given, 283 received


cory View Post
Richard, can you make the open of the first virtual bar synchronized with the close of the last bar of the previous session. A no gap chart is what I am after.

Thanks for the suggestion. Ok here's a version with a gapless setting you can set to true if you like. If true, it will set the open of a new session's first bar equal to the previous closing bar (screenshot attached).

This version also has a few bug-fixes on the timing as well for people that only watch day sessions (and hopefully I didn't introduce any bugs in the process!), so in general if you like this indicator it's probably best to upgrade.

http://www.movethemarkets.com/blog/wp-content/uploads/2009/11/vbars4.zip

Attached Thumbnails
Click image for larger version

Name:	gaplessTrue.jpg
Views:	185
Size:	70.1 KB
ID:	4965  
Reply With Quote
The following 6 users say Thank You to Richard for this post:
 
(login for full post details)
  #8 (permalink)
USA
 
 
Posts: 163 since Jul 2009
Thanks: 67 given, 51 received


Richard View Post

This version also has a few bug-fixes on the timing as well for people that only watch day sessions

Thanks...now it starts with the opening. Now, I just need to figure out what it all means!

Attached Thumbnails
Click image for larger version

Name:	virtua02.png
Views:	168
Size:	8.7 KB
ID:	4969  
Reply With Quote
 
(login for full post details)
  #9 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,010 since Jun 2009
Thanks: 834 given, 7,849 received

this is what I have in mind;

Reply With Quote
 
(login for full post details)
  #10 (permalink)
Dallas TX/USA
 
 
Posts: 154 since Jun 2009
Thanks: 33 given, 283 received



cory View Post
this is what I have in mind

ooohhh... I see what you mean now. Well, you could track an offset that you'd apply to all the subsequent bars, and modify the offset each session... and then adjust the plot mechanism so that it scales the visible range to plot on-screen at all times... but at that point the virtual bars and the real ones could be at very different prices (especially if your chart has several days of data on it, with several gaps to adjust away). I'd be willing to help anyone that wanted to undertake that change if they get stuck, but it's beyond the scope of what I'm trying to accomplish.

Reply With Quote
 
(login for full post details)
  #11 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,010 since Jun 2009
Thanks: 834 given, 7,849 received

wow! nobody sleeps any more? anyway I just need to plot the gap less chart for today session only never for the previous session.

Reply With Quote
 
(login for full post details)
  #12 (permalink)
Sydney, NS
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: TF,S,GC
 
cclsys's Avatar
 
Posts: 607 since Nov 2009
Thanks: 248 given, 391 received

Really nice add-on. I have the MTF but this for me is much better because don't need the extra panel down below. THANK you.

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #13 (permalink)
Site Administrator &
Data Scientist
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,309 since Jun 2009
Thanks: 32,000 given, 96,482 received


cory View Post
wow! nobody sleeps any more? anyway I just need to plot the gap less chart for today session only never for the previous session.

I look forward to your modified version

See that's what happens once people find out you can program worth a shit...

lol!

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #14 (permalink)
Sydney, NS
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: TF,S,GC
 
cclsys's Avatar
 
Posts: 607 since Nov 2009
Thanks: 248 given, 391 received

Is everybody on this forum awake ALL the time!!??

Three nights in a row I've made my daily targets in the early am making it harder and harder for me to pay attention in the official sessions. Coding wars....

Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #15 (permalink)
Sweden
 
Experience: Master
Platform: TT, NT, MetaTrader
Broker: Velocity Futures, MB Trading
Trading: EUR/USD
 
George's Avatar
 
Posts: 401 since Jun 2009
Thanks: 1,005 given, 1,309 received

Hey Guys,

I've recently discovered this tool that expands observation in an easy manner. My wish is to combine it with range and tick bars.
The benefits from that is that I can control risk more in a quantified way, but also get the minute frame that can give me certain confirmation or warnings. Such as gaps and wide range bars.

The only problem is that it doesn't seem to work properly. I've compared it with a minute chart, and it's not mirroring it. I've posted a picture, the chart on the left is a 5 minute chart, and the chart on the right 377 tick chart. I've made the tick candles transparent in order to see only the virtual bars on the right chart.



Why is it not a perfect match? Is there something wrong with my settings or do they simply not work properly? Is there someone out there that can throw some light on this?

Thank you in advance!

We all struggle to make tomorrow look like yesterday!
Get rid of your past and let the future unfold from the now.
Past performance is not indicative of future results.
/George
Reply With Quote
 
(login for full post details)
  #16 (permalink)
Toronto
 
Experience: Advanced
Platform: NinjaTrader
 
Posts: 108 since Sep 2009
Thanks: 30 given, 191 received

Thanks to Mike for posting this - this has got to be by far my new favorite indicator. It is invaluable for reading price action across multiple time frames and mentally synchronizing what you are seeing...

Reply With Quote
 
(login for full post details)
  #17 (permalink)
East Rochester, NY
 
Experience: Intermediate
Platform: NT
 
eDanny's Avatar
 
Posts: 329 since Jul 2009
Thanks: 17 given, 422 received


George View Post
Hey Guys,

I've recently discovered this tool that expands observation in an easy manner. My wish is to combine it with range and tick bars.
The benefits from that is that I can control risk more in a quantified way, but also get the minute frame that can give me certain confirmation or warnings. Such as gaps and wide range bars.

The only problem is that it doesn't seem to work properly. I've compared it with a minute chart, and it's not mirroring it. I've posted a picture, the chart on the left is a 5 minute chart, and the chart on the right 377 tick chart. I've made the tick candles transparent in order to see only the virtual bars on the right chart.

Attachment 6959

Why is it not a perfect match? Is there something wrong with my settings or do they simply not work properly? Is there someone out there that can throw some light on this?

Thank you in advance!

George, my first guess is this works best on time charts and the time frames should be multiples of the base (fastest time) chart. Otherwise how could you accurately plot the time bar close in the middle of a tick bar. How about a 3 minute bar inside a range bar that takes 5 minutes to complete? Dan

Reply With Quote
The following user says Thank You to eDanny for this post:
 
(login for full post details)
  #18 (permalink)
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 320 given, 619 received

Hi guys

What do you think of this idea: Virtual Renko Bars.
Basically virtual bars showing renko on top of time based, tick or range chart?

Reply With Quote
 
(login for full post details)
  #19 (permalink)
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 76 received

Hi George, I think eDanny has a point. It is not possible to expect that a 377 tick bar will form exactly within a minute.......so than you have a situation where 1st bar has time delta of say 1:30 and 2nd 3:40 so delta1 + delta2 not equal to 5 min.....and therefore the code cannot group them how you wanted......this will be a problem with any non-time based charts..........either group non-time based bars as "GroupingByMinute=FALSE" or switch to time based bars.......






George View Post
Hey Guys,

I've recently discovered this tool that expands observation in an easy manner. My wish is to combine it with range and tick bars.
The benefits from that is that I can control risk more in a quantified way, but also get the minute frame that can give me certain confirmation or warnings. Such as gaps and wide range bars.

The only problem is that it doesn't seem to work properly. I've compared it with a minute chart, and it's not mirroring it. I've posted a picture, the chart on the left is a 5 minute chart, and the chart on the right 377 tick chart. I've made the tick candles transparent in order to see only the virtual bars on the right chart.

Attachment 6959

Why is it not a perfect match? Is there something wrong with my settings or do they simply not work properly? Is there someone out there that can throw some light on this?

Thank you in advance!


Reply With Quote
The following user says Thank You to zikonc for this post:
 
(login for full post details)
  #20 (permalink)
Dallas TX/USA
 
 
Posts: 154 since Jun 2009
Thanks: 33 given, 283 received


George View Post
Why is it not a perfect match? Is there something wrong with my settings or do they simply not work properly? Is there someone out there that can throw some light on this?

Hi, sorry I didn't see the question for so long. Anyway, they decide where to cut off virtual bars on chart bar boundaries. So, if you want 5-minute groupings, you'll get the closest virtual bar to 5 minutes that you can get in terms of your chart bars. Same thing if you group by volume or any of the other grouping options... it gets as close as it can, without splitting one of your chart bars.

As with all of my indicators, I wrote what I personally wanted to see... someone determined to get an exact 5-minute overlay would write a slightly different indicator, and watch every tick against the system clock. It can be done, but it's not what this indicator does.

Reply With Quote
The following 2 users say Thank You to Richard for this post:
 
(login for full post details)
  #21 (permalink)
Naples, Florida
 
Experience: Intermediate
Platform: NinjaTrader
Trading: es
 
Posts: 1 since Dec 2011
Thanks: 6 given, 0 received

Tried to download and my computer (Norton) blocked as malicious web site. Has anyone downloaded this or is there another location to get this from?
Thanks

Reply With Quote
 
(login for full post details)
  #22 (permalink)
Israel
 
Experience: Intermediate
Platform: ninjatrader
 
Posts: 11 since Jun 2009
Thanks: 16 given, 4 received

Hi guys,

I am looking to build a composite-virtual bars indicator, and was trying to look at Richard's VBR indicator of the current thread. However, this seems to be missing and all links are dead.

Anybody....??

Thanks, bkool.

Reply With Quote
 
(login for full post details)
  #23 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,010 since Jun 2009
Thanks: 834 given, 7,849 received


bkool View Post
Hi guys,

I am looking to build a composite-virtual bars indicator, and was trying to look at Richard's VBR indicator of the current thread. However, this seems to be missing and all links are dead.

Anybody....??

Thanks, bkool.

vbars4

Attached Files
Register to download File Type: zip vbars4.zip (4.3 KB, 71 views)
Reply With Quote
The following 2 users say Thank You to cory for this post:
 
(login for full post details)
  #24 (permalink)
Israel
 
Experience: Intermediate
Platform: ninjatrader
 
Posts: 11 since Jun 2009
Thanks: 16 given, 4 received

Thank Cory,

Much appreciated.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Richard's VirtualBars


Last Updated on June 29, 2015


Upcoming Webinars and Events
 

Journal Challenge!

February
 

Battlestations!

March
     



Copyright © 2021 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