NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 05-03-2010, 08:53 AM   #106
marticora
Junior Member
 
Join Date: Oct 2009
Posts: 18
Thanks: 0
Thanked 0 times in 0 posts
Default

Bertrand, now it works, it was my mistake: I did not select correctly the session template.
Thank you very much
Martin
marticora is offline  
Reply With Quote
Old 09-26-2011, 06:10 PM   #107
daytrader50
Junior Member
 
Join Date: Sep 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Cant get correct size Renko Bars for version 7

Hi Guys,

My first day with Ninja and the board. I am trying to get regular small renko bars and when I go to the period field and put in renko and 4 (I want 4 ticks per box) or tick and 4 and the bars are way too long as well. I change to ticks with a 4 point value and that doesn't help either. Now this is the simulator I am using now. I need directions for both the sim and real time. I pray they are the same as I know nothing about coding.

thanks, fellas.
daytrader50 is offline  
Reply With Quote
Old 09-27-2011, 02:05 AM   #108
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,380
Thanks: 252
Thanked 966 times in 949 posts
Default

daytrader50, welcome to our forums here - what market / contract are you simulating here? 4 ticks would equal for example a point bar size if you used the popular ES 12-11 contract as example.
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 09-27-2011, 07:40 AM   #109
daytrader50
Junior Member
 
Join Date: Sep 2011
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Trading the NQ

I am trading the most current NQ contract. Id like 4 tick renko bars. Thats 1 point, yes? But each instrument will be a different setting, isnt there a general way to set this and then change it for each instrument I choose? Seems if I am choosing renko from the drop down box, I should get boxes not long bars, correct? -)

thanks.
daytrader50 is offline  
Reply With Quote
Old 09-27-2011, 08:37 AM   #110
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,380
Thanks: 252
Thanked 966 times in 949 posts
Default

Correct, that's 4 then as well what you would need to input - this will vary of course across instruments and you would need to get a feel for which instruments / range you would use which Renko chart intervals. I'm sorry but I don't follow on your second comment - can you post a screenshot please of the Renko chart you got so we could look into? It would display as box style per default and could not be changed.
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 01-22-2012, 04:49 PM   #111
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default

Could someone please explain when the Add being called in a bar type? Is it on each tick?
maxima is offline  
Reply With Quote
Old 01-23-2012, 12:12 AM   #112
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,380
Thanks: 252
Thanked 966 times in 949 posts
Default

Quote:
Originally Posted by maxima View Post
Could someone please explain when the Add being called in a bar type? Is it on each tick?
maxima, the Add() call goes into the Initialize() of your script.

http://www.ninjatrader.com/support/h...7/addrenko.htm

You can then later check in your OnBarUpdate() from which bars object it's called via BarsInProgress.
NinjaTrader_Bertrand is online now  
Reply With Quote
Old 01-23-2012, 03:52 AM   #113
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default

thank you. but it was question to the users rather as you dont support this.

Add in the BarsType I meant.
maxima is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Renko Charts? Brunoben Charting 67 07-04-2009 04:06 PM
Enter on bars, exit on ticks and min bars requirment coolraz Strategy Development 3 12-15-2008 09:59 AM
Bars.GetSessionBar TAJTrades Indicator Development 3 06-01-2008 05:14 PM
Bars are wrong on strategy performance (negative bars) woodside Historical NinjaTrader 6.5 Beta Threads 2 01-13-2008 10:22 PM
Momentum bars or Price Range Bars Akros Indicator Development 7 06-10-2007 04:55 AM


All times are GMT -6. The time now is 07:18 AM.