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

Strategy

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

    Strategy

    i have done sma cross over strategy.
    this strategy when applied on the chart,shows arrows at the bottom of the page.
    i wish to have signal arrows on the bars and not at the bottom.
    pl help me execute.

    #2
    This is likely b/c it's applying your arrows at zero (0) price, you need to tell it WHERE on the bar to attach the arrow.. Do you want the arrow at the open, high, low or close. Sounds like in your case you chose none, so it's putting the arrow at zero price.

    Hope that helps..

    JDog

    Comment


      #3
      Hello profitabletrader306,

      Thank you for your post and welcome to the NinjaTrader Support Forum!

      JDog is correct here, you will need to set the y value to a price value close to the bars. Such as Close, Open, High or Low. Please refer to the attached screenshot of a Down Arrow on the Low of the bar in the Strategy Wizard.
      Attached Files

      Comment


        #4
        Oh Yes! it has worked.thanx a lot.

        One more question:

        if i want to buy when sma 40 is rising and sell when sma 40 is falling.
        how to code the same?

        Comment


          #5
          Hello profitabletrader306,

          Thank you for your response.

          You can find an example of a Rising and Falling strategy at the following link: http://www.ninjatrader.com/support/f...ad.php?t=19384

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          15 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
          14 views
          0 likes
          Last Post strategist007  
          Working...
          X