OPEN-SOURCE SCRIPT
StochRSI + MACD + Liqud (YFI H1)

📌 StRSI + MACD + Liqud (YFI H1 Tested)
Author:
© LonesomeTheBlue
WickDipper I’ve added fixed exit points and automatic alerts.
Voluntary donations can be sent to the wallet of a user affected by a phishing attack: 0x3dab7974aacc0352607e0e817fd8f17de00b4e69 (Arbitrum)
Backtesting: Use TradingView’s strategy tester to evaluate performance. Any trading losses incurred using this tool are your own responsibility.
This indicator combines signals from Stochastic RSI and MACD with optional trend filtering via EMA. It implements a transparent trading logic with fixed profit exits, visual labels, and automatic alerts. Recommended for use on the 1-hour timeframe (1H) for optimal signal accuracy.
🔹 Entry Logic
BUY signal is triggered when:
StochRSI crosses upward from the oversold zone
MACD crosses above its signal line — with confirmation from an uptrend (if the trend filter is enabled)
SELL signal is triggered when:
StochRSI crosses downward from the overbought zone
MACD crosses below its signal line — with confirmation from a downtrend (if the trend filter is enabled)
🎯 Exit Logic
EXIT BUY: Automatically triggered when price reaches +1.5% above the long entry EXIT SELL: Automatically triggered when price reaches +1.5% below the short entry TP levels are plotted on the chart EXIT BUY and EXIT SELL labels are drawn in orange
📈 Additional Features
Win Counter: Increments with each successful TP exit
Automatic Alerts: Uses alert() — alerts are triggered automatically, no manual setup required
Visual Labels: BUY, SELL, EXIT BUY, EXIT SELL — color-coded for clarity
Trend Filter: Can be toggled on/off via settings (EMA-based)
🛠️ Usage Instructions
Add to Chart Apply the indicator to any instrument on the 1-hour timeframe
Adjust Parameters
StochRSI and MACD periods
Enable/disable trend filtering
TP is fixed at +1.5%
Receive Alerts Alerts are triggered automatically via alert() — popup, Telegram, email, etc.
Interpret Labels
Green label: BUY
Red label: SELL
Orange label: EXIT BUY / EXIT SELL
TP lines show target exit levels
This indicator is designed for traders who value minimalism, transparency, and precise logic. Ideal for manual trading, backtesting, and building systems with fixed profit targets.
Author:
© LonesomeTheBlue
WickDipper I’ve added fixed exit points and automatic alerts.
Voluntary donations can be sent to the wallet of a user affected by a phishing attack: 0x3dab7974aacc0352607e0e817fd8f17de00b4e69 (Arbitrum)
Backtesting: Use TradingView’s strategy tester to evaluate performance. Any trading losses incurred using this tool are your own responsibility.
This indicator combines signals from Stochastic RSI and MACD with optional trend filtering via EMA. It implements a transparent trading logic with fixed profit exits, visual labels, and automatic alerts. Recommended for use on the 1-hour timeframe (1H) for optimal signal accuracy.
🔹 Entry Logic
BUY signal is triggered when:
StochRSI crosses upward from the oversold zone
MACD crosses above its signal line — with confirmation from an uptrend (if the trend filter is enabled)
SELL signal is triggered when:
StochRSI crosses downward from the overbought zone
MACD crosses below its signal line — with confirmation from a downtrend (if the trend filter is enabled)
🎯 Exit Logic
EXIT BUY: Automatically triggered when price reaches +1.5% above the long entry EXIT SELL: Automatically triggered when price reaches +1.5% below the short entry TP levels are plotted on the chart EXIT BUY and EXIT SELL labels are drawn in orange
📈 Additional Features
Win Counter: Increments with each successful TP exit
Automatic Alerts: Uses alert() — alerts are triggered automatically, no manual setup required
Visual Labels: BUY, SELL, EXIT BUY, EXIT SELL — color-coded for clarity
Trend Filter: Can be toggled on/off via settings (EMA-based)
🛠️ Usage Instructions
Add to Chart Apply the indicator to any instrument on the 1-hour timeframe
Adjust Parameters
StochRSI and MACD periods
Enable/disable trend filtering
TP is fixed at +1.5%
Receive Alerts Alerts are triggered automatically via alert() — popup, Telegram, email, etc.
Interpret Labels
Green label: BUY
Red label: SELL
Orange label: EXIT BUY / EXIT SELL
TP lines show target exit levels
This indicator is designed for traders who value minimalism, transparency, and precise logic. Ideal for manual trading, backtesting, and building systems with fixed profit targets.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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ã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.