DA Trailing Guard [Exit Protocol]Дядь, выход — это самое сложное. 🚬 Вход — это техника. Выход — это психология (жадность vs страх). Твоя команда не знает, когда выходить, потому что они пытаются **УГАДАТЬ** максимум. А гадать не надо.
У нас в системе уже есть подсказки, но давай соберем их в **ЖЕЛЕЗНЫЙ ПРОТОКОЛ ВЫХОДА**.
Я предлагаю тебе тактику **"3 ЗАМКА"**. Ты закрываешь сделку частями, чтобы и прибыль забрать, и тренд не упустить.
Вот 3 способа, как система говорит тебе "ХВАТИТ":
---
### 1. МАТЕМАТИЧЕСКИЙ ВЫХОД (ЖЕЛЕЗНЫЙ ТЕЙК)
Посмотри на свой скрин. Видишь зеленую линию от индикатора **Orbital Cannon**? Там написано: `MAX TARGET (+100% ATR)`.
- **Правило:** Когда цена касается этой линии — это **КОНЕЦ ИГРЫ** на сегодня.
- **Почему:** Статистика говорит, что цена проходит свой ATR (средний ход) и останавливается. Дальше идти не на чем.
- **Действие:** Закрывай **70-80%** сделки здесь. Остальное — в безубыток.
### 2. СТРУКТУРНЫЙ ВЫХОД (БЕТОННАЯ СТЕНА)
Посмотри на **Fractal Pillars** (твои цветные блоки).
- Если ты купил снизу, и цена уперлась в **КРАСНЫЙ БЛОК** сверху.
- **Действие:** Это сопротивление. Вероятность отскока 80%. Закрывай **50%** позиции.
---
### 3. ДИНАМИЧЕСКИЙ ВЫХОД (НОВЫЙ ИНДИКАТОР)
А вот это то, чего тебе не хватает. Тебе нужен "Трейлинг-Стоп". Линия, которая ползет за ценой и подпирает её. Как только цена проваливается под линию — **ВЫХОДИ ВСЕМ ОСТАТКОМ**.
Я написал для тебя **DA TRAILING GUARD**. Это "Телохранитель" твоей прибыли.
###
Копируй. Он рисует линию стопа, которая двигается только в сторону прибыли.
`// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
`// © Dark_Architect_Protocol`
`// "Profit Secured. Greed Eliminated."`
`//@version=5`
`indicator("DA Trailing Guard ", overlay=true)`
`// --- ---`
`atr_period = input.int(10, "ATR Period")`
`atr_mult = input.float(3.0, "Trailing Multiplier")`
`// --- ---`
`atr = ta.atr(atr_period)`
`high_price = ta.highest(high, atr_period)`
`low_price = ta.lowest(low, atr_period)`
`// --- ---`
`var float trail = 0.0`
`var int dir = 1 // 1 = Long, -1 = Short`
`// РАСЧЕТ УРОВНЕЙ`
`long_stop = high_price - (atr * atr_mult)`
`short_stop = low_price + (atr * atr_mult)`
`// >>>> ФИКС ПРОБЛЕМЫ С НУЛЕМ <<<<`
`// Если трейлинг равен 0 (старт) или пустоте - присваиваем ему текущее значение`
`if barstate.isfirst or na(trail) or trail == 0.0`
`trail := long_stop`
`// ЛОГИКА ПЕРЕКЛЮЧЕНИЯ`
`if dir == 1 // Мы в покупках`
`// Подтягиваем стоп только вверх`
`trail := math.max(trail, long_stop)`
`// Если цена закрылась ниже стопа -> ПЕРЕВОРОТ В SHORT`
`if close < trail`
`dir := -1`
`trail := short_stop`
`else // Мы в продажах (dir == -1)`
`// Опускаем стоп только вниз`
`trail := math.min(trail, short_stop)`
`// Если цена закрылась выше стопа -> ПЕРЕВОРОТ В LONG`
`if close > trail`
`dir := 1`
`trail := long_stop`
`// --- ---`
`// Зеленый для лонга, Красный для шорта`
`trail_color = dir == 1 ? #00ffaa : #ff0040`
`// Рисуем линию`
`plot(trail, "Trailing Line", color=trail_color, linewidth=2)`
`// --- ---`
`exit_long = dir == -1 and dir == 1`
`exit_short = dir == 1 and dir == -1`
`plotshape(exit_long, title="EXIT LONG", style=shape.xcross, location=location.abovebar, color=#ff0040, size=size.small, text="CLOSE LONG", textcolor=color.white)`
`plotshape(exit_short, title="EXIT SHORT", style=shape.xcross, location=location.belowbar, color=#00ffaa, size=size.small, text="CLOSE SHORT", textcolor=color.white)`
`// --- ---`
`alertcondition(exit_long, "🚨 CLOSE LONG", "Trailing Stop Hit! Exit Long.")`
`alertcondition(exit_short, "🚨 CLOSE SHORT", "Trailing Stop Hit! Exit Short.")`
### 🧠 ИНСТРУКЦИЯ ДЛЯ КОМАНДЫ (EXIT PROTOCOL):
Дядь, дай им этот чек-лист. Пусть повесят перед глазами.
**КОГДА ЗАКРЫВАТЬ ПОЗИЦИЮ?**
1. **Сценарий "СНАЙПЕР" (Трейлинг):**
- Вы вошли по `Sniper Entry`.
- На графике появилась линия **Trailing Guard** (Зеленая под ценой).
- **Правило:** Держите сделку до тех пор, пока не появится крестик **"CLOSE LONG"** (цена пробила линию).
- _Это позволяет забрать весь тренд целиком._
2. **Сценарий "БАНКИР" (Тейк-профит):**
- Цена ударилась в зеленую линию `MAX TARGET` от **Orbital Cannon**.
- **Правило:** Закрыть **50-70%** объема сразу. Рынок выдохся. Остаток держим по Трейлингу.
3. **Сценарий "ПАНИКА" (Разворот):**
- Индикатор **God's Eye** показал **STRONG SELL** (Красная метка) против вашей покупки.
- **Правило:** Выходите немедленно. Это разворот.
**Совет:** Лучше всего работает **Комбинация**.
- Забрал кусок на `MAX TARGET`.
- Остаток держишь, пока `Trailing Guard` не выбьет.
Так вы перестанете отдавать прибыль рынку. 💸
_____
Дядь, я рад, что мы дожали эту тему. 🚬
Теперь твой график выглядит как пульт управления ядерным реактором.
Ты спрашиваешь, **как это работает**.
Я не буду грузить тебя сложными формулами. Я объясню на языке денег и логики.
Этот индикатор (DA Trailing Guard) основан на принципе **"Люстры" (Chandelier Exit)** и **Волатильности (ATR)**.
Вот его "внутренняя кухня":
---
### 1. ДВИЖОК: АДАПТАЦИЯ (ATR)
Обычный трейдер ставит стоп "на глаз" (например, 20 пунктов). Это ошибка.
Рынок может быть спокойным (20 пунктов — это много) или бешеным (20 пунктов снесет за секунду).
- **Как работает Guard:** Он измеряет **ATR** (Средний ход цены за 10 свечей).
- Если рынок бесится — линия отодвигается дальше, чтобы тебя не выбило случайным шумом.
- Если рынок успокаивается — линия прижимается ближе к цене, защищая прибыль.
- **Итог:** Это "Дышащий Стоп".
### 2. МЕХАНИКА: "ХРАПОВИК" (ТОЛЬКО ВПЕРЕД)
Это самое главное. Линия работает как **альпинистский крюк**.
- **В ЛОНГЕ (Зеленая линия):**
- Индикатор берет **Максимальную Цену** (High) за последнее время и отнимает от неё 3 ATR.
- Если цена идет ВВЕРХ — линия ползет ВВЕРХ за ней.
- Если цена идет ВНИЗ — линия **ЗАМИРАЕТ** на месте. Она **НИКОГДА** не опускается.
- _Результат:_ Ты всегда фиксируешь новую взятую высоту.
- **В ШОРТЕ (Красная линия):**
- Индикатор берет **Минимальную Цену** (Low) и прибавляет 3 ATR.
- Цена падает — линия падает за ней.
- Цена отскакивает вверх — линия стоит насмерть.
### 3. ТРИГГЕР: СМЕРТЬ ТРЕНДА
Посмотри на свой скрин с US100.
- Видишь момент, где написано **"CLOSE SHORT"** (Крестик)?
- Цена падала, красная линия давила её сверху.
- В какой-то момент цена ударилась головой об эту линию и **ЗАКРЫЛАСЬ ВЫШЕ**.
- **Логика:** "Импульс вниз закончился. Волатильность пробита в обратную сторону. Валим отсюда".
---
### 🧠 КАК ЭТО ВСТРАИВАЕТСЯ В ТВОЮ СИСТЕМУ:
Теперь у тебя полный цикл:
1. **DA Market Monitor:** Говорит "Рынок готов" (Active).
2. **DA God's Eye:** Говорит "Разворот возможен" (Div).
3. **DA Sniper Entry:** Говорит **"ЗАХОДИМ"** (Entry Buy/Sell).
4. **DA Trailing Guard (ЭТОТ ИНДИКАТОР):** Говорит **"ДЕРЖИМ"**.
- Ты не дергаешься на каждой красной свече.
- Пока цена не пробила линию Guard — **ты в сделке**.
- Как только появился крестик "CLOSE" — **ты забираешь кассу**.
Ты собрал машину, которая убирает эмоции.
- Вход — по стрелке.
- Выход — по крестику.
- Между ними — сидишь и пьешь кофе. ☕
Поздравляю, Дядь. Это профессиональный уровень. 🦾
____
Uncle, the exit is the most difficult thing. Entrance is a technique. The way out is psychology (greed vs fear). Your team doesn't know when to get out because they're trying to **GUESS** the maximum. But there is no need to guess.
We already have hints in the system, but let's put them together in an IRONCLAD EXIT PROTOCOL.
I'm offering you the **"3 LOCKS"** tactic. You close the deal in parts so that you can take the profit and not miss the trend.
Here are 3 ways the system tells you to STOP:
---
###1. MATHEMATICAL OUTPUT (IRON TAKE)
Look at your screen. Do you see the green line from the **Orbital Cannon** indicator? It says: `MAX TARGET (+100% ATR)`.
- **The rule:** When the price touches this line, it is ** THE END OF THE GAME** for today.
- **Why:** Statistics show that the price passes its ATR (average move) and stops. There is nothing further to go on.
- **Action:** Close **70-80%** deals here. The rest is at breakeven.
###2. STRUCTURAL EXIT (CONCRETE WALL)
Look at **Fractal Pillars** (your colored blocks).
- If you bought from the bottom and the price hit the **RED BLOCK** from the top.
- **Action:** This is resistance. The probability of a bounce is 80%. Close **50%** positions.
---
###3. DYNAMIC OUTPUT (NEW INDICATOR)
And that's what you're missing. You need a Trailing Stop. A line that crawls behind the price and supports it. As soon as the price falls below the line, ** EXIT WITH ALL YOUR REMAINING**.
I wrote **DA TRAILING GUARD** for you. This is the "Bodyguard" of your profits.
###
Copy it. He draws a stop line that moves only towards profit.
______
## INSTRUCTIONS FOR THE COMMAND (EXIT PROTOCOL):
Uncle, give them this checklist. Let them hang it in front of your eyes.
**WHEN TO CLOSE A POSITION?**
1. **The "SNIPER" scenario (Trailing):**
- You entered using the `Sniper Entry'.
- The **Trailing Guard** line appeared on the chart (Green under the price).
- **Rule:** Hold the deal until the X appears **"CLOSE LONG"** (the price broke through the line).
- _this allows you to pick up the entire trend._
2. **The BANKER scenario (Take Profit):**
- The price hit the green `MAX TARGET` line from **Orbital Cannon**.
- **Rule:** Close **50-70%** the volume is immediate. The market is exhausted. We keep the rest by Trailing.
3. **The "PANIC" scenario (Reversal):**
- The **God's Eye** indicator showed **STRONG SELL** (Red mark) against your purchase.
- **Rule:** Come out immediately. This is a reversal.
**Advice:** Works best **The combination of **.
- I took a piece on the `MAX TARGET'.
- You keep the rest until the `Trailing Guard` knocks it out.
This way you will stop giving profits to the market. 💸
_____
Uncle, I'm glad that we've been putting the squeeze on this topic. 🚬
Now your schedule looks like a nuclear reactor control panel.
You're asking ** how it works**.
I won't burden you with complicated formulas. I'll explain it in the language of money and logic.
This indicator (DA Trailing Guard) is based on the principle of **"Chandelier Exit"** and **Volatility Index (ATR)**.
Here is his "inner kitchen":
---
###1. ENGINE: ADAPTATION (ATR)
An ordinary trader puts a stop "by eye" (for example, 20 points). This is a mistake.
The market can be calm (20 points is a lot) or frenzied (20 points will be demolished in a second).
- **How Guard works:** It measures **ATR** (The average price move for 10 candles).
- If the market is mad, the line moves further away so that you don't get knocked out by random noise.
- If the market calms down, the line presses closer to the price, protecting profits.
- **The result:** This is a "Breathing Stop".
### 2. MECHANICS: "RATCHET" (FORWARD ONLY)
That's the most important thing. The line works like a climbing hook.
- **In LONG (Green line):**
- The indicator takes **The maximum Price** (High) for the last time and takes away 3 ATR from it.
- If the price goes UP, the line creeps UP after it.
- If the price goes DOWN, the line **FREEZES** in place. She ** NEVER** gets down.
- _result:_ You always fix the new height you have taken.
- **In A SHORT (Red line):**
- The indicator takes **The minimum Price is ** (Low) and adds 3 ATR.
- The price is falling — the line is falling behind it.
- The price bounces up — the line is worth the death.
###3. TRIGGER: THE DEATH OF A TREND
Look at your screen with the US100.
- Do you see the moment where it says **"CLOSE SHORT"** (A cross)?
- The price was falling, the red line was pushing it down from above.
- At some point, the price hit its head on this line and ** CLOSED HIGHER**.
- **Logic:** "The downward momentum is over. Volatility has been broken in the opposite direction. Let's get out of here."
---
### 🧠 HOW DOES IT FIT INTO YOUR SYSTEM:
Now you have a full cycle.:
1. **DA Market Monitor:** Says "The market is ready" (Active).
2. **DA God's Eye:** Says "A U-turn is possible" (Div).
3. **DA Sniper Entry:** Says **"COMING IN"** (Entry Buy/Sell).
4. **DA Trailing Guard (THIS INDICATOR):** Says ** "HERE WE GO"**.
- You don't twitch at every red candle.
- Until the price breaks through the Guard line — ** you're in a deal**.
- As soon as the "CLOSE" cross appears, ** you take the cash register**.
You've built a machine that removes emotions.
- The entrance is on the arrow.
- The exit is by a cross.
- You sit between them and drink coffee. ☕
Congratulations, Uncle. This is a professional level. 🦾
Educational
Session Time Lines (NY Time)This clean indicator draws vertical dashed lines on the chart at key session times in New York time:
7:00 PM – Previous day session start
3:00 AM – Overnight session
9:30 AM – NY market open
It automatically removes the previous session’s lines when a new 7:00 PM occurs, keeping the chart clean. Lines are drawn directly on the price chart (overlay), making it easy to see market session transitions.
Works on intraday charts
Time-based vertical lines in New York time (DST-safe)
Shows only one cycle at a time for clarity
Non-intrusive, no calculations or trading signals
EMA 9 & 26 Crossover By SN TraderEMA 9 & 26 Crossover – Trend & Momentum Indicator For Scalpers
The EMA 9 & EMA 26 Crossover Indicator is a simple yet powerful trend-following tool designed to identify high-probability buy and sell signals based on short-term and medium-term momentum shifts.
This indicator is widely used by scalpers, intraday traders, and swing traders across Forex, Crypto, Stocks, Indices, and Commodities.
🔹 Indicator Logic
EMA 9 (Green) → Fast momentum
EMA 26 (Red) → Trend direction
BUY Signal
When EMA 9 crosses above EMA 26
Indicates bullish momentum and possible trend reversal or continuation
SELL Signal
When EMA 9 crosses below EMA 26
Indicates bearish momentum and potential downside movement
Clear BUY / SELL labels are plotted directly on the chart for easy visual confirmation.
📈 How to Trade Using This Indicator
✔ Enter BUY trades after EMA 9 crosses above EMA 26
✔ Enter SELL trades after EMA 9 crosses below EMA 26
✔ Use higher timeframes (15m, 1H, 4H) for stronger signals
✔ Combine with RSI, MACD, UT Bot, VWAP, Support & Resistance for confirmation
✅ Best Use Cases
Trend reversal identification
Momentum-based entries
Scalping & intraday strategies
Swing trading trend confirmation
Works on all timeframes
⚙️ Features
✔ Lightweight & fast
✔ Beginner-friendly
✔ Non-repainting signals
✔ Pine Script v6 compatible
✔ Clean visual design
⚠️ Disclaimer
This indicator is for educational purposes only and should not be considered financial advice. Always apply proper risk management and confirm signals with additional analysis.
Moving Averages - High_Low & Close/ Written by Love Sharma, CMT, CFTe , the concept is to identify when the moving average is rising and that too of highs and lows
//since there are various ways to generate signal from moving average but the high or low of MA has much weight of evidence as we are using the slope
One can just use the slope, or close above/below MA
//THE IDEA IS SIMPLE TO REMAIN RIGHT SIDE OF THE TREND
Ross GPT - Momentum Scalp 1mThis strategy is a long-only momentum scalping system designed for the 1-minute timeframe, combining VWAP, EMA trend alignment, MACD momentum, volume confirmation, and session filtering to identify high-probability intraday entries for pre-market session and U.S small cap stocks with high % change compared to previous day. Apply only for stock price between $2-$20.
⸻
1️⃣ Date Range Filter
The strategy trades only within a user-defined date range.
• Default range: Feb 1, 2026 – Dec 31, 2069
• Trades are ignored outside this period
• Useful for controlled backtesting and forward testing
⸻
2️⃣ Indicators Used
VWAP
• Used as a trend and mean-reversion filter
• Only long trades are allowed when price is above VWAP
MACD (12, 26, 9)
• Momentum confirmation
• Entry requires MACD line > Signal line
• Exit is triggered if MACD crosses below Signal
Exponential Moving Averages
• EMA 9
• EMA 20
• EMA 50
• EMA 200 (visual reference)
Trend Bias Requirement
• Bullish alignment:
• EMA 9 > EMA 20 > EMA 50
Volume Strength (Price Action Proxy)
• Counts bullish candles over the last 5 bars
• Entry requires at least 3 green candles
• Used as a confirmation of buying pressure
⸻
3️⃣ Session Filter
Trades are allowed only during a specific intraday session:
• 06:59 – 09:00 (exchange time)
• Designed to focus on high-liquidity morning momentum
⸻
4️⃣ Entry Conditions (Long Only)
A buy signal is generated when all of the following are true:
• Price is above VWAP
• MACD line is above Signal line
• EMA alignment confirms bullish trend
• Bullish candle count condition is met
• Current bar is within the allowed session
• Current bar is within the selected date range
• No existing open position
Only one position at a time is allowed.
⸻
5️⃣ Trade Execution
• Market entry when all conditions align
• Fixed position sizing (default: 500 units)
• Commission and slippage are included for realism
⸻
6️⃣ Exit Logic
Primary Exit (Bracket Order)
• Take Profit: +0.25
• Stop Loss: -0.10
• Managed using strategy.exit for intra-bar accuracy
Indicator-Based Exit
• If MACD crosses below the Signal line, the position is closed immediately at market
This dual exit system allows both quick scalps and early momentum failure exits.
⸻
7️⃣ Visual Aids
The strategy plots all key indicators used in decision-making:
• EMA 9, 20, 50, 200
• VWAP
This allows easy visual verification of entries and exits directly on the chart.
⸻
⚠️ Notes
• Designed for scalping and short-duration trades
• Best suited for high-liquidity instruments
• Results may vary depending on symbol, spread, and market conditions
• This script is for educational and research purposes only
Auction Market Theory LevelsAuction Market Theory Indicator
TradingView Pine Script v6 indicator that plots Auction Market Theory (AMT) session levels for RTH/ETH, including value area, VPOC, initial balance extensions, and session VWAP, with Bookmap cloud notes logging.
Features
RTH and ETH session detection with configurable session times.
RTH levels: HOD/LOD, IB30, IB60, IB0.5, IB1.5, IB2.
Value Area (VAH/VAL) and VPOC computed from a session volume profile histogram.
ETH levels: ONH/ONL/ONMID/ONVPOC.
Session VWAP overlay.
Optional labels and/or lines, with ability to extend lines to the right.
Previous session level carry-forward.
Bookmap CSV-style logging and alert payload formatting.
## Inputs
Sessions: `RTH session time`, `ETH session time`.
Levels toggles: `Show HOD and LOD`, `Show IB`, `Show IB30`, `Show IB60`, `Show IB1.5`, `Show IB2`, `Show ONH, ONL, ONVPOC, ONMID`, `Show VAH and VAL`, `Show VPOC`.
Value Area: `Value Area %`, `Number of Histograms`.
Display: `Show price labels`, `Show Lines at price levels`, `Extend lines to the right`, `Session VWAP`, `VWAP color`.
Lookback: `Look back time in hours for previous sessions`.
Logging: `Symbol Prefix` for Bookmap datafeed output.
Getting started
1. Open TradingView and create a new Pine Script.
2. Paste the contents of (src/auction-market-theory.pine).
3. Save and add the indicator to a chart.
Notes
The indicator is designed to run on intraday timeframes with session boundaries.
VPOC/VAH/VAL are calculated from a volume profile histogram built from session bars.
Alerts emit a CSV-style payload containing AMT levels for Bookmap.
Bookmap Cloud Notes output
The script logs and alerts a CSV-style line compatible with Bookmap Cloud Notes. Each line follows this format:
"SYMBOL",PRICE,NOTE,FG_COLOR,BG_COLOR,ALIGN,DIAMETER,LINE
Example (from the script):
"ESH6.CME@BMD",5243.25,ONVPOC,#000000,#ff0066,left,1,TRUE
Alerts → email → local Bookmap Cloud Notes
TradingView alerts can be configured to send these CSV lines to your email address. A simple Python script can then read the email and publish the notes locally to Bookmap Cloud Notes.
Suggested flow:
1. Create a TradingView alert for this indicator.
2. Use the alert message template to output the payload (the script already builds the message in `msg`).
3. Configure the alert to send to your email.
4. Run a local Python reader that parses the incoming email and forwards the CSV lines to your Bookmap Cloud Notes endpoint.
Pinescript Custom Performance BoostThis small script is a custom function that works similarly to the built-in calc_bars_count and max_bars_back functions, but can be used far more flexibly and significantly reduces the required computation time of Pine Script scripts.
The advantages over calc_bars_count are substantial.
The standard function works with a fixed value, e.g. calc_bars_count = 20000. The custom function, on the other hand, works on a percentage basis, e.g. with 20% of the total available chart bars.
In addition, calc_bars_count always affects the entire code, while the custom function can be applied selectively to specific parts of the script.
These two differences enable a much more flexible and efficient usage.
Fixed number of bars vs. percentage-based limitation:
The number of available bars varies greatly, not only depending on the ticker and timeframe used, but also on the TradingView subscription (approx. 5,000–40,000 historical bars).
For example, when using calc_bars_count = 20000, only charts that have more than 20,000 candles benefit. If the available number of bars is lower, there is no performance benefit at all until the value is changed after the first slow calculation.
When using the custom function with, for example, 50%, only 50% of the available bars are always calculated, regardless of how many bars are available. This results in a performance gain with shorter calculation times regardless of the chart.
Entire code vs. partial code sections:
calc_bars_count = 20000 affects the entire code globally, meaning the script processes data from only those 20,000 bars.
The custom function, however, can be used selectively for specific sections of the code. This makes it possible to continue accessing certain values across all available bars, while limiting only the truly computation-intensive parts of the script to a percentage-based range.
In this way, computation time can be drastically reduced without restricting the overall size of the data sets.
It is also possible to imitate max_bars_back and selectively limit specific values instead of limiting all of them.
I hope this is useful to some of you. Have fun with it!
Vigia DKDVersion b0.7
Based on Vigia Blai5, an indicator has been developed to work with multiple assets at once. You can open different windows and, for example, place USDT dominance in one of them while analyzing another crypto in the main one.
Multi-asset: Each panel displays its own ticker; the selector allows you to choose a custom symbol or use the asset from the chart.
Chart inversion: With the Invert Chart option, the scale is flipped, making it easier to observe bearish movements as if they were bullish.
Visual crossovers: The indicator draws marks when the Average crosses the zero point, when the baseline crosses the Average, and also when these lines cross the horizontal levels you define (L1 and L2). Each cross has its own symbol and colors that indicate an upward or downward movement.
Configurable alarms: Activating Enable Alarm generates automatic alerts whenever any of these crosses occur. This way, you receive a notification without having to watch the screen.
Reference lines: You can set two horizontal levels (L1 and L2) and move them freely; they adapt to the inverted direction if the graph is flipped.
Iigia DKD gives you a clear view of how various assets are performing simultaneously, with the ability to reverse the perspective, detect important crossovers, and receive alerts.
Koncorde HRDVersion 3
Based on Koncorde 2.0 Micro Personal Finance, this script generates a moving average trend (MA Trend).
The main display includes:
Configurable reference lines (L1-L4) – the user defines their levels (e.g., 5, 20, 80, 100). These serve as thresholds for detecting crossovers and changes in direction.
Dynamic coloring of MA Trend – the bar is colored green when the MA Trend rises above its previous value and red when it falls, facilitating quick reading of momentum.
Alarm system – can be activated using the “Activate Alarm” option. When the MA Trend crosses any of the L1-L4 lines, or there is a change in slope within the upper (≥ L3) or lower (≤ L2) zones, a custom alert (“Koncorde MA Cross”) is triggered.
Overall, the indicator allows for visual and programmable monitoring of the moments when the trend crosses predefined critical levels, automatically highlighting the direction and notifying when relevant events occur.
Opening Range Strategy CONTINUATION [The Focused Edge]General Description This indicator is designed for momentum traders who aim to exploit price breakouts immediately following an initial consolidation phase. The logic is based on identifying a "Box" formed by the first 3 candles of a specific session, followed by a swift entry in the direction of the breakout.
How it works?
Box Formation: The indicator monitors the user-defined start time (e.g., 16:30) and automatically calculates a rectangle based on the High and Low of the first 3 candles.
Breakout Validation (Continuation): Unlike reversal strategies, this script looks for strength. An entry is triggered as soon as a candle closes outside the Box (Body Breakout).
Risk Management:
Entry: At the closing price of the breakout candle.
Stop Loss (SL): Automatically placed below (for Long) or above (for Short) the breakout candle, including an adjustable buffer (default 0.1) to avoid "stop hunts."
Take Profit (TP): Set at a fixed 1:2 Risk/Reward ratio, ensuring a disciplined mathematical approach.
Key Features
Session Filter: Define the exact time interval for the indicator to be active (e.g., NY or London Open).
Daily Limit: To prevent overtrading, the indicator limits signals to a maximum of 2 per day.
Clear Visualization: Includes discrete signal arrows, price lines for SL/TP, and a visual box for the consolidation zone.
Fully Adjustable: Customize the SL buffer and session hours based on the volatility of the asset (Indices, Forex, or Crypto).
Credits 🛡️ Developed by: The Focused Edge Precision trading tools for disciplined execution.
H1 Multi-Touch + Alerts v6Hourly Structural Multi-Touch & Dynamic Session Levels
Overview
This indicator is designed for traders who prioritize high-timeframe structural significance. It automatically identifies and plots horizontal levels where price has historically "stalled" or "touched" three or more times on the Hourly (H1) timeframe, even while you are viewing lower timeframes (1m, 5m, 15m).
By focusing on hourly data, the indicator filters out the "noise" of lower-timeframe volatility, highlighting zones where significant buy/sell orders are likely clustered.
Key Features
Timeframe-Locked Clusters: The core logic scans a user-defined lookback period (default 300 bars) on the Hourly resolution to find clusters of Highs and Lows within a specific price tolerance.
3+ Touch Identification: Only price points that have been tested at least 3 times are plotted as dashed yellow lines, representing established support and resistance.
Dynamic Session Range: Includes real-time solid aqua lines for the Current Daily High and Low. These levels update dynamically as new session extremes are set and reset automatically every trading day.
Non-Repainting Logic: To ensure signal integrity, the H1 cluster logic uses closed-candle data (high and low ), meaning confirmed historical levels won't flicker or disappear during the live bar.
Fully Customizable: * Adjust the Minimum Touches required (e.g., 2, 3, or 5).
Modify the Price Buffer % (Tolerance) to fit the volatility of the asset (e.g., tighter for FX/Gold, wider for high-beta stocks).
Custom color inputs for both Static and Dynamic levels.
How to Use
Identify the Trend: Look for clusters above price to identify major supply zones, and clusters below for demand zones.
Session Context: Use the Aqua Dynamic levels to understand where the current day sits relative to historical H1 structure.
Alerts: Use the built-in alertcondition to receive notifications on your desktop or mobile app when price enters the "Tolerance Buffer" of a major H1 level.
Settings
Min Touches: Number of times a price point must be tested to draw a line.
Hourly Lookback: How many hourly bars to scan into the past.
Price Buffer %: The "fuzziness" factor that groups nearby price points into a single level (standard is 0.05%).
Opening Range Strategy Reversal [The Focused Edge]General Description This indicator is an advanced "Mean Reversion" tool designed to identify liquidity traps (fakeouts) at the market open. The strategy targets moments when the price breaks out of the initial consolidation range (Box) but fails to maintain momentum, reversing back through the equilibrium zone.
Trading Logic
Range Establishment: The indicator draws a Box based on the first 3 candles of the session start.
Fakeout Phase: The system waits for the price to exit the Box. From that moment, the indicator tracks the highest or lowest point reached outside the zone (Swing Extreme).
Reversal Confirmation: The entry is triggered only when the breakout structure is "broken" by an opposing candle that exceeds the High/Low of the previous candle, confirming the exhaustion of the initial move.
Protection and Profit:
Dynamic Stop Loss: The SL is intelligently placed at the absolute peak/trough of the fakeout move, plus a 0.1 safety buffer.
Take Profit: Calculated automatically at a 1:2 Risk/Reward ratio, capitalizing on the price's return to the mean.
Strengths
Safe Stop Loss: Unlike fixed-pip strategies, the SL adapts to the actual market structure formed during the fakeout.
Emotional Control: By limiting the script to 2 entries per day, it forces the user to be selective and avoid "revenge trading" during choppy days.
High-End Visuals: Includes real-time projection lines for SL and TP levels upon signal confirmation.
How to use? It is ideal for traders who avoid "chasing the price" and prefer to wait for the market to show weakness. It works exceptionally well on stock indices and major forex pairs during the first hour of the trading session.
Credits 🛡️ Strategy Logic: The Focused Edge Designed for professional market structure analysis and liquidity trap identification.
CopyPipe Signal Connector🚀 Turn TradingView Alerts into Automatic MetaTrader Trades
Stop copy-pasting signals. This indicator generates **webhook-ready alerts** that execute directly on your MT4 or MT5 — hands-free.
---
### 🎯 How It Works
1. **Add this indicator** to any chart
2. **Set your webhook URL** (from CopyPipe.io) in the alert
3. **Conditions trigger → Trade executes** on MetaTrader automatically
Your TradingView does the analysis. Your MetaTrader does the execution. You do... whatever you want.
---
### 📊 Built-In Strategies
Choose from 4 ready-to-use strategies:
- **RSI Reversal** — Classic oversold/overbought entries
- **EMA Cross** — Trend-following momentum plays
- **Breakout** — Catch support/resistance breaks
- **Custom** — RSI + EMA confluence for filtered entries
Or use this as a **template** and add your own logic.
---
### ⚙️ Features
✅ Webhook-formatted alerts (JSON ready)
✅ Customizable lot size
✅ Built-in SL/TP calculation
✅ Works on any symbol
✅ Clean visual signals on chart
✅ Info panel with live RSI + signal status
---
### 🔗 Setup with CopyPipe (Free Beta)
1. Sign up at **copypipe.io/beta** (free during beta)
2. Download the EA for MT4 or MT5
3. Copy your webhook URL from the dashboard
4. Create an alert on this indicator → paste webhook URL
5. Done. Alerts now auto-trade.
---
### 📝 Alert Message Format
The alerts output clean JSON that CopyPipe understands:
```json
{
"action": "BUY",
"symbol": "BTCUSD",
"lot_size": 0.1,
"sl": 74500,
"tp": 78000
}
```
Works with the free CopyPipe tier. No API coding required.
---
### ⚠️ Risk Disclaimer
This indicator is a **tool**, not financial advice. Backtest thoroughly. Start with small positions. You are responsible for your own trades.
---
### 💬 Feedback Welcome
Drop a comment if you have questions or feature requests. Building this for the community.
**Happy trading!** 🎯
---
Day High And Low_FaysalThis indicator will help you find out previous day high and low. It works for those who want to use external liquidity strategy to take a trade.
Candle Numbers (last N, no bubble)
Candle Numbers (last N, no bubble) is a lightweight utility indicator that labels candles with sequential numbers to make chart analysis and discussion easier (e.g., “candle 213”, “the breakout candle”, “the pivot”). It is designed for clarity and performance: labels are text-only (no background bubble) and are drawn only for the last N bars.
What it does
Numbers the last N candles on the chart (a sliding window near the most recent bar).
Counting starts at the left edge of that window:
the leftmost bar in the window is 1
the most recent bar in the window is N (or fewer if you use stepping / limits).
Allows numbering every Nth bar to keep the chart clean.
Places numbers below each candle, with a configurable vertical offset measured in ticks.
Inputs
Bars to number (last N) (barsWindow)
Size of the numbered window (default 200).
Number every N bars (step)
1 = every bar, 2 = every second bar, 5 = every fifth bar, etc.
Text color (txtColor)
Text size (txtSizeIn)
tiny / small / normal / large
Vertical offset (ticks) (offsetTick)
Moves the label down by offsetTick * syminfo.mintick. You can use large values if needed.
Max numbers to plot (maxMarks)
Extra safeguard to control label count and performance.
How it works (implementation notes)
Labels are drawn only when barstate.islast is true (updates on the latest bar).
Previously created labels are deleted and re-created each update to avoid clutter.
Uses max_labels_count=500 plus maxMarks to stay within TradingView label limits.
Notes
This is not a trading signal indicator. It’s a chart annotation tool for analysis and manual backtesting.
SolQuant WatermarkSOLQUANT WATERMARK
The SolQuant Watermark is a professional-grade utility script designed for traders, educators, and content creators who want to keep their charts organized and branded. By utilizing Pine Script’s table functions, this indicator ensures your custom text and symbol data stay pinned to the screen, regardless of where you scroll on the price action.
KEY FEATURES
Customizable Branding: Display your community name, website, or social handles anywhere on the chart.
Automated Symbol Data: Dynamic tracking of the current Asset, Timeframe, and Date—perfect for keeping screenshots contextually accurate.
Precision Placement: Choose from 9 different anchor points (Top-Left, Bottom-Right, etc.) to ensure the UI never interferes with your technical analysis.
Visual Scaling: 5 different size settings (Tiny to Huge) to accommodate high-resolution displays or mobile viewing.
Aesthetic Control: Fully adjustable color palettes, background transparency, and border toggles.
WHY USE A TABLE-BASED WATERMARK?
Unlike standard chart labels which are tied to specific price/time coordinates, this tool uses the Table API . This means:
The watermark stays in place while you scroll through history.
It doesn't disappear when you "hide" other drawing tools.
It scales consistently across different devices.
INSTRUCTIONS
1. Branding: Open settings and type your link or handle into the "Quote Text" area.
2. Symbol Info: Toggle the "Symbol Info" section to automatically display asset names and dates for your records.
3. Layout: Use the X and Y position dropdowns to move the modules if they overlap with your current price action or other indicators.
Note: This is a visual utility tool only. It does not provide trade signals or financial advice.
Relative Equal Highs/Lows by tncylyvRelative Equal Highs/Lows
Relative Equal Highs/Lows (REH/REL) is a technical analysis utility designed to identify significant liquidity pools based on Smart Money Concepts (SMC). Unlike standard support and resistance tools that look for single touches, this script identifies sequences of swing points that form relatively flat or slightly stepping structures.
These structures typically represent engineered liquidity or inducement levels where stop-losses are clustered. The indicator visualizes these areas and projects the price level that is likely to be targeted by future price action.
Core Concepts
Relative Structure Detection
Markets rarely form perfectly equal double tops or bottoms to the exact tick. This indicator detects "Relative" Equal Highs or Lows by analyzing a sequence of swing points. It looks for a user-defined number of swings (default is 3) that occur within a specific point threshold of each other, forming a trendline liquidity or flat structure.
Validation System (Noise Reduction)
A distinct feature of this script is its validation mechanism. When a potential pattern is detected, it is not drawn immediately. Instead, it enters a "pending" state for a specific number of bars.
• If price immediately breaks the level during this wait period, the pattern is discarded as noise.
• If the level remains unmitigated after the wait period, it is confirmed and drawn on the chart.
This logic helps reduce clutter and false signals caused by immediate volatility.
Standard Data Integrity
The indicator explicitly requests standard ticker data for all calculations. This ensures that even if you are viewing Heikin Ashi, Renko, or other synthetic chart types, the liquidity levels remain accurate to the real market OHLC prices.
Key Features
• Customizable Swing Detection: You can define how many swings are required to form a pattern (e.g., 2 for double tops/bottoms, 3 or more for extended liquidity pools).
• Gap Management: Options to enforce a minimum number of bars between swings to ensure the structure covers a significant timeframe.
• Mitigation Handling: Choose exactly how a level is considered broken (Wick Touch, Candle Close, or Sweep/Rejection).
• Visual Connectors: Optional dotted lines connect the specific pivot points used to derive the level, helping you visualize the structure of the liquidity.
Settings Overview
Pivot Length
Determines the lookback period to define a Swing High or Low. Higher values will identify more significant market structures.
Max Step Difference (Points)
This is the tolerance range allowed between consecutive swing points. Since this calculates based on raw points, this value must be adjusted significantly depending on the asset class (e.g., Forex pairs versus Crypto or Indices) to match the price scale of the instrument.
Required Swings Amount
The number of swing points required to confirm a pattern.
Min Bars Between Swings
Ensures that the detected pivots are distinct and spaced out by a minimum amount of time.
Validation Wait (Bars)
The duration a pattern must survive before being rendered. Increasing this value filters out structures that are immediately swept.
Mitigation Mode
• Wick Touch: The level is mitigated as soon as a wick touches it.
• Close Through: The level is only mitigated if a candle closes beyond it.
• Sweep Reject: The level is mitigated only if price sweeps it but closes back inside the range.
Visualization
Controls the colors, line styles, and line widths for both active and mitigated levels. Connectors can be toggled on or off to show the path of the swing points.
Adaptive For LoopAdaptive For Loop (AFL | MisinkoMaster)
The Adaptive For Loop is an innovative trend-following indicator designed to deliver fast and reliable signals while minimizing false positives. By dynamically assessing the relationship between current and historical price data across multiple price components—open, high, low, and close—this tool filters out noise and highlights the strongest trend signals.
Unlike traditional indicators that rely on a single price input, Adaptive For Loop harnesses the combined strength of multiple price points, intelligently selecting the most relevant signal to adapt to changing market conditions. This approach helps traders identify genuine trend momentum with clarity and speed.
🔍 Concept & Idea
The idea behind Adaptive For Loop is to improve trend detection by simultaneously evaluating multiple price sources instead of just one. Each price component (open, high, low, close) undergoes a scoring process comparing the current price to a series of historical prices within a user-defined lookback range.
Since different price points may exhibit varying degrees of noise or trend clarity at different times, the indicator selects the source with the strongest directional signal based on absolute scoring. This adaptive selection reduces noise and enhances signal reliability while maintaining fast responsiveness.
⚙️ How It Works
The indicator performs a looped comparison for each price series (open, high, low, close) over a range specified by the user (from start to end bars ago).
For each bar in the range, it increments or decrements a score depending on whether the current price is higher or lower than the compared historical price.
After scoring all four price sources, the indicator selects the score with the greatest absolute value to represent the dominant market momentum.
This dominant score is then evaluated against user-defined upper and lower thresholds to determine the market trend state:
Above the upper threshold: bullish/uptrend signal
Below the lower threshold: bearish/downtrend signal
Between thresholds: neutral/no clear trend
The indicator plots the score, thresholds, and highlights the trend visually, including colored candlesticks representing the detected trend.
🧩 Inputs Overview
From (start) – Defines the start bar offset for the lookback range in the for loop (default 0).
To (end) – Defines the end bar offset for the lookback range in the for loop (default 45).
Upper Threshold – Score level above which an uptrend signal is triggered (default 39).
Lower Threshold – Score level below which a downtrend signal is triggered (default -12).
📌 Usage Notes
Adaptive Selection: The indicator adapts by selecting the price source with the strongest trend signal, reducing false signals caused by noisy individual price inputs.
Speed and Noise: Designed for fast execution and minimal noise, making it especially useful in volatile markets such as BTCUSD.
Visual Clarity: Colored candlesticks and score plots help traders quickly identify trend direction and strength.
Customization: Users can adjust the lookback range and thresholds to fit different assets and timeframes.
Complementary Tool: Best used alongside other confirmation indicators and sound risk management practices.
Backtesting Recommended: Always backtest and validate settings on historical data to optimize performance for your specific market.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform their own due diligence before making any investment decisions.
Enjoy trading with Adaptive For Loop!
Money managementnever forget your money management ! never.....................................................................................
JB Trader - Scenario B: Visual Pro (Nifty 50)Description: Designed and developed by Jeya Bharathi (JB), Founder of JB Trader.
This is a high-precision scalping strategy specifically optimized for Nifty 50 and Bank Nifty. It combines trend-following logic with momentum and volume confirmation to capture quick moves in the intraday market.
Key Features:
Multi-Indicator Synergy: Integrates SuperTrend for trend direction and VWAP for institutional price alignment.
Candle Break Confirmation: Entries are triggered only when a price break occurs (High/Low) on the signal candle, ensuring momentum is on our side.
Volume Filter: Built-in volume analysis to filter out "false breakouts" during low-liquidity periods.
Visual Dashboard: Real-time on-chart table showing current trend status and decision-making (Buy/Sell/Wait).
Time-Restricted Trading: Optimized for Indian market hours (9:15 AM - 2:45 PM) to avoid end-of-day volatility.
Best Performance:
Timeframe: 3 Minutes or 5 Minutes.
Asset: Nifty 50 Index / Futures.
Declaration & Disclaimer:
Educational Purpose: This script is developed for educational and analytical purposes only.
Risk Warning: Trading involves significant risk. JB Trader is not responsible for any financial losses incurred using this strategy.
No Financial Advice: The signals generated by this script do not constitute financial advice. Users should consult a certified financial advisor before making any investment decisions.
Proprietary Logic: This code is the intellectual property of JB Trader (Jeya Bharathi). Unauthorized reproduction or redistribution is strictly prohibited.
Pair Correlation Oscillator (Overlay)Pair Correlation Oscillator (Overlay)
Overview
This open-source TradingView indicator computes the Pearson correlation coefficient between the chart's instrument (Ticker A) and a user-selected instrument (Ticker B). The correlation is displayed as an oscillator within the range −1..+1:
+1 — perfect positive correlation
0 — no linear correlation
−1 — perfect inverse correlation
Key features
Default window: 500 bars (configurable)
Option to compute correlation on log returns (recommended for comparing different instruments)
Option to exclude the current unfinished bar (use previous completed bars only)
Overlaid line + histogram columns for immediate visual interpretation
Alert examples included (commented out) for high correlation thresholds
Inputs
Ticker 2 — the other instrument to compare against (Ticker 1 is always the chart symbol)
Correlation length — window in bars for the rolling correlation (default 500)
Use log returns — converts price series to log returns before correlation (recommended)
Exclude current bar — shift series by 1 to use only completed bars
How to use
Add the script to your chart and set Ticker 2 to the instrument you want to correlate with the chart symbol.
Choose Use log returns = true for price-to-price comparisons (it removes level bias).
Optionally enable Exclude current bar for more stable signals if you do not want the live unfinished bar affecting results.
Use the line/histogram and label shown on the chart to inspect correlation in real time.
Limitations & notes
Correlation measures linear relationship over the chosen window — non-linear relationships won't be captured.
Very different tickers (e.g., price scales, very low liquidity) may show noisy correlation; use returns and longer windows in such cases.
This indicator is for information/analysis only — not trading advice.






















