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 franciscog21, Today, 05:27 PM
              0 responses
              3 views
              0 likes
              Last Post franciscog21  
              Started by hdge4u, 04-29-2024, 12:23 PM
              5 responses
              28 views
              0 likes
              Last Post MisterTee  
              Started by llanqui, 01-25-2024, 06:15 PM
              9 responses
              64 views
              0 likes
              Last Post MisterTee  
              Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
              16 responses
              66 views
              0 likes
              Last Post tradingnasdaqprueba  
              Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
              55 responses
              5,464 views
              0 likes
              Last Post BartMan
              by BartMan
               
              Working...
              X