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

End of Month Strategy

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

    End of Month Strategy

    Hello,
    I would like put together a seasonal strategy that enters at the 25th day of each month and exits on 5th day the following month.
    I cound't find a way to do it the Strategy Builder. Since I am not a coder, I can not use the Ninja Script. Does anyone has an idea or knows a custom indicator? Thanks.

    SK

    #2
    Welcome to the forums superkolleech!

    This would be best accomplished in an unlocked strategy using the ToDay method. This method is not available in the Strategy Builder, so in the Strategy Builder, we would be limited to building specific conditions checking if Time > Date Series equals Time > Date Value for each day that the logic should be processed.

    It would be possible to build an indicator that does the ToDay checks (or more traditional DateTime checks) and plots a value so you can more easily plug it into the Strategy Builder. Creating such an indicator would not be difficult but as it is something specific, we would suggest enlisting the services of a NinjaScript Consultant to build it for you. If those services interest you, we can have a colleague provide additional information. Just let us know.

    I have linked our ToDay documentation if you would like to experiment with unlocked code and implementing this in your strategy.

    ToDay - https://ninjatrader.com/support/help...nt8/?today.htm

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Jim View Post
      Welcome to the forums superkolleech!

      This would be best accomplished in an unlocked strategy using the ToDay method. This method is not available in the Strategy Builder, so in the Strategy Builder, we would be limited to building specific conditions checking if Time > Date Series equals Time > Date Value for each day that the logic should be processed.

      It would be possible to build an indicator that does the ToDay checks (or more traditional DateTime checks) and plots a value so you can more easily plug it into the Strategy Builder. Creating such an indicator would not be difficult but as it is something specific, we would suggest enlisting the services of a NinjaScript Consultant to build it for you. If those services interest you, we can have a colleague provide additional information. Just let us know.

      Easy to add calendar for your site - works on all platforms


      I have linked our ToDay documentation if you would like to experiment with unlocked code and implementing this in your strategy.

      ToDay - https://ninjatrader.com/support/help...nt8/?today.htm

      We look forward to assisting.
      I will follow this one. Thank You!

      clicker test
      Last edited by KarenGates; 05-20-2020, 11:29 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by helpwanted, Today, 03:06 AM
      1 response
      10 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      9 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      387 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X