OPEN-SOURCE SCRIPT

Olas21 BUY SELL TREND

123
1. Use Only Strong Buy/Sell Signals
The script already filters for "Strong BUY" (with Supertrend support). Use only:

🚀 Strong BUY when Supertrend is downtrend (direction < 0)

☄️ Strong SELL when Supertrend is uptrend (direction > 0)

Why?
These signals are filtered and more reliable.

2. Enable Trend Confirmation: EMA Filter
Make sure you enable the EMA filter (already in the script):

plaintext
Copy
Edit
✅ Use EMA Trend Filter = True
📈 Buy only if price is above EMA200 (bull trend)
📉 Sell only if price is below EMA200 (bear trend)
This ensures you only trade with the trend.

3. Add Confirmation Indicators
Here are the top options:

Indicator Use It For Recommended Settings
RSI Avoid overbought/oversold traps RSI(14) < 70 for buy, > 30 for sell
ADX Confirm strong trend ADX > 20 or 25
MACD Confirm momentum direction MACD line > Signal line for buy
Volume Spike Confirm market interest Volume > 20-period avg volume

4. Avoid Trading in Choppy Conditions
Stay out if:

Price is sideways near EMAs

Low volume or no trend confirmation

No clear higher high / lower low structure

5. Best Timeframes for High Win Rate
Use higher timeframes for cleaner signals:

1H, 4H, 1D (especially for swing trading)

5M–15M only if scalping with strict rules and fast exits

6. Backtest and Tune Your SL/TP
Use:

SL = 0.5–1.5%

TP = 1.5–2.5%

Tight stops + quick profits = higher win rate

👉 Use the strategy.tester in TradingView and adjust these values.

🔧 Sample Confirmation Logic (Optional Additions)
You can edit the script to add confirmations like RSI or MACD:

pinescript
Copy
Edit
rsi = ta.rsi(close, 14)
rsiBuyOk = rsi < 70
rsiSellOk = rsi > 30

adx = ta.adx(14)
trendStrong = adx > 20

finalLong = longCondition and rsiBuyOk and trendStrong
finalShort = shortCondition and rsiSellOk and trendStrong
Then replace your strategy.entry conditions with:

pinescript
Copy
Edit
if finalLong
strategy.entry("Long", strategy.long)

if finalShort
strategy.entry("Short", strategy.short)
✅ Summary: Your Confirmation Checklist
Filter Confirmed?
Supertrend alignment (Strong Buy/Sell) ✅
EMA trend filter (price above/below EMA200) ✅
RSI overbought/oversold ✅
ADX showing trend strength ✅
Volume above average ✅

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.