NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 07-25-2009, 01:17 PM   #1
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default open vs bar.Open

Hi,

Can anyone tell me the difference between

open, high, low, close

and

bar.Open, bar.High, bar.Low, bar.Close


Also,

I tried using the print function inside a cs file for chart type, and it wouldn't recognise the print command.

What's up with that?

RJay
RJay is offline  
Reply With Quote
Old 07-25-2009, 09:22 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

I believe it is the same, but post some code and I'll test it.

Same thing with the chart type.
NinjaTrader_Ben is offline  
Reply With Quote
Old 07-26-2009, 09:45 AM   #3
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

Working with Range Chart variations.

------------------------------------------------------------

UpdateBar(bars, bar.Open, bar.High, bar.Low, bar.Close, time, 0);

UpdateBar(bars, open, high, low, close, time, 0);

--------------------------------------------------------------

if (bars.Instrument.MasterInstrument.Compare(close, bar.Low + NewRangeValue) > 0)


if (bars.Instrument.MasterInstrument.Compare(close, low + NewRangeValue) > 0)

-----------------------------------------------------------------------
RJay is offline  
Reply With Quote
Old 07-26-2009, 10:06 AM   #4
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

So you are building a new range bar variation? This is beyond the level of support we provide. I do not know the answer to your question either given this context. However, I will show this to someone else and see if he can assist you further on Monday. Sorry.
NinjaTrader_Ben is offline  
Reply With Quote
Old 07-27-2009, 07:15 AM   #5
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

rt6176,

Unfortunately we do not support making chart types. I suggest you look at the various ones already made to investigate what they could be.
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-27-2009, 07:29 AM   #6
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default

NT,

Thank you for choosing to not answer any of my questions, again !!!

Every time I post a question here, A voice in my head keeps saying "Why are you wasting your time asking them??? ".

The definition of insanity is doing the same thing over and over again, expecting a different result.

Somebody lock me up,

RJay
RJay is offline  
Reply With Quote
Old 07-27-2009, 07:33 AM   #7
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

RJay,

Unfortunately making of chart types is unsupported. When you work with unsupported features, unfortunately, you are on your own.
NinjaTrader_Josh 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
Next Bar Open bradypreston General Programming 17 01-14-2011 10:12 AM
Current Bar Open Equals Previous Bar Close ramacan Charting 6 05-23-2009 11:07 AM
Backtest vs real-time Chart orders placed at Open of next bar vs Close of curr bar? tomace Strategy Analyzer 3 03-18-2009 07:06 AM
Does NT simulator place orders at the Close of current bar, or Open of next bar? tomace Strategy Development 1 03-02-2009 12:43 PM
Open Next Bar? GreenTrade Strategy Development 9 06-27-2008 09:20 AM


All times are GMT -6. The time now is 04:35 PM.