![]() |
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
Join Date: Apr 2008
Posts: 146
Thanks: 8
Thanked 2 times in 2 posts
|
I am trying to convert a V6 indicator to V7. I get a compile error CS1061 on lines 570 and 571.
{ if (ChartControl != null && Bars != null && Bars.Count > 0 && Bars.MarketData != null && Bars.MarketData.Connection.PriceStatus == Cbi.ConnectionStatus.Connected Line 570 && ((ChartControl.SessionBegin.TimeOfDay == ChartControl.SessionEnd.TimeOfDay) Line 571 || (ChartControl.SessionBegin.TimeOfDay <= Now.TimeOfDay && ChartControl.SessionEnd.TimeOfDay >= Now.TimeOfDay))) return true; return false; } Where can I find information to resolve this? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello ThatManFromTexas,
You can see code breaking changes from versoin 6.5 to version 7 here. ChartControl is not supported NinjaScript. Unfortunately we can't tell you exactly how to fix your compile errors here. It likely has to do with the change from session times to the new session templates in NinjaTrader 7.
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2008
Posts: 146
Thanks: 8
Thanked 2 times in 2 posts
|
When I first started with V6 there were tutorials and videos to help understand NTv6.
Where is that type of information for V7? Where is documentation regarding new session templates in NinjaTrader 7? How much longer will V6 be supported? |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello,
Thanks for the reply. We don't plan to stop supporting NinjaTrader 6.5 anytime soon. Yes, we've updated documentation and videos for version 7. You can view the online version of the help guide here: http://www.ninjatrader.com/support/h..._version_7.htm The complete V7 video library is here: http://www.ninjatrader.com/support/h...eo_library.htm You can read about session tempaltes here: http://www.ninjatrader.com/support/h...on_manager.htm
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MRO error in v7, but not in 6.5 | snaphook | Indicator Development | 7 | 06-02-2010 09:31 AM |
| All Strategies Error Compiling | BigAAPL | Automated Trading | 2 | 11-12-2009 05:39 AM |
| compiling error after update | makra081 | Installation and Licensing | 8 | 08-31-2009 04:47 AM |
| Simple Compiling Error | texasnomad | General Programming | 8 | 10-22-2008 01:31 PM |
| Compiling Error | pjwinner | Indicator Development | 2 | 09-26-2008 10:32 AM |