NoGapRangeBars / RangeNoGap - NinjaTrader | futures io social day trading
futures io futures trading


NoGapRangeBars / RangeNoGap
Updated: Views / Replies:27,333 / 97
Created: by RJay Attachments:30

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 90,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
 30  
 
Thread Tools Search this Thread
 

NoGapRangeBars / RangeNoGap

  #41 (permalink)
Elite Member
Sydney, NS
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen-Fire
Favorite Futures: TF,S,GC
 
cclsys's Avatar
 
Posts: 607 since Nov 2009
Thanks: 248 given, 379 received


kronie View Post
what is that askbartimer?
does it require, under ninja, constant feed, so if you rescale, resize or chnge symbols, you loose the data from the volume analysis of the prior bars, ticks, up, downs, etc?

please perhaps post a download link, unless restricted to VIP section only (that sort of thing, don't want to violate rules or anything)

thanks in advance

Kronie: I apologise for not replying earlier. I missed it somehow.

The AshBarTimer (Ash is short for my actual name) is for minute charts, it was just left over when I started playing with the Renko chart type and I neglected to remove it. The bottom right text printout 'BTx' is a small alteration I made to the provided code to show that it ain't working on this chart.

Reply With Quote
 
  #42 (permalink)
Elite Member
Sydney, NS
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen-Fire
Favorite Futures: TF,S,GC
 
cclsys's Avatar
 
Posts: 607 since Nov 2009
Thanks: 248 given, 379 received

PS re the RangeBarHighLow. Unless I am mistaken - and have now run out of time today to check - the latest version of this works fine with Renko, Range, SBS Renko, RangeAlt. Not very important but for those who work with these charts they might find it helpful. And if I am wrong and you want this feature with Renkos, let me know and I will update the code in the downloads section.

Reply With Quote
 
  #43 (permalink)
Elite Member
Elk River, MN
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 30 since Sep 2009
Thanks: 7 given, 60 received

Updated RangeNoGap for NT7


FYI...
I have updated RJays RangeNoGap for NT7. Since this was his work originally I'll post it when he gives the okay.

Reply With Quote
The following 5 users say Thank You to j0hnth0m for this post:
 
  #44 (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: 677 since Jun 2009
Thanks: 726 given, 740 received


j0hnth0m View Post
FYI...
I have updated RJays RangeNoGap for NT7. Since this was his work originally I'll post it when he gives the okay.

j0hnth0m,

I'm beginning my conversion to NT7 today.

NoGapRangeBars was at the top of the list.

I sent you my personal email.

Till Then,

RJay

Reply With Quote
The following user says Thank You to RJay for this post:
 
  #45 (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: 677 since Jun 2009
Thanks: 726 given, 740 received


j0hnth0m View Post
FYI...
I have updated RJays RangeNoGap for NT7. Since this was his work originally I'll post it when he gives the okay.

Hi All,

Looked over j0hnth0m's NT7.0 version of NoGapRangeBars and it looks perfect.

It is now available in the download area.

https://futures.io/free_downloads/ninjatrader/misc/234-download.html?view

Be sure to thank j0hnth0m for his contribution.

RJay

Reply With Quote
The following 6 users say Thank You to RJay for this post:
 
  #46 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

Does it work ONLY with nt7, or with both nt 6.5 and nt7 (in other words, the old one should be deleted)?

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #47 (permalink)
Elite Member
MIAMI,FL
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Private
Favorite Futures: Zn,6E,6J
 
sharky's Avatar
 
Posts: 1,060 since Jun 2009
Thanks: 624 given, 3,875 received

i just tried it on 6.5 it works fine

KILLING THE MARKETS DAILY
Reply With Quote
The following user says Thank You to sharky for this post:
 
  #48 (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: 677 since Jun 2009
Thanks: 726 given, 740 received


Big Mike View Post
Does it work ONLY with nt7, or with both nt 6.5 and nt7 (in other words, the old one should be deleted)?

Mike

Hi Mike,

Because of the differences between the files for each version, I think it would be prudent to leave both versions up for now.

RJay

Reply With Quote
The following user says Thank You to RJay for this post:
 
  #49 (permalink)
Elite Member
Belgium
 
Futures Experience: Advanced
Platform: SaxoTrader
Broker/Data: SaxoBank
Favorite Futures: ESTX
 
Posts: 290 since Dec 2009
Thanks: 242 given, 109 received

Hello,

I did not know where to put this. Anyway...

It's about john thom's RangeMarker indicator which can go hand in hand with RangeNoGap bars too.

I've made very light modifications on this one which appeal to me and maybe to you:
* the above and below box prices show the prices to be hit to create a new bar instead of displaying the top and bottom of the range bar. Understand, above price is now "top of the possible range + 1 tick" and below price "bottom of the possible range - 1 tick"
* the 3 different range captions depending on when the range bar is about to create a new one are now customised by plot style instead of color (color is fixed to purple but can be changed inside the code).
1) newly created range still possibly moving a lot in dot style
2) about to be locked range in dash style
3) locked range in plain line style

Here is the code for NT6.5

 
Code
//
// john thom @ johnthom.com - 11/7/2009  - please do not remove this line if you make copies of this code.  Thanks.
//
#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Gui.Chart;
#endregion


