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 JoMoon2024, Today, 06:56 AM
          0 responses
          6 views
          0 likes
          Last Post JoMoon2024  
          Started by Haiasi, 04-25-2024, 06:53 PM
          2 responses
          19 views
          0 likes
          Last Post Massinisa  
          Started by Creamers, Today, 05:32 AM
          0 responses
          6 views
          0 likes
          Last Post Creamers  
          Started by Segwin, 05-07-2018, 02:15 PM
          12 responses
          1,786 views
          0 likes
          Last Post Leafcutter  
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Working...
          X