Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              607 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              353 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              560 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              561 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X