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


UniRenko, Universal Renko Bar Type
Started: by monpere Views / Replies:169,492 / 552
Last Reply: Attachments:100

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

UniRenko, Universal Renko Bar Type

  #331 (permalink)
Elite Member
Toronto
 
Futures Experience: Beginner
Platform: Ninja Trader
Broker/Data: AMP FUTURES/ZENFIRE
Favorite Futures: YM
 
Raj1's Avatar
 
Posts: 167 since Jul 2009
Thanks: 252 given, 55 received


profits View Post
Hi WolfieWolf, I use UniRenko in a multi-time frame strategy and I have no issues as you describe. Please make sure that you have the latest version, because there were some problems with the earlier one. I had run-time problems with the earlier version.

@profits:

Can you share your idea on how to code the higher time frame macd average line cross over condition (say, T3R10O3) in the New strategy analyser template of the lower time frame (SAY, T1R3O3).
A screen shot of the parameters would really help.
Thanks,
Raj1

Reply With Quote
 
  #332 (permalink)
Elite Member
Charlottetown, Prince Edward Island
 
Futures Experience: Advanced
Platform: Ninja
Broker/Data: Optimus - Rithmic
Favorite Futures: GC
 
WolfieWolf's Avatar
 
Posts: 232 since Jul 2010
Thanks: 100 given, 267 received


profits View Post
Yes, I believe that v. 4 is the latest, correctly-functioning version

Thanks for the advice, I re-installed the UniRenko and the problem has been resolved. I must have had an older version previously installed.

Many thanks for your help.

Kind Regards

/W

Reply With Quote
 
  #333 (permalink)
Elite Member
Charlottetown, Prince Edward Island
 
Futures Experience: Advanced
Platform: Ninja
Broker/Data: Optimus - Rithmic
Favorite Futures: GC
 
WolfieWolf's Avatar
 
Posts: 232 since Jul 2010
Thanks: 100 given, 267 received



Raj1 View Post
@profits:

Can you share your idea on how to code the higher time frame macd average line cross over condition (say, T3R10O3) in the New strategy analyser template of the lower time frame (SAY, T1R3O3).
A screen shot of the parameters would really help.
Thanks,
Raj1

Raj,

I'm afraid coding MTF strategies is a bit of a black art; I don't think I would be able to do it justice. Fat Tails has published a lot of very informative information on the topic, do a search. That's where I got a lot of really good information. Also, I'm not using the strategy analyser as it calculates everyone COBC=true. My strategy is based on COBC=false for the primary bar series and (FirstTickOfBar) for the secondary time series. The only way I am able to get accurate "back test" results is by running thousands of Market Replay simulations (which I have been doing and my eyes are ready to fall out).

Sorry I can't be of more help on the subject but it really is a big topic.

/W

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


Raj1 View Post
@profits:

Can you share your idea on how to code the higher time frame macd average line cross over condition (say, T3R10O3) in the New strategy analyser template of the lower time frame (SAY, T1R3O3).
A screen shot of the parameters would really help.
Thanks,
Raj1

Hello Raj1;

In order to use the "Strategy Analyzer" you already have to have a working strategy developed. This is just a tool you can use to test how well your strategy performs. Personally, I prefer to test my strategy by attaching it to a chart and forward-testing with market replay data.

The statement that you ask about is as follows, using multiple time frames

if (CrossAbove(MACD(BarsArray[UNIRENK1],12, 26, 9).Avg, MACD(BarsArray[UNIRENK2],12, 26, 9).Avg, 1))
{
// your logic here
}

Of course you have to have proper Add() statements for all the additional time frames such as

Add(PeriodType.Custom5, 001003003); // T1R3O3 to use your example

You also have to have the indeces ([UNIRENK1] and [UNIRENK2])defined to whatever values correctly correspond to the BarsArray order.

public int UNIRENK1 = 1; //BarsArray 1
public int UNIRENK2 = 2; //BarsArray 2

You can also use interger values instead as shown here


if (CrossAbove(MACD(BarsArray[1],12, 26, 9).Avg, MACD(BarsArray[2],12, 26, 9).Avg, 1))
{
}

Using variable simply makes it more flexible.

Oh, and you cannot put two non-time based time frames on one physical chart. That is because there is no 1:1 or 1:x correlation between the number of bars and the chart gets totally distorted.

Good luck in your development

“Everything is hard before it is easy”
~ Johann Wolfgang von Goethe
Reply With Quote
The following 5 users say Thank You to profits for this post:
 
  #335 (permalink)
Elite Member
Toronto
 
Futures Experience: Beginner
Platform: Ninja Trader
Broker/Data: AMP FUTURES/ZENFIRE
Favorite Futures: YM
 
Raj1's Avatar
 
Posts: 167 since Jul 2009
Thanks: 252 given, 55 received

Futures Edge on FIO

Which products do you trade?

 

profits View Post
Hello Raj1;

