INVITE-ONLY SCRIPT

Mindset Your Trades Indicator V1

22
Mindset Your Trades — Trendline Signals (V1)

This tool finds highs and lows, draws live trendlines, and gives BUY/SELL alerts when price breaks them. It can filter signals with a moving average and RSI to avoid fake moves. Works on any market or timeframe.

How it works
• Finds swing highs and lows
• Uses ATR, Stdev or LinReg to calculate line slope
• Projects those lines forward until a new pivot appears
• Sends alert when price breaks above or below the line
• Optional MA + RSI filters and cooldown between signals

Use it like this
1️⃣ Add to a clean chart
2️⃣ Choose slope method (ATR = faster, LinReg = smoother)
3️⃣ Pick “Basic” or “Filtered” mode
4️⃣ Turn ON “Only on bar close” for safer signals
5️⃣ Add alert and paste one of these JSON messages:

BUY alert message

Pine Script®
{"event":"BUY","ticker":"{{ticker}}","price":{{close}},"sl":{{close}}*0.92,"tp":{{close}}*1.3,"desc":"Price broke trendline up"}


SELL alert message
Pine Script®
{"event":"SELL","ticker":"{{ticker}}","price":{{close}},"sl":{{close}}*1.08,"tp":{{close}}*0.7,"desc":"Price broke trendline down"}


Suggested settings
Scalping: XAUUSD 5-15m, ATR, length 6-10, multiplier 1.2-1.6
Swing: XAUUSD 1H-4H, LinReg, length 14-20, multiplier 1.0-1.3

Tips
• Use Backpainting = OFF for live signals
• Wait for bar close to confirm
• Works great with webhook bots or Telegram

Invite-only access
Message me on TradingView with your username to get access. After approval, add it from “Invite-only scripts”.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.