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

Chaikin oscilator

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

    Chaikin oscilator

    I would like to add an avg plot to the Chaikin oscillator. a second plot- basically just an 'avg' line at zero axis.

    will you please explain how to do this?

    #2
    Hello Shooly76,

    Thank you for your post.

    You will need to create a new indicator out of the Chaikin Oscilator.

    You can do this by opening up the indicator.

    Tools -> Edit NinjaScript -> Indicator -> Chaikin Oscilator

    Right click inside the editor and select Save As...

    Give the indicator a new name

    In the Initialize section you will then want to Add a new Line with a value of 0.

    Please see the link below on how to create lines with in NinjaScript -
    http://www.ninjatrader.com/support/h...x.html?add.htm
    http://www.ninjatrader.com/support/h...line_class.htm


    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      thanks..I have that now..but I cant seem to give the strategy a condition to trade when oscillator crosses over the '0' Avg line.

      while in strategy wizard condition builder..in the indicator section (parameter window)..there is no parameter for Plot. I need a Plot parameter (under Fast and Slow parameters in window) that has 2 options:

      Plot:
      "BaxterMoneyFlow"
      "Avg"

      here is example..

      parameters:
      Fast: 7
      Slow: 15
      Plot: "BaxterMoneyFlow" (or) "Avg"

      IOW..I want the strategy to enter a position if "BaxterMoneyFlow" crosses over the "Avg"

      I cant find info on how to do this..

      Comment


        #4
        Shooly76,

        I have attached a screenshot of the strategy wizard in how to use the Chaikin line and when it Cross's above the 0 line.
        Attached Files
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          nice! that was easy..thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          9 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          14 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Yesterday, 07:51 PM
          0 responses
          13 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,983 views
          3 likes
          Last Post jhudas88  
          Working...
          X