RCR Buy SellIndicators overlays on chart and flags buy and sell labels for traders to take decision.
Индикаторы и стратегии
Trading PlanDisplays two fixed on-chart panels (tables): GREEN = LONG IDEA and RED = SHORT IDEA.
Each panel contains three user-editable fields in the settings:
Where to make business (Entry)
Where I want to exit
Story
Each panel also has an Active checkbox:
Checked → shows “✓ PLAN ACTIVE” with the normal panel color.
Unchecked → shows “PLAN NOT ACTIVE” with a yellow background (and dark text for readability).
Position (top/bottom/left/right/center) and text size are configurable in the indicator settings.
Bot ATR + EMA Cross//@version=6
// © 2024 UT Bot Trading System
// Protected script - Do not copy or redistribute
indicator(title="UT Bot ATR + EMA Cross", shorttitle="UTEMA Cross", overlay=true, max_labels_count=500)
// ==================== SECURITY & PROTECTION ====================
// Script protection - Prevent unauthorized copying
securityKey = "UTBotPro2024"
scriptVersion = "v2.1.3"
protectedScript = true
// Display warning message
if barstate.islast
var table warningTable = table.new(position = position.bottom_right, columns = 1, rows = 4,
bgcolor = color.new(color.black, 90), border_width = 2,
border_color = color.red)
table.cell(warningTable, 0, 0, "⚠️ PROTECTED SCRIPT",
text_color = color.yellow, bgcolor = color.new(color.red, 70))
table.cell(warningTable, 0, 1, "UT Bot Trading System",
text_color = color.white, bgcolor = color.new(color.black, 80))
table.cell(warningTable, 0, 2, "Version: " + scriptVersion,
text_color = color.white, bgcolor = color.new(color.black, 80))
table.cell(warningTable, 0, 3, "© 2024 All Rights Reserved",
text_color = color.white, bgcolor = color.new(color.black, 80))
// ==================== INPUTS ====================
// ATR Trailing Stop Inputs
atrPeriod = input.int(10, title="ATR Period", minval=1, group="ATR Settings")
sensitivity = input.float(1.0, title="Key Value Sensitivity", minval=0.1, step=0.1, group="ATR Settings")
useEmaFilter = input.bool(true, title="Use EMA Filter for ATR Signals", group="ATR Settings")
showTable = input.bool(true, title="Show Signal Table", group="ATR Settings")
// EMA Crossover Theory Inputs
fastEma = input.int(9, title="Fast EMA Length", minval=1, group="EMA Crossover Settings")
slowEma = input.int(21, title="Slow EMA Length", minval=1, group="EMA Crossover Settings")
signalEma = input.int(1, title="Signal EMA Length", minval=1, group="EMA Crossover Settings")
useEmaCrossFilter = input.bool(true, title="Use EMA Crossover Filter", group="EMA Crossover Settings")
// RSI Settings for Strong Signals
rsiLength = input.int(14, title="RSI Length", minval=1, group="RSI Settings")
strongBuyRsiThreshold = input.int(30, title="Strong Buy RSI <=", minval=0, maxval=50, group="RSI Settings")
strongSellRsiThreshold = input.int(65, title="Strong Sell RSI >=", minval=50, maxval=100, group="RSI Settings")
useRsiFilter = input.bool(true, title="Use RSI Filter for Strong Signals", group="RSI Settings")
// Display Options
showTrailingStop = input.bool(true, title="Show Trailing Stop", group="Display Options")
showEmaLines = input.bool(true, title="Show EMA Lines", group="Display Options")
showLabels = input.bool(true, title="Show Signal Labels", group="Display Options")
labelOffset = input.float(1.0, title="Label Offset Factor", minval=0.1, maxval=3.0, step=0.1, group="Display Options")
labelSize = input.string("Normal", title="Label Size", options= , group="Display Options")
// ==================== CALCULATIONS ====================
// Calculate RSI
rsiValue = ta.rsi(close, rsiLength)
// Calculate EMAs
fastEmaLine = ta.ema(close, fastEma)
slowEmaLine = ta.ema(close, slowEma)
signalLine = ta.ema(close, signalEma)
// EMA Crossover Signals
emaBullishCross = ta.crossover(fastEmaLine, slowEmaLine)
emaBearishCross = ta.crossunder(fastEmaLine, slowEmaLine)
// EMA Trend Direction
emaTrendBullish = fastEmaLine > slowEmaLine
emaTrendBearish = fastEmaLine < slowEmaLine
// ATR Trailing Stop Calculation
atrValue = ta.atr(atrPeriod)
var float trailingStop = na
nLoss = atrValue * sensitivity
h = math.max(high, close )
l = math.min(low, close )
if (na(trailingStop ))
trailingStop := 0.0
else if (close > trailingStop and close > trailingStop )
trailingStop := math.max(trailingStop , l - nLoss)
else if (close < trailingStop and close < trailingStop )
trailingStop := math.min(trailingStop , h + nLoss)
else if (close > trailingStop )
trailingStop := l - nLoss
else
trailingStop := h + nLoss
// Original UT Bot signals
signalEmaBuy = ta.crossover(signalLine, trailingStop)
signalEmaSell = ta.crossunder(signalLine, trailingStop)
// Price-based ATR signals
priceBuySignal = ta.crossover(close, trailingStop)
priceSellSignal = ta.crossunder(close, trailingStop)
// ==================== SIGNAL FILTERING ====================
// EMA Filter for ATR signals
atrBuyWithEmaFilter = priceBuySignal and (not useEmaFilter or emaTrendBullish)
atrSellWithEmaFilter = priceSellSignal and (not useEmaFilter or emaTrendBearish)
// RSI Conditions
rsiOversoldForStrong = rsiValue <= strongBuyRsiThreshold
rsiOverboughtForStrong = rsiValue >= strongSellRsiThreshold
// Combined signals (EMA crossover + ATR)
basicStrongBuy = signalEmaBuy and emaBullishCross
basicStrongSell = signalEmaSell and emaBearishCross
// RSI-Filtered Strong Signals
strongBuySignal = basicStrongBuy and (not useRsiFilter or rsiOversoldForStrong)
strongSellSignal = basicStrongSell and (not useRsiFilter or rsiOverboughtForStrong)
// Trend-confirmed signals
trendConfirmedBuy = signalEmaBuy and emaTrendBullish
trendConfirmedSell = signalEmaSell and emaTrendBearish
// Determine which signals to show (priority based)
showStrongBuy = strongBuySignal and showLabels
showStrongSell = strongSellSignal and showLabels
showBasicStrongBuy = basicStrongBuy and showLabels and not strongBuySignal
showBasicStrongSell = basicStrongSell and showLabels and not strongSellSignal
showTrendBuy = trendConfirmedBuy and showLabels and not strongBuySignal and not basicStrongBuy
showTrendSell = trendConfirmedSell and showLabels and not strongSellSignal and not basicStrongSell
showUtBuy = signalEmaBuy and showLabels and not strongBuySignal and not basicStrongBuy and not trendConfirmedBuy
showUtSell = signalEmaSell and showLabels and not strongSellSignal and not basicStrongSell and not trendConfirmedSell
// ==================== LABEL POSITION & STYLE ====================
// Get label size
getLabelSize() =>
if labelSize == "Small"
size.tiny
else if labelSize == "Large"
size.large
else
size.normal
// Calculate perfect position next to candles
getBuyLabelPosition() =>
// Position at the LOW of the candle with small offset
low - (atrValue * 0.1 * labelOffset)
getSellLabelPosition() =>
// Position at the HIGH of the candle with small offset
high + (atrValue * 0.1 * labelOffset)
// ==================== PLOTTING ====================
// Plot Trailing Stop
plotTrailingStop = showTrailingStop ? trailingStop : na
plot(plotTrailingStop, title="Trailing Stop",
color=signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.orange),
linewidth=2)
// Plot EMA Lines
plot(fastEmaLine, title="Fast EMA", color=color.blue, linewidth=2, display=showEmaLines ? display.all : display.none)
plot(slowEmaLine, title="Slow EMA", color=color.purple, linewidth=2, display=showEmaLines ? display.all : display.none)
plot(signalLine, title="Signal EMA", color=color.yellow, linewidth=1, display=showEmaLines ? display.all : display.none)
// ==================== PERFECTLY ALIGNED LABELS ====================
// STRONG BUY - Positioned exactly at candle low (Bright Pink)
if showStrongBuy
label.new(bar_index, getBuyLabelPosition(), "RSB",
color=color.rgb(255, 20, 147), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// STRONG SELL - Positioned exactly at candle high (Dark Pink)
if showStrongSell
label.new(bar_index, getSellLabelPosition(), "RRSS",
color=color.rgb(199, 21, 133), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// BASIC STRONG BUY
if showBasicStrongBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.blue, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// BASIC STRONG SELL
if showBasicStrongSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.orange, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// TREND CONFIRMED BUY
if showTrendBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.green, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// TREND CONFIRMED SELL
if showTrendSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.red, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// UT BOT BUY
if showUtBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.new(color.green, 70), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// UT BOT SELL
if showUtSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.new(color.red, 70), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// EMA CROSSOVER LABELS (VERY TINY arrows)
emaBuyPos = low - (atrValue * 0.3 * labelOffset)
emaSellPos = high + (atrValue * 0.3 * labelOffset)
if emaBullishCross and showLabels and not strongBuySignal and not basicStrongBuy and not trendConfirmedBuy
label.new(bar_index, emaBuyPos, "▲",
color=color.green, textcolor=color.white,
style=label.style_none, size=size.tiny,
yloc=yloc.price, textalign=text.align_center)
if emaBearishCross and showLabels and not strongSellSignal and not basicStrongSell and not trendConfirmedSell
label.new(bar_index, emaSellPos, "▼",
color=color.red, textcolor=color.white,
style=label.style_none, size=size.tiny,
yloc=yloc.price, textalign=text.align_center)
// ==================== SIGNAL TABLE ====================
if showTable
var table signalTable = table.new(position = position.top_right, columns = 3, rows = 6,
bgcolor = color.new(color.black, 80), border_width = 1,
border_color = color.white)
// Headers
table.cell(signalTable, 0, 0, "Signal", text_color = color.white, bgcolor = color.new(color.blue, 50))
table.cell(signalTable, 1, 0, "Type", text_color = color.white, bgcolor = color.new(color.blue, 50))
table.cell(signalTable, 2, 0, "Price/RSI", text_color = color.white, bgcolor = color.new(color.blue, 50))
// Current RSI
rsiFormatted = str.tostring(math.round(rsiValue, 1))
table.cell(signalTable, 0, 1, "RSI", text_color = color.white)
table.cell(signalTable, 1, 1, rsiFormatted,
text_color = rsiOverboughtForStrong ? color.red : (rsiOversoldForStrong ? color.rgb(255, 20, 147) : color.white))
table.cell(signalTable, 2, 1, "B≤" + str.tostring(strongBuyRsiThreshold) + " S≥" + str.tostring(strongSellRsiThreshold),
text_color = color.white)
// Strong Signal
var float lastStrongPrice = na
var string lastStrongType = ""
if strongBuySignal
lastStrongPrice := close
lastStrongType := "RSB (Strong)"
else if strongSellSignal
lastStrongPrice := close
lastStrongType := "RRSS (Strong)"
table.cell(signalTable, 0, 2, "Strong", text_color = color.white)
table.cell(signalTable, 1, 2, lastStrongType,
text_color = strongBuySignal ? color.rgb(255, 20, 147) : (strongSellSignal ? color.rgb(199, 21, 133) : color.gray))
table.cell(signalTable, 2, 2, lastStrongPrice > 0 ? str.tostring(lastStrongPrice, "#.##") : "—",
text_color = strongBuySignal ? color.rgb(255, 20, 147) : (strongSellSignal ? color.rgb(199, 21, 133) : color.gray))
// Basic Strong
var float lastBasicPrice = na
var string lastBasicType = ""
if basicStrongBuy
lastBasicPrice := close
lastBasicType := "B (Basic)"
else if basicStrongSell
lastBasicPrice := close
lastBasicType := "S (Basic)"
table.cell(signalTable, 0, 3, "Basic", text_color = color.white)
table.cell(signalTable, 1, 3, lastBasicType,
text_color = basicStrongBuy ? color.blue : (basicStrongSell ? color.orange : color.gray))
table.cell(signalTable, 2, 3, lastBasicPrice > 0 ? str.tostring(lastBasicPrice, "#.##") : "—",
text_color = basicStrongBuy ? color.blue : (basicStrongSell ? color.orange : color.gray))
// UT Bot Signal
var float lastUtPrice = na
var string lastUtType = ""
if signalEmaBuy
lastUtPrice := close
lastUtType := "B (UT)"
else if signalEmaSell
lastUtPrice := close
lastUtType := "S (UT)"
table.cell(signalTable, 0, 4, "UT Bot", text_color = color.white)
table.cell(signalTable, 1, 4, lastUtType,
text_color = signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.gray))
table.cell(signalTable, 2, 4, lastUtPrice > 0 ? str.tostring(lastUtPrice, "#.##") : "—",
text_color = signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.gray))
// Summary - Current Candle
table.cell(signalTable, 0, 5, "NOW", text_color = color.white, bgcolor = color.new(color.gray, 50))
var string currentSignal = "—"
var color currentColor = color.gray
if strongBuySignal
currentSignal := "RSB (Strong)"
currentColor := color.rgb(255, 20, 147)
else if strongSellSignal
currentSignal := "RRSS (Strong)"
currentColor := color.rgb(199, 21, 133)
else if basicStrongBuy
currentSignal := "B (Basic)"
currentColor := color.blue
else if basicStrongSell
currentSignal := "S (Basic)"
currentColor := color.orange
else if signalEmaBuy
currentSignal := "B (UT)"
currentColor := color.green
else if signalEmaSell
currentSignal := "S (UT)"
currentColor := color.red
else if emaBullishCross
currentSignal := "↑ EMA"
currentColor := color.green
else if emaBearishCross
currentSignal := "↓ EMA"
currentColor := color.red
table.cell(signalTable, 1, 5, currentSignal, text_color = currentColor, bgcolor = color.new(color.gray, 50))
table.cell(signalTable, 2, 5, str.tostring(close, "#.##"), text_color = color.white, bgcolor = color.new(color.gray, 50))
// ==================== ALERTS ====================
// Strong Signals with RSI Filter
alertcondition(strongBuySignal, title="STRONG Buy Signal",
message="STRONG BUY: UT Bot + EMA Crossover + RSI <= 30 at {{close}}")
alertcondition(strongSellSignal, title="STRONG Sell Signal",
message="STRONG SELL: UT Bot + EMA Crossover + RSI >= 65 at {{close}}")
// Basic Strong Signals
alertcondition(basicStrongBuy, title="Basic Strong Buy",
message="Basic STRONG BUY: UT Bot + EMA Crossover at {{close}}")
alertcondition(basicStrongSell, title="Basic Strong Sell",
message="Basic STRONG SELL: UT Bot + EMA Crossover at {{close}}")
// UT Buy Alert
utBuyAlert = input.bool(true, title="Enable UT Buy Alert", group="UT Bot Alerts")
utSellAlert = input.bool(true, title="Enable UT Sell Alert", group="UT Bot Alerts")
// UT Bot Buy Signals (filtered)
utBuySignal = signalEmaBuy and (not useEmaFilter or emaTrendBullish)
utSellSignal = signalEmaSell and (not useEmaFilter or emaTrendBearish)
// UT Bot Price-based Alerts
alertcondition(utBuyAlert and utBuySignal, title="UT Bot Buy",
message="UT BOT BUY: Signal EMA crossed above Trailing Stop at {{close}}")
alertcondition(utSellAlert and utSellSignal, title="UT Bot Sell",
message="UT BOT SELL: Signal EMA crossed below Trailing Stop at {{close}}")
// Price-based ATR Alerts
priceBuyAlert = input.bool(false, title="Enable Price Buy Alert", group="ATR Alerts")
priceSellAlert = input.bool(false, title="Enable Price Sell Alert", group="ATR Alerts")
// Price-based ATR Signals (filtered)
priceAtBuySignal = priceBuySignal and (not useEmaFilter or emaTrendBullish)
priceAtSellSignal = priceSellSignal and (not useEmaFilter or emaTrendBearish)
alertcondition(priceBuyAlert and priceAtBuySignal, title="ATR Price Buy",
message="ATR PRICE BUY: Price crossed above Trailing Stop at {{close}}")
alertcondition(priceSellAlert and priceAtSellSignal, title="ATR Price Sell",
message="ATR PRICE SELL: Price crossed below Trailing Stop at {{close}}")
// EMA Crossovers
alertcondition(emaBullishCross, title="EMA Bullish Crossover", message="Fast EMA crossed above Slow EMA")
alertcondition(emaBearishCross, title="EMA Bearish Crossover", message="Fast EMA crossed below Slow EMA")
AG_Holographic_ScreenerAn updated version of AG_power_screener;new holographic screener helps you to:
1)Get momentum,cumilative gain,RVOL,EMA,Volatility adjusted Dema,POC,Volatility adjusted channel values of different timeframes besides same values of benchmark symbol like BTC&indexes...
2)User friendly icons to esily identify changes,market directions related to values.
3)Special algorithmic calculations finally show you trade direction
4)Alert available version
Bot ATR + EMA world no 1 scalp//@version=6
// © 2024 UT Bot Trading System
// Protected script - Do not copy or redistribute
indicator(title="UT Bot ATR + EMA Cross", shorttitle="UTEMA Cross", overlay=true, max_labels_count=500)
// ==================== SECURITY & PROTECTION ====================
// Script protection - Prevent unauthorized copying
securityKey = "UTBotPro2024"
scriptVersion = "v2.1.3"
protectedScript = true
// Display warning message
if barstate.islast
var table warningTable = table.new(position = position.bottom_right, columns = 1, rows = 4,
bgcolor = color.new(color.black, 90), border_width = 2,
border_color = color.red)
table.cell(warningTable, 0, 0, "⚠️ PROTECTED SCRIPT",
text_color = color.yellow, bgcolor = color.new(color.red, 70))
table.cell(warningTable, 0, 1, "UT Bot Trading System",
text_color = color.white, bgcolor = color.new(color.black, 80))
table.cell(warningTable, 0, 2, "Version: " + scriptVersion,
text_color = color.white, bgcolor = color.new(color.black, 80))
table.cell(warningTable, 0, 3, "© 2024 All Rights Reserved",
text_color = color.white, bgcolor = color.new(color.black, 80))
// ==================== INPUTS ====================
// ATR Trailing Stop Inputs
atrPeriod = input.int(10, title="ATR Period", minval=1, group="ATR Settings")
sensitivity = input.float(1.0, title="Key Value Sensitivity", minval=0.1, step=0.1, group="ATR Settings")
useEmaFilter = input.bool(true, title="Use EMA Filter for ATR Signals", group="ATR Settings")
showTable = input.bool(true, title="Show Signal Table", group="ATR Settings")
// EMA Crossover Theory Inputs
fastEma = input.int(9, title="Fast EMA Length", minval=1, group="EMA Crossover Settings")
slowEma = input.int(21, title="Slow EMA Length", minval=1, group="EMA Crossover Settings")
signalEma = input.int(1, title="Signal EMA Length", minval=1, group="EMA Crossover Settings")
useEmaCrossFilter = input.bool(true, title="Use EMA Crossover Filter", group="EMA Crossover Settings")
// RSI Settings for Strong Signals
rsiLength = input.int(14, title="RSI Length", minval=1, group="RSI Settings")
strongBuyRsiThreshold = input.int(30, title="Strong Buy RSI <=", minval=0, maxval=50, group="RSI Settings")
strongSellRsiThreshold = input.int(65, title="Strong Sell RSI >=", minval=50, maxval=100, group="RSI Settings")
useRsiFilter = input.bool(true, title="Use RSI Filter for Strong Signals", group="RSI Settings")
// Display Options
showTrailingStop = input.bool(true, title="Show Trailing Stop", group="Display Options")
showEmaLines = input.bool(true, title="Show EMA Lines", group="Display Options")
showLabels = input.bool(true, title="Show Signal Labels", group="Display Options")
labelOffset = input.float(1.0, title="Label Offset Factor", minval=0.1, maxval=3.0, step=0.1, group="Display Options")
labelSize = input.string("Normal", title="Label Size", options= , group="Display Options")
// ==================== CALCULATIONS ====================
// Calculate RSI
rsiValue = ta.rsi(close, rsiLength)
// Calculate EMAs
fastEmaLine = ta.ema(close, fastEma)
slowEmaLine = ta.ema(close, slowEma)
signalLine = ta.ema(close, signalEma)
// EMA Crossover Signals
emaBullishCross = ta.crossover(fastEmaLine, slowEmaLine)
emaBearishCross = ta.crossunder(fastEmaLine, slowEmaLine)
// EMA Trend Direction
emaTrendBullish = fastEmaLine > slowEmaLine
emaTrendBearish = fastEmaLine < slowEmaLine
// ATR Trailing Stop Calculation
atrValue = ta.atr(atrPeriod)
var float trailingStop = na
nLoss = atrValue * sensitivity
h = math.max(high, close )
l = math.min(low, close )
if (na(trailingStop ))
trailingStop := 0.0
else if (close > trailingStop and close > trailingStop )
trailingStop := math.max(trailingStop , l - nLoss)
else if (close < trailingStop and close < trailingStop )
trailingStop := math.min(trailingStop , h + nLoss)
else if (close > trailingStop )
trailingStop := l - nLoss
else
trailingStop := h + nLoss
// Original UT Bot signals
signalEmaBuy = ta.crossover(signalLine, trailingStop)
signalEmaSell = ta.crossunder(signalLine, trailingStop)
// Price-based ATR signals
priceBuySignal = ta.crossover(close, trailingStop)
priceSellSignal = ta.crossunder(close, trailingStop)
// ==================== SIGNAL FILTERING ====================
// EMA Filter for ATR signals
atrBuyWithEmaFilter = priceBuySignal and (not useEmaFilter or emaTrendBullish)
atrSellWithEmaFilter = priceSellSignal and (not useEmaFilter or emaTrendBearish)
// RSI Conditions
rsiOversoldForStrong = rsiValue <= strongBuyRsiThreshold
rsiOverboughtForStrong = rsiValue >= strongSellRsiThreshold
// Combined signals (EMA crossover + ATR)
basicStrongBuy = signalEmaBuy and emaBullishCross
basicStrongSell = signalEmaSell and emaBearishCross
// RSI-Filtered Strong Signals
strongBuySignal = basicStrongBuy and (not useRsiFilter or rsiOversoldForStrong)
strongSellSignal = basicStrongSell and (not useRsiFilter or rsiOverboughtForStrong)
// Trend-confirmed signals
trendConfirmedBuy = signalEmaBuy and emaTrendBullish
trendConfirmedSell = signalEmaSell and emaTrendBearish
// Determine which signals to show (priority based)
showStrongBuy = strongBuySignal and showLabels
showStrongSell = strongSellSignal and showLabels
showBasicStrongBuy = basicStrongBuy and showLabels and not strongBuySignal
showBasicStrongSell = basicStrongSell and showLabels and not strongSellSignal
showTrendBuy = trendConfirmedBuy and showLabels and not strongBuySignal and not basicStrongBuy
showTrendSell = trendConfirmedSell and showLabels and not strongSellSignal and not basicStrongSell
showUtBuy = signalEmaBuy and showLabels and not strongBuySignal and not basicStrongBuy and not trendConfirmedBuy
showUtSell = signalEmaSell and showLabels and not strongSellSignal and not basicStrongSell and not trendConfirmedSell
// ==================== LABEL POSITION & STYLE ====================
// Get label size
getLabelSize() =>
if labelSize == "Small"
size.tiny
else if labelSize == "Large"
size.large
else
size.normal
// Calculate perfect position next to candles
getBuyLabelPosition() =>
// Position at the LOW of the candle with small offset
low - (atrValue * 0.1 * labelOffset)
getSellLabelPosition() =>
// Position at the HIGH of the candle with small offset
high + (atrValue * 0.1 * labelOffset)
// ==================== PLOTTING ====================
// Plot Trailing Stop
plotTrailingStop = showTrailingStop ? trailingStop : na
plot(plotTrailingStop, title="Trailing Stop",
color=signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.orange),
linewidth=2)
// Plot EMA Lines
plot(fastEmaLine, title="Fast EMA", color=color.blue, linewidth=2, display=showEmaLines ? display.all : display.none)
plot(slowEmaLine, title="Slow EMA", color=color.purple, linewidth=2, display=showEmaLines ? display.all : display.none)
plot(signalLine, title="Signal EMA", color=color.yellow, linewidth=1, display=showEmaLines ? display.all : display.none)
// ==================== PERFECTLY ALIGNED LABELS ====================
// STRONG BUY - Positioned exactly at candle low (Bright Pink)
if showStrongBuy
label.new(bar_index, getBuyLabelPosition(), "RSB",
color=color.rgb(255, 20, 147), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// STRONG SELL - Positioned exactly at candle high (Dark Pink)
if showStrongSell
label.new(bar_index, getSellLabelPosition(), "RRSS",
color=color.rgb(199, 21, 133), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// BASIC STRONG BUY
if showBasicStrongBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.blue, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// BASIC STRONG SELL
if showBasicStrongSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.orange, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// TREND CONFIRMED BUY
if showTrendBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.green, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// TREND CONFIRMED SELL
if showTrendSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.red, textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// UT BOT BUY
if showUtBuy
label.new(bar_index, getBuyLabelPosition(), "B",
color=color.new(color.green, 70), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// UT BOT SELL
if showUtSell
label.new(bar_index, getSellLabelPosition(), "S",
color=color.new(color.red, 70), textcolor=color.white,
style=label.style_label_center, size=getLabelSize(),
yloc=yloc.price, textalign=text.align_center)
// EMA CROSSOVER LABELS (VERY TINY arrows)
emaBuyPos = low - (atrValue * 0.3 * labelOffset)
emaSellPos = high + (atrValue * 0.3 * labelOffset)
if emaBullishCross and showLabels and not strongBuySignal and not basicStrongBuy and not trendConfirmedBuy
label.new(bar_index, emaBuyPos, "▲",
color=color.green, textcolor=color.white,
style=label.style_none, size=size.tiny,
yloc=yloc.price, textalign=text.align_center)
if emaBearishCross and showLabels and not strongSellSignal and not basicStrongSell and not trendConfirmedSell
label.new(bar_index, emaSellPos, "▼",
color=color.red, textcolor=color.white,
style=label.style_none, size=size.tiny,
yloc=yloc.price, textalign=text.align_center)
// ==================== SIGNAL TABLE ====================
if showTable
var table signalTable = table.new(position = position.top_right, columns = 3, rows = 6,
bgcolor = color.new(color.black, 80), border_width = 1,
border_color = color.white)
// Headers
table.cell(signalTable, 0, 0, "Signal", text_color = color.white, bgcolor = color.new(color.blue, 50))
table.cell(signalTable, 1, 0, "Type", text_color = color.white, bgcolor = color.new(color.blue, 50))
table.cell(signalTable, 2, 0, "Price/RSI", text_color = color.white, bgcolor = color.new(color.blue, 50))
// Current RSI
rsiFormatted = str.tostring(math.round(rsiValue, 1))
table.cell(signalTable, 0, 1, "RSI", text_color = color.white)
table.cell(signalTable, 1, 1, rsiFormatted,
text_color = rsiOverboughtForStrong ? color.red : (rsiOversoldForStrong ? color.rgb(255, 20, 147) : color.white))
table.cell(signalTable, 2, 1, "B≤" + str.tostring(strongBuyRsiThreshold) + " S≥" + str.tostring(strongSellRsiThreshold),
text_color = color.white)
// Strong Signal
var float lastStrongPrice = na
var string lastStrongType = ""
if strongBuySignal
lastStrongPrice := close
lastStrongType := "RSB (Strong)"
else if strongSellSignal
lastStrongPrice := close
lastStrongType := "RRSS (Strong)"
table.cell(signalTable, 0, 2, "Strong", text_color = color.white)
table.cell(signalTable, 1, 2, lastStrongType,
text_color = strongBuySignal ? color.rgb(255, 20, 147) : (strongSellSignal ? color.rgb(199, 21, 133) : color.gray))
table.cell(signalTable, 2, 2, lastStrongPrice > 0 ? str.tostring(lastStrongPrice, "#.##") : "—",
text_color = strongBuySignal ? color.rgb(255, 20, 147) : (strongSellSignal ? color.rgb(199, 21, 133) : color.gray))
// Basic Strong
var float lastBasicPrice = na
var string lastBasicType = ""
if basicStrongBuy
lastBasicPrice := close
lastBasicType := "B (Basic)"
else if basicStrongSell
lastBasicPrice := close
lastBasicType := "S (Basic)"
table.cell(signalTable, 0, 3, "Basic", text_color = color.white)
table.cell(signalTable, 1, 3, lastBasicType,
text_color = basicStrongBuy ? color.blue : (basicStrongSell ? color.orange : color.gray))
table.cell(signalTable, 2, 3, lastBasicPrice > 0 ? str.tostring(lastBasicPrice, "#.##") : "—",
text_color = basicStrongBuy ? color.blue : (basicStrongSell ? color.orange : color.gray))
// UT Bot Signal
var float lastUtPrice = na
var string lastUtType = ""
if signalEmaBuy
lastUtPrice := close
lastUtType := "B (UT)"
else if signalEmaSell
lastUtPrice := close
lastUtType := "S (UT)"
table.cell(signalTable, 0, 4, "UT Bot", text_color = color.white)
table.cell(signalTable, 1, 4, lastUtType,
text_color = signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.gray))
table.cell(signalTable, 2, 4, lastUtPrice > 0 ? str.tostring(lastUtPrice, "#.##") : "—",
text_color = signalEmaBuy ? color.green : (signalEmaSell ? color.red : color.gray))
// Summary - Current Candle
table.cell(signalTable, 0, 5, "NOW", text_color = color.white, bgcolor = color.new(color.gray, 50))
var string currentSignal = "—"
var color currentColor = color.gray
if strongBuySignal
currentSignal := "RSB (Strong)"
currentColor := color.rgb(255, 20, 147)
else if strongSellSignal
currentSignal := "RRSS (Strong)"
currentColor := color.rgb(199, 21, 133)
else if basicStrongBuy
currentSignal := "B (Basic)"
currentColor := color.blue
else if basicStrongSell
currentSignal := "S (Basic)"
currentColor := color.orange
else if signalEmaBuy
currentSignal := "B (UT)"
currentColor := color.green
else if signalEmaSell
currentSignal := "S (UT)"
currentColor := color.red
else if emaBullishCross
currentSignal := "↑ EMA"
currentColor := color.green
else if emaBearishCross
currentSignal := "↓ EMA"
currentColor := color.red
table.cell(signalTable, 1, 5, currentSignal, text_color = currentColor, bgcolor = color.new(color.gray, 50))
table.cell(signalTable, 2, 5, str.tostring(close, "#.##"), text_color = color.white, bgcolor = color.new(color.gray, 50))
// ==================== ALERTS ====================
// Strong Signals with RSI Filter
alertcondition(strongBuySignal, title="STRONG Buy Signal",
message="STRONG BUY: UT Bot + EMA Crossover + RSI <= 30 at {{close}}")
alertcondition(strongSellSignal, title="STRONG Sell Signal",
message="STRONG SELL: UT Bot + EMA Crossover + RSI >= 65 at {{close}}")
// Basic Strong Signals
alertcondition(basicStrongBuy, title="Basic Strong Buy",
message="Basic STRONG BUY: UT Bot + EMA Crossover at {{close}}")
alertcondition(basicStrongSell, title="Basic Strong Sell",
message="Basic STRONG SELL: UT Bot + EMA Crossover at {{close}}")
// UT Buy Alert
utBuyAlert = input.bool(true, title="Enable UT Buy Alert", group="UT Bot Alerts")
utSellAlert = input.bool(true, title="Enable UT Sell Alert", group="UT Bot Alerts")
// UT Bot Buy Signals (filtered)
utBuySignal = signalEmaBuy and (not useEmaFilter or emaTrendBullish)
utSellSignal = signalEmaSell and (not useEmaFilter or emaTrendBearish)
// UT Bot Price-based Alerts
alertcondition(utBuyAlert and utBuySignal, title="UT Bot Buy",
message="UT BOT BUY: Signal EMA crossed above Trailing Stop at {{close}}")
alertcondition(utSellAlert and utSellSignal, title="UT Bot Sell",
message="UT BOT SELL: Signal EMA crossed below Trailing Stop at {{close}}")
// Price-based ATR Alerts
priceBuyAlert = input.bool(false, title="Enable Price Buy Alert", group="ATR Alerts")
priceSellAlert = input.bool(false, title="Enable Price Sell Alert", group="ATR Alerts")
// Price-based ATR Signals (filtered)
priceAtBuySignal = priceBuySignal and (not useEmaFilter or emaTrendBullish)
priceAtSellSignal = priceSellSignal and (not useEmaFilter or emaTrendBearish)
alertcondition(priceBuyAlert and priceAtBuySignal, title="ATR Price Buy",
message="ATR PRICE BUY: Price crossed above Trailing Stop at {{close}}")
alertcondition(priceSellAlert and priceAtSellSignal, title="ATR Price Sell",
message="ATR PRICE SELL: Price crossed below Trailing Stop at {{close}}")
// EMA Crossovers
alertcondition(emaBullishCross, title="EMA Bullish Crossover", message="Fast EMA crossed above Slow EMA")
alertcondition(emaBearishCross, title="EMA Bearish Crossover", message="Fast EMA crossed below Slow EMA")
4H 15:00 Candle High/Low (Liquidity Box)15:00 high/low mark good for targeting highs or low of candle. Also reversals from the high or low
ATR Trailing Stop (Ultimate Portfolio)ATR Trailing Stop (Ultimate Portfolio)
This advanced risk management tool is based on the trading philosophy of Aksel Kibar, CMT (Tech Charts) , specifically designed to manage capital and protect profits through volatility-based trailing stops. Unlike standard indicators, this "Ultimate Portfolio" version acts as a comprehensive risk dashboard for up to 10 different assets simultaneously.
Key Features
• Global Portfolio Dashboard: Track the status of 10 different positions (Symbol, Side, Price, and PnL%) in a single table, regardless of which chart you are currently viewing.
• Hybrid Engine (Auto/Manual):
o Manual Mode: If the current chart matches a symbol in your portfolio list, the script uses your specific entry date and price to track the stop-loss.
o Auto Mode: If the symbol is not in your list, it functions as a trend-following indicator (similar to Supertrend) to identify general market direction.
• Close-Based Exit Logic: To avoid being "stop-hunted" by intraday wicks, the stop is only triggered if the candle closes beyond the trailing stop level.
• First-Day Custom Multiplier: A unique feature allowing for tighter risk on the breakout day ( 1 x ATR or 0.5 x ATR ) before switching to a wider multiplier for trend following.
• Dynamic PnL Tracker: Real-time calculation of your profit/loss percentage for each slot, which "freezes" once a stop is hit to record the final result.
Core Logic
The indicator utilizes the Average True Range (ATR) to measure market noise. The formula for the stop level typically follows:
• Long: {Stop Level} = {Highest Price} - (ATR x Multiplier)
• Short: {Stop Level} = {Lowest Price} + (ATR x Multiplier) .
How to Use
1. Input Your Trades: Enter your Symbol, Side (Long/Short), Entry Price, and Entry Date into any of the 10 available slots.
2. Monitor the Dashboard: Use the on-screen table to see which trades are active (RUN), waiting for entry (WAIT), or have hit their stop-loss (STOP).
3. Interact: Hover over the dashboard cells to see detailed tooltips including entry details and current stop levels.
This script transforms TradingView into a professional risk management terminal, ensuring that your exits are governed by volatility and discipline rather than emotion.
Linear Regression Channel + 50 EMApretty self explanatory just added an ema to a lin reg for total world domination
New! All Halvings + Forecast - 2036Updated 2026-02-07
Shows past and estimated Bitcoin halving dates with vertical lines and labels. Customize line style/colors, label size, and vertical offset.
Unkn0wn SignalsUnkn0wn Signals is a private, invite-only trading system designed exclusively for XAUUSD (Gold) traders.
It delivers clear BUY and SELL signals combined with an automatic Risk/Reward guide to help traders manage entries, targets, and stop losses with structure and consistency.
━━━━━━━━━━━━━━━━━━━━
✅ FEATURES
━━━━━━━━━━━━━━━━━━━━
✔ Buy & Sell Signals
✔ XAUUSD Only (Gold-Focused System)
✔ Auto Risk/Reward Guide Box (Dynamic Colors: Green if hit TP, Red if hit SL)
✔ Built-in Alert Notifications
✔ Works on All Timeframes
✔ HUD Display for the system's Entry, TP, SL
━━━━━━━━━━━━━━━━━━━━
🎯 DESIGNED FOR
━━━━━━━━━━━━━━━━━━━━
• Gold scalpers, day traders, and swing traders
• Traders who want simple, clean signals
• Traders who value structured risk management
• Beginners and advanced traders
━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━
This indicator is for educational purposes only.
Not financial advice. Trading involves risk.
Past performance does not guarantee future results.
IntraDayIndicatorNiftyOverview
The Nifty Breakout & Reversal Indicator is a price-action tool designed specifically for the 1-minute timeframe. It automates the visualization of a classic range-breakout strategy.
Key Features
Timeframe Locked: To ensure precision in calculation, the script only functions on the 1m chart.
Dynamic Visuals: Clearly plots Entry, Stop Loss, and Take Profit levels on the chart.
Alert Ready: Includes built-in alert conditions for Initial Entries, Reversals, and the 3:15 PM Exit.
Important Disclaimers
Educational Purposes Only This indicator is provided for educational and informational purposes only. It is intended to demonstrate coding logic and backtesting concepts. It does not constitute financial advice, investment recommendations, or a guarantee of profit. Trading involves significant risk, and users should perform their own due diligence or consult with a certified professional before making any financial decisions.
SEBI Disclosure & Compliance
I am not a SEBI (Securities and Exchange Board of India) Registered Investment Advisor or Research Analyst.
This script does not provide "buy" or "sell" tips. It is a mathematical visualization of a specific logic.
Past performance is not indicative of future results. The developer of this script is not responsible for any financial losses incurred through the use of this tool.
Options Strategy ChartsOptions Strategy Charts(Nifty) - Multi-Strategy Analysis Tool
Analyze NIFTY option strategies (Straddle, Strangle, Spreads, Iron Condor) with built-in technical indicators, real-time data table, and comprehensive alerts.
Overview
**Option Strategy Charts** is a comprehensive technical analysis tool designed specifically for traders working with NIFTY index options on NSE. This indicator transforms complex multi-leg option strategies into clean, chartable price series with built-in technical analysis tools.
What This Indicator Does
This indicator creates a **synthetic price chart** from your selected option strategy, allowing you to:
- Visualize option strategy performance as candlestick or line charts
- Apply technical analysis to option strategy price movements
- Monitor individual strike prices within complex strategies
- Receive real-time alerts on strategy signals
- Track key technical indicators in an organized data table
Supported Strategies
1. **Straddle** - Long ATM Call + Long ATM Put (volatility play)
2. **Strangle** - Long OTM Call + Long OTM Put (lower cost volatility)
3. **Call Spread** - Long Call + Short Call (bullish directional)
4. **Put Spread** - Long Put + Short Put (bearish directional)
5. **Iron Condor** - 4-leg range-bound strategy
6. **Iron Butterfly** - Tight range credit strategy
7. **Custom** - Build any 4-leg strategy with customizable quantities
Key Features
1. Strategy Price Chart
- **Candlestick or Line display** - Choose your preferred visualization
- **Real-time OHLC data** - Built from actual NSE option prices
- **Proper price scaling** - Shows actual ₹ premium values
- **Multiple chart modes** - Standard candle coloring or trend-based
2. Built-in Technical Indicators
**VWAP (Volume Weighted Average Price)**
- Customizable anchor periods: Session, Week, Month, Quarter, Year
- Source selection: Close, HL2, HLC3, OHLC4
- Standard deviation bands for volatility analysis
- Shaded band area for visual clarity
**Supertrend**
- ATR-based trend identification
- Adjustable period and multiplier
- Visual trend direction with color-coded lines
- Signal displayed in data table
**Moving Averages (Up to 3)**
- EMA or SMA selection for each
- Customizable periods (default: 9, 21, 50)
- Independent toggle for each MA
- Color customization via Style tab
3. Real-Time Data Table
The data table displays:
- **Strategy LTP** - Current combined premium value
- **Individual Strike Prices** - Shows each leg's current price
- **RSI** - Momentum indicator with color coding
- **ADX** - Trend strength measurement
- **+DI / -DI** - Directional movement indicators
- **ATR** - Volatility measurement
- **Supertrend Signal** - Current trend status (Bullish/Bearish)
Table customization:
- Position: Top-left, Top-right, Bottom-left, Bottom-right
- Font size: Tiny, Small, Normal, Large, Huge
- Color-coded values for quick interpretation
4. Comprehensive Alert System
**Available Alerts:**
1. **Supertrend Signals**
- Bullish: Trend changes to uptrend
- Bearish: Trend changes to downtrend
2. **RSI Extremes**
- Overbought: RSI crosses above 70
- Oversold: RSI crosses below 30
3. **Moving Average Crossovers**
- Bullish: MA1 crosses above MA2
- Bearish: MA1 crosses below MA2
4. **VWAP Crosses**
- Price above VWAP
- Price below VWAP
5. **ADX Trend Strength**
- Strong trend: ADX crosses above 25
- Weak trend: ADX crosses below 25
6. **Confluence Signals**
- Strong Buy: Supertrend bullish + RSI < 50
- Strong Sell: Supertrend bearish + RSI > 50
How to Use
Step 1: Configure Your Strategy
1. Set the **expiry date** (YY-MM-DD format)
2. Select your **strategy type**
3. Enter the **strike prices** for your chosen strategy
Step 2: Enable Indicators (Optional)
All indicators are **disabled by default**. Enable only what you need:
- Toggle VWAP, Supertrend, or Moving Averages in settings
- Customize parameters to match your trading style
- All indicator colors can be adjusted in the Style tab
Step 3: Configure Data Table
- Choose table position on chart
- Adjust font size for readability
- Set RSI, ADX, and ATR periods
Step 4: Set Up Alerts
- Click the Alert button (clock icon)
- Choose from available alert conditions
- Customize alert messages
- Set notification preferences
Trading Applications
**For Volatility Traders (Straddle/Strangle)**
- Monitor combined premium movement
- Use RSI to identify oversold entry points
- Track VWAP for mean reversion signals
- Set alerts on price breakouts
**For Directional Traders (Spreads)**
- Analyze spread value trends with Supertrend
- Use moving averages for trend confirmation
- Monitor ADX for trend strength
- Get alerted on MA crossovers
**For Range Traders (Iron Condor/Butterfly)**
- Watch premium decay with time-based analysis
- Use VWAP bands to stay within range
- Monitor RSI to avoid trending markets
- Alert on Supertrend changes (range breakdown)
**For Custom Strategies**
- Build ratio spreads (1:2, 1:3)
- Create unbalanced butterflies
- Test exotic combinations
- Track performance with standard indicators
Technical Specifications
- **Platform**: TradingView
- **Version**: Pine Script v6
- **Type**: Indicator (overlay=false)
- **Data Source**: NSE NIFTY Options (real-time request.security calls)
- **Update Frequency**: Real-time (based on TradingView data feed)
- **Maximum Legs**: 4 (2 Calls + 2 Puts in Custom mode)
### Important Notes
1. **Data Accuracy**: This indicator fetches real-time option prices from NSE via TradingView. Ensure your data subscription includes NSE options.
2. **Expiry Format**: Enter expiry as YY-MM-DD (e.g., "26-02-10" for 10th Feb 2026)
3. **Strike Availability**: Ensure the strikes you enter exist in NSE option chain. Invalid strikes will show no data.
4. **Analysis Only**: This is an analysis tool. Actual trade execution must be done through your broker.
5. **Performance**: The indicator makes multiple security calls (2-4 depending on strategy). Performance is optimized but may vary based on connection speed.
6. **Custom Strategy Quantities**:
- Positive values = Buy/Long position
- Negative values = Sell/Short position
- Zero = Don't use this leg
Best Practices
1. **Start Simple**: Begin with Straddle or Strangle before exploring complex strategies
2. **Enable Indicators Gradually**: Start with one indicator, understand its signals, then add more
3. **Backtest Your Setups**: Use TradingView's bar replay feature to test indicator combinations
4. **Combine Multiple Timeframes**: Use different timeframes to confirm signals
5. **Use Alerts Wisely**: Set alerts for key signals to avoid constant monitoring
6. **Monitor Individual Strikes**: Use the data table to see which leg is moving the most
7. **Adjust for Market Conditions**: Different indicators work better in trending vs ranging markets
Limitations
- Cannot execute trades directly (analysis tool only)
- Requires manual expiry date input
- Limited to NIFTY options (not BANKNIFTY or other instruments)
- Maximum 4 legs in Custom mode
- Dependent on TradingView's NSE data feed quality
Support & Updates
This indicator is actively maintained. Updates may include:
- Additional strategy types
- New technical indicators
- Enhanced alert conditions
- Performance optimizations
Disclaimer
This indicator is provided for **educational and analytical purposes only**. It is not financial advice. Users should:
- Conduct their own analysis before trading
- Understand the risks of options trading
- Use proper risk management
- Consult with a qualified financial advisor
- Paper trade before using real money
Options trading involves substantial risk and is not suitable for all investors. Past performance of any trading system or methodology is not indicative of future results.
MACD with Histogram Candle ColorSwadeshi means using goods made in our own country. Gandhi encouraged people to use Indian products and boycott foreign goods. This helped Indian industries and reduced dependence on the British.
The charkha (spinning wheel) became a symbol of self-reliance. Swadeshi taught people the dignity of labour and the importance of being independent.
Macro TimingDraws vertical yellow dotted lines on the 1-minute chart at specific New York (UTC-5) times: 09:50, 10:10, 10:50, 11:10, 11:50, and 12:10. Lines extend fully across the chart and are intended to highlight key macro timing events during the NY session.
Grob Nai-ya Mae-Pla Pak-ka khiaoGrop-Nai-Ya Mae-Pla Pak-Ka-Khiao
Called in Thai as Grob Nai-Ya used in XAU/USD Trading system named "Mae-Pla Pak-Ka-Khiao"
[YUTAS] AKIRA_RSI_RCI_MTFゆうたす作
AKIRA_RSI_RCI_MTF
概要
RSIとRCIを同時に表示し、トレンドと過熱感を1画面で確認できるMTF対応インジケーターです。
RCIは2セット(短期・中期・長期)を別タイムフレームで表示可能。RSIもMTFで表示できます。
RCIは0–100正規化が可能で、RSIと同じスケールに揃えて比較が簡単。
さらに上下限を超えたときの背景サイン・アラートも搭載しており、逆張り/順張りの切替にも対応。
主な機能
RSI 1本(MTF対応)
RCI 2セット(各3本:S/M/L、MTF対応)
RCIの0–100正規化ON/OFF
RSI/RCIの上下限レンジライン表示(破線)
上下限到達で背景色サイン(個別ON/OFF)
逆張り/順張りサイン切替
RSI/RCI各ラインのアラート条件
用途
トレンドの方向と勢いの確認
RSI/RCIの過熱・反転ポイントの把握
複数時間足のコンディション比較
アラートによる監視の自動化
Created by yutas
AKIRA_RSI_RCI_MTF
Overview
A multi‑timeframe RSI + RCI indicator that lets you read trend strength and market heat in one panel.
It displays one RSI and two RCI sets (short/mid/long) with independent MTF selection.
RCI can be normalized to 0–100 so it matches RSI’s scale, making comparisons easy.
It also supports upper/lower range lines, background signals, and alerts, with a toggle for contrarian vs trend‑following signals.
Key Features
RSI (MTF‑compatible)
Two RCI sets (S/M/L) with independent MTF
Optional RCI 0–100 normalization
Upper/lower range lines (dashed)
Background signals on threshold conditions (per line ON/OFF)
Contrarian / Trend‑following signal switch
Alert conditions for RSI and all RCI lines
Use Cases
Track trend direction and strength
Spot overbought/oversold conditions
Compare multiple timeframes at once
Automate monitoring via alerts
MTF Market Structure PRO (Internal+Swing, BOS/CHOCH)MTF Market Structure PRO (Internal+Swing, BOS/CHOCH)
Gann SQ9//@version=5
indicator("Gann Square of Nine HA Pivot Levels", overlay=true)
// ===== USER INPUT =====
haPivot = input.float(3339.33, "HA Pivot")
degreeStep = input.int(45, "Degree Step (Default 45°)")
// ===== CALCULATIONS =====
root = math.sqrt(haPivot)
step = degreeStep / 360.0
// Function to calculate level
gannLevel(multiplier) =>
math.pow(root + (step * multiplier), 2)
// R levels
R1 = gannLevel(1)
R2 = gannLevel(2)
R3 = gannLevel(3)
R4 = gannLevel(4)
R5 = gannLevel(5)
R6 = gannLevel(6)
R7 = gannLevel(7)
R8 = gannLevel(8)
R9 = gannLevel(9)
// S levels
S1 = math.pow(root - (step * 1), 2)
S2 = math.pow(root - (step * 2), 2)
S3 = math.pow(root - (step * 3), 2)
S4 = math.pow(root - (step * 4), 2)
S5 = math.pow(root - (step * 5), 2)
S6 = math.pow(root - (step * 6), 2)
S7 = math.pow(root - (step * 7), 2)
S8 = math.pow(root - (step * 8), 2)
S9 = math.pow(root - (step * 9), 2)
// ===== PLOTTING =====
plot(haPivot, "HA Pivot", color=color.yellow, linewidth=2)
plot(R1, "R1", color=color.green)
plot(R2, "R2", color=color.green)
plot(R3, "R3", color=color.green)
plot(R4, "R4", color=color.green)
plot(R5, "R5", color=color.green)
plot(R6, "R6", color=color.green)
plot(R7, "R7", color=color.green)
plot(R8, "R8", color=color.green)
plot(R9, "R9", color=color.green)
plot(S1, "S1", color=color.red)
plot(S2, "S2", color=color.red)
plot(S3, "S3", color=color.red)
plot(S4, "S4", color=color.red)
plot(S5, "S5", color=color.red)
plot(S6, "S6", color=color.red)
plot(S7, "S7", color=color.red)
plot(S8, "S8", color=color.red)
plot(S9, "S9", color=color.red)
// ===== LABELS (last bar only) =====
if bar_index == last_bar_index
label.new(bar_index, R9, "R9", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R8, "R8", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R7, "R7", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R6, "R6", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R5, "R5", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R4, "R4", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R3, "R3", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R2, "R2", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, R1, "R1", style=label.style_label_down, color=color.green, textcolor=color.white)
label.new(bar_index, S1, "S1", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S2, "S2", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S3, "S3", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S4, "S4", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S5, "S5", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S6, "S6", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S7, "S7", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S8, "S8", style=label.style_label_up, color=color.red, textcolor=color.white)
label.new(bar_index, S9, "S9", style=label.style_label_up, color=color.red, textcolor=color.white)
ComboPro with Multi-Timeframe RangeComboPro+Strategy with Multi-Timeframe Range - Complete Indicator Description
📌 ओवरव्यू (Overview)
यह एक comprehensive ट्रेडिंग इंडिकेटर है जो 7 अलग-अलग टूल्स को एक साथ combine करता है। यह multi-timeframe analysis, trend identification, support/resistance levels, और supply/demand zones को एक chart पर दिखाता है।
🎯 मुख्य फीचर्स (Key Features)
1. Multi-Timeframe Range (MTR) Boxes
क्या है: Higher timeframe (HTF) के bars को boxes के रूप में दिखाता है
कैलकुलेशन मोड:
High/Low Range (Default)
Open/Close Range
OHLC (High/Low + Open/Close दोनों)
True Range (ATR-based)
टाइमफ्रेम ऑप्शन्स:
Auto Timeframe: Chart TF के हिसाब से automatically select करता है
Manual Timeframe: अपनी choice का TF select करें
2. Cloud System (मेघ प्रणाली)
Dynamic Cloud: High और Low पर moving averages से बनता है
ATR Adjustment: ATR के हिसाब से cloud की width adjust होती है
बैकग्राउंड कलरिंग:
Price cloud के ऊपर → Bullish (हरा)
Price cloud के नीचे → Bearish (लाल)
Cloud के अंदर → Neutral (ग्रे)
3. Bollinger Bands
Standard Bollinger Bands with customizable settings
Basis line, upper/lower bands, और fill color
Volatility measurement के लिए useful
4. Triple Auto Round Number Levels
तीन लेवल्स में support/resistance lines:
Level 1: Small increments (e.g., 250 points)
Level 2: Medium increments (e.g., 500 points)
Level 3: Large increments (e.g., 1000 points)
Automatic adjustment based on current price
5. Madrid Moving Averages (6 MAs)
6 अलग-अलग moving averages:
EMA 20
EMA 30
EMA 40
EMA 50
EMA 100
SMA 200
हर MA के लिए अलग colors:
Rising → Green
Falling → Red
Flat → Purple/Other colors
6. Supply/Demand Zones
Supply Zones (Resistance): Cyan boxes
Demand Zones (Support): Blue boxes
Features:
Swing High/Low detection
BOS (Break of Structure) labels
POI (Point of Interest) marking
ZigZag lines for trend visualization
ITM/OTM options levels (NIFTY specific)
7. Trend Analysis Table
Real-time trend analysis of all 6 MAs
Market Condition identification:
STRONG BULL 📈 (सभी 6 MAs up)
BULLISH 🟢 (5 MAs up)
MILD BULL (4 MAs up)
NEUTRAL ⚖️ (3-3 MAs up-down)
MILD BEAR 🔴 (4 MAs down)
BEARISH (5 MAs down)
STRONG BEAR 📉 (सभी 6 MAs down)
⚙️ इनपुट सेटिंग्स (Input Settings)
1. Multi-Timeframe Range Settings
text
☑ Show Multi-Timeframe Range
☑ Auto Timeframe
Calculation Type: High/Low Range
☐ Use Heikin Ashi
☐ Use Daily-Based Values
Colors: Up/Down bars के colors customize करें
2. Cloud Settings
text
☑ Show Cloud
Cloud MA Length: 50
☑ Use EMA for Cloud
Cloud Transparency: 60%
☑ Use ATR to Adjust Cloud Bands
ATR Length: 14
ATR Multipliers: High-0.50, Low-0.50
3. Bollinger Bands Settings
text
☑ Show Bollinger Bands
Length: 20, Std Dev: 2.0
Colors customize करें
4. Round Number Levels
तीनों levels के लिए अलग-अलग settings:
Rounding Value (50, 100)
Line Amount (कितनी lines दिखाएं)
Colors और thickness
5. Moving Averages
हर MA के लिए अलग settings:
Type: EMA/SMA/SMMA
Length
Colors (Up/Down/Flat)
6. Supply/Demand Settings
text
Swing Length: 5
Box Width: 10.0
Round to Nearest: 50 (NIFTY के लिए)
Show ZigZag: ☑
Show Price Action Labels: ☑
ITM/OTM Distance: 300/600 points
7. Trend Table Settings
text
☑ Show Trend Analysis Table
Table Position: Top Right
📈 कैसे यूज़ करें (How to Use)
ट्रेंड आइडेंटिफिकेशन (Trend Identification)
Cloud के साथ:
Price cloud के ऊपर → Bullish
Price cloud के नीचे → Bearish
Cloud के अंदर → Range-bound
MAs के साथ:
Short-term MAs (5,10) long-term MAs (50,100,200) के ऊपर → Bullish
Trend Table देखें overall market condition के लिए
सपोर्ट/रेजिस्टेंस (Support/Resistance)
Round Number Levels: Psychological levels
Supply/Demand Zones: Institutional buying/selling areas
Bollinger Bands: Dynamic support/resistance
एंट्री/एग्जिट पॉइंट्स (Entry/Exit Points)
Cloud Breakouts:
Cloud के ऊपर breakout → Long entry
Cloud के नीचे breakdown → Short entry
BOS (Break of Structure):
Supply zone break → Bullish continuation
Demand zone break → Bearish continuation
MA Crossovers:
Fast MA crossing above slow MA → Bullish
Fast MA crossing below slow MA → Bearish
Multi-Timeframe Analysis
HTF Boxes देखें higher timeframe trend के लिए
Current TF price action compare करें HTF boxes से
Confluence ढूंढें multiple timeframes में
🎨 विजुअल फीचर्स (Visual Features)
कलर कोडिंग (Color Coding)
Green: Bullish/Buy signals
Red: Bearish/Sell signals
Blue/Cyan: Neutral/Support-Demand zones
Purple/Orange: MA lines और अन्य indicators
बॉक्सेस और लाइन्स (Boxes and Lines)
Solid Boxes: Supply/Demand zones
Dashed Lines: Round number levels
Transparent Boxes: HTF ranges
Colored Background: Cloud-based trend
लेबल्स और टेबल्स (Labels and Tables)
BOS Labels: Break of Structure points
POI Labels: Point of Interest
Trend Table: Complete MA analysis
Price Action Labels: HH, HL, LH, LL
⚡ परफॉर्मेंस टिप्स (Performance Tips)
सभी features एक साथ on न करें - जरूरत के हिसाब से select करें
Chart को clutter-free रखें - only essential indicators show करें
Timeframe selection: Higher TFs के लिए less aggressive settings use करें
Backtesting: Historical data पर test करें optimal settings find करने के लिए
📱 कम्पेटिबिलिटी (Compatibility)
Pine Script Version: v6
Markets: Stocks, Forex, Crypto, Commodities, Indices
Timeframes: All (seconds से monthly तक)
Brokers: TradingView supported सभी brokers
🚨 डिस्क्लेमर (Disclaimer)
यह indicator educational purposes के लिए है। Trading decisions लेने से पहले proper analysis करें और risk management follow करें। Past performance future results की guarantee नहीं है।
Institutional Aggregated Volume Proxy (BTC) + vpinDescription:
This indicator is a comprehensive suite for analyzing institutional market activity, designed to detect "smart money" flow, order flow toxicity, and hidden accumulation/distribution patterns. It aggregates data from multiple liquidity sources (Binance, CME, ETFs, Coinbase) to create a single composite "Institutional Pressure Index."
Key Features:
Composite Institutional Index: A weighted signal combining 5 layers of institutional activity:
OI Conviction: Aggregated Open Interest Delta from major exchanges (Binance, Bybit, OKX) weighted by price direction.
CME Flow: Institutional futures flow derived via Bulk Volume Classification (BVC), gated by daily OI changes.
Coinbase Premium: Detects US institutional spot buying pressure.
ETF Flow: Tracks creation/redemption pressure from US Spot ETFs (IBIT, FBTC, etc.) relative to NAV.
Funding Basis: Identifies crowded trades and potential contrarian reversals.
Real VPIN (Volume-Synchronized Probability of Informed Trading):
Implements a Volume-Clock simulation using 1-minute lower timeframe (LTF) data to fill dynamic volume buckets.
Measures Order Flow Toxicity: Differentiates between healthy liquidity provision (low VPIN) and aggressive, toxic informed trading (high VPIN).
Regime Detection: Classifies market states into "Passive Accumulation" (Healthy) vs. "Toxic Breakout" (Aggressive).
Aggregated Delta Bars: Visualizes the net buying/selling volume across Spot, Futures, and ETFs in a single histogram.
"Rabbit" Labels: Highlights bars where a specific institutional group (e.g., CME, ETFs) dominates the price action.
How to Use:
Green Line (Index): Rising index indicates net institutional buying.
VPIN Line (Purple):
Low (<50%): Healthy market, safe for trend following (Passive Accumulation).
High (>75%): Toxic flow, aggressive takers active. Expect volatility or reversals.
Divergences: Look for price making new highs while the Institutional Index makes lower highs (weakness).
Note: This script uses request.security_lower_tf and requires a higher plan for full historical resolution.
Russian (Русский)
Название: Institutional Aggregated Volume Proxy (BTC) + VPIN v5
Описание:
Этот индикатор представляет собой комплексный инструмент для анализа институциональной активности, разработанный для обнаружения потоков «умных денег», токсичности ордер-флоу и скрытых паттернов накопления/распределения. Он агрегирует данные из нескольких источников ликвидности (Binance, CME, ETF, Coinbase) в единый композитный «Индекс Институционального Давления».
Ключевые особенности:
Композитный Индекс: Взвешенный сигнал, объединяющий 5 слоев институциональной активности:
OI Conviction (Открытый Интерес): Агрегированная дельта OI с основных бирж (Binance, Bybit, OKX), взвешенная по направлению цены.
Поток CME: Поток фьючерсов, классифицированный через BVC (Bulk Volume Classification) и фильтруемый дневным изменением OI.
Coinbase Premium: Определяет давление спотовых покупок со стороны институционалов США.
Поток ETF: Отслеживает давление создания/погашения паев спотовых ETF США (IBIT, FBTC и др.) относительно NAV.
Фандинг и Базис: Определяет перегретые позиции и потенциальные развороты.
Real VPIN (Вероятность Информированной Торговли):
Реализует симуляцию «Объемных Баров» (Volume-Clock), используя минутные данные (LTF) для заполнения динамических корзин объема.
Измеряет Токсичность Потока (Toxicity): Различает здоровое предоставление ликвидности (низкий VPIN) и агрессивную инсайдерскую торговлю (высокий VPIN).
Определение Режимов: Классифицирует состояние рынка на «Пассивное Накопление» (Healthy) и «Токсичный Пробой» (Aggressive).
Агрегированная Дельта: Гистограмма, показывающая чистый объем покупок/продаж по Споту, Фьючерсам и ETF.
Метки "Rabbit" (Кролики): Подсвечивает бары, где определенная группа (например, CME или ETF) доминирует в движении цены.
Как использовать:
Зеленая линия (Индекс): Рост индекса указывает на чистые институциональные покупки.
Линия VPIN (Фиолетовая):
Низкий (<50%): Здоровый рынок, безопасно для трендовых стратегий (Пассивное накопление).
Высокий (>75%): Токсичный поток, работают агрессивные тейкеры. Ожидайте волатильность.
Дивергенции: Ищите моменты, когда цена делает новый максимум, а Индекс показывает более низкий максимум (слабость движения).
Примечание: Скрипт использует request.security_lower_tf и требует соответствующий тарифный план TradingView для отображения полной истории.






