In order to use the "Strategy Analyzer" you already have to have a working strategy developed. This is just a tool you can use to test how well your strategy performs. Personally, I prefer to test my strategy by attaching it to a chart and forward-testing with market replay data.

The statement that you ask about is as follows, using multiple time frames

if (CrossAbove(MACD(BarsArray[UNIRENK1],12, 26, 9).Avg, MACD(BarsArray[UNIRENK2],12, 26, 9).Avg, 1))
{
// your logic here
}

Of course you have to have proper Add() statements for all the additional time frames such as

Add(PeriodType.Custom5, 001003003); // T1R3O3 to use your example

You also have to have the indeces ([UNIRENK1] and [UNIRENK2])defined to whatever values correctly correspond to the BarsArray order.

public int UNIRENK1 = 1; //BarsArray 1
public int UNIRENK2 = 2; //BarsArray 2

You can also use interger values instead as shown here


if (CrossAbove(MACD(BarsArray[1],12, 26, 9).Avg, MACD(BarsArray[2],12, 26, 9).Avg, 1))
{
}

Using variable simply makes it more flexible.

Oh, and you cannot put two non-time based time frames on one physical chart. That is because there is no 1:1 or 1:x correlation between the number of bars and the chart gets totally distorted.

Good luck in your development

@profits:

Thanks for your elaborate reply.

I thought of sending my strategy analyzer to you to add the above features, as I don't have sound c## software knowledge. That Is the reason, I am trying to develpe one thro' strategy analyzer template.

But, Your last para has put me on hold, as I understand that it is not possible to use two Uni-Renko time frames in one strategy. Is my understanding right.?

Thanks again for your efforts in replying my request.

Regards,
Raj1

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

Hello Raj1;

No, you misunderstood. You can have multiple UniRenkos in your strategy, no problem. Otherwise, the statement I have sent you earlier would not be possible.

You just cannot show multiple UniRenkos on ONE chart since it gets distorted if you try. Your chart should have only one time frame but the strategy attached to it can have multiple time frames.

I believe the best thing for you to do, is to go through the Ninja user guide and familiarize yourself with its features. It is a very powerful language. Also, if you are a new programmer, I would advise you to get more familiar with C# which is what Ninja script is based on. When you start venturing into multiple-time frames, it starts to get a bit more complicated. When I was starting out, I grabbed a few books from the local library and learned from them. There is also a lot of free information on the web. Make use of it. By learning how to program in Ninja, it made me a better trader as well because it allows me to quickly mock up a method and see if it is viable or not.

“Everything is hard before it is easy”
~ Johann Wolfgang von Goethe
Reply With Quote
The following 2 users say Thank You to profits for this post:
 
  #337 (permalink)
Elite Member
Indianapolis Indiana USA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: ES,NQ,TF,6J,6E,ZB
 
Posts: 3 since Jan 2013
Thanks: 5 given, 1 received

UniRenko Version4 link in BMT

When I load down UniRenko V4 from BTM I get <Version>7.0.1000.10</Version>(XML Document). I see nothing indicating that this is actually version 4.

Reply With Quote
The following user says Thank You to buttermilk1939 for this post:
 
  #338 (permalink)
Market Wizard
Florida
 
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: ES, NQ, YM, CL
 
trendwaves's Avatar
 
Posts: 721 since Dec 2012
Thanks: 2,629 given, 2,376 received
Forum Reputation: Legendary


buttermilk1939 View Post
When I load down UniRenko V4 from BTM I get <Version>7.0.1000.10</Version>(XML Document). I see nothing indicating that this is actually version 4.

The version number you are seeing (7.0.1000.10) is the version of NinjaTrader the indicator was exported with.

Be Patient and Trade Smart
Reply With Quote
The following user says Thank You to trendwaves for this post:
 
  #339 (permalink)
Elite Member
Indianapolis Indiana USA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: ES,NQ,TF,6J,6E,ZB
 
Posts: 3 since Jan 2013
Thanks: 5 given, 1 received

UniRenko bars synchronization

It seem that on occasion the first several UniRenko bars generated after midnight are changed significantly from the live version (CQG) vs the Market Replay version. I understand that some changes could be expected but it seems to happen only at this particular time.

Anyone has any thoughts on this

Reply With Quote
 
  #340 (permalink)
Elite Member
pittsburgh, pa
 
Futures Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker/Data: IB , AMP/ cqg
Favorite Futures: ES, CL
 
traderTX's Avatar
 
Posts: 145 since Mar 2010
Thanks: 50 given, 35 received

small problem


I am new.
i downloaded the unirenko indicator.
and went to utilities / imported the indicator.
got the little box that says it got imported ok.
but when i r-click on the chart and look in indicators.
i dont find renko or unirenko.

did i not import the indicator correctly or does it show up differently in nt ?

Trade what you see, not what you think.

"The better the mechanic, the fewer the tools"

"Futures Trading is risky and can cause substantial financial gain"
Reply With Quote

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)
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

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

no new posts
Page generated 2017-01-23 in 0.14 seconds with 21 queries on phoenix via your IP 54.205.153.63