namespace NinjaTrader.Indicator
{
    [Gui.Design.DisplayName("SARdynamite | domino")]
    [Description("UT x dominos SARdynamite (range continu sans gap)")]    
    public class SARdynamite_domino : Indicator
    {
        #region Variables
        bool isRangeChart;
        bool firstTime;
        private SolidBrush chartFontBrushH = new SolidBrush(Color.Lime);
        private SolidBrush chartFontBrushB = new SolidBrush(Color.Red);
        #endregion
        
        protected override void Initialize()
        {
            AutoScale = false;
            CalculateOnBarClose    = false;
            Name = " ";
            Overlay    = true;
            PriceTypeSupported= false;
            PaintPriceMarkers = false;
            firstTime = true;
            isRangeChart = false;
        }

        public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
        {
            try
            {
                base.Plot(graphics, bounds, min, max);
            
                if (Bars == null)return;
                if (isRangeChart)
                {
                    int margin = (Bars.Period.Value-(int)((High[0]-Low[0])/TickSize));
                    double highPrice2 = High[0]+(margin*TickSize)+TickSize;
                    double lowPrice2 =  Low[0]-(margin*TickSize)-TickSize;
                    double highPrice = High[0]+(margin*TickSize);
                    double lowPrice =  Low[0]-(margin*TickSize);    
                    int rangeHighY = (bounds.Y+bounds.Height)-((int)(((highPrice-min)/ChartControl.MaxMinusMin(max, min))*bounds.Height))-1;
                    int rangeLowY = (bounds.Y+bounds.Height)-((int)(((lowPrice-min)/ChartControl.MaxMinusMin(max,min))*bounds.Height))-1;
                    int height = rangeLowY-rangeHighY;
                    int rangeX = ChartControl.GetXByBarIdx(CurrentBar)-(ChartControl.BarSpace/2) ;
                    int width = (ChartControl.BarSpace);
                    int adj = 0;
                    using (Pen tempPen = new Pen(Color.DarkViolet))
                    {
                        switch(margin)
                        {
                            case 0:
                                tempPen.Width = 2;
                                adj = 1;
                                break;
                            case 1:
                                tempPen.Width = 2;
                                tempPen.DashStyle = DashStyle.Dash;
                                adj = 1;
                                break;
                            default:
                                tempPen.Width = 2;
                                tempPen.DashStyle = DashStyle.Dot;
                                adj = 1;
                                break;                                
                        }
                        graphics.DrawRectangle(tempPen, rangeX, rangeHighY, width+adj, height);
                    }    
                    string hPrice = highPrice2.ToString();
                    graphics.DrawString(hPrice, ChartControl.Font, chartFontBrushH, rangeX, rangeHighY-graphics.MeasureString(hPrice, ChartControl.Font).Height);
                    string lPrice = lowPrice2.ToString();
                    graphics.DrawString(lPrice, ChartControl.Font, chartFontBrushB, rangeX, rangeLowY);
                }
            } 
            catch (Exception ex)
            {
                Print(ex.ToString());
            }
        }            
        
        protected override void OnBarUpdate()
        {
            try 
            {
                if (ChartControl==null || ChartControl.Bars==null || ChartControl.Bars.Length==0) return;
                if (firstTime)
                {
                    if (Bars.Period.Id == PeriodType.Range || (Data.BarsType.GetInstance(ChartControl.Bars[0].Period.Id).BuiltFrom==Data.PeriodType.Tick && ChartControl.Bars[0].Period.ToString().IndexOf("Range")>=0))
                    {
                        isRangeChart = true;
                        firstTime = false;
                    }
                }
            }
            catch (Exception ex)
            {
                Print(ex.ToString());
            }
        }
    }
}
I would be very happy if someone could convert it to be used for NT7 as I sadly don't have the skill/knowledge to perform the switch because I can't imagine using range bars without this add-on.
Thanks for any help.

Reply With Quote
The following user says Thank You to SARdynamite for this post:
 
  #50 (permalink)
Just starting out...
Lolistan
 
Futures Experience: Advanced
Platform: Ninjatrader
 
Posts: 5 since Nov 2009
Thanks: 1 given, 1 received


Just downloaded the RangeNoGap for NT7, stopping by to say thanks as im very satisfied with the NT6.5 version.

Btw. import didnt work on 6.5, gotta try copy/paste the code

Reply With Quote
The following user says Thank You to qwertz for this post:

Reply



futures io > > > > NoGapRangeBars / RangeNoGap

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT7 - NoGapRangeBars not updating hunter548 The Elite Circle 6 January 12th, 2011 08:27 PM
RangeNoGap vs Range bars emini_Holy_Grail Traders Hideout 7 December 14th, 2010 08:11 PM
Is anyone using the RangeNoGap bars in NT7? I use them alot Todd NinjaTrader 9 May 15th, 2010 04:24 PM
Does anyone know if SBSRenko and RangeNoGap bars work in NT7 Todd NinjaTrader 3 May 14th, 2010 04:23 PM


All times are GMT -4. The time now is 09:14 AM.

Copyright © 2017 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 2017-12-18 in 0.14 seconds with 20 queries on phoenix via your IP 107.20.115.174