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 Don22Trader1, Today, 04:17 PM
          0 responses
          1 view
          0 likes
          Last Post Don22Trader1  
          Started by ezrollin, Today, 02:29 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by rocker84, Today, 02:29 PM
          1 response
          6 views
          2 likes
          Last Post NinjaTrader_Jim  
          Started by TangoTX, Today, 02:25 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by ezrollin, Today, 01:45 PM
          0 responses
          19 views
          0 likes
          Last Post ezrollin  
          Working...
          X