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 futtrader, 04-21-2024, 01:50 AM
              6 responses
              57 views
              0 likes
              Last Post futtrader  
              Started by sgordet, Today, 11:48 AM
              0 responses
              1 view
              0 likes
              Last Post sgordet
              by sgordet
               
              Started by Trader146, Today, 11:41 AM
              0 responses
              3 views
              0 likes
              Last Post Trader146  
              Started by jpapa, 04-23-2024, 07:22 AM
              2 responses
              17 views
              0 likes
              Last Post rene69851  
              Started by funk10101, Today, 11:35 AM
              0 responses
              1 view
              0 likes
              Last Post funk10101  
              Working...
              X