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 philli4093, Today, 05:20 PM
      0 responses
      2 views
      0 likes
      Last Post philli4093  
      Started by memonolog, Today, 04:58 PM
      0 responses
      1 view
      0 likes
      Last Post memonolog  
      Started by robvul, Today, 04:20 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by sandman, Today, 01:54 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by tonynt, Today, 01:35 PM
      5 responses
      34 views
      0 likes
      Last Post NinjaTrader_Jermaine  
      Working...
      X