Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trend indicator using peaks

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

    Trend indicator using peaks

    Hey,

    I'm building a divergence trading strategy and need some help with what trend indicators/codes I can use to analyse the peaks.

    Here is an example of what I want:



    I would like an indicator/code that analyses changes in the peaks (green circles) rather than any point on the RSI (like with the red circle).

    Here is my current code:



    A couple of smaller things that would like help with is:
    1) Any way to reduce the sensitivity of the RSI, it can change a lot from even small adjustments in price

    Any help would be greatly appreciated.

    Stephen

    #2
    Hello Stephen Trading,

    Thank you for your note.

    While we in the support department can't offer advice for specific indicators to use within your strategy or settings for those indicators as that may be considered trading advice and be a compliance issue, I will leave this thread open in case any of our users here on the forums have any particular indicators or RSI settings they recommend.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Originally posted by Stephen Trading View Post
      I would like an indicator/code that analyses changes in the peaks (green circles) rather than any point on the RSI (like with the red circle).
      There's an app...err, indicator for that: It's called 'Swing'.

      Apply it to the RSI and it will find the peaks, and valleys. The default period of 5 seems to work pretty well.

      Code:
      private Swing SwingRSI = Swing(RSI(20, 3), 5);

      And reference the current swing high like this:

      Code:
      SwingRSI.SwingHigh[0]

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      45 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      31 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X