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

code question in @swing.cs

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

    code question in @swing.cs

    greetings - shouldn't line 236 match 273? if not, why not?

    Code:
    236                if (instance == 1) // 1-based, < to be save
    ...
    273                if (instance <= 1) // 1-based, < to be save
    NT 7.0.1000.10

    cheers,
    -e

    #2
    Hello e-man,
    Thanks for your post.

    While I am not exactly sure why it is coded like this, are you witnessing anything unexpected. If so please let me know your findings.

    I will however test it further at my end.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      just noticed a possible discrepancy in the code and was curious to know if that was intentional or an oversight.

      cheers,
      -e

      Comment


        #4
        Hello e-man,
        Thanks for your note.

        I will test it further and will let you know my findings. Thanks for your patience.
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          Hello e-man,
          The functionality of the code remains the same and I cannot find any difference while testing it under different scenario's. Are you running into issue with this code?

          We would not have our original notes handy as to why it is how it is.

          If you find a bug with the output we would want to look into it immediately.
          Last edited by NinjaTrader_Brett; 08-22-2012, 12:02 PM.
          JoydeepNinjaTrader Customer Service

          Comment


            #6
            i am not using that exact indicator, so i haven't been testing whether it works or not.

            i noticed a discrepancy and was curious to know if it was an oversight or if it was intentional (and if intentional, then what the reasoning was).

            perhaps engineering could review and comment when time permits.

            cheers,
            -e

            Comment


              #7
              Hello e-man,
              Thanks for your post.

              I will let development know to further review the code.
              JoydeepNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by helpwanted, Today, 03:06 AM
              1 response
              14 views
              0 likes
              Last Post sarafuenonly123  
              Started by Brevo, Today, 01:45 AM
              0 responses
              11 views
              0 likes
              Last Post Brevo
              by Brevo
               
              Started by aussugardefender, Today, 01:07 AM
              0 responses
              6 views
              0 likes
              Last Post aussugardefender  
              Started by pvincent, 06-23-2022, 12:53 PM
              14 responses
              244 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