Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading RSI on TD Ameritrade at end of daily bar

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

    Trading RSI on TD Ameritrade at end of daily bar

    Hello! I would like to ask you what would be the most convenient way to carry out a simple daily trade, let's say enter if the daily RSI is less than 30.

    I've seen the forum, I'm not sure if it would be best to somehow reformulate the RSI with data at 15:59 (1 minute data).

    The other alternative I think would be to add a "1 day" series, and "1 second", so that the barupdate is at 4:00 p.m. and not the next day, in this way the order would be sent after the closing, it is possible to send an Extended GTC order in Ameritrade?

    Thank you​

    #2
    Hello rocker84,

    You would need to pick the series that best supports the trading situation you want to achieve. Sending orders after the market closes would not be possible unless the broker has an option to allow after hours trading. As far as I am aware there is no way to replicate the TDAmeritrade TIF options in NinjaTrader so you would only be able to submit orders after hours if the broker allows it. You can either try manually submitting an after hours order or contact TDAmeritrade to check if that is an option with your account.

    If you cannot submit after hours orders the next best alternative would be to use a small timeframe like a second series and then execute logic before the close of session from that series.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello rocker84,

      You would need to pick the series that best supports the trading situation you want to achieve. Sending orders after the market closes would not be possible unless the broker has an option to allow after hours trading. As far as I am aware there is no way to replicate the TDAmeritrade TIF options in NinjaTrader so you would only be able to submit orders after hours if the broker allows it. You can either try manually submitting an after hours order or contact TDAmeritrade to check if that is an option with your account.

      If you cannot submit after hours orders the next best alternative would be to use a small timeframe like a second series and then execute logic before the close of session from that series.
      ok, so let's go for that option, it's much simpler and the result would be almost the same. It would be very helpful if you remember any solution in any topic on how to calculate an indicator (in my case it is RSI), based on minute or second candles, to match daily.

      Thank you!​

      Comment


        #4
        Hello rocker84,

        Which option are you referring to? I had commented on multiple situations and you quoted my whole comment so I am not sure what you are referring to.

        Comment


          #5
          Originally posted by NinjaTrader_Jesse View Post
          Hello rocker84,

          Which option are you referring to? I had commented on multiple situations and you quoted my whole comment so I am not sure what you are referring to.
          "the next best alternative would be to use a small timeframe like a second series and then execute logic before the close of session from that series"

          to send the order 1 minute before closing I should calculate the daily RSI with 1 minute candles value at 15:59. What would be the most common way to do this?

          Also take into account days when the close is not at the usual time. Thanks a lot!

          Comment


            #6
            Originally posted by rocker84 View Post

            ... how to calculate an indicator (in my case it is RSI), based on minute or second candles, to match daily.

            Thank you!​
            Not sure if this helps, but you can have the RSI plotted on a 1440 minute chart (1440 minutes in a day for a 24/7 market like Cripto or Forex). The RSI resulted will be the same (very close) as the RSI on a daily chart. However, using 200 days of 1 minutes data could be a resource hog.

            Cheers!

            Comment


              #7
              Hello rocker84,

              To execute code on a faster timeframe you can use AddDataSeries:
              https://ninjatrader.com/support/help...hlightsub=mult i

              BarsInProgress determines which series called OnBarUpdate so any logic you want for the primary series would be inside a condition:

              Code:
              if(BarsInProgress == 0)
              {
              
              }
              and your secondary logic would go inside a second condition for the added series:
              Code:
              if(BarsInProgress == 1)
              {
              
              }

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Yesterday, 05:17 AM
              0 responses
              64 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              139 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              75 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              45 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              50 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X