Swing Highs and Lows

1175 3
Simple script to overlay swing highs and lows.
A Swing High (SH): a price bar high preceded by two lower highs (LH) and followed by two lower highs (LH).
Remove from Favorite Scripts Add to Favorite Scripts
thanks mate!
Hi Can this be used for automatic trading?
@dpanday, I'm very new to this TradingView tool and not exactly sure how I can connect this to automatic trading, but I guess you can do that...Feel free to use this code.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out