Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error compiling v7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error compiling v7

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

    Comment


      #3
      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?

      Comment


        #4
        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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by t.kelly4149, Today, 05:36 PM
        1 response
        8 views
        0 likes
        Last Post bltdavid  
        Started by SilverSurfer1, Today, 06:29 PM
        0 responses
        16 views
        0 likes
        Last Post SilverSurfer1  
        Started by trader3000a, Today, 01:06 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by marcus2300, Today, 11:45 AM
        3 responses
        31 views
        0 likes
        Last Post marcus2300  
        Started by pel11, Today, 11:06 AM
        0 responses
        13 views
        0 likes
        Last Post pel11
        by pel11
         
        Working...
        X