• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Any way to auto-enable strategy?

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

    Any way to auto-enable strategy?

    while building/testing strategy, it frequently gives some errors and stradegy disables itself...
    we have to every time, after we click F5 in editor, we have to manually enable strategy again from dropdown and it's quite time consuming and annyoing..
    is there some option, that will automatically force strategy, to "check" enabled, everytime we click F5 in editor?

    to understand clearlly, it should "try" to enable..
    for example, we have error in strategy coding, and clicking F5 causes some errors, and strategy disables itself.

    we fix the error and click F5, and strategy should enable itself (i mean, try to enable and if it sees there is no error, should stay enabled).

    will be helpfull
    please, suggest to dev.team.

    #2
    Hello selnomeria,

    Thanks for writing in to our Support team.

    It is not possible to automatically re-enable a strategy - all strategies must manually be re-enabled. That being said, the act of compiling in the editor should not be disabling the strategy.

    I'd like to review your log and trace files so that I may investigate this further - and if you would be able to provide me a sample of your strategy for me to test, that would help me to diagnose the issue.

    You can do this by going to the Control Center-> Help-> Mail to Platform Support.

    Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default. You may also include your strategy as an attachment in this email.

    Please reference this forum post in the body of your email and title it ATTN Alan S.

    I look forward to your reply.
    Alan S.NinjaTrader Customer Service

    Comment


      #3
      thanks alan.
      No, i think you've misunderstood.
      I say, that not the editor is disabled,but Strategy on chart is being changed from true into false (the "enable" field), every time the strategy code makes something failing in execution (i.e. object is null while calling that or like such NON-COMPILER DETECTABLE errors)...

      in such cases, strategy is being disbled on chart automatically, and after editing the editor code, and compiling that, i have to manually enable strategy on Chart>Enabled>true.

      and it is very very time consuming while developing strategy/script....
      it would be nice a little checkbox in options : "automatically try to enable Strategy on editor code compile, after clicking F5")

      Comment


        #4
        Hello selnomeria,

        Thank you for the clarification.

        The strategy becoming disabled after a failed order submission is expected - I will submit a feature request to our development team on your behalf to have an option to attempt to re-enable the strategy upon re-compiling it in the NinjaScript Editor if you have it applied to a chart or if it is listed in your Strategies tab.

        I would still like to review your diagnostic files to determine what sorts of errors you are receiving and to assist with the resolution.

        You can do this by going to the Control Center-> Help-> Mail to Platform Support.

        Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default. You may also include your strategy as an attachment in this email.

        Please reference this forum post in the body of your email and title it ATTN Alan S.

        Additionally, if you send me the relevant sections of your code that contain your order entry logic that would also help me to diagnose the issue.

        Please let me know if I may be of any further assistance.
        Alan S.NinjaTrader Customer Service

        Comment


          #5
          Hello selnomeria,

          Thanks for your suggestion to improve our product.

          I wanted to let you know that your feature request is being tracked with unique tracking ID SFT-2377.

          Please let me know if I may be of any further assistance.
          Alan S.NinjaTrader Customer Service

          Comment


            #6
            any news about the ticket? how can we view those ticket progress? should I have to ask you everytime in writing (like this post) to get info about ticket updates?

            Comment


              #7
              Hello selnomeria,

              Thank you for the reply.

              You can track features that have been implemented in the change logs with the tracking number in post 5. Unfortunately, we don't have any kind of public feature request tracking system so we would not have a way for you to check ongoing status. I can tell you that we have tracked it and development will review it.

              If items are implemented or changed, you can track that in the changelog here: http://ninjatrader.com/support/helpG...ease_notes.htm

              Please let me know if I may be of further assistance.
              JesseNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by maggie3, Today, 02:05 AM
              0 responses
              3 views
              0 likes
              Last Post maggie3
              by maggie3
               
              Started by qewcool, Today, 01:14 AM
              0 responses
              3 views
              0 likes
              Last Post qewcool
              by qewcool
               
              Started by fredrikn, 05-08-2019, 04:01 AM
              17 responses
              669 views
              1 like
              Last Post emtrader  
              Started by zacharydw00, Yesterday, 10:19 PM
              0 responses
              3 views
              0 likes
              Last Post zacharydw00  
              Started by chafan11, Yesterday, 09:28 PM
              0 responses
              7 views
              0 likes
              Last Post chafan11  
              Working...
              X