NexusFi: Find Your Edge


Home Menu

 





UniRenko, Universal Renko Bar Type


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one MWinfrey with 27 posts (120 thanks)
    2. looks_two Tasker_182 with 27 posts (83 thanks)
    3. looks_3 jmcg618 with 21 posts (2 thanks)
    4. looks_4 profits with 20 posts (20 thanks)
      Best Posters
    1. looks_one monpere with 33.4 thanks per post
    2. looks_two dstrader with 8 thanks per post
    3. looks_3 MWinfrey with 4.4 thanks per post
    4. looks_4 Tasker_182 with 3.1 thanks per post
    1. trending_up 430,856 views
    2. thumb_up 1,698 thanks given
    3. group 227 followers
    1. forum 695 posts
    2. attach_file 122 attachments




 
Search this Thread

UniRenko, Universal Renko Bar Type

  #651 (permalink)
 jmcg618 
New York / USA
 
Experience: Intermediate
Platform: Ninjatrader
Trading: es
Posts: 33 since Aug 2017
Thanks Given: 2
Thanks Received: 11


Silvester17 View Post
it looks like you might just be wrong again

maybe you should watch tomorrow's webinar:






some more info here:

https://forum.ninjatrader.com/showthread.php?t=107060



Super Stoke about this news... just shelled out some money to get some custom stuff done... not sure if this update will include it but great news nonetheless...

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
41 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #652 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


NGtrader View Post
I don't have the indicator from Innovative but here is a side-by-side comparison of Ninzarenko on the left and Unirenko (from this forum) on the right. As you can see they are quite similar. I was using settings of 4,4. Ninzarenko does not have a setting for offset. Ninzarenko bars look a lot cleaner.

that is because ninja bar parm doesn't allow value = 0, thus offset minimum value = 1 even if you enter 0 for offset.
This version get around that restriction, set offset = 100 and it will treat it as Zero internally.
Note: this goes to bartypes folder not indicators folder, this is NT8 version.

Attached Thumbnails
Click image for larger version

Name:	CL 03-18 (4 UniRenkoBarsType(501)) 2018_01_17.png
Views:	621
Size:	34.9 KB
ID:	245857  
Attached Files
Elite Membership required to download: UniRenkoBarsType.cs
Reply With Quote
  #653 (permalink)
 
Scalpingtrader's Avatar
 Scalpingtrader 
Hanover, Germany
Legendary Amateur Trader
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 1,945 since Apr 2014
Thanks Given: 3,144
Thanks Received: 5,147



cory View Post
that is because ninja bar parm doesn't allow value = 0, thus offset minimum value = 1 even if you enter 0 for offset.
This version get around that restriction, set offset = 100 and it will treat it as Zero internally.
Note: this goes to bartypes folder not indicators folder, this is NT8 version.

Hi Cory, is there a version compatible with NT7?

Reply With Quote
  #654 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


Scalpingtrader View Post
Hi Cory, is there a version compatible with NT7?

1) open ninja 7, leave it open
2) go to folder \Documents\NinjaTrader 7\bin\Custom\Type
3) open UniRenkoBarsType.cs to edit it
4) add the following code , the final edit should look like what I post, save file
//set offset = 0
if (bars.Period.BasePeriodValue == 100)
openOffset = 0;
 
Code
                trendOffset    = bars.Period.Value  * bars.Instrument.MasterInstrument.TickSize;
                reversalOffset = bars.Period.Value2 * bars.Instrument.MasterInstrument.TickSize;
				//bars.Period.BasePeriodValue = bars.Period.Value;	//### Remove to customize OpenOffset
				openOffset = Math.Ceiling((double)bars.Period.BasePeriodValue * 1) * bars.Instrument.MasterInstrument.TickSize;
          //set offset = 0
		if (bars.Period.BasePeriodValue == 100)
                    openOffset = 0;

                barOpen = close;
                barMax  = barOpen + (trendOffset * barDirection);
                barMin  = barOpen - (trendOffset * barDirection);
5) open any indicator and compile it
6) re-start ninja, enter offset = 100 to test

Reply With Quote
Thanked by:
  #655 (permalink)
221Bazookas
Ensenada, Baja California / Mexico
 
Posts: 2 since Mar 2018
Thanks Given: 2
Thanks Received: 1

Hi...Im new in NT7 environment and on this forum...Hi everyone.

Well a friend recommended me UniRenko indicator so Im going through all the steps trying to download to no avail...am I missing a step or is this indicator not available?

....live long and prosper

Reply With Quote
  #656 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581


221Bazookas View Post
Hi...Im new in NT7 environment and on this forum...Hi everyone.

Well a friend recommended me UniRenko indicator so Im going through all the steps trying to download to no avail...am I missing a step or is this indicator not available?

....live long and prosper

https://forum.ninjatrader.com/local_links.php?catid=4&sort=N&pp=15&page=16

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #657 (permalink)
221Bazookas
Ensenada, Baja California / Mexico
 
Posts: 2 since Mar 2018
Thanks Given: 2
Thanks Received: 1

@michealf Hello and thank you...best regards

Reply With Quote
Thanked by:
  #658 (permalink)
greg500
Hershey, PA
 
Posts: 7 since Sep 2013
Thanks Given: 2
Thanks Received: 23

NT8 strategy builder... I would like to use Unirenko on multiple time-frames. The strategy builder is limited to the basic Bar Types.


I do see the // Add a 5 minute Bars object to the strategy
Add(PeriodType.Minute, 3); // BarsArray[2]

If I tried to place the Unirenko bar type, how would the open, offset and tick be set....

I was hoping I could simply use the Strategy Builder.

Any help.

Thank you! Greg, Hershey, PA

Reply With Quote
  #659 (permalink)
fede9483
rome, italy
 
Posts: 2 since Dec 2017
Thanks Given: 1
Thanks Received: 0

have some problem for import the file (ninjatrader 8)
unhandled exception: End of central directory record could not be found
resolved: i just edit the code and compile into the ninjtrader 8

Reply With Quote
  #660 (permalink)
 
TraderYoda's Avatar
 TraderYoda 
Hampshire / United kingdom
 
Experience: Intermediate
Platform: NinjaTrader
Broker: FXCM
Trading: Forex (Spot)
Posts: 71 since Mar 2015
Thanks Given: 33
Thanks Received: 40



cory View Post
that is because ninja bar parm doesn't allow value = 0, thus offset minimum value = 1 even if you enter 0 for offset.
This version get around that restriction, set offset = 100 and it will treat it as Zero internally.
Note: this goes to bartypes folder not indicators folder, this is NT8 version.

Hi @cory

I would be grateful if you could advise if this version of UniRenko that you tweaked should work with Ninjatrader 8 Tick Replay enabled?

When I enable Tick Replay, the UniRenko bars disappear?

Appreciate your advice

From post

Reply With Quote




Last Updated on April 3, 2023


© 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