Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Script

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

    Strategy Script

    Hey all things for all the assistance in the past.
    I made a script in NT editor under the strategy side of things. It compiles correctly but i does not show up under strategy in the console or any charts.
    It maybe due that's its not really a strategy but more of a script to let me know when the server gets disconnected it will send me a txt messages to let me know.
    Any ideas?

    #2
    To show up in the strategy list it must inherit form NinjaTrader.NinjaScript.Strategy and have a Name property that is set and non-empty.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      The setup should be correct I have made nt builders and also cut and paste script setups before and all showed up

      Comment


        #4
        Hello Chryslertech,

        I would suggest to upload the .cs file that you made so that we have a better idea of what may be happening.

        Please also check the control center log tab after opening the strategies menu. If your strategy had an error in its OnStateChange override it won't show up in the menu to be selected.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Here is the CS file
          Attached Files

          Comment


            #6
            Hello Chryslertech,

            I imported the item but I did have to comment out the Twilio related code for it to compile. I see this listed in the strategies list as SMS Alert Server Statusy.

            Did you press F5 to compile the script in the NinjaScript editor?

            Are you seeing errors in the control center log tab after opening the strategies menu?
            JesseNinjaTrader Customer Service

            Comment


              #7
              It did complile I added the nessary reaources files for twilio

              Comment


                #8
                Hello Chryslertech,

                Are you seeing errors in the control center log tab?

                If an item doesn't show up in the menu its generally because of an error its having. That is important to check the log tab for errors.
                JesseNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Balage0922, Today, 07:38 AM
                0 responses
                2 views
                0 likes
                Last Post Balage0922  
                Started by JoMoon2024, Today, 06:56 AM
                0 responses
                6 views
                0 likes
                Last Post JoMoon2024  
                Started by Haiasi, 04-25-2024, 06:53 PM
                2 responses
                19 views
                0 likes
                Last Post Massinisa  
                Started by Creamers, Today, 05:32 AM
                0 responses
                6 views
                0 likes
                Last Post Creamers  
                Started by Segwin, 05-07-2018, 02:15 PM
                12 responses
                1,786 views
                0 likes
                Last Post Leafcutter  
                Working...
                X