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


UniRenko, Universal Renko Bar Type
Started: by monpere Views / Replies:168,566 / 548
Last Reply: Attachments:97

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 97  
 
Thread Tools Search this Thread
 

UniRenko, Universal Renko Bar Type

  #191 (permalink)
Elite Member
La Palma
 
Futures Experience: Advanced
Platform: NT7
Favorite Futures: forex
 
soren's Avatar
 
Posts: 8 since Jul 2010
Thanks: 1 given, 24 received

Comparison

This is the UniRenko with Settings of 4/4/1 (1 is the fake offset of 1)

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Below is the SoRenko with a setting of 4/4. The open is fixed at the close
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Below are the BrickBars, based on BetterRenko. It creates more bars, but represents the trades more accurately.
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 12 users say Thank You to soren for this post:
 
  #192 (permalink)
Elite Member
reston, va
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,101 since Jun 2009
Thanks: 614 given, 6,115 received


soren View Post
This is the UniRenko with Settings of 4/4/1 (1 is the fake offset of 1)
...

Charting is just a way of representing a set of data graphically as oppose to reading numbers rolling on screen horizontally. There is no fake/real way to chart them. Different authors prefer data to graph in different ways.

Reply With Quote
The following 2 users say Thank You to cory for this post:
 
  #193 (permalink)
Elite Member
La Palma
 
Futures Experience: Advanced
Platform: NT7
Favorite Futures: forex
 
soren's Avatar
 
Posts: 8 since Jul 2010
Thanks: 1 given, 24 received

Open



cory View Post
Charting is just a way of representing a set of data graphically as oppose to reading numbers rolling on screen horizontally. There is no fake/real way to chart them. Different authors prefer data to graph in different ways.

Monpere wrote in his description: "Like most Renko bars, the bar open is artificial."

In the UniRenko code the artificial open is called "fakeOpen". If it is set for example halfway down or up the last bar. It does not represent a real trade. It is a fake insofar as it is not based on any data. It only creates a pleasing optical illusion.
If on set the open at the last close (as I did with SoRenko and BrickBar, it represents a real tick that would have been tradable theoretically.

Charts always represent data in a special way. They are closely related to indicators - with all the disadvantages (lag, noise, false signals etc). That is one of the reason why I am trying to create a bar or chart style that is close to the reality but at the same time easily readable. BrickBars come close to this ideal for intraday trading.

Reply With Quote
 
  #194 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 174 since Dec 2010
Thanks: 276 given, 232 received

Memory leak with UniRenko

Soren,

Thanks for that... seems very interesting...

On a side but important note, is someone experiencing memory leaks with UniRenko?

I've started to see NT occasionally start eating up all memory to the point it hangs completely.
I believe the code must have some initialization issues... Couldn't determine what the problem is yet... If someone knows how to solve the problem please post a new version of the UniRenko bars or the solution for the problem here. Thanks!

Attached Thumbnails
UniRenko, Universal Renko Bar Type-2013-06-17_1039_unirenko_leak.png  
Reply With Quote
 
  #195 (permalink)
Elite Member
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 424 given, 1,120 received

Futures Edge on FIO

dstrader View Post
Soren,

Thanks for that... seems very interesting...

On a side but important note, is someone experiencing memory leaks with UniRenko?

I've started to see NT occasionally start eating up all memory to the point it hangs completely.
I believe the code must have some initialization issues... Couldn't determine what the problem is yet... If someone knows how to solve the problem please post a new version of the UniRenko bars or the solution for the problem here. Thanks!

I think this is further evidence of issues some of us have previously experienced. So far as i know there is no update that addresses the problem. My work around has been to remove the workspace and start over, painful but it is what i have to do. For me the problem you describe shows up when i have done market replay and then attempt to go live.

Reply With Quote
 
  #196 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 174 since Dec 2010
Thanks: 276 given, 232 received

I looked into the code and I don't seem to be able to find out what the problem is... maybe someone more experienced with bar type coding may help here... yep.. this is pretty serious since will bring down not only NT but your entire desktop...

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

I am getting the same sort of issues as described by others. My Ninja Doesn't freeze completely but for example if I try to open a new chart I can click on OK in the bottom left to open the chart and it just does nothing.

The only way I can get away from that screen is to push Control/Alt/Delete and without having to do anything else once I click on task manager it appears. I have been through every indicator I own and thought it might have been one of those but it is not. The only fix is to redo the whole work space which for anyone who runs a lot of charts is agony, takes me an hour minimum. Then anywhere between 3 to 10 days later the same issue shows back up.

I have been through Ninja Support, deleted DB, Cache, Re-installed Ninja from scratch and nothing works. Originally I thought it was corrupt work spaces but this most recent time it happened i loaded the exact same setup on my laptop and the issue wasn't there.

I will have my programmer work on this and see if we can find a fix for everyone's sake.

Mitch

Reply With Quote
The following user says Thank You to mitchjc01 for this post:
 
  #198 (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: 45,652 since Jun 2009
Thanks: 29,044 given, 80,657 received


mitchjc01 View Post
I am getting the same sort of issues as described by others. My Ninja Doesn't freeze completely but for example if I try to open a new chart I can click on OK in the bottom left to open the chart and it just does nothing.

The only way I can get away from that screen is to push Control/Alt/Delete and without having to do anything else once I click on task manager it appears. I have been through every indicator I own and thought it might have been one of those but it is not. The only fix is to redo the whole work space which for anyone who runs a lot of charts is agony, takes me an hour minimum. Then anywhere between 3 to 10 days later the same issue shows back up.

I have been through Ninja Support, deleted DB, Cache, Re-installed Ninja from scratch and nothing works. Originally I thought it was corrupt work spaces but this most recent time it happened i loaded the exact same setup on my laptop and the issue wasn't there.

I will have my programmer work on this and see if we can find a fix for everyone's sake.

Mitch

Take a look at trace files, and also take a look at taskmgr and check memory consumption when this happens. Are you running the x86 or x64 build?

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

Hey mike thanks for the reply. I haven't checked memory during while it happening but I will next time. The trace file leads to no clues. I have had ninja support look over the trace and log and there is nothing in there that shows what is happening while the issue is present. Have had my programmer look over things and he has found plenty of issues and says tue code is pretty messy, in his view. I am having him deal with it, it's way past my pay grade! I am do the basics and can trouble shoot most ninja issues but this one has got me good.

Ill report back if we can get it fixed to prevent the issues. If not I will be rewriting the code a it is a great tool, only if it worked right the whole time, not just 95% of the time.

Mitch

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

Fixed memory leak!


Folks,
These bars have become an integral part of my trading systems.
I went ahead and fixed the memory leak on the UniRenko bars. Now I can market replay a strategy without any memory leaks which is awesome.

I didn't want to attach here because it seems to be an elite indicator. Can someone tell me how to move this code up to the elite circle? or can I just attach here?

Thanks!

Reply With Quote
The following 16 users say Thank You to dstrader 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)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Bookmap New Indicator Panel, Cumulative Delta, Order Flow demo

Jan 17
 

An Afternoon with FIO member Massive l

Elite only

Leo Murphy: Making sense of Technical Analysis and Random Walk

Elite only
 

FuturesTrader71: Ask Me Anything

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 12:20 PM.

no new posts
Page generated 2017-01-18 in 0.14 seconds with 20 queries on phoenix via your IP 54.205.209.213