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 rhyminkevin, Today, 04:58 PM
          3 responses
          48 views
          0 likes
          Last Post Anfedport  
          Started by iceman2018, Today, 05:07 PM
          0 responses
          5 views
          0 likes
          Last Post iceman2018  
          Started by lightsun47, Today, 03:51 PM
          0 responses
          7 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          14 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          50 views
          0 likes
          Last Post futtrader  
          Working...
          X