[NinjaTrader] How to AddDataSeries for Unirenko Bars for NT 8 - Platforms and Indicators | futures io social day trading
futures io futures trading


How to AddDataSeries for Unirenko Bars for NT 8
Updated: Views / Replies:780 / 7
Created: by WoodyFox Attachments:2

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

How to AddDataSeries for Unirenko Bars for NT 8

  #1 (permalink)
Elite Member
Columbus, Ohio
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: NQ
 
WoodyFox's Avatar
 
Posts: 24 since May 2016
Thanks: 5 given, 37 received

How to AddDataSeries for Unirenko Bars for NT 8

Anybody know how to code UniRenko bars as DataSeries for an indicator in NinjaTrader 8.

else if (State == State.Configure)
{
AddDataSeries(Data.BarsPeriodType.??????);
}

Attached Thumbnails
How to AddDataSeries for Unirenko Bars  for NT 8-unirenko_as_dataseries.png  
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,346 since Jun 2009
Thanks: 3,554 given, 3,964 received


Maybe in checking the content of the .cs file defining your unirenko bar type, which should be in "My Documents\NinjaTrader 8\bin\Custom\BarsTypes"?

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #4 (permalink)
Elite Member
Columbus, Ohio
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: NQ
 
WoodyFox's Avatar
 
Posts: 24 since May 2016
Thanks: 5 given, 37 received

Thank You, But not sure what I'm looking For?

Attached Thumbnails
How to AddDataSeries for Unirenko Bars  for NT 8-unirenkobarstype.png  
Reply With Quote
 
  #5 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,346 since Jun 2009
Thanks: 3,554 given, 3,964 received


WoodyFox View Post
Thank You, But not sure what I'm looking For?

Line 36: BarsPeriodType => 20

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #6 (permalink)
Elite Member
Columbus, Ohio
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: NQ
 
WoodyFox's Avatar
 
Posts: 24 since May 2016
Thanks: 5 given, 37 received

Cool, Thank You!

For those looking to AddDataSeries for UniRenko
Here it is;

else if (State == State.Configure)
{
AddDataSeries(new BarsPeriod() { BarsPeriodType = (BarsPeriodType)20, Value = 5, Value2 = 15 });
}

5 = Tick Trend
15 = Tick Reversal

Trend and Reversal can be set to whatever you need.

Reply With Quote
The following user says Thank You to WoodyFox for this post:
 
  #7 (permalink)
Elite Member
Sunshine Coast Queensland Australia
 
Futures Experience: Intermediate
Platform: Ninja Trader, DT7.
Broker/Data: Ninjatrader
Favorite Futures: AUD Futures
 
KennyK's Avatar
 
Posts: 88 since Apr 2013
Thanks: 28 given, 22 received

Offset missing?


WoodyFox View Post
Cool, Thank You!

For those looking to AddDataSeries for UniRenko
Here it is;

else if (State == State.Configure)
{
AddDataSeries(new BarsPeriod() { BarsPeriodType = (BarsPeriodType)20, Value = 5, Value2 = 15 });
}

5 = Tick Trend
15 = Tick Reversal

Trend and Reversal can be set to whatever you need.

How would I set the "Offset" Parameter in this code?

Reply With Quote
 
  #8 (permalink)
Elite Member
houston Texas
 
Futures Experience: None
Platform: ninja trader
Favorite Futures: forex
 
Posts: 1 since May 2012
Thanks: 0 given, 0 received

else if (State == State.Configure)
{
barsTypeName=BarsPeriod.BarsPeriodTypeName;
wBticksize=BarsPeriod.Value;
wBreverse=BarsPeriod.Value2;
offset=BarsPeriod.BaseBarsPeriodValue;

if(barsTypeName=="BetterRenko(17)")
{
int wBticksize2=wBticksize/2;
int wBticksize3=wBticksize2*2;
int number2=wBticksize2;
int number3=wBticksize3;
AddDataSeries( (BarsPeriodType) 17,number2);
AddDataSeries( (BarsPeriodType) 17,number3);

}

if(barsTypeName=="UniRenkoBarsType(501)")//"UniRenko")//
{
// next levels
// next levels
int wBticksize2=wBticksize*2;
int wBreverse2=wBticksize2*3;
int wBticksize3=wBticksize*4;
int wBreverse3=wBticksize3*3;
AddDataSeries(new BarsPeriod() { BarsPeriodType =(BarsPeriodType) 501, Value =wBticksize2, Value2 =wBreverse2 , BaseBarsPeriodValue=1});
AddDataSeries(new BarsPeriod() { BarsPeriodType =(BarsPeriodType) 501, Value = wBticksize3, Value2 = wBreverse3, BaseBarsPeriodValue=1});



}

Reply With Quote

Reply



futures io > > > [NinjaTrader]    How to AddDataSeries for Unirenko Bars for NT 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

FuturesTrader71: TBA

Elite only

Al Brooks: TBA

Elite only

Jigsaw Trading: TBA

Oct 19

RandBots: TBA

Oct 24
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
UniRenko Bars for NT8 richi NinjaTrader 14 July 25th, 2017 12:59 PM
Import Unirenko Chart type from NT to Ninjatrader? sleip Sierra Chart 16 August 11th, 2016 12:17 PM
Unirenko bars without the additional tick to form the bar? mannya NinjaTrader 2 May 30th, 2015 07:38 AM
Unirenko bars download Georgetrader Traders Hideout 6 August 14th, 2013 11:02 AM
Flex Renko Bars: WHat would be UniRenko settings? traderxman The Elite Circle 9 May 12th, 2013 08:53 PM


All times are GMT -4. The time now is 03:41 AM.

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-09-23 in 0.10 seconds with 20 queries on phoenix via your IP 54.198.58.62