OPEN-SOURCE SCRIPT
Aggiornato

RSI + MACD + Liquidity Finder

729
Liquidity Finder: The liquidity zones are heuristic and based on volume and swing points. You may need to tweak the volumeThreshold and lookback to match the asset's volatility and timeframe.

Timeframe: This script works on any timeframe, but signals may vary in reliability (e.g., higher timeframes like 4H or 1D may reduce noise).

Customization: You can modify signal conditions (e.g., require only RSI or MACD) or add filters like trend direction using moving averages.

Backtesting: Use TradingView's strategy tester to evaluate performance by converting the indicator to a strategy (replace plotshape with strategy.entry/strategy.close).

Note di rilascio
How to Operate & Tune (Key Settings):
Enable/Disable Filters:
Use Trend Filter?: Check this box to only take trades in the direction of the trend defined by the MA. (Highly Recommended for reducing noise).
Use Volume Filter?: Check this to require volume confirmation. Useful in volatile markets but might filter out some valid signals in quieter conditions.
Configure Trend Filter:
Trend MA Type: Choose EMA (generally preferred for reacting faster) or SMA.
Trend MA Length: Crucial Setting. Controls the trend definition. Higher values (e.g., 100, 200) define longer-term trends (fewer signals, potentially catching larger moves). Lower values (e.g., 20, 50) define shorter-term trends (more signals, quicker reaction). Start with 50 EMA and adjust based on performance.
Configure Volume Filter:
Volume MA Lookback: Period for calculating average volume (e.g., 20).
Volume Threshold Multiplier: How much higher than average the volume needs to be (e.g., 1.5 means 50% higher). Increase for stricter confirmation, decrease for less strict.
Configure Signal Logic:
Require BOTH RSI & MACD signals?:
False (Default): Either an RSI signal OR a MACD signal within the lookback is enough (along with filters). Generates more signals.
True: Both RSI and MACD must signal within the lookback. Much stricter, fewer signals, requires careful tuning of lookback.
Signal Confirmation Lookback (Bars): Very Important! How many bars back the indicator looks for the base signals and filter conditions to align.
0: All conditions must occur on the exact same bar (very rare).
Small Value (1-5): Conditions must align very closely (stricter, less lag).
Larger Value (5-15+): Allows more time for conditions to align (more signals, but potentially more lag). Needs adjustment, especially if 'Require BOTH' is true.
Standard Indicator Settings:
RSI Length, Overbought/Oversold: Usually keep default (14, 70/30) unless you have a specific reason to change.
MACD Fast/Slow/Signal Length: Usually keep default (12, 26, 9).
Interpreting Signals:
BUY Label: Appears when a base buy signal (RSI or MACD, or both if required) occurs within the lookback, and the price is above the Trend MA (if enabled), and high volume occurred recently (if enabled).
SELL Label: Appears when a base sell signal occurs within the lookback, and the price is below the Trend MA (if enabled), and high volume occurred recently (if enabled).
Important Considerations:
Tuning is Key: The default settings are just a starting point. You must adjust parameters (especially Trend MA Length and Signal Confirmation Lookback) based on the specific asset (e.g., BTCUSDT), timeframe (e.g., 4h), and market conditions.
No Holy Grail: This indicator will generate false signals. It's a tool to aid decision-making, not a guaranteed profit machine.
Use with Other Analysis: Combine signals with analysis of market structure (support/resistance), price action patterns, or other indicators.
Risk Management: Always use proper stop-losses and position sizing.
Backtest/Forward Test: Observe how the indicator performed historically on your chart and test it in real-time (paper trading) before committing capital.
Note di rilascio
added Bollinger Bands to chart
Note di rilascio
Went from regular to stochastic rsi for the filter

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.