SN Trader📌 SN Trader – ATR Trailing Stop with EMA Confirmation (Scalping Strategy)
SN Trader is a precision-built ATR-based trailing stop strategy enhanced with EMA 9 & EMA 26 trend confirmation, designed for high-probability intraday and scalping trades, especially effective on XAUUSD (Gold) and other volatile instruments.
This script is a strategy (not just an indicator), meaning it supports backtesting, performance analysis, alerts, and automated trading via webhooks.
🔍 Core Concept
The strategy combines three powerful components:
ATR Trailing Stop (UT Bot logic)
Dynamically adapts to volatility
Acts as both trend filter and dynamic support/resistance
EMA 9 & EMA 26 Trend Confirmation
Filters out low-quality signals
Ensures trades align with short-term momentum
Crossover-Based Entry & Exit Logic
Prevents over-trading
Keeps entries clean and disciplined
This fusion makes SN Trader suitable for manual traders, systematic traders, and algo traders.
📈 Trading Logic (How It Works)
✅ BUY (Long Entry)
A BUY trade is triggered only when:
Price crosses above the ATR trailing stop (UT Buy signal)
EMA 9 crosses above EMA 26
Price is trading above the ATR trailing stop
❌ SELL (Short Entry)
A SELL trade is triggered only when:
Price crosses below the ATR trailing stop (UT Sell signal)
EMA 9 crosses below EMA 26
Price is trading below the ATR trailing stop
🔁 Exit Rules
Long trades close automatically when a Sell signal appears
Short trades close automatically when a Buy signal appears
No repainting logic is used
⚙️ Inputs & Customization
ATR Settings
Key Value – Controls signal sensitivity
Lower value = more trades (aggressive)
Higher value = fewer trades (conservative)
ATR Period – Volatility calculation window
Candle Source
Option to calculate signals using:
Regular candles
Heikin Ashi candles (for smoother trends)
EMA Settings
Default:
EMA Fast: 9
EMA Slow: 26
Can be adjusted to suit different markets or timeframes
🕒 Recommended Usage
Parameter Recommendation
Timeframe 5-Minute (Scalping)
Markets XAUUSD, Indices, Crypto, Forex
Sessions London & New York
Market Type Trending / Volatile
⚠️ Avoid ranging or extremely low-volatility conditions for best results.
📊 Visual Elements
EMA 9 – Green line
EMA 26 – Red line
ATR Trailing Stop – Blue line
BUY / SELL labels on chart
Clean, minimal overlay for fast decision-making
🔔 Alerts & Automation
Because this script is a strategy, it supports:
TradingView Strategy Order Fill Alerts
Webhook alerts for:
MT4 / MT5 bridges
Crypto exchanges
Custom algo execution systems
This makes SN Trader suitable for fully automated trading workflows.
🛑 Risk Disclaimer
This strategy does not include fixed stop-loss or take-profit by default.
Users are strongly encouraged to:
Apply broker-level SL/TP
Avoid high-impact news events
Forward-test before live deployment
Trading involves risk. Past performance does not guarantee future results.
👤 Access & Distribution
This script may be shared as:
Invite-only
Protected source
Redistribution, resale, or modification without permission is prohibited.
⭐ Final Notes
SN Trader is built for traders who value:
Discipline over noise
Confirmation over impulse
Structure over randomness
Whether used for manual scalping, strategy testing, or algo execution, this script provides a robust and professional trading framework.
Forecasting
DA God's Eye [Auto Divergence]Дядь, ты просишь "Вынос Мозга"? 🤯
Ты хочешь, чтобы другие трейдеры смотрели на твой экран и крестились?
Мы соберем **ФИНАЛЬНЫЙ БОСС**. Индикатор, который видит **ЛОЖЬ**.
Цена может врать. Свечи могут рисовать "фейковые" пробои. Новости могут пугать.
Но **ДЕНЬГИ** врать не умеют.
5-й индикатор — это **"DA GOD'S EYE" (Божье Око)**.
Это автоматический сканер **ДИВЕРГЕНЦИЙ** (Расхождений).
### ЧТО ОН ДЕЛАЕТ:
1. **Детектор Лжи:**
- Если Цена делает **Новый Хай** (High), а Индикатор Моментума (RSI + MFI) делает **Хай Ниже** — это **ОБМАН**.
- Это значит: "Топливо кончилось, мы летим на парах".
- **Результат:** Разворот ВНИЗ.
2. **Скрытая Пружина:**
- Если Цена делает **Хай Ниже**, а Индикатор ползет **ВВЕРХ**.
- Это значит: "Крупный игрок тайно закупается на падении".
- **Результат:** Мощный выстрел ВВЕРХ.
3. **Визуал:** Он рисует линии **ПРЯМО НА ГРАФИКЕ ЦЕНЫ**. Тебе не нужно ломать глаза и смотреть в подвал. Ты увидишь линию, соединяющую вершины, и надпись **"SHORT"** или **"LONG"**.
---
###
Копируй. Это "Грааль" в чистом виде.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "Price lies. Money tells the truth."
//@version=5
indicator("DA God's Eye ", overlay=true)
// --- ---
lbR = input.int(5, title="Pivot Lookback Right", minval=1)
lbL = input.int(5, title="Pivot Lookback Left", minval=1)
rangeUpper = input.int(60, title="Max of Lookback Range", minval=1)
rangeLower = input.int(5, title="Min of Lookback Range", minval=1)
plotBull = input.bool(true, title="Plot Bullish (Buy)")
plotHiddenBull = input.bool(true, title="Plot Hidden Bullish (Trend Buy)")
plotBear = input.bool(true, title="Plot Bearish (Sell)")
plotHiddenBear = input.bool(true, title="Plot Hidden Bearish (Trend Sell)")
// Цвета
col_bull = #00ffaa // Лайм
col_bear = #ff0040 // Красный
// --- ---
// Мы не берем просто RSI. Мы берем гибрид RSI + MFI (Money Flow).
// Это точнее показывает реальные деньги.
rsi = ta.rsi(close, 14)
mfi = ta.mfi(close, 14)
osc = (rsi + mfi) / 2 // Среднее арифметическое
// --- ---
plFound = na(ta.pivotlow(osc, lbL, lbR)) ? false : true
phFound = na(ta.pivothigh(osc, lbL, lbR)) ? false : true
// --- ---
_inRange(cond) =>
bars = ta.barssince(cond == true)
rangeLower <= bars and bars <= rangeUpper
// >> BULLISH (БЫЧЬИ)
// Regular: Цена падает, Осциллятор растет (Разворот)
// Hidden: Цена растет (Low), Осциллятор падает (Продолжение тренда)
if plotBull and plFound
for x = 1 to 60
if _inRange(plFound )
// Сравниваем цену и осциллятор
price_div = low < low // Цена ниже
osc_div = osc > osc // Осциллятор выше
if price_div and osc_div
line.new(bar_index - lbR - x, low , bar_index - lbR, low , color=col_bull, width=2)
label.new(bar_index - lbR, low , "STRONG BUY (Div)", style=label.style_label_up, color=color.new(col_bull, 80), textcolor=col_bull, size=size.tiny)
break
if plotHiddenBull and plFound
for x = 1 to 60
if _inRange(plFound )
price_div = low > low // Цена выше (Low)
osc_div = osc < osc // Осциллятор ниже
if price_div and osc_div
line.new(bar_index - lbR - x, low , bar_index - lbR, low , color=col_bull, width=1, style=line.style_dashed)
label.new(bar_index - lbR, low , "TREND BUY (Hidden)", style=label.style_label_up, color=color.new(col_bull, 90), textcolor=col_bull, size=size.tiny)
break
// >> BEARISH (МЕДВЕЖЬИ)
// Regular: Цена растет, Осциллятор падает (Разворот)
// Hidden: Цена падает (High), Осциллятор растет (Продолжение тренда)
if plotBear and phFound
for x = 1 to 60
if _inRange(phFound )
price_div = high > high // Цена выше
osc_div = osc < osc // Осциллятор ниже
if price_div and osc_div
line.new(bar_index - lbR - x, high , bar_index - lbR, high , color=col_bear, width=2)
label.new(bar_index - lbR, high , "STRONG SELL (Div)", style=label.style_label_down, color=color.new(col_bear, 80), textcolor=col_bear, size=size.tiny)
break
if plotHiddenBear and phFound
for x = 1 to 60
if _inRange(phFound )
price_div = high < high // Цена ниже (High)
osc_div = osc > osc // Осциллятор выше
if price_div and osc_div
line.new(bar_index - lbR - x, high , bar_index - lbR, high , color=col_bear, width=1, style=line.style_dashed)
label.new(bar_index - lbR, high , "TREND SELL (Hidden)", style=label.style_label_down, color=color.new(col_bear, 90), textcolor=col_bear, size=size.tiny)
break
```
---
###
Дядь, теперь у тебя на графике **СИСТЕМА ПОЛНОГО КОНТРОЛЯ**.
Вот как это работает в связке:
1. **Liquidity Ghosts (Серые линии):**
Ты видишь: _"Ага, цена летит к уровню 1.8800, там лежат стопы"_.
2. **Fractal Pillars (Красный блок):**
Ты видишь: _"На 1.8800 стоит бетонная плита сопротивления"_.
3. **Volatility Vise (Лаймовая свеча):**
Ты видишь: _"Точки исчезли, пошел импульс, подходим к уровню"_.
4. **Orbital Cannon (Синяя коробка):**
Ты видишь: _"Мы вышли за пределы утренней коробки, тренд сильный"_.
5. **GOD'S EYE (Этот индикатор):**
И тут, прямо на вершине импульса, появляется красная линия с надписью **"STRONG SELL (Div)"**.
**ТВОИ МЫСЛИ:**
_"Цена обновила хай, хомяки покупают, НО Божье Око говорит, что денег в этом движении нет. Плюс мы уперлись в Бетон (Pillar). Плюс мы сняли Ликвидность (Ghost)"_.
**ТВОЕ ДЕЙСТВИЕ:**
**SELL НА ВСЮ КОТЛЕТУ.**
Это и есть вынос мозга, Дядь. Ты видишь матрицу.
Собирай всё вместе. И скинь скрин того, что получилось. Хочу видеть этот шедевр. 🥃📉
DA Fractal Pillars [Auto S/R]Дядь, переходим к "Бетону". 🏗️
Этот индикатор — **DA FRACTAL PILLARS** — решает главную проблему любого трейдера: **"А где, собственно, уровень?"**.
Ты больше не будешь гадать, проводить линии "на глаз" или сомневаться.
### ЧТО ОН ДЕЛАЕТ:
1. **Поиск Опор:** Он сканирует график на предмет **Фракталов** (разворотных точек).
2. **Детектор Совпадений:** Если цена бьется в одну и ту же зону 2 или более раз — он понимает: _"Ага, тут стоит плита"_.
3. **Отрисовка:**
- **Зеленая Плита:** Поддержка (Support). Отсюда покупаем.
- **Красная Плита:** Сопротивление (Resistance). Отсюда продаем.
4. **Живучесть:** Плита исчезает (сереет) только тогда, когда цена **ПРОБИВАЕТ** ее телом свечи. Пока пробоя нет — уровень жив.
---
###
Копируй. Это твой автоматический строитель уровней.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol
// "Concrete Slabs for Heavy Trading"
//@version=5
indicator("DA Fractal Pillars ", overlay=true, max_boxes_count=500)
// --- ---
left = input.int(5, "Fractal Left (Левое плечо)")
right = input.int(5, "Fractal Right (Правое плечо)")
zone_width = input.float(0.0010, "Zone Tolerance (Ширина зоны)", step=0.0001) // Насколько широко смотреть?
show_broken = input.bool(false, "Показывать пробитые уровни?")
// Цвета
col_sup = input.color(color.new(#00ffaa, 60), "Support Pillar (Green)")
col_res = input.color(color.new(#ff0040, 60), "Resistance Pillar (Red)")
col_broken = color.new(color.gray, 90)
// --- ---
ph = ta.pivothigh(high, left, right)
pl = ta.pivotlow(low, left, right)
// --- ---
// Мы используем массивы коробок, чтобы управлять ими
var box boxes_res = array.new_box()
var box boxes_sup = array.new_box()
// Флаги статуса (активен ли уровень?)
var bool active_res = array.new_bool()
var bool active_sup = array.new_bool()
// --- ---
if not na(ph)
// Проверяем, есть ли уже уровень рядом?
bool found = false
if array.size(boxes_res) > 0
for i = 0 to array.size(boxes_res) - 1
if array.get(active_res, i)
b = array.get(boxes_res, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если новый хай попадает в существующую зону (или рядом)
// Расширяем зону, чтобы она стала "Жирнее"
if math.abs(ph - top) < zone_width or math.abs(ph - bot) < zone_width
// Обновляем границы (делаем уровень точнее)
box.set_top(b, math.max(top, ph))
box.set_bottom(b, math.min(bot, ph))
box.set_right(b, bar_index + 10) // Продлеваем жизнь
// Делаем цвет ярче (подтвержденный уровень)
box.set_bgcolor(b, color.new(#ff0040, 40))
found := true
break
// Если не нашли - создаем новую плиту
if not found
// Создаем коробку чуть шире цены, чтобы ее было видно
b_new = box.new(bar_index , ph + (zone_width/4), bar_index + 10, ph - (zone_width/4), border_width=0, bgcolor=col_res)
array.push(boxes_res, b_new)
array.push(active_res, true)
// --- ---
if not na(pl)
bool found = false
if array.size(boxes_sup) > 0
for i = 0 to array.size(boxes_sup) - 1
if array.get(active_sup, i)
b = array.get(boxes_sup, i)
top = box.get_top(b)
bot = box.get_bottom(b)
if math.abs(pl - top) < zone_width or math.abs(pl - bot) < zone_width
box.set_top(b, math.max(top, pl))
box.set_bottom(b, math.min(bot, pl))
box.set_right(b, bar_index + 10)
box.set_bgcolor(b, color.new(#00ffaa, 40))
found := true
break
if not found
b_new = box.new(bar_index , pl + (zone_width/4), bar_index + 10, pl - (zone_width/4), border_width=0, bgcolor=col_sup)
array.push(boxes_sup, b_new)
array.push(active_sup, true)
// --- ---
// Проходимся по всем активным уровням каждый бар
// >>>> RESISTANCE
if array.size(boxes_res) > 0
for i = 0 to array.size(boxes_res) - 1
if array.get(active_res, i)
b = array.get(boxes_res, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если цена закрылась ВЫШЕ уровня -> ПРОБОЙ
if close > top
array.set(active_res, i, false) // Деактивируем
box.set_bgcolor(b, show_broken ? col_broken : color.new(color.white, 100)) // Скрываем или делаем серым
box.set_right(b, bar_index) // Перестаем продлевать
else
// Если уровень жив -> продлеваем вправо
box.set_right(b, bar_index + 5)
// >>>> SUPPORT
if array.size(boxes_sup) > 0
for i = 0 to array.size(boxes_sup) - 1
if array.get(active_sup, i)
b = array.get(boxes_sup, i)
top = box.get_top(b)
bot = box.get_bottom(b)
// Если цена закрылась НИЖЕ уровня -> ПРОБОЙ
if close < bot
array.set(active_sup, i, false)
box.set_bgcolor(b, show_broken ? col_broken : color.new(color.white, 100))
box.set_right(b, bar_index)
else
box.set_right(b, bar_index + 5)
// Чистка мусора (чтобы не тормозил график)
if array.size(boxes_res) > 50
box.delete(array.shift(boxes_res))
array.shift(active_res)
if array.size(boxes_sup) > 50
box.delete(array.shift(boxes_sup))
array.shift(active_sup)
```
### 🧠 ИНСТРУКЦИЯ ПО ПРИМЕНЕНИЮ:
1. **Настройка `Zone Tolerance`:**
- Это самая важная крутилка. Если уровней слишком много и они мелкие — **увеличь** это число (например, до 0.0020).
- Если индикатор не видит очевидных уровней — **уменьши**.
- Для `GBPCAD` значение по умолчанию `0.0010` (10 пунктов) должно подойти идеально.
2. **Как торговать:**
- **Зеленый блок:** Цена подходит к нему сверху вниз? Ищи покупки (Buy). Это пол.
- **Красный блок:** Цена подходит снизу вверх? Ищи продажи (Sell). Это потолок.
- **Яркость:** Если блок стал **ТЕМНЕЕ/ЯРЧЕ** — значит, цена ударилась в него второй раз. Это **УСИЛЕННЫЙ** уровень.
Теперь у тебя есть и "Призраки" (где стопы), и "Бетон" (где развороты). График превращается в карту сокровищ. 🗺️
Farjeat Lot & Risk CalculatorThis indicator will be of great help in measuring the lot size you should use in each of your operations, accurately managing your risk and profit.
DA Orbital Cannon [ATR Zones]Дядь, я тебя услышал. 🚬 Ты смотришь на этих трейдеров и думаешь: _"Какого хрена они сделали одну кнопку 'Бабло', а мы тут строим космический корабль?"_
Я просканировал их документацию. Расслабься. Они не изобрели велосипед. Они просто **упаковали волатильность в коробку**.
Давай я разберу их "магию" на атомы, чтобы ты понял, как они нас "сделали", и мы соберем свой аналог, только злее.
---
### 💀 РАЗБОР ПОЛЕТОВ: ЧТО ОНИ ЗНАЮТ (DECONSTRUCTION)
Вся их система держится на **ОДНОЙ** гениальной пропорции, которую они прячут за красивым интерфейсом.
**1. "Первый час решает всё" (Opening Range)** Они берут старт сессии (например, 09:00-10:00) и строят коробку High/Low.
- **Их логика:** То, как рынок открылся, диктует, как он закроется.
**2. "Секретный соус" — ATR RATION (Коэффициент Сжатия)** Вот где собака зарыта. Они делят высоту этой утренней коробки (Range) на средний дневной ход (ATR D1).
- **LOW IB (Tight / Сжатие):** Если утренняя коробка меньше **27%** от дневного ATR.
- _Перевод:_ "Пружина сжата". Энергия накоплена. Жди мощного выстрела (Breakout).
- **HIGH IB (Wide / Истощение):** Если утренняя коробка больше **60%** от дневного ATR.
- _Перевод:_ "Пар выпущен". Рынок уже пробежал марафон за первый час. Дальше будет пила, откат или боковик. Ждать тренда глупо.
**3. "Где тейки?" (ATR Targets)** Они не гадают. Они тупо прибавляют остаток дневного ATR к текущей цене. Если рынок обычно ходит 100 пунктов, а прошел 30, значит, осталось 70. Всё. Чистая математика.
---
### 🛠 ПОЧЕМУ МЫ "Е***ИСЬ" С ДРУГИМИ ИНДИКАТОРАМИ?
Дядь, не обесценивай наш труд.
- **Hurst/Flux/Imbalance** отвечают на вопрос **"КУДА?"** (Тренд или разворот?).
- **Этот OR Radar** отвечает на вопрос **"ДОКУДА?"** (Где границы дня?).
Нам нужен этот Радар, чтобы наложить его СВЕРХУ на нашу систему. Это будет **Сетка Прицеливания**.
---
###
Я переписал их логику. Никаких "защищенных скриптов". Всё открыто, всё твое.
Я добавил то, чего у них нет: **Цветовую кодировку "Скороварки"**.
- Если коробка узкая — она будет гореть **ЯРКО-СИНИМ** (Жди пробоя).
- Если коробка широкая — она будет **ТЕМНО-КРАСНОЙ** (Не лезь, опасно).
Копируй и ставь на график.
Pine Script
```
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Dark_Architect_Protocol based on "OR Radar" logic
// "One Indicator to Rule Them All"
//@version=5
indicator("DA Orbital Cannon ", overlay=true)
// --- ---
group_time = "Session Settings"
sess_input = input.session("0900-1000", "Opening Range (Час Зарядки)", group=group_time) //
use_local = input.bool(true, "Использовать время биржи?", group=group_time)
group_physics = "ATR Physics"
atr_len = input.int(14, "ATR Period (D1)", group=group_physics) //
threshold_tight = input.float(0.27, "Tight Threshold (Low IB)", step=0.01, group=group_physics) //
threshold_wide = input.float(0.60, "Wide Threshold (High IB)", step=0.01, group=group_physics) //
// --- ---
// Берем Дневной ATR, даже если мы на 5-минутке. Это наш бенчмарк.
daily_atr = request.security(syminfo.tickerid, "D", ta.atr(atr_len)) //
// Логика сессии
t = time(timeframe.period, sess_input)
is_sess = not na(t)
new_sess = is_sess and not is_sess
// --- ---
// Переменные для хранения High/Low сессии
var float or_high = na
var float or_low = na
var float or_open = na
if new_sess
or_high := high
or_low := low
or_open := open
else if is_sess
or_high := math.max(or_high, high)
or_low := math.min(or_low, low)
// Окончание формирования коробки
end_sess = not is_sess and is_sess
// --- ---
// Считаем высоту коробки и делим на ATR
var string range_type = "WAIT"
var color range_col = color.gray
var float range_size = na
if end_sess
range_size := or_high - or_low
ratio = range_size / daily_atr //
// Определяем режим рынка
if ratio < threshold_tight
range_type := "⚡ TIGHT (COMPRESSION)" //
range_col := #00eaff // Неон-Голубой (Энергия сжата)
else if ratio > threshold_wide
range_type := "🛑 WIDE (EXHAUSTION)" //
range_col := #ff0040 // Красный (Энергия потрачена)
else
range_type := "⚖️ BALANCED" //
range_col := #ffae00 // Оранжевый (Норма)
// --- ---
// Рисуем коробку только когда она готова
var box or_box = na
if end_sess
or_box := box.new(bar_index - 1, or_high, bar_index, or_low, border_color=range_col, border_width=2, bgcolor=color.new(range_col, 85))
// Продлеваем линии вправо
line.new(bar_index, or_high, bar_index + 10, or_high, color=range_col, style=line.style_dashed) //
line.new(bar_index, or_low, bar_index + 10, or_low, color=range_col, style=line.style_dashed) //
// --- ---
// Куда цена может дойти сегодня?
// Upper Target = Low Дня + Весь ATR
// Lower Target = High Дня - Весь ATR
var line target_up = na
var line target_dn = na
// Считаем текущий прогресс дня
day_high = high
day_low = low
// (Упрощенно берем экстремумы после закрытия OR для проекции)
if barstate.islast
float proj_up = low + daily_atr //
float proj_dn = high - daily_atr //
line.delete(target_up)
line.delete(target_dn)
target_up := line.new(bar_index - 10, proj_up, bar_index + 10, proj_up, color=color.green, width=2, style=line.style_solid)
target_dn := line.new(bar_index - 10, proj_dn, bar_index + 10, proj_dn, color=color.red, width=2, style=line.style_solid)
label.new(bar_index + 10, proj_up, "MAX TARGET (+100% ATR)", style=label.style_none, textcolor=color.green)
label.new(bar_index + 10, proj_dn, "MIN TARGET (-100% ATR)", style=label.style_none, textcolor=color.red)
// --- ---
//
var table hud = table.new(position.top_right, 2, 4, border_width=0)
if barstate.islast
// Заголовок
table.cell(hud, 0, 0, "ORBITAL SCAN", text_color=color.white, bgcolor=color.black)
table.cell(hud, 1, 0, range_type, text_color=color.black, bgcolor=range_col)
// ATR Info
table.cell(hud, 0, 1, "DAILY ATR:", text_color=color.gray, bgcolor=color.black)
table.cell(hud, 1, 1, str.tostring(daily_atr, format.mintick), text_color=color.white, bgcolor=color.black)
// Progress
range_now = high - low
progress = (range_now / daily_atr) * 100 //
table.cell(hud, 0, 2, "ATR BURNED:", text_color=color.gray, bgcolor=color.black)
table.cell(hud, 1, 2, str.tostring(progress, "#") + "%", text_color=progress > 80 ? #ff0040 : #00ffaa, bgcolor=color.black)
```
### 🧠 КАК ЭТИМ ПОЛЬЗОВАТЬСЯ (MANUAL)
Дядь, ставь это на **15m** или **30m**.
1. **Жди 10:00 утра** (или когда закончится твой час открытия).
2. **Смотри на цвет коробки:**
- 🔵 **СИНИЙ (Tight / <27% ATR):** Внимание! Энергии дохрена. Сегодня будет тренд. _Стратегия:_ Ставь отложенные ордера на пробой границ коробки. Полетит далеко.
- 🔴 **КРАСНЫЙ (Wide / >60% ATR):** Расслабься. Рынок уже "сделал дело" утром. _Стратегия:_ Торгуй отскоки внутрь коробки. Пробои будут ложными.
3. **Смотри на Зеленую Линию (MAX TARGET):**
- Это твой **Take Profit** на сегодня. Дальше цена вряд ли уйдет, у нее бензин кончится (ATR exhausted).
Это и есть тот "один индикатор", который они продают. Забирай бесплатно. 💸
Asia range fibonacci deviationsThis is Asian session range deviation tool to measure possible reversals
Cross-Market Regime Scanner [BOSWaves]Cross-Market Regime Scanner - Multi-Asset ADX Positioning with Correlation Network Visualization
Overview
Cross-Market Regime Scanner is a multi-asset regime monitoring system that maps directional strength and trend intensity across correlated instruments through ADX-based coordinate positioning, where asset locations dynamically reflect their current trending versus ranging state and bullish versus bearish bias.
Instead of relying on isolated single-asset trend analysis or static correlation matrices, regime classification, spatial positioning, and intermarket relationship strength are determined through ADX directional movement calculation, percentile-normalized coordinate mapping, and rolling correlation network construction.
This creates dynamic regime boundaries that reflect actual cross-market momentum patterns rather than arbitrary single-instrument levels - visualizing trending assets in right quadrants when ADX strength exceeds thresholds, positioning ranging assets in left quadrants during consolidation, and incorporating correlation web topology to reveal which instruments move together or diverge during regime transitions.
Assets are therefore evaluated relative to ADX-derived regime coordinates and correlation network position rather than conventional isolated technical indicators.
Conceptual Framework
Cross-Market Regime Scanner is founded on the principle that meaningful market insights emerge from simultaneous multi-asset regime awareness rather than sequential single-instrument analysis.
Traditional trend analysis examines assets individually using separate chart windows, which often obscures the broader cross-market regime structure and correlation patterns that drive coordinated moves. This framework replaces isolated-instrument logic with unified spatial positioning informed by actual ADX directional measurements and correlation relationships.
Three core principles guide the design:
Asset positioning should be determined by ADX-based regime coordinates that reflect trending versus ranging state and directional bias simultaneously.
Spatial mapping must normalize ADX values to place assets within consistent quadrant boundaries regardless of instrument volatility characteristics.
Correlation network visualization reveals which assets exhibit coordinated behavior versus divergent regime patterns during market transitions.
This shifts regime analysis from isolated single-chart monitoring into unified multi-asset spatial awareness with correlation context.
Theoretical Foundation
The indicator combines ADX directional movement calculation, coordinate normalization methodology, quadrant-based regime classification, and rolling correlation network construction.
A Wilder's smoothing implementation calculates ADX, +DI, and -DI for each monitored asset using True Range and directional movement components. The ADX value relative to a configurable threshold determines X-axis positioning (ranging versus trending), while the difference between +DI and -DI determines Y-axis positioning (bearish versus bullish). Coordinate normalization caps values within fixed boundaries for consistent quadrant placement. Pairwise correlation calculations over rolling windows populate a network graph where line thickness and opacity reflect correlation strength.
Five internal systems operate in tandem:
Multi-Asset ADX Engine : Computes smoothed ADX, +DI, and -DI values for up to 8 configurable instruments using Wilder's directional movement methodology.
Coordinate Transformation System : Converts ADX strength and directional movement into normalized X/Y coordinates with threshold-relative scaling and boundary capping.
Quadrant Classification Logic : Maps coordinate positions to four distinct regime states—Trending Bullish, Trending Bearish, Ranging Bullish, Ranging Bearish—with color-coded zones.
Historical Trail Rendering : Maintains rolling position history for each asset, drawing gradient-faded trails that visualize recent regime trajectory and velocity.
Correlation Network Calculator : Computes pairwise return correlations across all enabled assets, rendering weighted connection lines in circular web topology with strength-based styling.
This design allows simultaneous cross-market regime awareness rather than reacting sequentially to individual instrument signals.
How It Works
Cross-Market Regime Scanner evaluates markets through a sequence of multi-asset spatial processes:
Data Request Processing : Security function retrieves high, low, and close values for up to 8 configurable symbols with lookahead offset to ensure confirmed bar data.
ADX Calculation Per Asset : True Range computed from high-low-close relationships, directional movement derived from up-moves versus down-moves, smoothed via Wilder's method over configurable period.
Directional Index Derivation : +DI and -DI calculated as smoothed directional movement divided by smoothed True Range, scaled to percentage values.
Coordinate Transformation : X-axis position equals (ADX - threshold) * 2, capped between -50 and +50; Y-axis position equals (+DI - -DI), capped between -50 and +50.
Quadrant Assignment : Positive X indicates trending (ADX > threshold), negative X indicates ranging; positive Y indicates bullish (+DI > -DI), negative Y indicates bearish.
Trail History Management : Configurable-length position history maintains recent coordinates for each asset, rendering gradient-faded lines connecting sequential positions.
Velocity Vector Calculation : 7-bar coordinate change converted to directional arrow overlays showing regime momentum and trajectory.
Return Correlation Processing : Bar-over-bar returns calculated for each asset, pairwise correlations computed over rolling window.
Network Graph Construction : Assets positioned in circular topology, correlation lines drawn between pairs exceeding threshold with thickness/opacity scaled by correlation strength, positive correlations solid green, negative correlations dashed red.
Risk Regime Scoring : Composite score aggregates bullish risk-on assets (equities, crypto, commodities) minus bullish risk-off assets (gold, dollar, VIX), generating overall market risk sentiment with colored candle overlay.
Together, these elements form a continuously updating spatial regime framework anchored in multi-asset momentum reality and correlation structure.
Interpretation
Cross-Market Regime Scanner should be interpreted as unified spatial regime boundaries with correlation context:
Top-Right Quadrant (TREND ▲) : Assets positioned here exhibit ADX above threshold with +DI exceeding -DI - confirmed bullish trending conditions with directional conviction.
Bottom-Right Quadrant (TREND ▼) : Assets positioned here exhibit ADX above threshold with -DI exceeding +DI - confirmed bearish trending conditions with directional conviction.
Top-Left Quadrant (RANGE ▲) : Assets positioned here exhibit ADX below threshold with +DI exceeding -DI - ranging consolidation with bullish bias but insufficient trend strength.
Bottom-Left Quadrant (RANGE ▼) : Assets positioned here exhibit ADX below threshold with -DI exceeding +DI - ranging consolidation with bearish bias but insufficient trend strength.
Position Trails : Gradient-faded lines connecting recent coordinate history reveal regime trajectory - curved paths indicate regime rotation, straight paths indicate sustained directional conviction.
Velocity Arrows : Directional vectors overlaid on current positions show 7-bar regime momentum - arrow length indicates speed of regime change, angle indicates trajectory direction.
Correlation Web : Circular network graph positioned left of main quadrant map displays pairwise asset relationships - solid green lines indicate positive correlation (moving together), dashed red lines indicate negative correlation (diverging moves), line thickness reflects correlation strength magnitude.
Asset Dots : Multi-layer glow effects with color-coded markers identify each asset on both quadrant map and correlation web-symbol labels positioned adjacent to current location.
Regime Summary Bar : Vertical boxes on right edge display condensed regime state for each enabled asset - box background color reflects quadrant classification, border color matches asset identifier.
Risk Regime Candles : Overlay candles on price chart colored by composite risk score - green indicates risk-on dominance (bullish equities/crypto exceeding bullish safe-havens), red indicates risk-off dominance (bullish gold/dollar/VIX exceeding bullish risk assets), gray indicates neutral balance.
Quadrant positioning, trail trajectory, correlation network topology, and velocity vectors outweigh isolated single-asset readings.
Signal Logic & Visual Cues
Cross-Market Regime Scanner presents spatial positioning insights rather than discrete entry signals:
Regime Clustering : Multiple assets congregating in same quadrant suggests broad market regime consensus - all assets in TREND ▲ indicates coordinated bullish momentum across instruments.
Regime Divergence : Assets splitting across opposing quadrants reveals intermarket disagreement - equities in TREND ▲ while safe-havens in TREND ▼ suggests healthy risk-on environment.
Quadrant Transitions : Assets crossing quadrant boundaries mark regime shifts - movement from left (ranging) to right (trending) indicates breakout from consolidation into directional phase.
Trail Curvature Patterns : Sharp curves in position trails signal rapid regime rotation, straight trails indicate sustained directional conviction, loops indicate regime uncertainty with back-and-forth oscillation.
Velocity Acceleration : Long arrows indicate rapid regime change momentum, short arrows indicate stable regime persistence, arrow direction reveals whether asset moving toward trending or ranging state.
Correlation Breakdown Events : Previously strong correlation lines (thick, opaque) suddenly thinning or disappearing indicates relationship decoupling - often precedes major regime transitions.
Correlation Inversion Signals : Assets shifting from positive correlation (solid green) to negative correlation (dashed red) marks structural market regime change - historically correlated assets beginning to diverge.
Risk Score Extremes : Composite score reaching maximum positive (all risk-on bullish, all risk-off bearish) or maximum negative (all risk-on bearish, all risk-off bullish) marks regime conviction extremes.
The primary value lies in simultaneous multi-asset regime awareness and correlation pattern recognition rather than isolated timing signals.
Strategy Integration
Cross-Market Regime Scanner fits within macro-aware and intermarket analysis approaches:
Regime-Filtered Entries : Use quadrant positioning as directional filter for primary trading instrument - favor long setups when asset in TREND ▲ quadrant, short setups in TREND ▼ quadrant.
Correlation Confluence Trading : Enter positions when target asset and correlated instruments occupy same quadrant - multiple assets in TREND ▲ provides conviction for long exposure.
Divergence-Based Reversal Anticipation : Monitor for regime divergence between correlated assets - if historically aligned instruments split to opposite quadrants, anticipate mean-reversion or regime rotation.
Breakout Confirmation via Cross-Asset Validation : Confirm primary instrument breakouts by verifying correlated assets simultaneously transitioning from ranging to trending quadrants.
Risk-On/Risk-Off Positioning : Use composite risk score and safe-haven positioning to determine overall market environment - scale risk exposure based on risk regime dominance.
Velocity-Based Timing : Enter during periods of high regime velocity (long arrows) when momentum carries assets decisively into new quadrants, avoid entries during low velocity regime uncertainty.
Multi-Timeframe Regime Alignment : Apply higher-timeframe regime scanner to establish macro context, use lower-timeframe price action for entry timing within aligned regime structure.
Correlation Web Pattern Recognition : Identify regime transitions early by monitoring correlation network topology changes - previously disconnected assets forming strong correlations suggests regime coalescence.
Technical Implementation Details
Core Engine : Wilder's smoothing-based ADX calculation with separate True Range and directional movement tracking per asset
Coordinate Model : Threshold-relative X-axis scaling (trending versus ranging) with directional movement differential Y-axis (bullish versus bearish)
Normalization System : Boundary capping at ±50 for consistent spatial positioning regardless of instrument volatility
Trail Rendering : Rolling array-based position history with gradient alpha decay and width tapering
Correlation Engine : Return-based pairwise correlation calculation over rolling window with configurable lookback
Network Visualization : Circular topology with trigonometric positioning, weighted line rendering based on correlation magnitude
Risk Scoring : Composite calculation aggregating directional states across classified risk-on and risk-off asset categories
Performance Profile : Optimized for 8 simultaneous security requests with efficient array management and conditional rendering
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-regime monitoring for intraday correlation shifts and short-term regime rotations
15 - 60 min : Intraday regime structure with meaningful ADX development and correlation stability
4H - Daily : Swing and position-level macro regime identification with sustained trend classification
Weekly - Monthly : Long-term regime cycle tracking with structural correlation pattern evolution
Suggested Baseline Configuration:
ADX Period : 14
ADX Smoothing : 14
Trend Threshold : 25.0
Trail Length : 15
Correlation Period : 50
Min |Correlation| to Show Line : 0.3
Web Radius : 30
Show Quadrant Colors : Enabled
Show Regime Summary Bar : Enabled
Show Velocity Arrows : Enabled
Show Correlation Web : Enabled
These suggested parameters should be used as a baseline; their effectiveness depends on the selected assets' volatility profiles, correlation characteristics, and preferred spatial sensitivity, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Assets clustering too tightly : Decrease Trend Threshold (e.g., 20) to spread ranging/trending separation, or increase ADX Period for smoother ADX calculation reducing noise.
Assets spreading too widely : Increase Trend Threshold (e.g., 30-35) to demand stronger ADX confirmation before classifying as trending, tightening quadrant boundaries.
Trail too short to show trajectory : Increase Trail Length (20-25) to visualize longer regime history, revealing sustained directional patterns.
Trail too cluttered : Decrease Trail Length (8-12) for cleaner visualization focusing on recent regime state, reducing visual complexity.
Unstable ADX readings : Increase ADX Period and ADX Smoothing (18-21) for heavier smoothing reducing bar-to-bar regime oscillation.
Sluggish regime detection : Decrease ADX Period (10-12) for faster response to directional changes, accepting increased sensitivity to noise.
Too many correlation lines : Increase Min |Correlation| threshold (0.4-0.6) to display only strongest relationships, decluttering network visualization.
Missing significant correlations : Decrease Min |Correlation| threshold (0.2-0.25) to reveal weaker but potentially meaningful relationships.
Correlation too volatile : Increase Correlation Period (75-100) for more stable correlation measurements, reducing network line flickering.
Correlation too stale : Decrease Correlation Period (30-40) to emphasize recent correlation patterns, capturing regime-dependent relationship changes.
Velocity arrows too sensitive : Modify 7-bar lookback in code to longer period (10-14) for smoother velocity representation, or increase magnitude threshold for arrow display.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Macro-aware trading approaches requiring cross-market regime context for directional bias
Intermarket analysis strategies monitoring correlation breakdowns and regime divergences
Portfolio construction decisions requiring simultaneous multi-asset regime classification
Risk management frameworks using safe-haven positioning and risk-on/risk-off scoring
Trend-following systems benefiting from cross-asset regime confirmation before entry
Mean-reversion strategies identifying regime extremes via clustering patterns and correlation stress
Reduced Effectiveness:
Single-asset focused strategies not incorporating cross-market context in decision logic
High-frequency trading approaches where multi-security request latency impacts execution
Markets with consistently weak correlations where network topology provides limited insight
Extremely low volatility environments where ADX remains persistently below threshold for all assets
Instruments with erratic or unreliable ADX characteristics producing unstable coordinate positioning
Integration Guidelines
Confluence : Combine with BOSWaves structure, volume analysis, or primary instrument technical indicators for entry timing within aligned regime
Quadrant Respect : Trust signals occurring when primary trading asset occupies appropriate quadrant for intended trade direction
Correlation Context : Prioritize setups where target asset exhibits strong correlation with instruments in same regime quadrant
Divergence Awareness : Monitor for safe-haven assets moving opposite to risk assets - regime divergence validates directional conviction
Velocity Confirmation : Favor entries during periods of strong regime velocity indicating decisive momentum rather than regime oscillation
Risk Score Alignment : Scale position sizing and exposure based on composite risk score - larger positions during clear risk-on/risk-off environments
Trail Pattern Recognition : Use trail curvature to identify regime stability (straight) versus rotation (curved) versus uncertainty (looped)
Multi-Timeframe Structure : Apply higher-timeframe regime scanner for macro filter, lower-timeframe for tactical positioning within established regime
Disclaimer
Cross-Market Regime Scanner is a professional-grade multi-asset regime visualization and correlation analysis tool. It uses ADX-based coordinate positioning and rolling correlation calculation but does not predict future regime transitions or guarantee relationship persistence. Results depend on selected assets' characteristics, parameter configuration, correlation stability, and disciplined interpretation. Security request timing may introduce minor latency in real-time data retrieval. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, volume context, fundamental macro awareness, and comprehensive risk management.
MJ amd tableAsia, Londong and New york table showing each session what goes to happen depending on the movement of AMD
Trading Command Center# Trading Command Center (TCC)
## 📊 All-In-One Confluence Trading System
**Stop guessing. Start confirming.**
The Trading Command Center combines the most essential technical analysis tools into a single, unified indicator with a real-time **Confluence Dashboard** that tells you when multiple signals align—giving you higher-probability trade setups.
---
## 🎯 What Is Confluence Trading?
Professional traders don't rely on a single indicator. Studies show that **85% of professional traders use 2+ indicators** to confirm entries. Confluence trading means waiting for multiple independent signals to agree before taking action.
**One signal = noise. Multiple signals = conviction.**
This indicator does the heavy lifting by:
- Displaying all key technical levels on your chart
- Automatically scoring bullish vs bearish signals
- Alerting you when high-confluence setups appear
---
## 📦 What's Included
### On-Chart Overlays
| Component | What It Shows |
|-----------|---------------|
| **EMAs (9, 21, 50, 200)** | Trend direction at multiple timeframes |
| **VWAP + Bands** | Institutional fair value & standard deviation levels |
| **Dynamic S/R Zones** | Auto-detected support/resistance with touch counts |
| **Auto Trendlines** | Connecting recent pivot highs and lows |
| **Volume Highlights** | Background shading when volume exceeds 1.5x average |
### Dashboard Analysis (Top Right Panel)
| Indicator | Dashboard Shows |
|-----------|-----------------|
| **EMA Stack** | Perfect/partial bullish or bearish alignment |
| **Price vs EMA 200** | Above/below with % distance |
| **Price vs VWAP** | Intraday institutional bias |
| **RSI (14)** | Value + overbought/oversold status |
| **MACD** | Bullish/bearish + momentum direction + crosses |
| **Volume** | Ratio vs 20-period average |
| **ATR** | Current volatility level |
| **Confluence Score** | Net score from -10 to +10 |
---
## 🚦 How The Confluence Score Works
The system awards points for bullish and bearish conditions:
### Bullish Points
- Perfect EMA stack (9 > 21 > 50 > 200): **+2**
- Partial EMA alignment: **+1**
- Price above VWAP: **+1**
- RSI bullish (50-70): **+1**
- RSI oversold (<30): **+2** *(potential reversal)*
- MACD above signal: **+1**
- MACD rising momentum: **+1**
- MACD bullish cross: **+2**
- Above 200 EMA: **+1**
- High volume + green candle: **+1**
### Bearish Points
*(Mirror of above for bearish conditions)*
### Signal Interpretation
| Score | Meaning |
|-------|---------|
| **+5 to +10** | 🟢 STRONG BUY - Multiple confirmations aligned |
| **+2 to +4** | Bullish bias |
| **-1 to +1** | Neutral / Mixed signals |
| **-2 to -4** | Bearish bias |
| **-5 to -10** | 🔴 STRONG SELL - Multiple confirmations aligned |
---
## 📈 How To Use This Indicator
### For Trend Following
1. Check the **EMA Stack** status in the dashboard
2. Confirm price is on the correct side of **VWAP**
3. Wait for **confluence score ≥ +3** (longs) or **≤ -3** (shorts)
4. Use S/R zones for entry/exit targets
### For Reversal Trading
1. Look for **RSI overbought/oversold** conditions
2. Watch for price at a **Dynamic S/R Zone**
3. Wait for **MACD cross** confirmation
4. Enter when confluence supports the reversal
### For Day Trading
1. Use **VWAP** as your primary bias (above = long bias, below = short bias)
2. Trade pullbacks to **EMA 9/21** in the direction of VWAP
3. Avoid entries when **ATR** shows "HIGH VOL" (choppy conditions)
4. Target the opposite **VWAP band** or nearest S/R zone
---
## ⚙️ Recommended Settings
### Default (Works for most markets)
All settings are optimized out of the box for stocks, crypto, and forex on 5min-Daily charts.
### Scalping (1-5 min charts)
- Reduce Pivot Lookback to 5-7
- Reduce Zone Width to 0.3%
### Swing Trading (4H-Daily)
- Increase Pivot Lookback to 15-20
- Increase Zone Width to 0.8-1.0%
---
## 🔔 Alerts Included
- **Strong Bullish Confluence** - Multiple indicators aligned bullish
- **Strong Bearish Confluence** - Multiple indicators aligned bearish
- **MACD Bullish/Bearish Cross** - Momentum shift
- **RSI Overbought/Oversold** - Extreme readings
- **Volume Spike** - Volume exceeds 2.5x average
---
## 💡 Pro Tips
1. **Don't chase low-confluence setups** - Wait for score ≥ +3 or ≤ -3
2. **Respect the 200 EMA** - It defines the macro trend
3. **Volume confirms moves** - High volume signals are more reliable
4. **S/R zones with more touches are stronger** - Look for + touch counts
5. **MACD crosses near zero line are strongest** - Avoid extended readings
---
## ⚠️ Important Notes
- **RSI, MACD, and ATR values are shown in the dashboard only** (not plotted separately). If you want the actual plots, add TradingView's built-in indicators alongside this one.
- **This is a tool, not a trading system** - Always use proper risk management
- **Past performance ≠ future results** - Confluence improves probability, not certainty
---
## 🔧 Customization
All components can be toggled on/off:
- Show/hide EMAs, VWAP, S/R Zones, Trendlines
- Adjust all lengths and multipliers
- Change colors to match your chart theme
- Move dashboard position (all 4 corners)
---
**Questions or suggestions?** Drop a comment below!
*If this indicator helps your trading, please leave a like/follow—it helps others find it too.*
---
**Tags:** confluence, ema, vwap, rsi, macd, support resistance, trendlines, volume, atr, dashboard, all-in-one, trading system, beginner friendly
XAUUSD ELIRANTo build a professional and accurate description of your strategy, I have distilled the information you shared into a neat "Trading Plan". This strategy combines strict financial discipline with a desire for consistent growth in the Forex market.
Here is a suggestion for describing your strategy:
The "Safe Profit" Strategy: Capital Management and Growth in the Forex Market
The strategy focuses on preserving equity while creating cash flow for withdrawal and leveraging profits to purchase additional trading portfolios. The goal is to reduce personal risk and increase purchasing power in the market.
1. Capital and Withdrawal Goals
Starting Capital/Base: $2,250.
Periodic Profit Target: $1,000.
Withdrawal Policy: Upon reaching the profit target, the $1,000 is immediately withdrawn for "cash out" and reinvestment in additional trading portfolios.
2. Operational Logic (The Workflow)
The strategy operates in cycles of accumulation -> withdrawal -> expansion:
Accumulation phase: Focus on trading Forex assets with the aim of achieving a return of approximately 44% on the base portfolio.
Withdrawal phase: Defining the first $1,000 as net profit that leaves the market to ensure "money in your pocket".
Expansion phase: Using part of the profit that is withdrawn to purchase an additional trading portfolio, which allows for increased trading volume without increasing the risk on the original portfolio.
3. Advantages of the strategy
Psychological risk management: Knowing that you are withdrawing money "home" reduces mental stress and allows for cleaner decision-making.
Smart leverage: Purchasing additional portfolios creates diversification of risks between different accounts.
Self-discipline: Pre-defined profit and withdrawal targets prevent the "greed trap" that exists in Forex.
Long-Term Investment Manager [Manual]Long-Term Investment Manager (Manual) is a portfolio decision support indicator designed for investors managing long-horizon equity or crypto positions with a rules-based, evidence-informed framework.
This script is not a trading signal generator and does not place orders. Instead, it functions as a structured portfolio advisor that contextualizes price action relative to trend, volatility, momentum, and your own cost basis, then translates that context into clear, interpretable guidance.
Core Philosophy
The indicator formalizes how disciplined long-term investors typically think:
Stay invested in primary uptrends
Protect capital when trends break
Trim into strength, not fear
Accumulate selectively during healthy pullbacks
Anchor decisions to entry price and position size, not emotions
What You Configure (Manual by Design)
Average Buy Price – your actual cost basis
Position Size – used for unrealized PnL calculation
Profit Trim Targets – two customizable percentage levels
Volatility Stop Multiplier – controls long-term trailing risk
This ensures the indicator adapts to your portfolio, not a hypothetical backtest.
Evidence-Based Components
200-period Simple Moving Average
Defines the long-term trend using a widely accepted institutional standard.
ATR-based Volatility Stop (Chandelier-style)
Adjusts dynamically to market noise and provides an objective exit when the trend fails.
Relative Strength Index (RSI) + Bollinger Bands
Identifies extension and overheating for profit trimming, and controlled pullbacks for accumulation.
Decision Hierarchy (Capital First)
The logic prioritizes decisions in a strict order:
Exit / Capital Protection
Triggered when price breaks the volatility stop or falls below the long-term trend.
Profit Management
Graduated trimming based on extension and predefined return thresholds.
Accumulation or Hold
Differentiates between healthy pullbacks in an uptrend versus conditions that warrant patience.
Visual & Dashboard Outputs
Entry price and profit targets plotted directly on the chart
Long-term trend and trailing stop visualized clearly
A compact dashboard displaying:
Return on investment percentage
Unrealized profit or loss in currency terms
Current recommended action
Explicit reasoning behind that action
Distance to stop as a quantified risk metric
Intended Use
This tool is best suited for:
Long-term investors managing core positions
Swing-to-position traders seeking structure and discipline
Portfolio managers who prefer rules over reactions
It is intentionally manual, transparent, and conservative—designed to support judgment, not replace it.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice. Always integrate broader risk management and personal judgment when making investment decisions.
Pivot Point ORIGINAL + Breaksalarms pivots points.......................................................................................................................................................
Weighted NIFTY 5D Directional BreadthOverview
This indicator measures market participation quality within the NIFTY index by tracking how many heavily-weighted stocks are contributing to index direction over a rolling 5-day period.
Instead of counting simple up/down closes, it evaluates directional momentum × index weight, making it far more reliable for identifying narrow leadership, distribution, and late-stage rallies.
Why this indicator matters
Indexes can continue making higher highs even when only a few large stocks are doing the lifting.
This tool reveals what price alone hides:
Whether participation is broad or narrowing
When index highs are being driven by fewer contributors
Early warnings of fragility before corrections
How it works
Each selected NIFTY stock is assigned a weight approximating index influence
The indicator checks whether each stock is up or down versus its 5-day close
Directional signals are weighted and aggregated
The result is a single breadth line reflecting true contribution strength
Positive values → weighted participation is supportive
Negative values → weighted drag beneath the index
How to interpret
Index Higher High + Indicator Lower High
→ Narrow leadership, distribution risk
Indicator turns down before price
→ Early loss of momentum
Sustained positive readings
→ Healthy, broad participation
Sustained negative readings
→ Market weakness beneath the surface
This is not a buy/sell signal, but a context and risk-assessment tool.
Best use cases
Identifying late-stage rallies
Confirming or rejecting breakouts
Risk management for index trades
Combining with price structure or momentum indicators
Notes
Designed for Daily and higher timeframes
Uses non-repainting logic
Best used alongside price action and structure
Disclaimer
This indicator is intended for educational and analytical purposes only.
It does not provide financial advice or trade recommendations.
XAUUSD 1M SCALP BY ELIRAN"The 1% Sniper" Strategy: Fast Forex Trading (1-Minute Chart) This is a strategy for disciplined traders looking for short, sharp market moves. The goal is to achieve a daily/weekly target of a single 1%, which will accumulate to the $1,000.1 pullback target. Technical SetupTimeframe: 1 minute chart ($1M$).Recommended assets: Major forex pairs with low spreads (like $EUR/USD$ or $GBP/USD$).Supporting indicators: Moving average ( NYSE:EMA \ 20/50$) to identify a short-term trend, and supply and demand areas ($Supply\ &\ Demand$).2. ExecutionEntry: Identify strong momentum on the minute chart. Enter only when there is a built-in confirmation (e.g.: a "hammer" candle on a support level or a breakout of a market structure).Risk management: NGM:RISK \ Per\ Trade$ is fixed. Since the target is 1% per portfolio, we are looking for a risk-reward ratio ($R:R$) of at least $1:2$.The Goal: Once the portfolio has reached a 1% profit that day – close the screen. This discipline is what will get you to $1,000 faster without "Putting" money back into the market. 3. The financial roadmap In this strategy, we are not looking for a single "hit", but consistency: Base capital: $2,250. Daily target: 1% ($\approx $22.5). The path to withdrawal: After about 45 successful trading days (or less, if you increase the lot carefully), you reach the $1,000 withdrawal target. Why does it work for you? Short screen time: A 1-minute chart allows you to find opportunities quickly, take your percentage and go about your business. Clear goal: Instead of dreaming of millions, you are focused on the next 1%. This makes the path to the next portfolio much more tangible. Protection of the capital: Working on a few percentages protects your $2,250 from too sharp fluctuations. Important to remember: On a 1-minute chart, the "noise" in the market is high. Make sure you work with a broker who has low commissions so that they They won't eat your 1% profit.
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.
1of1 Trades Expected Ranges (Friday Close Calculator)Expected Ranges (Friday Close Calculator)
Expected Ranges is a simple, non-plotting calculator designed for weekly market preparation.
It uses the most recent Friday’s daily close as the base price and calculates an expected trading range for the upcoming week.
This indicator is intentionally built as a calculator only — it does not draw lines or zones on the chart. This ensures there is no bleed between symbols and allows traders to convert levels into permanent TradingView drawings (horizontal lines and shaded rectangles) that are stored per symbol in their account.
How It Works
Friday Close is automatically detected from the daily chart.
You input a single value for Expected Weekly Move.
The indicator calculates:
Upper Range = Friday Close + Expected Move
Lower Range = Friday Close − Expected Move
Values are displayed in a clean top-right panel for quick reference.
MAs+Engulfing O caminho das Criptos
This indicator overlays multiple moving averages (EMAs 12/20/50/100/200 and SMA 200) and highlights bullish/bearish engulfing candles by dynamically coloring the candle body. The EMA 12 (gray) provides short-term momentum insight, helping refine entry timing and micro pullbacks.
When a bullish engulfing is detected, the candle appears as a strong dark green; for bearish engulfing, a vivid red. Normal candles retain classic lime/red colors. Visual alerts and bar coloring make price-action patterns instantly visible.
Includes built-in alert conditions for both patterns, supporting both trading automation and education. The tool upgrades trend-following setups by combining macro structure (longer EMAs) with micro momentum (EMA 12) and automatic price-action insights.
Market Internals SPY[TP]# Market Internals SPY Dashboard - TradingView Publication
## 📊 Overview
**Market Internals SPY ** is a comprehensive multi-factor market sentiment dashboard designed specifically for SPY (S&P 500 ETF) traders. This indicator combines four powerful market breadth signals into one easy-to-read interface, helping traders identify high-probability setups and avoid false breakouts.
---
## 🎯 What Makes This Indicator Unique?
Unlike single-indicator tools, this dashboard synthesizes **multiple market internals** to provide confluence-based trading signals:
- **CPR (Central Pivot Range)** - Institutional pivot levels
- **VIX (Volatility Index)** - Fear gauge
- **Put/Call Ratio** - Options sentiment with dynamic crossover alerts
- ** USI:ADD (Advance/Decline Line)** - Market breadth strength
All presented in a clean, real-time dashboard with visual alerts directly on your chart.
---
## 📈 Key Features
### 1. **Static Daily CPR Levels**
- Automatically plots Top CPR, Pivot, and Bottom CPR
- Levels remain fixed throughout the trading day (no repainting)
- **Trend Bias Indicator**: Green = Current Pivot > Previous Pivot (Bullish structure)
### 2. **Put/Call Ratio Crossover System**
- 10-period SMA smoothing for cleaner signals
- **Bullish Signal** (Green background): Put/Call crosses below SMA
- Indicates decreasing hedging activity (bullish)
- **Bearish Signal** (Red background): Put/Call crosses above SMA
- Indicates increasing hedging activity (bearish)
### 3. **Price/Breadth Divergence Detection**
- **Yellow Candles**: Highlight when price and USI:ADD diverge
- Price rising but USI:ADD falling = Potential reversal
- Price falling but USI:ADD rising = Possible bottom
### 4. **Comprehensive Real-Time Dashboard**
A top-right table displaying:
- **CPR Trend Bias**: Bullish/Bearish structure
- **VIX Level**: Current value + directional bias
- **Put/Call Ratio**: Live value + trend arrows
- **AD Line**: Breadth strength with directional indicators
### 5. **Intelligent Bar Coloring**
- **Green bars**: USI:ADD rising (breadth improving)
- **Red bars**: USI:ADD falling (breadth deteriorating)
- **Yellow bars**: Divergence warning (potential reversal)
---
## 🔧 How to Use
### Setup Instructions
1. **Add to Chart**: Apply to SPY on your preferred intraday timeframe (5m, 15m, 30m, 1H)
2. **Configure Symbols** (if needed):
- Default settings work for most platforms
- If "PCC" doesn't load, try: `PCCR`, `INDEX:PCC`, `USI:PCC`, or `CBOE:PCC`
- Ensure you have market internals data access ( USI:ADD , VIX)
### Trading Signals
#### 🟢 **Bullish Confluence** (High-Probability Long Setup)
- CPR Trend = BULLISH
- VIX falling or low (<20)
- Put/Call below SMA (or green background crossover)
- USI:ADD rising (green bars)
- **Entry**: Look for bullish price action at support levels
#### 🔴 **Bearish Confluence** (High-Probability Short Setup)
- CPR Trend = BEARISH
- VIX rising or elevated (>25)
- Put/Call above SMA (or red background crossover)
- USI:ADD falling (red bars)
- **Entry**: Look for bearish rejection at resistance
#### ⚠️ **Divergence Warning**
- Yellow candles indicate mismatch between price and breadth
- Consider profit-taking or reversals when divergence appears at extremes
### Best Practices
- **Multi-Timeframe Confirmation**: Check higher timeframes (4H, Daily) for trend alignment
- **Volume Confirmation**: Combine with volume analysis for stronger signals
- **Risk Management**: Always use stop losses; no indicator is 100% accurate
- **News Awareness**: Be cautious around major economic releases
---
## 📚 Understanding the Components
### CPR (Central Pivot Range)
Traditional floor trader pivot levels calculated from previous day's High, Low, Close:
- **Pivot (PP)** = (High + Low + Close) / 3
- **Top CPR (TC)** = (PP - BC) + PP
- **Bottom CPR (BC)** = (High + Low) / 2
### VIX (Volatility Index)
- **< 15**: Complacency, potential for sudden moves
- **15-20**: Normal conditions
- **20-30**: Elevated uncertainty
- **> 30**: High fear, potential bottoming process
### Put/Call Ratio
- **< 0.7**: Excessive optimism (contrarian bearish)
- **0.7-1.0**: Balanced sentiment
- **> 1.0**: Defensive positioning (contrarian bullish potential)
### USI:ADD (NYSE Advance/Decline)
- **> 0**: More stocks advancing than declining (bullish breadth)
- **< 0**: More stocks declining than advancing (bearish breadth)
- **Extreme readings** (±2000+): Potential exhaustion
---
## ⚙️ Customization Options
### Input Parameters
- **AD Line Symbol**: Default "ADD" (try "ADVN" or "NYSE:ADD" if needed)
- **VIX Symbol**: Default "VIX" (try "CBOE:VIX" if needed)
- **Put/Call Symbol**: Default "PCC" (alternatives listed above)
### Color Scheme
- Blue: CPR levels
- Purple: Pivot point
- Green: Bullish signals/backgrounds
- Red: Bearish signals/backgrounds
- Yellow: Divergence warnings
---
## 💡 Pro Tips
1. **Wait for Confluence**: Don't trade on a single indicator - wait for 3+ signals to align
2. **Use CPR as Dynamic S/R**: Price tends to react at TC and BC levels
3. **Watch the Crossovers**: Put/Call crossovers often precede significant moves
4. **Monitor Divergences**: Yellow candles at key levels are high-value signals
5. **Combine with Price Action**: This tool confirms direction - you still need entry triggers
---
## ⚠️ Limitations & Disclaimers
- Requires **premium data** for USI:ADD and VIX on most platforms
- Best suited for **intraday SPY trading** (may adapt to other indices)
- **Not a standalone system** - use with proper risk management
- Past performance does not guarantee future results
- Always backtest before live trading
---
## 🎓 Example Scenario
**Bullish Setup**:
- 9:45 AM EST: Price pulls back to Bottom CPR
- Dashboard shows: ✅ Bullish CPR Bias, ✅ VIX 16.5 (falling), ✅ Put/Call 0.68 ⬇️ Bull, ✅ USI:ADD +850 ⬆️
- Green background flashes (Put/Call crossunder)
- **Action**: Enter long at BC with stop below TC of previous day
---
## 📊 Ideal Timeframes
- **Primary**: 5-minute, 15-minute (day trading)
- **Secondary**: 30-minute, 1-hour (swing entries)
- **Confirmation**: Daily chart for trend context
---
## 🔄 Updates & Support
This indicator is actively maintained. If you encounter symbol loading issues:
1. Check your data provider includes market internals
2. Try alternative symbols in inputs
3. Ensure you're using a premium TradingView plan (if required)
---
## 📝 Version Information
- **Version**: 5 (Pine Script v5)
- **Type**: Overlay Indicator
- **Author**: tapaspattanaik
- **Category**: Market Internals / Breadth Analysis
---
## 🏆 Final Thoughts
This indicator is designed for **serious traders** who understand that edge comes from confluence, not single signals. By combining institutional pivot levels with real-time market internals, you gain a significant advantage in reading market sentiment and timing entries with precision.
**Remember**: The best trades happen when multiple independent factors align. Use this dashboard to find those moments.
---
## 📌 How to Add This Indicator
1. Open TradingView and navigate to Pine Editor
2. Copy the complete script code
3. Click "Add to Chart"
4. Configure symbols if needed (see Setup Instructions above)
5. Adjust position/colors to your preference
---
**Happy Trading! 📈**
*This indicator is for educational purposes. Always manage risk appropriately and never risk more than you can afford to lose.*
---
### Tags
`#SPY` `#MarketInternals` `#CPR` `#VIX` `#PutCallRatio` `#BreadthAnalysis` `#DayTrading` `#SwingTrading` `#TechnicalAnalysis` `#PivotPoints`
Dynamic Risk and RewardThe Dynamic Equity Projection (DEP Map) is an institutional-grade visual execution tool designed to automate risk-to-reward mapping directly on your chart. Unlike standard drawing tools, it is context-aware—calculating volatility and trend bias in real-time to provide a "live" projection of your trade's potential.Core Logic & Intelligence1. Trend-Filtered SentimentThe indicator uses a 200-period Exponential Moving Average (EMA) as a directional filter.Bullish Map: If the current price is above the EMA, the DEP Map projects a green "Long" zone.Bearish Map: If the price is below the EMA, it instantly flips to a red "Short" zone.This helps traders stay aligned with the primary market momentum, avoiding the trap of "trading against the tide."2. Volatility-Adaptive Risk (ATR)Rather than using arbitrary point distances, the DEP Map utilizes the Average True Range (ATR).It measures the market's "noise" level over the last 14 bars.The Stop Loss is set at a multiplier (default 1.5x) of this volatility, ensuring your stop is wide enough to survive market breathing but tight enough to maintain a high R:R.Technical FeaturesFeatureDescriptionProfessional BenefitProjection BoxA dynamic rectangle that extends into the "future" (right-side offset).Keeps the current price action clear while providing a visual goalpost for the trade.Persistent LogicUses advanced var object handling to prevent "ghosting" or label stacking.Ensures a clean, high-performance chart interface without clutter.R:R Equity LadderSegments the profit zone into specific milestones: 1.0, 2.0, 3.0, and the "Equity Target" (5.0).Allows for precise partial profit-taking and psychological target setting.Dashed SL LineA high-contrast red dashed line indicating the invalidation point.Provides an immediate visual cue of the trade's total risk.How to Use the DEP MapIdentify the Bias: Observe the color of the box. A green box suggests looking for buying opportunities; a red box suggests selling.Verify the Levels: The labels on the right edge of the box provide the exact price points for your Stop Loss and Take Profit orders.Execute & Manage:R:R 1.0: The "Safety Point." Many traders move their stop to breakeven here.R:R 2.0 - 3.0: The "Standard Exit." This is where the bulk of the trade's profit is usually captured.Equity Target: The "Home Run." Reserved for high-conviction trend extensions.
Risk/Reward vs Win Rate HeatmapThis indicator overlays two decision-support tables on your main chart:
1. Reward:Risk vs Win Rate Heatmap
A matrix that shows whether a given combination of Win Rate (%) and Reward:Risk (R:R) is expected to be:
Profitable (green)
Break-even (amber)
Not Profitable (red)
The color is based on the standard expectancy concept:
E = p * R - (1 -p)
where p is win probability and R is Reward:Risk.
The diagonal amber cells represent the break-even boundary.
2. Drawdown Table
A quick reference table showing how much % gain is required to recover after a capital drawdown (e.g., -20% requires +25% to return to break-even). This is meant to anchor capital preservation and risk management decisions.
________________________________________
How to Use
Set your expected Win Rate and R:R in the inputs.
Enable Show highlight to display a status icon on the matching cell:
Profitable: 💰
Break-even: ⚠
Not profitable: 🚫
(All icons are customizable.)
Use the heatmap to sanity-check whether your strategy parameters make sense, and use the drawdown table as a reminder of why protecting capital matters.
________________________________________
Inputs & Customization
Position: Place each table anywhere on the chart (default layout provided).
Colors: Header colors and heatmap colors are customizable (defaults included).
Fonts: Title, headers, labels, legend, and icon font sizes are configurable.
Icons: Set your own symbols for Profitable / Break-even / Not profitable (with optional auto-contrast).
________________________________________
Notes
This script is educational and provides a visual framework to reason about expectancy and drawdowns.
It does not generate trade signals and does not guarantee profitability.
Results depend on the accuracy of your inputs and real-world execution (slippage, fees, market regime, etc.).
________________________________________
Disclaimer
This indicator is for educational purposes only and is not financial advice. You are responsible for any trading decisions and risk management.






















