• 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!

    The basic idea came from a post on TL which was showing an MT4 indicator, I think. It basically grouped together bars and drew an outline of a higher-timeframe candle around it. So that’s what I did, but I didn’t restrict myself to minute bars. Here’s an interesting application: grouping renko bars into groups of 10, to see their overall trend.

    6E 12-09  11_24_2009 (SbSRenko 3 Ticks)

    That’s visually a little difficult, but you can lighten up your bars to make them sort-of fade into the background. I think that’s a pretty attractive way to go:

    LightBackground

    Still, after my initial release, Gabe on TL suggested an alternate way to draw the candles. A boxy style where the outline contained the whole range, and a filled-in section represented the body. At first, I didn’t like the idea. After trying it, though, it’s my preferred way of viewing the inidcator:

    6ERenko2

    Anyway, you have all the options at your disposal.

    If you use the time option (groupbyminutes=true), then you can group every 10 minutes instead of every 10 bars, and this works on renko, volume, tick, you-name-it charts as well as it does on minute-charts:

    tenminutes

    Of course, the original intended application is to be able to visualize what’s happening inside your minute bars. Yeah, it has a hammer shape, but did price dive down and then run up, or was price zig-zagging all over the place and happened to close the bar in a hammer-shape? You could check a faster chart, or you could just use a composite chart built via this indicator:

    comparison

    (above I’m showing straight 15-minute candles, and the composite chart you could be using instead with 1-minute detail inside the 15-minute groups)

    Anyway, the indicator (one of many I’ve released in the team area, BTW… yeah I know I shouldn’t tease!), is available here for free, in open code, for ninjatrader: vbars4.zip

    (edit 2009/11/25: I’ve updated the code with a ‘gapless’ feature, and re-written the timing code since vbars3.zip was posted. You probably want to download this new version if you like the indicator)

    Enjoy!

    This entry was posted on Wednesday, November 25th, 2009 at 12:18 am and is filed under Trading. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 8 Comments

    Take a look at some of the responses we've had to this article.

    1. Chris
      Nov 25th
      Reply

      very, very cool Richard. This had been around for awhile in MT4 and I missed it in ninja. I always thought this method of viewing gives you a more complete picture because of the nesting vs looking at 2 charts. You da man. I read very few trading sites anymore but your’s is top of the list…
      Hope you have a great Thanksgiving and can spend it with family. Chris

    2. John Fonteyne
      Nov 26th
      Reply

      Thank you, I will try this out, it looks simple and easy to see bigger timeframe for me.
      Great!

      Jojo

    3. Jeff
      Nov 26th
      Reply

      Richard, cool indicator. One question, I have a SBS 3 Tic renko chart set up inside your 5 min virtual bars, but a new bar doesn’t form every 5 min. The current bar keeps on going unless I go into the list of applied indicators to this chart and click on apply. Then it will update to reflect all the previous 5 min bars. Am I doing something wrong?

      • Nov 26th
        Reply

        Jeff: sorry not sure what you mean. Can you send screenshot of what’s happening? Lots of people besides me are using it successfully now, so I’m sure we can get it working for you.

    4. scalpWiz
      Nov 26th
      Reply

      You the man Richard. Have an awesome turkey day.

    5. Quentin
      Dec 7th
      Reply

      I agree with Scalpwiz….. You da man .

    6. JS
      Jan 29th
      Reply

      This is a really great indicator, I just discovered it… it is invaluable for reading price action across multiple time frames. Thanks a lot!

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

PHVsPjxsaT48c3Ryb25nPndvb19hYm91dDwvc3Ryb25nPiAtIGh0dHA6Ly93d3cubW92ZXRoZW1hcmtldHMuY29tL2Jsb2cvcmljaGFyZC88L2xpPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXI8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2Zvb3Rlcl9hZHNlbnNlPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fYWRfZm9vdGVyX2ltYWdlPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53b290aGVtZXMuY29tL2Fkcy93b290aGVtZXMtNDY4eDYwLTIuZ2lmPC9saT48bGk+PHN0cm9uZz53b29fYWRfZm9vdGVyX3VybDwvc3Ryb25nPiAtIGh0dHA6Ly93d3cud29vdGhlbWVzLmNvbTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2ltYWdlXzE8L3N0cm9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