Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Empty parameter grid

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

    Empty parameter grid

    Howdy,

    Encountered a strange problem. Wrote and compiled strategy X. Tried to launch it from chart, but nothing happended. Then tried to launch it from Control Center / Strategies pad (right mouse click), picked up the strategy from the list, but the parameter grid remained empty. Tried another strategy, which worked well, then tried again X, but NT did not update the parameter grid. Any idea? Using NT6.5, MS Windows XP & MS Server Standard 2008 32-bit, same problem in both environments, usually no problems.

    Is this OK (no compiling errors):

    public struct mktData {
    public double price;
    public DateTime time;
    }

    mktData[] trades = new mktData[10];

    trades[0].time = DateTime.Now;

    #2
    jp_kettunen, while using structs is outside of our supported scope here (more general C#), this would likely work - any errors in your log tab as you apply your strategy? Is the SampleMACrossOver one working as expected?

    Comment


      #3
      Good point Bertrand, the Log provided the answer: array indexing error in Initialize().
      A case of decayed vigilance as a result of combining 8 hours' working day with all-night coding sessions.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      58 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      39 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      19 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      21 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      51 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X