Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modified Swing Indicator

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

    Modified Swing Indicator

    Hi NT,

    Just curious on how to modify 'Swing' indicator to suit my trading style.

    Instead of measuring the High and Lows, use the Open and Closes.

    Any ideas on a modification?

    Thanks
    Irv

    #2
    Hi ij001,thanks for posting.

    We had a discussion on the swing indicator in the past where I made a "Single Dot" Swing to make it a bit easier to follow:


    The source code for Swing is available for study through the NinjaScript Editor as well. It uses Input series if the input is not a PriceSeries or the HIgh/Low/Close values if the input is a PriceSeries. The key points you would change are wherever high0 and low0 values are used and replace them with open or close.

    Best regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    368 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    571 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X