OPEN-SOURCE SCRIPT
A+ Setup Strategy

Trendline Features Added:
1. Automatic Trendline Detection
Support Trendline (green) - Connects swing lows
Resistance Trendline (red) - Connects swing highs
Uses pivot points to identify key swing levels
Validates trendlines by counting touches (minimum 3 touches required)
2. Trendline Settings
Show Trendlines - Toggle on/off
Lookback Period - How far back to look for pivots (default: 50 bars)
Min Touches - How many touches needed for valid trendline (default: 3)
3. Trendline Break Detection
Bullish Break - Price breaks above support trendline (marked with small green circle)
Bearish Break - Price breaks below resistance trendline (marked with small red circle)
Generates signals when breaks occur
4. Enhanced A+ Setups
Now includes ULTRA setups - the absolute best trades:
ULTRA BUY Setup (Aqua label):
Bullish FVG + BOS + Volume Spike + Uptrend
PLUS: Support trendline break OR near key support
PLUS: Trendline breakout confirmation
ULTRA SELL Setup (Fuchsia label):
Bearish FVG + BOS + Volume Spike + Downtrend
PLUS: Resistance trendline break OR near key resistance
PLUS: Trendline breakdown confirmation
5. Confluence Integration
The strategy now considers price near trendlines as additional confluence, similar to how it uses daily S/R levels.
6. Additional Alerts
Support Trendline Break
Resistance Trendline Break
ULTRA BUY/SELL Setup alerts
This gives you multiple tiers of signal quality:
Standard A+ Setup - All conditions met
ULTRA A+ Setup - All conditions + trendline break (highest probability)
The trendlines will help you identify major trend reversals and breakouts for even better entry timing!
1. Automatic Trendline Detection
Support Trendline (green) - Connects swing lows
Resistance Trendline (red) - Connects swing highs
Uses pivot points to identify key swing levels
Validates trendlines by counting touches (minimum 3 touches required)
2. Trendline Settings
Show Trendlines - Toggle on/off
Lookback Period - How far back to look for pivots (default: 50 bars)
Min Touches - How many touches needed for valid trendline (default: 3)
3. Trendline Break Detection
Bullish Break - Price breaks above support trendline (marked with small green circle)
Bearish Break - Price breaks below resistance trendline (marked with small red circle)
Generates signals when breaks occur
4. Enhanced A+ Setups
Now includes ULTRA setups - the absolute best trades:
ULTRA BUY Setup (Aqua label):
Bullish FVG + BOS + Volume Spike + Uptrend
PLUS: Support trendline break OR near key support
PLUS: Trendline breakout confirmation
ULTRA SELL Setup (Fuchsia label):
Bearish FVG + BOS + Volume Spike + Downtrend
PLUS: Resistance trendline break OR near key resistance
PLUS: Trendline breakdown confirmation
5. Confluence Integration
The strategy now considers price near trendlines as additional confluence, similar to how it uses daily S/R levels.
6. Additional Alerts
Support Trendline Break
Resistance Trendline Break
ULTRA BUY/SELL Setup alerts
This gives you multiple tiers of signal quality:
Standard A+ Setup - All conditions met
ULTRA A+ Setup - All conditions + trendline break (highest probability)
The trendlines will help you identify major trend reversals and breakouts for even better entry timing!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.