OPEN-SOURCE SCRIPT
Adaptive Buy Sell Signal [AvantCoin]

<img>
A comprehensive customized indicator for different markets
🔴Before you start🔴:
Please note that this tool is designed to assist you in analyzing the market, and NOT to make buy/sell decisions for you. You should combine its data with your own strategies and indicators before making any trading choices
====================
Market-Specific Optimizations
Auto-Detection (or Manual Selection)
It automatically detects which market you're trading:
Forex (EUR/USD, GBP/USD, etc.)
Stocks (AAPL, TSLA, etc.)
Indices (NAS100, SPX, etc.)
Commodities (Gold, Silver, Oil)
Crypto (BTC, ETH, etc.)
http://avantcoin.com/public/scr_tv/gold.jpg
Forex-Specific Features:
✅ Session Filters: Avoids low-liquidity Asian session
✅ Session backgrounds: Green for London/NY overlap (best trading time)
✅ Tighter ADX threshold (20) - good for Forex trends
✅ Lower volatility filter - skips dead zones
⚙️ Min Confluence: 5 (balanced)
⚙️ Cooldown: 5 bars
⚙️ Volume threshold: 1.3x (Forex has consistent volume)
http://avantcoin.com/public/scr_tv/tesla.jpg
Stocks-Specific Features:
✅ Market hours filter: Only signals during NYSE hours.
✅ Gap detection: Avoids trading immediately after large gaps up/down
✅ Higher ADX threshold (22) - Stocks trend differently
✅ Stricter volume requirement (1.5x) - Stocks vary more
⚙️ Min Confluence: 6 (higher quality)
⚙️ Cooldown: 3 bars (stocks move faster)
Indices (Nasdaq, S&P 500):
✅ Similar to stocks but slightly more lenient
✅ Lower ADX (18) - Indices are smoother
⚙️ Min Confluence: 5
⚙️ Cooldown: 4 bars
Commodities (Gold, Silver, Oil):
✅ Highest ADX requirement (23) - Only trade strong trends
✅ Higher volatility filter (1.6x) - Commodities can be wild
⚙️ Min Confluence: 6
⚙️ Cooldown: 6 bars (avoid whipsaws)
Crypto:
✅ 24/7 trading (no session restrictions)
✅ Lower ADX (15) - Crypto is always volatile
✅ Much higher volume threshold (2.0x) - Crypto volume spikes
⚙️ Min Confluence: 4 (crypto moves fast)
⚙️ Cooldown: 3 bars
📊 Visual Enhancements:
Market Type Badge at top of table (Forex, Stocks, etc.)
Session Status:
Forex: Shows 🟢 LDN/NY, 🔵 London, 🟠 NY, 🔴 Asian
Stocks: Shows 🟢 Open or 🔴 Closed
Session Background Colors on chart (optional)
Current Settings Display: Shows your Min score, ADX threshold, Cooldown
⚙️ How to Use:
For Forex:
Enable "Avoid Asian Session"
Best signals during London/NY overlap
For Stocks:
Enable "Trade Stock Hours Only"
Watch for gap warnings
http://avantcoin.com/public/scr_tv/adaptive_stng.jpg
A comprehensive customized indicator for different markets
🔴Before you start🔴:
Please note that this tool is designed to assist you in analyzing the market, and NOT to make buy/sell decisions for you. You should combine its data with your own strategies and indicators before making any trading choices
====================
Market-Specific Optimizations
Auto-Detection (or Manual Selection)
It automatically detects which market you're trading:
Forex (EUR/USD, GBP/USD, etc.)
Stocks (AAPL, TSLA, etc.)
Indices (NAS100, SPX, etc.)
Commodities (Gold, Silver, Oil)
Crypto (BTC, ETH, etc.)
http://avantcoin.com/public/scr_tv/gold.jpg
Forex-Specific Features:
✅ Session Filters: Avoids low-liquidity Asian session
✅ Session backgrounds: Green for London/NY overlap (best trading time)
✅ Tighter ADX threshold (20) - good for Forex trends
✅ Lower volatility filter - skips dead zones
⚙️ Min Confluence: 5 (balanced)
⚙️ Cooldown: 5 bars
⚙️ Volume threshold: 1.3x (Forex has consistent volume)
http://avantcoin.com/public/scr_tv/tesla.jpg
Stocks-Specific Features:
✅ Market hours filter: Only signals during NYSE hours.
✅ Gap detection: Avoids trading immediately after large gaps up/down
✅ Higher ADX threshold (22) - Stocks trend differently
✅ Stricter volume requirement (1.5x) - Stocks vary more
⚙️ Min Confluence: 6 (higher quality)
⚙️ Cooldown: 3 bars (stocks move faster)
Indices (Nasdaq, S&P 500):
✅ Similar to stocks but slightly more lenient
✅ Lower ADX (18) - Indices are smoother
⚙️ Min Confluence: 5
⚙️ Cooldown: 4 bars
Commodities (Gold, Silver, Oil):
✅ Highest ADX requirement (23) - Only trade strong trends
✅ Higher volatility filter (1.6x) - Commodities can be wild
⚙️ Min Confluence: 6
⚙️ Cooldown: 6 bars (avoid whipsaws)
Crypto:
✅ 24/7 trading (no session restrictions)
✅ Lower ADX (15) - Crypto is always volatile
✅ Much higher volume threshold (2.0x) - Crypto volume spikes
⚙️ Min Confluence: 4 (crypto moves fast)
⚙️ Cooldown: 3 bars
📊 Visual Enhancements:
Market Type Badge at top of table (Forex, Stocks, etc.)
Session Status:
Forex: Shows 🟢 LDN/NY, 🔵 London, 🟠 NY, 🔴 Asian
Stocks: Shows 🟢 Open or 🔴 Closed
Session Background Colors on chart (optional)
Current Settings Display: Shows your Min score, ADX threshold, Cooldown
⚙️ How to Use:
For Forex:
Enable "Avoid Asian Session"
Best signals during London/NY overlap
For Stocks:
Enable "Trade Stock Hours Only"
Watch for gap warnings
http://avantcoin.com/public/scr_tv/adaptive_stng.jpg
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.