Renko bars not working in NT7 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Renko bars not working in NT7
Updated: Views / Replies:26,831 / 109
Created: by tellytub Attachments:24

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
 24  
 
Thread Tools Search this Thread
 

Renko bars not working in NT7

  #41 (permalink)
Elite Member
san ramon
 
Futures Experience: Beginner
Platform: ninja
Broker/Data: zen
Favorite Futures: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 73 received

Thanks Mike .... I can relate to SBSrenko bars more than Renko/WickedRenko ...... I like to see continuity in the price movement and Renko always confused me when it forms a red bar after green bar with red(open) at green(open) instead at green(close)

when you say it is known issue, are you referring to NT7 or the bar file ...... it must be NT7 since I do not remember having this issue with NT6.5

Reply With Quote
 
  #42 (permalink)
Membership Revoked
United States of America
 
Futures Experience: Advanced
Platform: NT
 
Posts: 1,149 since Aug 2009
Thanks: 262 given, 471 received

Who among you believes that ANY bar type makes the difference between consistent profits or losses?

Reply With Quote
 
  #43 (permalink)
Elite Member
san ramon
 
Futures Experience: Beginner
Platform: ninja
Broker/Data: zen
Favorite Futures: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 73 received


I have more luck with price-based bars than say time or volume based bars

Reply With Quote
 
  #44 (permalink)
Membership Revoked
United States of America
 
Futures Experience: Advanced
Platform: NT
 
Posts: 1,149 since Aug 2009
Thanks: 262 given, 471 received


zikonc View Post
I have more luck with price-based bars than say time or volume based bars

Luck is the operative word.

Good _uck!

Reply With Quote
The following user says Thank You to Zoethecus 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


zikonc View Post
I was wondering if anyone else is experiencing a problem with SBSrenko NT7 bar accuracy ...... basically, around the session start or finish I get a random bar with either wrong body size or tail size ....... I am reffering to the SBSrenko bars posted in the message #12 in this thread ..... if anyone is willing to share a solution to this problem I'd greatly appreciate it ..... thanks

zikonc,

Apply the fix in post 35 to any chart type that you don't want to see the new bar at midnight issue.

I have altered the code in all custom chart types that I use.

RJay

Reply With Quote
The following 2 users say Thank You to RJay for this post:
 
  #46 (permalink)
Elite Member
san ramon
 
Futures Experience: Beginner
Platform: ninja
Broker/Data: zen
Favorite Futures: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 73 received


RJay View Post
zikonc,

Apply the fix in post 35 to any chart type that you don't want to see the new bar at midnight issue.

I have altered the code in all custom chart types that I use.

RJay

Thanks RJay,

I am using the file posted by gregid at the beginning of this thread ...... his file only has "if (bars.Count < 2)" statement so I had nothing to modify ....... I did make a modification per #35 on range charts .... Mike mentioned that SBSRenko (I guess in NT7) has been known to have this issue so I am stuck with what has been done so far by others until new versions comes along ......

Reply With Quote
 
  #47 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received


zikonc View Post
Thanks RJay,

I am using the file posted by gregid at the beginning of this thread ...... his file only has "if (bars.Count < 2)" statement so I had nothing to modify ....... I did make a modification per #35 on range charts .... Mike mentioned that SBSRenko (I guess in NT7) has been known to have this issue so I am stuck with what has been done so far by others until new versions comes along ......

Attached you will find my own conversion of SbSRenko to NT7. (I will not bother with MedianRenko anymore)
There is a numeric value which can be set at (1==reset at session break) (any other value = not to reset).

NT7 introduced cashing of bars for performance improvements, so keep in mind that "not reseting" at session break can cause unexpected results. Feel free to post any issues.

P.S. Fix in post #35 is very sensitive and I personally would not recommend using it on other bar types. It might have other underlying issues. As always - use at your own risk

Attached Files
Register to download File Type: zip SbSRenko NT7.zip (3.7 KB, 286 views)
Reply With Quote
The following 10 users say Thank You to roonius for this post:
 
  #48 (permalink)
Elite Member
san ramon
 
Futures Experience: Beginner
Platform: ninja
Broker/Data: zen
Favorite Futures: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 73 received

