UniRenko, Universal Renko Bar Type - NinjaTrader | futures io social day trading
futures io futures trading


UniRenko, Universal Renko Bar Type
Updated: Views / Replies:205,026 / 587
Created: by monpere Attachments:107

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

UniRenko, Universal Renko Bar Type

  #211 (permalink)
Elite Member
Toronto
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: financial futures
 
profits's Avatar
 
Posts: 26 since Mar 2013
Thanks: 63 given, 31 received

This is for everyone who wishes to use the UniRenko bar type as a non-primary input series in a strategy. Learn from my mistake. The correct statement is:

Add(PeriodType.Custom5, 004008002); //TickTrend=4 , TickReversal=8, OpenOffset=2

Please note that the statement is CASE SPECIFIC!!

NinjaTrader tech support does not support these custom type bars and therefore they may or may not help you depending on the guy/gal you get. I initially got a compile error with the above statement because I spelled "custom" with all lower case letters as specified in an earlier post in this thread. When I asked tech support to help me, this is the answer I received:

Unfortunately it is not currently possible to add a custom bar type to a strategy. You would only be able to run a custom bar type as the primary input series.

The moral of the story is.... watch your case-specific spelling and be aware that Ninja tech support will not support custom indicators.

Good trading!

“Everything is hard before it is easy”
~ Johann Wolfgang von Goethe
Reply With Quote
The following 3 users say Thank You to profits for this post:
 
  #212 (permalink)
Elite Member
Singapore
 
Futures Experience: Beginner
Platform: ThinkOrSwim, NinjaTrader
Favorite Futures: options, currency
 
Posts: 13 since Apr 2011
Thanks: 23 given, 12 received

Problem with programmitical use of Unirenko

I've tried Add(PeriodType.Custom5, 004008002) in my custom indicator and it does not seem to work. I do not get any data coming in through the corresponding BarsInProgress in OnBarUpdate(). However, if I use small Period value like 200 (eg Add(PeriodType.Custom5, 200), I can see data coming in through the corresponding BarsInProgress.

Wonder if anyone successfully called such Add() in their code. If so, is there any other considerations that need to be implemented?

Meantime, I've just feedback to Ninjatrader and waiting for their response.

Have a good trading day.:-)

Reply With Quote
 
  #213 (permalink)
Elite Member
Wrocław, Poland
 
Futures Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 605 received



ckkoh View Post
I've tried Add(PeriodType.Custom5, 004008002) in my custom indicator and it does not seem to work. I do not get any data coming in through the corresponding BarsInProgress in OnBarUpdate(). However, if I use small Period value like 200 (eg Add(PeriodType.Custom5, 200), I can see data coming in through the corresponding BarsInProgress.

Wonder if anyone successfully called such Add() in their code. If so, is there any other considerations that need to be implemented?

Meantime, I've just feedback to Ninjatrader and waiting for their response.

Have a good trading day.:-)

It's unlikely you will get help from NT regarding this bar type since this is a custom bar type therefore by definition: not supported

Reply With Quote
 
  #214 (permalink)
Elite Member
Toronto
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: financial futures
 
profits's Avatar
 
Posts: 26 since Mar 2013
Thanks: 63 given, 31 received


ckkoh View Post
I've tried Add(PeriodType.Custom5, 004008002) in my custom indicator and it does not seem to work. I do not get any data coming in through the corresponding BarsInProgress in OnBarUpdate(). However, if I use small Period value like 200 (eg Add(PeriodType.Custom5, 200), I can see data coming in through the corresponding BarsInProgress.

Wonder if anyone successfully called such Add() in their code. If so, is there any other considerations that need to be implemented?

Meantime, I've just feedback to Ninjatrader and waiting for their response.

Have a good trading day.:-)

ckkoh, while I obviously do not know the details of your source code, be sure to try this. Forward test it, or live test it on demo account. Do not backtest it. This is because static data does not seem to be processed the same way as streaming data (live or historical). This is ESPECIALLY CRITICAL when you have set CalculateOnBarClose = false; I have now successfully added the UniRenko (version 3) to my code and it works! I was also previously experiencing problems with the earlier version so I can empathize.

This community will likely help you a lot more than Ninja tech support, especially with the custom source code.

One other thing about tech support. These people are knowledgeable about what they need to support. Some know a little bit more than others and are willing to go the "extra mile" to help you. If you get the standard canned response, "we do not support this", then try submitting the same request again later. You may get someone different to answer. In my limited experience, Bertrand seems to be the most experienced.

I hope this helps.

Good trading!

“Everything is hard before it is easy”
~ Johann Wolfgang von Goethe
Reply With Quote
The following 4 users say Thank You to profits for this post:
 
  #215 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary


dstrader View Post
ok... I followed Big Mike's suggestion and created a new entry (and called this v3):
https://futures.io/download/ninjatrader-7/indicators/1430-download.html?view

I believe just Elite members can access, but I'm not sure.

@dstrader,

Thanks for fixing the bug.

Since your posting of the V3 on July 10, 2013, @monpere also posted in downloads a newer version on July 11, 2013.

This leads me to believe that @Monepere may have already included your bug fix in his newer version. He mentions your V3 but does not comment on whether his new version includes your bug fix.

Could you or @monpere please comment on: If I have the Monpere's 7/11 Version would I still need your 7/10 version? Which one is the latest version with the bug fix?

Thanks.

Reply With Quote
 
  #216 (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,354 given, 83,237 received


aligator View Post
@dstrader,

Thanks for fixing the bug.

