Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

connor's cumulative RSI

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

    connor's cumulative RSI

    Does anyone know how to add a 2 period RSI (1 bar ago) and a 2 period RSI (current bar) so that the sum is less than 10? How about a slow stochastic less than 30? I am a newbie here at NT but so far this is what I came up with:

    // Condition set 1
    if (((RSI(RSI2, 1).Avg[1]) + (RSI(RSI2, 0).Avg[0])) < 10
    && Stochastics(Slow,
    14, 3).D[0] < 30)
    {
    EnterLong(DefaultQuantity,
    "");

    Thanks to anyone that can help.
    Rog

    #2
    Rog, welcome to our support forums! Looks good, does it deliver the results you were seeking? Please keep in mind you work with the RSI Avg in this case, not with the 'raw' RSI value. For this use the second option in the wizard when you access the RSI indicator (RSI Plot).

    Comment


      #3
      For some reason, when I backtest the strategy, I get no results because no trades were performed. Is there a way to get an ouput of the stocks that qualify based on today's close (basically a filter output)? Thanks for your reply.

      Comment


        #4
        You could program this as an indicator to be used in the Market Analyzer to screen for signals. Other than that I would add an arrow to be drawn when your signal is supposedly triggering a trade, this way you can doublecheck your condition hits home. It may be too hard to generate any trades for your given symbol.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        18 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X