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 Balage0922, Today, 07:38 AM
      0 responses
      5 views
      0 likes
      Last Post Balage0922  
      Started by JoMoon2024, Today, 06:56 AM
      0 responses
      6 views
      0 likes
      Last Post JoMoon2024  
      Started by Haiasi, 04-25-2024, 06:53 PM
      2 responses
      19 views
      0 likes
      Last Post Massinisa  
      Started by Creamers, Today, 05:32 AM
      0 responses
      6 views
      0 likes
      Last Post Creamers  
      Started by Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,786 views
      0 likes
      Last Post Leafcutter  
      Working...
      X