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 Big Mike with 20 posts (54 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 426,484 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

  #331 (permalink)
 
Raj1's Avatar
 Raj1 
Toronto
 
Experience: Beginner
Platform: Ninja Trader
Broker: AMP FUTURES/ZENFIRE
Trading: YM
Posts: 130 since Jul 2009
Thanks Given: 253
Thanks Received: 58


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

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #332 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272


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)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272



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)
 
profits's Avatar
 profits 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Trading: financial futures
Posts: 29 since Mar 2013
Thanks Given: 79
Thanks Received: 40


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
  #335 (permalink)
 
Raj1's Avatar
 Raj1 
Toronto
 
Experience: Beginner
Platform: Ninja Trader
Broker: AMP FUTURES/ZENFIRE
Trading: YM
Posts: 130 since Jul 2009
Thanks Given: 253
Thanks Received: 58


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)
 
profits's Avatar
 profits 
Toronto
 
Experience: Intermediate
Platform: NinjaTrader
Trading: financial futures
Posts: 29 since Mar 2013
Thanks Given: 79
Thanks Received: 40

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
Thanked by:
  #337 (permalink)
 buttermilk1939 
Indianapolis Indiana USA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES,NQ,TF,6J,6E,ZB
Posts: 3 since Jan 2013
Thanks Given: 5
Thanks Received: 1

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
Thanked by:
  #338 (permalink)
 
trendwaves's Avatar
 trendwaves 
Florida
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
Posts: 703 since Dec 2012
Thanks Given: 2,898
Thanks Received: 2,525


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
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #339 (permalink)
 buttermilk1939 
Indianapolis Indiana USA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES,NQ,TF,6J,6E,ZB
Posts: 3 since Jan 2013
Thanks Given: 5
Thanks Received: 1

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)
 
traderTX's Avatar
 traderTX 
pittsburgh, pa
 
Experience: Intermediate
Platform: Ninjatrader, ensign, wave59
Broker: IB , AMP/ cqg
Trading: ES, CL
Posts: 154 since Mar 2010
Thanks Given: 54
Thanks Received: 47


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




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