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

While crossing above 70 on daily chart

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

    While crossing above 70 on daily chart

    Hello, I was wondering if you can help me build a strategy where the NT buys a stock WHILE the RSI is crossing above 70 on the daily chart. So far, after weeks of trying I have not be able to find it on the same day, it is basing on the close of the day and not DURING the day.


    #2
    Hello faisamtrader,

    Thanks for you post and welcome to the NinjaTrader forums!

    To place an intraday order, you would need to have intraday live data and would need to run your code with Calculate.OnEachTick or Calculate.PriceChange.

    Once your condition becomes true, the strategy can place the order intrabar/immediately.

    Please note that we do not provide coding or debugging services. If you would like your strategy created for you, we can point you to 3rd party programmers who provide that service.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hey Paul,

      That is what I was hoping to see as a response.

      Thanks so much

      That also mean I cannot expect it to work accurately whole backresting... Correct?


      Comment


        #4
        Hello faisamtrader,

        Thanks for your reply.

        You can enable Tick Replay (assuming your datafeed provider supports historical tick data) to continue the calculations intraday in the backtest period and you can add a secondary data series (such as 1 minute) that would allow you to place the orders intraday. Note that Tick replay would require you to have (access to) tick data for the selected duration of the backtesting period.

        In terms of intraday order and adding a secondary series, here is an educational example: https://ninjatrader.com/support/help...ipt_strate.htm

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Thank you soo much

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by maybeimnotrader, Yesterday, 05:46 PM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Perr0Grande, Yesterday, 08:16 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by f.saeidi, Yesterday, 08:12 AM
          3 responses
          25 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by algospoke, Yesterday, 06:40 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by quantismo, Yesterday, 05:13 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X