Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RSI(2) for 2 consecutive days

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

    RSI(2) for 2 consecutive days

    Good morning - could someone please tell me how to set an RSI column to highlight when RSI(2) stays below a chosen level for 2 consecutive days... or at least confirm the logic of my workaround ?

    I thought one way to do it might be to have the column showing the smoothed output for RSI (2,2) , as RSI(2,1) presumably got there the day before & is still there, but I'm not completely sure of my thinking !?

    Any assistance gratefully appreciated .

    Edit : on 2nd thoughts, my workaround will not necessarily be accurate, as RSI(2) could exit the zone, leaving RSI(2,2) in its wake, meaning I'd need two columns. I'd prefer a single column solution if poss.

    #2
    jtrade, for a single column solution you would have to custom code an indicator for the MA that checks the value on the current and previous bar then for example sets a plot value to 1 if it stays above your level - you can then in turn use that plot output for coloring a column or raising an alert.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Bertrand, after all these years, me do custom coding !!??

      I've said it before & I'll say it again : I do not subscribe to NT to learn coding....

      So if you're not going to do it fo me, I'll just have to go for the two column solution....



      The Lazy Man's Way to Enlightenment.

      J.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by inanazsocial, Today, 01:15 AM
      0 responses
      2 views
      0 likes
      Last Post inanazsocial  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      22 views
      0 likes
      Last Post trilliantrader  
      Started by Davidtowleii, Today, 12:15 AM
      0 responses
      3 views
      0 likes
      Last Post Davidtowleii  
      Started by guillembm, Yesterday, 11:25 AM
      2 responses
      9 views
      0 likes
      Last Post guillembm  
      Started by junkone, 04-21-2024, 07:17 AM
      9 responses
      70 views
      0 likes
      Last Post jeronymite  
      Working...
      X