OPEN-SOURCE SCRIPT
AutoTrade Bot v12

Auto-Trade Bot v12 is a trend-following strategy designed for high-probability swing setups. This version introduces a significant upgrade: a multi-timeframe EMA-115 filter sourced from the 1-hour chart to ensure that all entries align with the institutional trend.
The strategy utilizes liquidity sweep logic combined with momentum oscillators to identify precise entry points with a disciplined 5.0 Risk-to-Reward (R:R) ratio.
Key Features
1H EMA-115 Trend Filter: Automatically pulls the 1-hour Exponential Moving Average to your current timeframe. It only permits Longs when the 1H trend is rising and price is above the EMA.
Liquidity Sweep Logic: Identifies "Stop Runs" by tracking price action that sweeps recent swing highs or lows before confirming a reversal.
HMA 20 Smoothing: Uses a Hull Moving Average for fast, lag-reduced trend confirmation.
Williams %R (Willy) Confirmation: Filters momentum using a smoothed Williams %R to ensure the market is recovering from oversold/overbought conditions before entering.
Dual Entry Modes (HP/LP): * HP (High Probability): Direct momentum recovery from extreme oversold levels.
LP (Low Probability/Higher Low): Trend continuation based on Higher Low (for Longs) or Lower High (for Shorts) structures.
Automated Trade Management: Pre-calculated Stop Loss and Take Profit levels based on a strict 5:1 reward ratio.
How to Use
Select Your Mode: The script defaults to "Longs Only Mode" to capitalize on bullish market structures, but can be toggled to include Shorts in the settings.
Timeframe: Designed for lower timeframes (1m, 5m, 15m) while referencing the 1H EMA for trend guidance.
Risk Management: The strategy risks the distance to the recent sweep low. Adjust your Risk to Reward Ratio input if your specific asset requires a tighter or wider target.
Alerts: Fully compatible with TradingView alerts. The script outputs a clean JSON format ready for webhook integration with automated execution platforms.
Technical Breakdown
EMA Filter: 115-period EMA from the 60-minute timeframe.
HMA Filter: 20-period Hull Moving Average on the chart timeframe.
Sweep Lookback: 14 bars (Customizable).
Default R:R: 5.0 (Targeting $5 profit for every $1 risked).
Disclaimer: This script is for educational and informational purposes only. Backtest thoroughly on your preferred pair and timeframe before considering live application.
The strategy utilizes liquidity sweep logic combined with momentum oscillators to identify precise entry points with a disciplined 5.0 Risk-to-Reward (R:R) ratio.
Key Features
1H EMA-115 Trend Filter: Automatically pulls the 1-hour Exponential Moving Average to your current timeframe. It only permits Longs when the 1H trend is rising and price is above the EMA.
Liquidity Sweep Logic: Identifies "Stop Runs" by tracking price action that sweeps recent swing highs or lows before confirming a reversal.
HMA 20 Smoothing: Uses a Hull Moving Average for fast, lag-reduced trend confirmation.
Williams %R (Willy) Confirmation: Filters momentum using a smoothed Williams %R to ensure the market is recovering from oversold/overbought conditions before entering.
Dual Entry Modes (HP/LP): * HP (High Probability): Direct momentum recovery from extreme oversold levels.
LP (Low Probability/Higher Low): Trend continuation based on Higher Low (for Longs) or Lower High (for Shorts) structures.
Automated Trade Management: Pre-calculated Stop Loss and Take Profit levels based on a strict 5:1 reward ratio.
How to Use
Select Your Mode: The script defaults to "Longs Only Mode" to capitalize on bullish market structures, but can be toggled to include Shorts in the settings.
Timeframe: Designed for lower timeframes (1m, 5m, 15m) while referencing the 1H EMA for trend guidance.
Risk Management: The strategy risks the distance to the recent sweep low. Adjust your Risk to Reward Ratio input if your specific asset requires a tighter or wider target.
Alerts: Fully compatible with TradingView alerts. The script outputs a clean JSON format ready for webhook integration with automated execution platforms.
Technical Breakdown
EMA Filter: 115-period EMA from the 60-minute timeframe.
HMA Filter: 20-period Hull Moving Average on the chart timeframe.
Sweep Lookback: 14 bars (Customizable).
Default R:R: 5.0 (Targeting $5 profit for every $1 risked).
Disclaimer: This script is for educational and informational purposes only. Backtest thoroughly on your preferred pair and timeframe before considering live application.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.