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 > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-31-2007, 02:29 PM   #1
funk101
Senior Member
 
Join Date: Jan 2006
Location: Margate, Florida, USA
Posts: 426
Thanks: 0
Thanked 2 times in 2 posts
Send a message via AIM to funk101
Default Changing the chart X axis...

How can I change the chart's X axis display? I've seen on another NT chart, a display like so:

5/29 5/30 etc.

as opposed to the default time display.

Also, I'm overriding the Plot() method and overlaying indicator. I need to come up with X and Y for graphics.DrawText(). So, Y = (float)Close[0], no problem, but X = Time[0], and I can't cast (float)Time[0]. Is there a solution here, or is it simply not doable to plot X = Time[0]?
Attached Images
File Type: jpg timeDisplay.jpg (35.8 KB, 49 views)
Last edited by funk101; 05-31-2007 at 02:39 PM.
funk101 is offline  
Reply With Quote
Old 06-01-2007, 02:27 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

You can not change the x-axis label formatting. The date values you saw came e.g. from daily charts.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 06-01-2007, 03:48 AM   #3
funk101
Senior Member
 
Join Date: Jan 2006
Location: Margate, Florida, USA
Posts: 426
Thanks: 0
Thanked 2 times in 2 posts
Send a message via AIM to funk101
Default Well, please explain this then...

What I'm talking about came from fin-alg's TPO Chart/Market Profile for NT. http://www.fin-alg.com/tpo_help.html . And the picture I sent you is a 1 minute chart. Which, in the link, you will see the instructions telling you to open a 1 minute chart. So, I did a screen capture of the chart on my desktop clearly showing a 1 minute bar chart, and the 5/29 5/30, etc. time display. This is exactly what I am trying to recreate. Could you please explain?
Attached Images
File Type: jpg finalgChart.jpg (90.8 KB, 43 views)
funk101 is offline  
Reply With Quote
Old 06-01-2007, 03:51 AM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

This is beyond the scope of what we support. Please contact www.fin-alg.com for assistance.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 06-01-2007, 04:02 AM   #5
funk101
Senior Member
 
Join Date: Jan 2006
Location: Margate, Florida, USA
Posts: 426
Thanks: 0
Thanked 2 times in 2 posts
Send a message via AIM to funk101
Default Are you kidding me...?

I'm not asking you to support the chart, I revert back to my original question. There must be a way to change that display. If he did it, then it's possible.
Look, there's stuff that's not documented yet, for instance, "ChartControl"..
ChartControl.LastBarPainted, etc. I stumbled across it while reverse engineering VolumeZones.cs. I can't find any doc's on it. So, I can only *assume* that there are other controls like that, and I'm now getting to the point where I need to know *ALL* that is available to me, and that may include the time display issue. So, please, work with me, and don't fight me with replying "we don't support that". That is not what I'm asking.
funk101 is offline  
Reply With Quote
Old 06-01-2007, 04:07 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Let me try to explain:

The framework provides much more features than we actually can support. It's just a matter of bandwidth. As we progress on properly supporting the features we already expose, we will add more parts of the framework to the "supported and exposed" stuff. The proper usage of the feature you're asking for was figured out by www.fin-alg.com without any (!) support by us (which is in line with our policy).

Thanks for your understanding.
NinjaTrader_Dierk 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
Changing bar thickness on chart zoom Antraman Charting 3 04-10-2007 02:15 AM
chart does not update when changing instrument bmaltz Miscellaneous Support 5 11-29-2006 03:00 AM
Scaling on Y Axis stepwise Suggestions And Feedback 1 10-21-2006 02:10 PM
Need 2nd Axis / Auto-scale group in price plot aslane Suggestions And Feedback 1 05-26-2006 01:42 AM
Changing to SS efremiv Miscellaneous Support 1 11-10-2005 05:33 AM


All times are GMT -6. The time now is 12:45 PM.