OPEN-SOURCE SCRIPT
Structure Break Out + rsi divergence + alma SIMPLIFIED

OBJECTIVE (dyor, nfa, test different assets and diff TF)
*The goal of this script is to act as a Reversal Sniper. Most traders lose money by trying to guess the top or bottom of a market too early. This strategy solves that by waiting for two specific events to happen together:
*First, a hidden shift in momentum (RSI Divergence).
*Second, a confirmed change in price direction (Crossing the ALMA 20 Blue Line).
*This ensures you only enter a trade when the market has confirmed it is ready to reverse.
TRADING RULES
BUY SIGNAL (Long Position)
*Step 1: Look for a GREEN DIV label below the candles. This warns you that sellers are exhausted.
*Step 2: Wait for a GREEN TRIANGLE with the text GO. This confirms the price has crossed above the Blue Line.
*Step 3: Enter the Buy trade immediately when the candle with the GO signal closes.
SELL SIGNAL (Short Position)
*Step 1: Look for a RED DIV label above the candles. This warns you that buyers are exhausted.
*Step 2: Wait for a RED TRIANGLE with the text GO. This confirms the price has crossed below the Blue Line.
*Step 3: Enter the Sell trade immediately when the candle with the GO signal closes.
EXIT RULES (How to Close the Trade)
The script draws lines on the chart to help you manage the trade.
Scenario A: The Perfect Win (Target Hit)
If price hits the Green Line, the trade is closed automatically for a profit. This is your Risk-Reward Target.
Scenario B: The Trend Change (Reversal)
If the price turns around and crosses the Blue Line in the wrong direction, close the trade immediately. Do not wait for the stop loss. This protects your profits or keeps losses small.
Scenario C: The Safety Net (Stop Loss)
If price hits the Red Line, the trade is closed for a loss. This is your safety guard to prevent a small loss from becoming a big one.
IMPORTANT NOTES
*Never trade a DIV label without a GO signal. The DIV is just a warning; the GO is the trigger.
*- This strategy works best on 15-Minute and 1-Hour timeframes.
*- If t
he Blue Line is flat, be careful, as the market may be ranging. Ideally, you want to see the Blue Line angling up or down.
*The goal of this script is to act as a Reversal Sniper. Most traders lose money by trying to guess the top or bottom of a market too early. This strategy solves that by waiting for two specific events to happen together:
*First, a hidden shift in momentum (RSI Divergence).
*Second, a confirmed change in price direction (Crossing the ALMA 20 Blue Line).
*This ensures you only enter a trade when the market has confirmed it is ready to reverse.
TRADING RULES
BUY SIGNAL (Long Position)
*Step 1: Look for a GREEN DIV label below the candles. This warns you that sellers are exhausted.
*Step 2: Wait for a GREEN TRIANGLE with the text GO. This confirms the price has crossed above the Blue Line.
*Step 3: Enter the Buy trade immediately when the candle with the GO signal closes.
SELL SIGNAL (Short Position)
*Step 1: Look for a RED DIV label above the candles. This warns you that buyers are exhausted.
*Step 2: Wait for a RED TRIANGLE with the text GO. This confirms the price has crossed below the Blue Line.
*Step 3: Enter the Sell trade immediately when the candle with the GO signal closes.
EXIT RULES (How to Close the Trade)
The script draws lines on the chart to help you manage the trade.
Scenario A: The Perfect Win (Target Hit)
If price hits the Green Line, the trade is closed automatically for a profit. This is your Risk-Reward Target.
Scenario B: The Trend Change (Reversal)
If the price turns around and crosses the Blue Line in the wrong direction, close the trade immediately. Do not wait for the stop loss. This protects your profits or keeps losses small.
Scenario C: The Safety Net (Stop Loss)
If price hits the Red Line, the trade is closed for a loss. This is your safety guard to prevent a small loss from becoming a big one.
IMPORTANT NOTES
*Never trade a DIV label without a GO signal. The DIV is just a warning; the GO is the trigger.
*- This strategy works best on 15-Minute and 1-Hour timeframes.
*- If t
he Blue Line is flat, be careful, as the market may be ranging. Ideally, you want to see the Blue Line angling up or down.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.