OPEN-SOURCE SCRIPT

Marubozu Detector with Dynamic SL/TP

252

Strategy Overview:
This indicator detects a "Marubozu" bullish pattern or a “Marubozu” bearish pattern to suggest potential buy and sell opportunities. It uses dynamic Stop Loss (SL) and Take Profit (TP) management, based on either market volatility (ATR) or liquidity zones.

This tool is intended for educational and informational purposes only.

Key Features:
Entry: Based on detecting Marubozu bullish or bearish candle pattern.
Exit: Targets are managed through ATR multiples or previous liquidity levels (swing highs or swing lows).
Smart Liquidity: Optionally identify deeper liquidity targets.
Full Alerts: Buy and Sell signals supported with customizable alerts.
Visualized Trades: Entry, SL, and TP levels are plotted on the chart.

User Inputs:
ATR Length, ATR Multipliers
Take Profit Mode (Liquidity/ATR)
Swing Lookback and Strength
Toggleable Buy/Sell alerts
All Time Frames

📖 How to Use:
Add the Indicator:
Apply the script to your chart from the TradingView indicators panel.

Look for Buy Signals:
A buy signal is triggered when the script detects a "Marubozu" bullish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.

Look for Sell Signals:
A Sell signal is triggered when the script detects a "Marubozu" bearish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.

Choose Take Profit Mode:

ATR Mode: TP is based on a volatility target.
Liquidity Mode: TP is based on past swing highs.
Set Alerts (Optional):
Enable Buy/Sell alerts in the settings to receive real-time notifications.
Practice First:
Always backtest and paper trade before live use.


📜 Disclaimer:
This script does not offer financial advice.

No guarantees of profit or performance are made.
Use in demo accounts or backtesting first.
Always practice proper risk management and seek advice from licensed professionals if needed.

✅ Script Compliance:
This script is designed in full accordance with TradingView’s House Rules for educational tools.
No financial advice is provided, no performance is guaranteed, and users are encouraged to backtest thoroughly.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。