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 jaybedreamin, Today, 05:56 PM
          0 responses
          2 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          1 view
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          6 views
          0 likes
          Last Post Javierw.ok  
          Started by timmbbo, Today, 08:59 AM
          2 responses
          10 views
          0 likes
          Last Post bltdavid  
          Working...
          X