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 CarlTrading, 03-31-2026, 09:41 PM
              1 response
              152 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              89 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              131 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              127 views
              1 like
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              107 views
              0 likes
              Last Post CarlTrading  
              Working...
              X