INVITE-ONLY SCRIPT

Mindset Your Trades Indicator V1

26
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. קרא עוד בתנאים וההגבלות.