Since your posting of the V3 on July 10, 2013, @monpere also posted in downloads a newer version on July 11, 2013.

This leads me to believe that @Monepere may have already included your bug fix in his newer version. He mentions your V3 but does not comment on whether his new version includes your bug fix.

Could you or @monpere please comment on: If I have the Monpere's 7/11 Version would I still need your 7/10 version? Which one is the latest version with the bug fix?

Thanks.

That is incorrect.

I updated his entry is all, as per previous post on this thread. Monpere hasn't been active in a long time.

Sent from my LG Optimus G Pro

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 3 users say Thank You to Big Mike for this post:
 
  #217 (permalink)
Elite Member
Greensboro NC
 
Futures Experience: None
Platform: TOS/ NT Dorman
Favorite Futures: ES TF CL
 
Rad4633's Avatar
 
Posts: 1,352 since Sep 2011
Thanks: 2,651 given, 886 received

Conversion formula from Renko Hybrid to Uni Renko?

I have hybrid but am testing a setup and need to convert to Uni for testing

thx in advance
R

Reply With Quote
 
  #218 (permalink)
Elite Member
Melbourne
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Zen-fire/Gain Capital/Mirus Futures
Favorite Futures: ES, Forex
 
Posts: 7 since Aug 2009
Thanks: 3 given, 14 received

Just thought I would let everyone know that since uploading the new version I have not seen any issues at all. Longest I have had a workspace since using these bars, going on about 2 weeks now, usually I would get around 5 days and then I would have to recreate and delete everything and start again. That was the only fix that worked. So thanks again for the update and my 4.6ghz overclocked i7 3820 actually acts like one now!

Now all we need is NT8 to hurry up and get out so we can actually use the full power (mulit Core/Thread )of just about any modern computers for charting. NT7 is a crocodile now.

Thanks again and if you have not updated to this version you NEED to. Eventually you will run into the issues I and a large number of people have experienced.

Regards,
Mitch

Reply With Quote
The following 8 users say Thank You to mitchjc01 for this post:
 
  #219 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received

ok... as I said I've been using the UniRenko extensively on my trading systems... and as I result of that I found another issue that needed to be addressed: in few situations when running Market Replay prices travel to '0' (zero) and causes undesirable results. This is not related to any memory leak as this problem has been solved by my previous download.

I also found that many of the vendor provided hybrid bars have the same issue as I downloaded trial versions and tested them when I was trying to understand where the problem was (interesting, seems like some vendors copy the code and sell them without even properly testing... ??).

I realized that NT original Renko bars had the same issue and they solved it by dealing with the specifi situation in the code (I found funny their comment in the code "not sure why but it happens". Well, I found the same...). I had to write my own streamwriter function to debug this issue as it's impossible to debug bar types within Ninjatrader (a .pdb file is not created for BarsType.cs, and even NT support couldn't help me here).

I believe I have a solid UniRenko code now, but of course, if someone finds another issue please let me know. These bars invented by monpere, are the best thing for me since the invention of diet coke...

My question is how do I delete my previous version and upload this new one? Do I need to add another version? I couldn’t figure out how to delete my entry and add again with the new code or even change the attached zip file… I’m just trying to prevent people from downloading previous versions.

Reply With Quote
The following 10 users say Thank You to dstrader for this post:
 
  #220 (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,354 given, 83,237 received



dstrader View Post
ok... as I said I've been using the UniRenko extensively on my trading systems... and as I result of that I found another issue that needed to be addressed: in few situations when running Market Replay prices travel to '0' (zero) and causes undesirable results. This is not related to any memory leak as this problem has been solved by my previous download.

I also found that many of the vendor provided hybrid bars have the same issue as I downloaded trial versions and tested them when I was trying to understand where the problem was (interesting, seems like some vendors copy the code and sell them without even properly testing... ??).

I realized that NT original Renko bars had the same issue and they solved it by dealing with the specifi situation in the code (I found funny their comment in the code "not sure why but it happens". Well, I found the same...). I had to write my own streamwriter function to debug this issue as it's impossible to debug bar types within Ninjatrader (a .pdb file is not created for BarsType.cs, and even NT support couldn't help me here).

I believe I have a solid UniRenko code now, but of course, if someone finds another issue please let me know. These bars invented by monpere, are the best thing for me since the invention of diet coke...

My question is how do I delete my previous version and upload this new one? Do I need to add another version? I couldn’t figure out how to delete my entry and add again with the new code or even change the attached zip file… I’m just trying to prevent people from downloading previous versions.

Go to the Download link, and then edit and upload the new version, and edit description to add the new date and changelog item. Then make a post in this thread, and when I read it, I will send out the notifications of the new version to those who downloaded the old one.

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 5 users say Thank You to Big Mike for this post:

Reply



futures io > > > > UniRenko, Universal Renko Bar Type

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
Better Renko Bar Size (vs. 5 min bar) TrendTraderBH Traders Hideout 5 December 9th, 2016 05:30 AM
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 8 April 2nd, 2012 12:29 AM
Wicked Renko custom bar type for NT7 aslan NinjaTrader Programming 25 March 10th, 2012 11:13 AM
End of bar strategies with advanced bar types (Renko, Range, Kagi, etc) RM99 Elite EasyLanguage Automated Trading 2 September 9th, 2011 09:38 AM
how to load Median renko and LineBreakwicked type bar kieuthu59 NinjaTrader 8 April 11th, 2011 03:56 PM


All times are GMT -4. The time now is 10:08 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-17 in 0.12 seconds with 19 queries on phoenix via your IP 107.20.115.174