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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    68 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    150 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X