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,829 / 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

  #31 (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

OK, Here it is...

The feature that creates different coloring of up candle outlines and down candles outlines has been removed.

This new version can now use the same templates as the overwhelming majority of other chart types.

After update, any previous templates created from a Renko or WickedRenko chart will no longer work with this chart type.


Close all WickedRenko charts before starting update.


Drag or copy this file into the type directory, it will replace the existing WickedRenko file.

Relocate original file if you want to save it!!!

Once you have replaced original file with the new one, your done.

No need to restart NT. simply open a new chart.

Aslan, if you want to create a new zip with this file, its your code, not mine.


RJay


Update:

I should have modified and posted your file from your previous post. I posted my version which has a code change to prevent the new bar creation sync at midnight.

Attached Thumbnails
Renko bars not working in NT7-cl-06-10-4-wickedrenko-5_4_2010.jpg  

Last edited by RJay; May 5th, 2010 at 09:25 AM.
Reply With Quote
The following 4 users say Thank You to RJay for this post:
 
  #32 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

WickedRenko V2

Thanks RJay.

Once you said SBS was working ok, I was able to figure out the issue (while you were posting your fix). I suspect the problem is the ChartStyleTypesSupported property, which limits the types of chart styles that can be used. When the template is loaded, they must be trying to make sure it is compatible, and it fails somehow. I commented out that routine. (NT Renko and PnF also do this).

The other change you made was to the ChartLabel() routine, and that was a bug, but likely had nothing to do with the templates.

The last change you had, that I did NOT make, was resetting the renko on a session boundary. Again, this likely does not have anything to do with the templates. I actually like resetting the bars on a session boundary, as it allows me to see the same chart each day instead of it being slightly different when I load new data each day. Feel free to change that in your version.

Attached Files
Register to download File Type: zip WickedRenkoBarsType_NT7_V2.zip (2.2 KB, 230 views)
Reply With Quote
The following 3 users say Thank You to aslan for this post:
 
  #33 (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



aslan View Post
Thanks RJay.

Once you said SBS was working ok, I was able to figure out the issue (while you were posting your fix). I suspect the problem is the ChartStyleTypesSupported property, which limits the types of chart styles that can be used. When the template is loaded, they must be trying to make sure it is compatible, and it fails somehow. I commented out that routine. (NT Renko and PnF also do this).

The other change you made was to the ChartLabel() routine, and that was a bug, but likely had nothing to do with the templates.

The last change you had, that I did NOT make, was resetting the renko on a session boundary. Again, this likely does not have anything to do with the templates. I actually like resetting the bars on a session boundary, as it allows me to see the same chart each day instead of it being slightly different when I load new data each day. Feel free to change that in your version.


Hi aslan,

No problem here!!

I should have posted your version with only the "template fix", not one that had my personal preferences.

Nice to see yourself and others taking an interest in chart type construction.

A year ago there were only NT and NT vendor charts.

Now there are at least half a dozen or more traders with chart type creation skills.

Thanks again for sharing,

RJay

P.S. I have removed my version from my previous post now that your official version is posted.

Reply With Quote
 
  #34 (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

hi guys .... I am not sure if this is the same type of problem as you described with Wicked/Median/SBS renko bars ...... basically there is some sort of bar/chart template that resets the bar formation at the set time interval ..... NT support says to use Session Manager to work out the problem, but still, the most I can go without resetting the bars would be a 7 day period which is controlled by this new NT Session Manager ...... I noticed that your modified renkos do not suffer from this problem ....... any idea how to solve this issue or a knowledgable volunteer with the magic wand who can make it disapear ?.........thanks

Attached Thumbnails
Renko bars not working in NT7-bar-reset.png  
Reply With Quote
 
  #35 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

In NT7, the Ninja guys decided that change the bar formation code to reset bars at a session boundary in addition to whenever a bar actually closes. Some people like this, some don't. Of course in their infinite wisdom they decided to not give you an option of choosing how to do the reset (many have asked for it).

The WickedRenko does reset on a session boundary, mainly because I don't want my bars to depend on the start date that is loaded.

If you want to change this behavior, there is a line of code near the begining of the bar type code like the following:

 
Code
if ((bars.Count == 0) || (bars.IsNewSession(time))
Change that to this:

 
Code
if (bars.Count == 0)
Save, recompile, restart, and you should be good to go.

Reply With Quote
 
  #36 (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

excellent.......I just need to figure out how to recompile @BarsTypes.cs ..... I know it's F5 for indicators when using Tools-> Edit NinjaScript ...... I can edit the file in Notepad but what needs to be done next? ....... obviously I am not a programmer

Reply With Quote
 
  #37 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


zikonc View Post
excellent.......I just need to figure out how to recompile @BarsTypes.cs ..... I know it's F5 for indicators when using Tools-> Edit NinjaScript ...... I can edit the file in Notepad but what needs to be done next? ....... obviously I am not a programmer

You just need to compile any indicator, and the change will get picked up.

Reply With Quote
The following user says Thank You to aslan for this post:
 
  #38 (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 so much ...... I also had to restart the NT since it did not work immediately after recompiling ........

Reply With Quote
 
  #39 (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 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

Attached Thumbnails
Renko bars not working in NT7-1.png   Renko bars not working in NT7-2.png   Renko bars not working in NT7-3.png  
Reply With Quote
 
  #40 (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,238 since Jun 2009
Thanks: 29,350 given, 83,219 received


It's a known problem. You can try WickedRenko from aslan which doesn't have the problem.

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:

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 08:36 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-12 in 0.17 seconds with 20 queries on phoenix via your IP 54.90.207.75