PROTECTED SOURCE SCRIPT
Cập nhật Estratégia R2 (Backtest On)

R2 Strategy — Quick Summary (EN)
R2 Strategy is a confluence indicator for 1-minute reversal trading that combines RSI(2) with EMA(21). It triggers SELL when RSI(2) is above the overbought level and price is below EMA(21), and BUY when RSI(2) is below the oversold level and price is above EMA(21). A trade counts as a win if the 1st or 2nd candle after the signal closes in the expected direction. Signals are finalized on bar close and results are tallied at t+2 to avoid repaint.
The built-in backtest shows a Summary panel (total signals, buys, sells, overall win rate, evaluated trades) and an Hourly Intervals panel (00:00–01:00, …) with Wins, Completed, Win%, and a visual bar, plus Top 3 and Bottom 3 intervals. Filters include date range, weekday selection, and optional weekends. All statistics run in UTC-3 by default (editable via the TZ constant). Two alert conditions are provided: R2: BUY and R2: SELL. Designed for M1; use with sound risk management and consider S/R, session context, volatility, and news filters.
Phát hành các Ghi chú
R2 Strategy — Quick Summary (EN)R2 Strategy is a confluence indicator for 1-minute reversal trading that combines RSI(2) with EMA(21). It triggers SELL when RSI(2) is above the overbought level and price is below EMA(21), and BUY when RSI(2) is below the oversold level and price is above EMA(21). A trade counts as a win if the 1st or 2nd candle after the signal closes in the expected direction. Signals are finalized on bar close and results are tallied at t+2 to avoid repaint.
The built-in backtest shows a Summary panel (total signals, buys, sells, overall win rate, evaluated trades) and an Hourly Intervals panel (00:00–01:00, …) with Wins, Completed, Win%, and a visual bar, plus Top 3 and Bottom 3 intervals. Filters include date range, weekday selection, and optional weekends. All statistics run in UTC-3 by default (editable via the TZ constant). Two alert conditions are provided: R2: BUY and R2: SELL. Designed for M1; use with sound risk management and consider S/R, session context, volatility, and news filters.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.