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


UniRenko, Universal Renko Bar Type
Updated: Views / Replies:196,936 / 568
Created: by monpere Attachments:101

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

UniRenko, Universal Renko Bar Type

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

UniRenko - Add statement to strategy code

I have a question regarding this UniRenko which works great on a chart. I am in the process of developing a multi time-frame strategy. I have put the Add statement in as follows:

Add(PeriodType.custom5, 004008002);

I get the following error so I know that something else is needed.

'NinjaTrader.Data.PeriodType' does not contain a definition for 'custom5'

Would anyone please let me know what other statement I have to insert into my code and where it has to go? It would be a big help. I am new at programming so please be specific. Many thanks!

Reply With Quote
 
  #132 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,304 received


profits View Post
I have a question regarding this UniRenko which works great on a chart. I am in the process of developing a multi time-frame strategy. I have put the Add statement in as follows:

Add(PeriodType.custom5, 004008002);

I get the following error so I know that something else is needed.

'NinjaTrader.Data.PeriodType' does not contain a definition for 'custom5'

Would anyone please let me know what other statement I have to insert into my code and where it has to go? It would be a big help. I am new at programming so please be specific. Many thanks!

change custom5 to Custom5

Reply With Quote
The following 4 users say Thank You to MWinfrey for this post:
 
  #133 (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



MWinfrey View Post
change custom5 to Custom5

Thanks MWinfrey, that fixed the compile problem! Another question please...
What order are the numbers in? In other words
004 = ?
008 = ?
002 = Tick Trend????

I need to clarify that. Thanks for indulging me.

Reply With Quote
The following user says Thank You to profits for this post:
 
  #134 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,304 received


profits View Post
Thanks MWinfrey, that fixed the compile problem! Another question please...
What order are the numbers in? In other words
004 = ?
008 = ?
002 = Tick Trend????

I need to clarify that. Thanks for indulging me.

I don't know...I think the author gives that order in an earlier post but not sure where. Can't look now because I am managing trades.

Reply With Quote
 
  #135 (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: 425 given, 1,125 received


profits View Post
Thanks MWinfrey, that fixed the compile problem! Another question please...
What order are the numbers in? In other words
004 = ?
008 = ?
002 = Tick Trend????

I need to clarify that. Thanks for indulging me.


In the example of 004008002

004 = Tick trend

008 = Tick Reversal

002 = Open offset

Reply With Quote
The following 5 users say Thank You to Tasker_182 for this post:
 
  #136 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,304 received


Tasker_182 View Post
In the example of 004008002

004 = Tick trend

008 = Tick Reversal

002 = Open offset

I'm sorry...I misunderstood the question. Duh!!!

Reply With Quote
The following user says Thank You to MWinfrey for this post:
 
  #137 (permalink)
Elite Member
NC, USA
 
Futures Experience: None
Platform: None Yet
Favorite Futures: Guitar
 
MrYou's Avatar
 
Posts: 403 since Jun 2011
Thanks: 618 given, 193 received

@monpere

Are you still using this bar type or have you moved on? Thanks!

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

Add(PeriodType.Custom5, 004008002);

I have another question for "monpere" or anyone else who can help me.

In the download link

https://futures.io/download/ninjatrader-7/indicators/1304-download.html?view

the following line is given as an example of Add() method when using Multi Time-Frame strategies:

Add(PeriodType.Custom5, 004008002);

It compiles OK but gives the following runtime error:

**NT** Failed to call method 'Initialize' for strategy 'RangeChartSlopes/6b7d4915312c43ab884f55c1706c5d1a': Please use the alternate method 'AddRenko()' instead of Add()

So I then changed the ADD() method to AddRenko() as follows:

AddRenko(PeriodType.Custom5, 004008002);

This time, I get a compile error:

No overload for method 'AddRenko' takes '2' arguments

Can someone shed some light on what to do here?

Thanks ahead!

Reply With Quote
 
  #139 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,304 received


profits View Post
I have another question for "monpere" or anyone else who can help me.

In the download link

https://futures.io/download/ninjatrader-7/indicators/1304-download.html?view

the following line is given as an example of Add() method when using Multi Time-Frame strategies:

Add(PeriodType.Custom5, 004008002);

It compiles OK but gives the following runtime error:

**NT** Failed to call method 'Initialize' for strategy 'RangeChartSlopes/6b7d4915312c43ab884f55c1706c5d1a': Please use the alternate method 'AddRenko()' instead of Add()

So I then changed the ADD() method to AddRenko() as follows:

AddRenko(PeriodType.Custom5, 004008002);

This time, I get a compile error:

No overload for method 'AddRenko' takes '2' arguments

Can someone shed some light on what to do here?

Thanks ahead!

Only use AddRenko with the Renko bar type chart comes with NT. Otherwise use Add() for all custom bar types. Further, why don't you post the code for the Initialize method so we can look at it.

Reply With Quote
The following user says Thank You to MWinfrey for this post:
 
  #140 (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

Initialize()


Hi, MWinfrey, here is my Initialize() method

protected override void Initialize()
{
CalculateOnBarClose = false;
Add(PeriodType.Minute, 1); //(BarsArray[1]
Add(PeriodType.Minute, 5); //(BarsArray[2]
Add(PeriodType.Minute, 10); //(BarsArray[3]
// Add(PeriodType.Custom5, 004008002); // compiles OK but give run-time error
// AddRenko(PeriodType.Custom5, 004008002); // compile error: No overload for method 'AddRenko' takes '2' arguments
}

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)
 

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

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 04:30 AM
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 8 April 1st, 2012 11:29 PM
Wicked Renko custom bar type for NT7 aslan NinjaTrader Programming 25 March 10th, 2012 10:13 AM
End of bar strategies with advanced bar types (Renko, Range, Kagi, etc) RM99 Elite EasyLanguage Automated Trading 2 September 9th, 2011 08:38 AM
how to load Median renko and LineBreakwicked type bar kieuthu59 NinjaTrader 8 April 11th, 2011 02:56 PM


All times are GMT -4. The time now is 05:48 PM.

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-10-20 in 0.08 seconds with 19 queries on phoenix via your IP 23.20.86.177