NexusFi: Find Your Edge


Home Menu

 





Renko bars not working in NT7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one aslan with 16 posts (40 thanks)
    2. looks_two zikonc with 14 posts (1 thanks)
    3. looks_3 RJay with 11 posts (7 thanks)
    4. looks_4 Todd with 8 posts (0 thanks)
      Best Posters
    1. looks_one roonius with 3.3 thanks per post
    2. looks_two gregid with 3.1 thanks per post
    3. looks_3 aslan with 2.5 thanks per post
    4. looks_4 RJay with 0.6 thanks per post
    1. trending_up 44,962 views
    2. thumb_up 89 thanks given
    3. group 21 followers
    1. forum 109 posts
    2. attach_file 24 attachments




 
Search this Thread

Renko bars not working in NT7

  #31 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 756
Thanks Received: 787

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
Click image for larger version

Name:	CL 06-10 (4 WickedRenko)  5_4_2010.jpg
Views:	485
Size:	137.5 KB
ID:	12760  
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Deepmoney LLM
Elite Quantitative GenAI/LLM
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
24 thanks
The Program
18 thanks
  #32 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127

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
Elite Membership required to download: WickedRenkoBarsType_NT7_V2.zip
Reply With Quote
Thanked by:
  #33 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 756
Thanks Received: 787



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)
 zikonc 
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks Given: 98
Thanks Received: 76

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
Click image for larger version

Name:	BAR RESET.png
Views:	424
Size:	33.2 KB
ID:	12845  
Reply With Quote
  #35 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127

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)
 zikonc 
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks Given: 98
Thanks Received: 76

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)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


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
Thanked by:
  #38 (permalink)
 zikonc 
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks Given: 98
Thanks Received: 76

thanks so much ...... I also had to restart the NT since it did not work immediately after recompiling ........

Reply With Quote
  #39 (permalink)
 zikonc 
san ramon
 
Experience: Beginner
Platform: ninja
Broker: zen
Trading: es, 6e
Posts: 136 since Oct 2009
Thanks Given: 98
Thanks Received: 76

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
Click image for larger version

Name:	1.png
Views:	311
Size:	30.2 KB
ID:	13283   Click image for larger version

Name:	2.png
Views:	319
Size:	22.7 KB
ID:	13284   Click image for larger version

Name:	3.png
Views:	301
Size:	23.1 KB
ID:	13285  
Reply With Quote
  #40 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,535


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

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on January 23, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts