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 RaddiFX, Today, 10:15 AM
          2 responses
          14 views
          0 likes
          Last Post RaddiFX
          by RaddiFX
           
          Started by patrickmlee007, Today, 09:33 AM
          2 responses
          17 views
          0 likes
          Last Post patrickmlee007  
          Started by magnatauren, 08-15-2020, 02:12 PM
          5 responses
          206 views
          0 likes
          Last Post RaddiFX
          by RaddiFX
           
          Started by rene69851, 05-02-2024, 03:25 PM
          1 response
          22 views
          0 likes
          Last Post rene69851  
          Started by ETFVoyageur, Yesterday, 07:05 PM
          5 responses
          45 views
          0 likes
          Last Post ETFVoyageur  
          Working...
          X