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 performance...to see gain or loss in months and in day

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

    Strategy performance...to see gain or loss in months and in day

    hi..

    i want to do analysis my strategy by the months and the day (Wednesday...friday....)


    it's possible?...i don't see it in Strategy performance
    Attached Files

    #2
    Hello Turbofib,

    Thank you for your note.

    So I may better answer your question, you want to know if its possible to select a specific day of the week and see how your strategy performed on just that day of the week?

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

    Comment


      #3
      yes...i want it

      Comment


        #4
        Hello turbofib,

        This is currently not possible however I will submit a feature request for this.

        What you could do however is add to your code,
        Code:
        	if (Times[0][0].DayOfWeek != DayOfWeek.Wednesday) return;
        Then run the strategy within the strategy wizard. This will check to if the date is a Wednesday and if not, will return.

        For months, you could add the following,
        Code:
        	if (Time[0].Month != 5) return;
        Which would only run the strategy during the month of May.

        Please let us know if you need further assistance
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          Hello turbofib,

          I have forwarded this request to our development team for future consideration. The feature request ID for this item is SFT-1973.

          Thank you for your feedback.
          Alan P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by adeelshahzad, Today, 03:54 AM
          4 responses
          25 views
          0 likes
          Last Post adeelshahzad  
          Started by merzo, 06-25-2023, 02:19 AM
          10 responses
          823 views
          1 like
          Last Post NinjaTrader_ChristopherJ  
          Started by frankthearm, Today, 09:08 AM
          5 responses
          17 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          43 views
          0 likes
          Last Post jeronymite  
          Started by yertle, Today, 08:38 AM
          5 responses
          16 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X