Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy doesn't show in Strategies List

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

    Strategy doesn't show in Strategies List

    I opened an existing strategy in strategy editor and went "Save as..." saved it with a new name and changed some of the content. Compilation worked and the strategy shows in the strategies list of the editor. When I want to apply the new strategy to the chart it doesn't show in the list of available strategies. I checked the custom/strategies folder and it shows up there. I renamed it and it shows both in the folder and in the editor but not in the available strategies list. I closed and restartet NT and after no success I rebootet the PC. Same result. What can I do?

    #2
    Hello HappyTrader76,

    Please make sure that in he new strategy it has the correct Name = ""; string inside of State.SetDefaults. Also make sure that you are not seeing any errors in the control center log tab when opening the strategies window.

    Comment


      #3
      Hi Jesse,
      You were right, the Log Tab shows this error message:Click image for larger version

Name:	Screenshot 2023-07-14 174843.png
Views:	125
Size:	8.1 KB
ID:	1260402

      Comment


        #4
        Hello HappyTrader76,

        That means you have a code error in the OnStateChange override. Some object you are using is null when you tried to use it.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X