Thanks roonius .... I think somthing has to be messed up on my end since I am still getting the same type of errors ...... I tried your SbSrenko conversion with and without the fix from post #35, with different session templates, with reload of historical data (I deleted the records from Historical Data Manager and forced the reload) .... and I think that's it ...... I am using this little script to check for any discrepancies ...... hmmm, maybe NT7 support still has few outstanding things to work on? ......

public class bartest : Indicator
{
/* Variables */

private System.Drawing.Font textFont2;
private int barRange = 0;
private int margin = 0;

/* END Variables */

/// <summary>
/// This method is used to configure the indicator and is called once before any bar data is loaded.
/// </summary>
protected override void Initialize()
{
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;

textFont2 = new Font("Arial Narrow", 8); // FONT


}

/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if ( CurrentBar < 4 ) return;

barRange = (int) Math.Abs(Math.Round((Open[0] - Close[0]) / Bars.Instrument.MasterInstrument.TickSize));
margin = (Bars.Period.Value);

DrawText
(
"tick#"+CurrentBar, AutoScale,
barRange.ToString(), 0, High[0]+3*TickSize, 0, Color.Black
, textFont2, StringAlignment.Center, Color.Transparent, Color.Transparent, 0
);


if (barRange != margin && barRange != 2*margin)
BackColorAll = Color.LightBlue;

else
BackColorAll = Color.Empty;
}

#region Properties


#endregion
}

Reply With Quote
 
  #49 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received


zikonc View Post
Thanks roonius .... I think somthing has to be messed up on my end since I am still getting the same type of errors ...... I tried your SbSrenko conversion with and without the fix from post #35, with different session templates, with reload of historical data (I deleted the records from Historical Data Manager and forced the reload) .... and I think that's it ...... I am using this little script to check for any discrepancies ...... hmmm, maybe NT7 support still has few outstanding things to work on? ......

public class bartest : Indicator
{
/* Variables */

private System.Drawing.Font textFont2;
private int barRange = 0;
private int margin = 0;

/* END Variables */

/// <summary>
/// This method is used to configure the indicator and is called once before any bar data is loaded.
/// </summary>
protected override void Initialize()
{
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;

textFont2 = new Font("Arial Narrow", 8); // FONT


}

/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if ( CurrentBar < 4 ) return;

barRange = (int) Math.Abs(Math.Round((Open[0] - Close[0]) / Bars.Instrument.MasterInstrument.TickSize));
margin = (Bars.Period.Value);

DrawText
(
"tick#"+CurrentBar, AutoScale,
barRange.ToString(), 0, High[0]+3*TickSize, 0, Color.Black
, textFont2, StringAlignment.Center, Color.Transparent, Color.Transparent, 0
);


if (barRange != margin && barRange != 2*margin)
BackColorAll = Color.LightBlue;

else
BackColorAll = Color.Empty;
}

#region Properties


#endregion
}

1. I am not following what errors you are getting
2. My conversion should not need fix in post #35

Reply With Quote
 
  #50 (permalink)
Elite Member
san ramon
 
Futures Experience: Beginner
Platform: ninja
Broker/Data: zen
Favorite Futures: es, 6e
 
Posts: 136 since Oct 2009
Thanks: 98 given, 73 received


First, HUGE thanks ....... it works !!!!

Second, I removed and reinstalled NT7 and then installled your SbSrenko file .... it is only then I noticed that I was using a previous version from greg ....... I know I deleted his file and recompiled but apparently I always had his version come up instead of yours ...... the reason I say that is becasue in your version you have value 1=YES for session reset and I only noticed this option once I reloaded everything from scratch .......


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

Reply



futures io > > > > > Renko bars not working in NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
renko bars vs range bars? shodson Traders Hideout 21 April 26th, 2012 04:52 PM
I need to Know HOW Renko bars are calculated grego NinjaTrader 3 November 23rd, 2010 06:54 PM
i am looking for median renko bars indicator dellcnu Traders Hideout 6 August 5th, 2010 08:38 PM
enabling Renko bars in NT grego NinjaTrader 5 July 27th, 2010 10:07 PM
SBS RENKO BARS - question Eric j Traders Hideout 2 November 18th, 2009 07:21 AM


All times are GMT -4. The time now is 12:28 PM.

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-12 in 0.14 seconds with 20 queries on phoenix via your IP 54.145.16.43