OPEN-SOURCE SCRIPT

30M Scalping Strategy with Debug Logs

314
What’s changed

Spot‑only: all short logic removed—only long entries and exits are generated.

Logging: uses log.info() to send entry/exit details (timestamp, price, ATR, RSI) to the Pine Logs console.

Clean & concise: core scalp logic (EMAs, RSI, MACD, volume, ATR SL/TP) remains intact.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.