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 Blairski, Today, 09:30 AM
          0 responses
          9 views
          0 likes
          Last Post Blairski  
          Started by amelialliott, Today, 09:07 AM
          0 responses
          6 views
          0 likes
          Last Post amelialliott  
          Started by SuperDude123, Yesterday, 06:48 PM
          2 responses
          54 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by j4trdr, Yesterday, 10:23 PM
          1 response
          38 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by gleno57, Yesterday, 05:21 PM
          1 response
          43 views
          0 likes
          Last Post NinjaTrader_Jason  
          Working...
          X