Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem compiling after installing new beta

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

    Problem compiling after installing new beta

    Hi

    I have recently upgraded to the latest beta because i was having some connectivity issues these seem to be fixed now

    but when i try to compile my strategy I get an error in the code saying

    Type\@BarsTypes.cs 'NinjaTrader.Data.Session.IsBeginOrEndSet' is a 'property' but is used like a 'method' CS0118 - click for info 200 23

    i think this is because before i had a section of code to try and control daily risk parameters like so

    if (Bars.FirstBarOfSession)
    {
    // Store the strategy's prior cumulated realized profit and number of trades
    priorTradesCumProfit = Performance.AllTrades.TradesPerformance.Currency.C umProfit;

    numberOfTrades=
    0;
    }



    if (priorTradesCumProfit - Performance.AllTrades.TradesPerformance.Currency.C umProfit > 500)
    return;

    elseif(priorTradesCumProfit - Performance.AllTrades.TradesPerformance.Currency.C umProfit < 500)
    {


    some help would be greatly appreciated
    Thanks in advance



    #2
    Hi !

    Please deinstall NinjaTrader 6.5 and manually delete the content of folder '<user>\My Documents\NinjaTrader 6.5\bin\Custom\Type'.

    Then reinstall the latest beta of NinjaTrader (6.5.0.8).

    Kind regards,
    Christian
    ChristianSenior Software Developer

    Comment


      #3
      once again very swift and accurate support

      Thanks and regards to all the NT team

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jcbinks, Today, 03:32 PM
      2 responses
      14 views
      0 likes
      Last Post jcbinks
      by jcbinks
       
      Started by Stefan Mayer, Today, 03:09 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by M_ichel, Today, 03:18 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by ralett, Today, 02:43 PM
      2 responses
      15 views
      0 likes
      Last Post ralett
      by ralett
       
      Started by Nightmaregpu, Today, 02:18 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X