![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 |
|
Member
Join Date: May 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
|
I have a custom indicator I am working on which makes only sense if run on a bar chart. Besides I'd like to help my user by defaulting a few chart settings like trading hrs, exclude SatSun and the like. Is there a way to do that from code in the indicator?
Thanks ahead! tb |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
You can check Time[0] property which has properties/methods for checking calendar days I am sure. Check the DateTime class/structure in C# DOC.
For checking chart type, this currently not supported.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Oops...I misread...
You can not control the chart properties.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Member
Join Date: May 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
|
OK -> wishlist I see. Would really be great if you could expose more of the NT object model....
Cheers Theo |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Indicator not updating on chart | Mike_32 | Charting | 5 | 05-06-2008 12:18 PM |
| Overlaying an Indicator on a bar or tic chart | MichaelB | Charting | 1 | 04-07-2008 01:25 AM |
| chart research value chart indicator | sgraham | NinjaScript File Sharing Discussion | 13 | 02-07-2008 08:30 PM |
| Indicator: Removing and Custom Formatting an Indicator’s Chart Label | NinjaTrader_Josh | Reference Samples | 0 | 12-30-2007 06:49 PM |
| Why doesn't the indicator chart update in RT? | henry.omd | Charting | 1 | 12-16-2007 07:55 PM |