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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    37 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    25 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X