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 Barry Milan, Today, 10:35 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by WeyldFalcon, 12-10-2020, 06:48 PM
          14 responses
          1,428 views
          0 likes
          Last Post Handclap0241  
          Started by DJ888, Yesterday, 06:09 PM
          2 responses
          9 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          40 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Today, 08:51 AM
          2 responses
          16 views
          0 likes
          Last Post bill2023  
          Working...
          X