![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Senior Member
|
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]?
Last edited by funk101; 05-31-2007 at 02:39 PM.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
You can not change the x-axis label formatting. The date values you saw came e.g. from daily charts.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
|
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?
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
This is beyond the scope of what we support. Please contact www.fin-alg.com for assistance.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
|
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. |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |