Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem of KeltnerChannel() with myDataSeries as input.

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

    Problem of KeltnerChannel() with myDataSeries as input.

    Dear Technical support,

    I have trouble to use myDataSeries as input for KeltnerChannel() indicator. By cheking the indicator source code, it seems to me that I need to provide High[] and Low[] data in the input to generate diff value. My questions are,

    1) How can I make myDataSeries identical as BarsArray[]? If I use myDataSeries as is, I can not get upperband and lower band values. They are always the same as middle values. I attach my test code and test results.

    2)Why KeltnerChannel() only use Typical (seems hardcoded internally) as input?

    Please help.
    JD
    Attached Files

    #2
    jdz1247, your findings are correct and that's on our list to look into currently - in the meantime can you try using this attached custom Keltner method and indicator that would allow using custom series as input?
    Attached Files

    Comment


      #3
      Hi Bertrand, how do i import into the indicator list a *.cs file, such as the keltnerchannelcustom file above? thanks for your assistance. bruce

      Comment


        #4
        Hello,

        Manually move the file to the My Documents->NinjaTrader 7->bin->custom->indicator folder and then compile all the indicators so that it is added in the NT Control Center->Edit NinjaScript->Edit Indicator->Find The new indicator and open it->then right click on the text editor->compile.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment


          #5
          Hi Bertrand, Is that true that the custom Keltner only take care of Typical as input issue? That means that I still can not use myDataSeries to get upper band and lower band values with you custom KeltnerCannel.

          JD

          Comment


            #6
            Hello,

            This is true however please uses the custom kelter Bertrand provided as it allows for this.

            Let me know if I can be of further assistance.
            BrettNinjaTrader Product Management

            Comment


              #7
              thanks.....! bruce

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              571 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              330 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              548 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              549 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X