• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Keltner channel EMA with color

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

    Keltner channel EMA with color

    Hello, checking between the indicators of Ninjatrader 8 I found that there is a channel indicator of Keltner with color, which provides the possibility to paint the entire area that is inside the channel.

    The link of the indicator to which I refer is:

    https://ninjatrader.com/support/foru...=15&keyid=1028

    I downloaded it and installed it on NT8 just to see how it works, but, I am currently working with NT7 and I would like to know how I can do to add the function that this indicator has to the one I am currently using.
    Actualmente uso Keltner Channel con EMA. Lo edité desde el editor de NinjaScrip. Fui al editor, seleccioné el indicador Keltner Channel que viene en la plataforma NT7 de forma predeterminada, después de abrir el código que le di para guardarlo y lo guardé con el nombre "Keltner channel with EMA" para luego editar el código.
    Luego abrí el código y donde dice SMA, lo reemplacé con EMA.

    https://www.screencast.com/t/MqInzjj0Y
    https://www.screencast.com/t/kbYhYR7RCw7N

    In such a way that my indicators look like this:
    Channel of Keltner with color in NT 8:
    https://www.screencast.com/t/gE9hMuzCU1

    Keltner channel with EMA (colorless) NT7:
    https://www.screencast.com/t/n5VjzF7kMV

    Could you tell me how to add color to my NT7 indicator?
    Thank you very much.

    #2
    Hello enriquefernandogomez,

    Thanks for your post and welcome to the NinjaTrader forums!

    You can download a KeltnerChannel with color from this link: https://ninjatrader.com/support/foru...id=1&linkid=56 Even though this is listed as for NinjaTrader 6.5 I tested on the latest version with NT7 and there are no issues. When you import it will ask if you want to replace indicators beginning with "@" symbol, please always select "No" as your "@" indicators are more current.

    The 6.5 based indicator uses SMA (which is standard for Keltner channel, not EMA. If you want it to be based on EMA then you can make these changes:

    Open the indicator using Tools>Edit Ninjascript>Indicator

    Select the indicator in the file open window and click OK, this will open the script of the file for editting.

    In the ninjascript file, go to lines 58 & 59 and change the SMA to EMA.

    Next, right mouse click on the script and select "Compile". Once compiled, please close the Ninjascript window.

    You can now apply the changed indicator to a chart.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul, I have followed everything to the letter and it has been excellent. Thank you very much for the help, happy start to the week!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Erwin Beckers, Today, 01:23 AM
      0 responses
      2 views
      0 likes
      Last Post Erwin Beckers  
      Started by Mark Taylor, Yesterday, 11:36 PM
      0 responses
      3 views
      0 likes
      Last Post Mark Taylor  
      Started by Bluebeep, Yesterday, 08:38 PM
      0 responses
      7 views
      0 likes
      Last Post Bluebeep  
      Started by stokhastic, Yesterday, 07:08 PM
      0 responses
      3 views
      0 likes
      Last Post stokhastic  
      Started by jlkramer16, Yesterday, 04:29 PM
      1 response
      4 views
      0 likes
      Last Post jlkramer16  
      Working...
      X