Strong Candle ReversalStrong Candle Reversal helps you identify strong candlestick reversal points based on:
✅ Key criteria for strong candle reversals:
Powerful candlestick patterns:
Engulfing
Hammer / Shooting Star
Unusually high volume
Optional confirmation using RSI reversal
Penunjuk dan strategi
Standard Deviation + Z-scoreThis indicator calculates the standard deviation of close prices over the last N periods, where N is a user-defined input. Three rays above and below the current price indicate three standard deviations. The summary in the top right corner shows the number of bars N, the mean value over the period, standard deviation as percentage and Z-score of the current price.
Pips per Candle - XAUUSD//@version=5
indicator("Pips per Candle - XAUUSD", overlay=true)
// Opsi tampilkan label di atas atau bawah
tampilkan_di_atas = input.bool(true, "Tampilkan di atas candle")
tampilkan_di_bawah = input.bool(true, "Tampilkan di bawah candle")
tampilkan_berdasarkan = input.string("High-Low", title="Hitung pips berdasarkan", options= )
// Hitung pip
perbedaan = tampilkan_berdasarkan == "High-Low" ? high - low : math.abs(close - open)
pip = perbedaan * 100 // 1 point = 100 pip untuk XAU
// Bersihkan label lama
var label labels = array.new_label()
if bar_index > 1
for i = 0 to array.size(labels) - 1
label.delete(array.get(labels, i))
array.clear(labels)
// Tampilkan label
if tampilkan_di_atas
array.push(labels, label.new(bar_index, high, text=str.tostring(pip, "#.0") + " pip", style=label.style_label_up, textcolor=color.white, size=size.small, color=color.orange))
if tampilkan_di_bawah
array.push(labels, label.new(bar_index, low, text=str.tostring(pip, "#.0") + " pip", style=label.style_label_down, textcolor=color.white, size=size.small, color=color.maroon))
TS Multi-Indicator Trend DetectorDeveloped by KP
This indicator provides a visually clean and reliable trend overlay by combining multiple high-confidence technical indicators into a single floating line above price action. It’s designed for traders who want trend clarity without chart clutter.
⸻
🔍 What It Does:
• Uses EMA (21), RSI, MACD, ADX, and Directional Movement (DI) indicators to evaluate the market trend
• Assigns a “Bullish” or “Bearish” score based on how many indicators confirm the trend
• Plots a floating colored trend line above the price candles to avoid visual interference
• 🟡 Yellow Line = Bullish Trend
• 🔵 Blue Line = Bearish Trend
• Built with multi-timeframe compatibility (works on 5m to weekly charts)
• Minimalist, no noise — no arrows, no labels, just clarity
⸻
⚙️ How It Works:
• Trend shifts when 3 or more out of 5 conditions are met:
• Price above/below 21 EMA
• RSI > 50 or < 50
• MACD crossover
• ADX strength confirmation
• Directional movement dominance (+DI vs -DI)
⸻
🧠 Why Use This?
Unlike traditional moving averages or lagging signals, this tool filters market noise using a multi-indicator consensus approach, then visualizes it as a non-intrusive floating trend line — helping you focus only on meaningful price action.
⸻
✅ Best For:
• Swing traders, intraday trend followers, and algo developers
• Clean-chart enthusiasts who value signal quality over quantity
DF: Psychological LevelsSimply lets you plot horizontal levels at a certain interval
example
22500
22400
22300
22200
22100
22000
Very simple
Unified Strategy
Traffic Light + Trend Trader
Description:
The Trend Trader strategy leverages the power of moving averages (MAs) and MACD to identify market trends and capitalize on momentum shifts. This indicator is ideal for traders seeking consistent signals for both entry and exit points, making it versatile across various markets, including stocks, forex, and commodities.
Key Features:
Dynamic Trend Detection:
Short and long-term moving averages (MAs) provide insights into the current market trend.
Crossovers between MAs signal potential buy or sell opportunities.
MACD Confirmation:
Combines MA crossovers with MACD for double confirmation of trend changes.
Color-coded background highlights bullish or bearish momentum during active trading sessions.
Session Customization:
Allows traders to focus on specific trading hours by customizing session times.
Ensures the strategy aligns with your preferred trading schedule.
Instrument-Specific Targeting:
Tailored targets for popular instruments like US30, NDX100, GER40, and GOLD.
Adaptable to different volatility profiles and market behaviors.
How to Use:
Buy Signal: When the short MA crosses above the long MA, confirmed by MACD trending upward.
Sell Signal: When the short MA crosses below the long MA, confirmed by MACD trending downward.
Background Colors: Green indicates bullish momentum; red highlights bearish momentum during the session.
Benefits:
Enhances trend-following strategies by reducing noise and false signals.
Suitable for both short-term scalping and long-term trend trading.
Highly customizable for different trading styles and instruments.
Tags:
Trend Trader, Moving Average Crossover, MACD, Forex, Stocks, Scalping, Swing Trading, Long, Short, TradingView Indicator.
Additional Instructions:
Ensure session times and target levels are tailored to your trading strategy.
DRT Entry Alert System - NQ Futures [Ultimate Edition]The DRT Entry Alert System – NQ Futures is a powerful institutional-grade tool designed for precision execution during the New York session on Nasdaq futures (NQ). Built on the Dealing Range Theory (DRT) framework, this script automates the key components of smart money logic:
✅ Dynamic Dealing Range Box (8:30 AM – 10:30 AM ET)
✅ Liquidity Grabs: Detects engineered stop hunts above/below the DR
✅ FVG Confirmation Zones: Validates displacement entries with real-time Fair Value Gaps
✅ SMT Divergence Filter (optional): Compares NQ vs. SPX or custom symbol for institutional divergence
✅ BUY/SELL Signals with Labels + Alerts
✅ Toggle Control Panel: Turn DR, FVGs, or alerts on/off with a click
This is the ultimate DRT entry tool for scalpers and intraday traders seeking sniper precision with real-time visual confirmations. Built for speed. Engineered for conviction.
High/LowPrevious Day High/Low & Weekly Open Indicator
A clean and simple indicator that displays key reference levels for intraday trading.
Features:
Previous day's high and low levels
Current week's opening price
Auto-hides levels once broken (prevents clutter)
Resets automatically at the start of each trading day
No repainting - uses proper security function calls
How it works:
The indicator plots yesterday's high/low as horizontal lines on your chart. When price breaks above the previous day's high, that level disappears. Same for the low. This keeps your chart clean and shows only unbroken levels.
Perfect for:
Day traders using previous day's range as reference
Breakout trading strategies
Support/resistance analysis
Clean chart setup without manual level drawing
The cyan lines show previous day's high/low, while the orange line displays the weekly open. All levels use non-repainting data for reliable backtesting.
Líneas Sutiles - Aperturas y Cierres (Londres & NY)//@version=6
indicator("Líneas Sutiles - Aperturas y Cierres (Londres & NY)", overlay=true)
// Función para verificar si el timestamp pertenece al día actual o al anterior
isTodayOrYesterday(ts) =>
tsYear = year(ts, "America/New_York")
tsMonth = month(ts, "America/New_York")
tsDay = dayofmonth(ts, "America/New_York")
today = dayofmonth(timenow, "America/New_York")
thisMonth = month(timenow, "America/New_York")
thisYear = year(timenow, "America/New_York")
tsYear == thisYear and tsMonth == thisMonth and (tsDay == today or tsDay == today - 1)
// Horarios clave (en horario de Nueva York)
londonOpen = timestamp("America/New_York", year, month, dayofmonth, 2, 0)
londonClose = timestamp("America/New_York", year, month, dayofmonth, 5, 0)
preNY = timestamp("America/New_York", year, month, dayofmonth, 7, 0)
nyOpen = timestamp("America/New_York", year, month, dayofmonth, 7, 0)
nyDayStart = timestamp("America/New_York", year, month, dayofmonth, 17, 0) // 🔶 NUEVA línea 5PM NY
// Dibujar líneas sutiles solo si son del día actual o anterior
if (isTodayOrYesterday(londonOpen) and time == londonOpen)
line.new(x1=londonOpen, y1=low, x2=londonOpen, y2=high, xloc=xloc.bar_time, extend=extend.both, style=line.style_dotted, color=color.new(color.blue, 45), width=1)
if (isTodayOrYesterday(londonClose) and time == londonClose)
line.new(x1=londonClose, y1=low, x2=londonClose, y2=high, xloc=xloc.bar_time, extend=extend.both, style=line.style_dotted, color=color.new(color.blue, 45), width=1)
if (isTodayOrYesterday(preNY) and time == preNY)
line.new(x1=preNY, y1=low, x2=preNY, y2=high, xloc=xloc.bar_time, extend=extend.both, style=line.style_dotted, color=color.new(color.orange, 45), width=1)
if (isTodayOrYesterday(nyOpen) and time == nyOpen)
line.new(x1=nyOpen, y1=low, x2=nyOpen, y2=high, xloc=xloc.bar_time, extend=extend.both, style=line.style_dotted, color=color.new(color.red, 45), width=1)
// 🔶 Línea amarilla a las 5PM NY (inicio del día operativo)
if (isTodayOrYesterday(nyDayStart) and time == nyDayStart)
line.new(x1=nyDayStart, y1=low, x2=nyDayStart, y2=high, xloc=xloc.bar_time, extend=extend.both, style=line.style_dotted, color=color.new(color.yellow, 25), width=1)
GMMA with Distance TableThis is a combination of
1. Moving averages 20, 50, 100 and 200.
2. Table showing-
-Distances of the CMP from these moving averages,
-Distance from 52 week high and recent swing high
-Monthly, weekly and annual returns.
🔥 Smart Money Entry Bot (ICT Style)//@version=5
indicator("🔥 Smart Money Entry Bot (ICT Style)", overlay=true)
// === INPUTS ===
liqLookback = input.int(15, title="Liquidity Lookback Period")
useEngulfing = input.bool(true, title="Use Engulfing Candle Confirmation")
useFVG = input.bool(false, title="Use FVG Confirmation (Experimental)")
sessionFilter = input.bool(true, title="Only Trade During London & NY Sessions")
stopLossPerc = input.float(0.5, title="Stop Loss (%)", step=0.1)
takeProfitPerc = input.float(1.5, title="Take Profit (%)", step=0.1)
// === TIME FILTER ===
inSession = not sessionFilter or (time(timeframe.period, "0930-1130") or time(timeframe.period, "0300-0600"))
// === LIQUIDITY SWEEP ===
highestHigh = ta.highest(high, liqLookback)
lowestLow = ta.lowest(low, liqLookback)
sweptHigh = high > highestHigh
sweptLow = low < lowestLow
// === ENGULFING ===
bullishEngulfing = close > open and open < close and close > open
bearishEngulfing = close < open and open > close and close < open
// === BOS Logic (Mock: strong move in opposite direction after sweep) ===
bosDown = sweptHigh and close < close
bosUp = sweptLow and close > close
// === Fair Value Gap (Experimental) ===
fvgBull = low > high and low > high
fvgBear = high < low and high < low
// === ENTRY CONDITIONS ===
longEntry = sweptLow and bosUp and inSession and (not useEngulfing or bullishEngulfing) and (not useFVG or fvgBull)
shortEntry = sweptHigh and bosDown and inSession and (not useEngulfing or bearishEngulfing) and (not useFVG or fvgBear)
// === PLOT SIGNALS ===
plotshape(longEntry, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(shortEntry, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// === ALERTS ===
alertcondition(longEntry, title="BUY Signal", message="BUY signal confirmed by Smart Money Bot")
alertcondition(shortEntry, title="SELL Signal", message="SELL signal confirmed by Smart Money Bot")
// === STOP LOSS / TAKE PROFIT LEVELS (Visual) ===
slLong = longEntry ? close * (1 - stopLossPerc / 100) : na
tpLong = longEntry ? close * (1 + takeProfitPerc / 100) : na
slShort = shortEntry ? close * (1 + stopLossPerc / 100) : na
tpShort = shortEntry ? close * (1 - takeProfitPerc / 100) : na
plot(slLong, color=color.red, style=plot.style_linebr, title="SL Long")
plot(tpLong, color=color.green, style=plot.style_linebr, title="TP Long")
plot(slShort, color=color.red, style=plot.style_linebr, title="SL Short")
plot(tpShort, color=color.green, style=plot.style_linebr, title="TP Short")
G-AreaKujyo original ver 2025
2025年最新版のインジケーター
各時間足の上昇下降トレンドをより可視性の高いものにしています
■緑のエリアは上昇傾向
■赤のエリアは下降傾向
・緑→赤
・赤→緑
に切り割るエリアは、非常に強い反発点
2025 Latest Version Indicator
This indicator provides enhanced visibility of uptrends and downtrends across multiple timeframes.
■ Green areas indicate an upward trend
■ Red areas indicate a downward trend
Transitions between colors:
Green → Red
Red → Green
These transition zones often mark strong reversal points.
SOT & SA Detector ProSOT & SA Detector Pro- Advanced Reversal Pattern Recognition
OVERVIEW
The SOT & SA Detector is an educational indicator designed to identify potential market reversal points through systematic analysis of candlestick patterns, volume confirmation, and price wave structures. SOT (Shorting of Thrust) signals suggest potential bearish reversals after upward price movements, while SA (Selling Accumulation) signals indicate possible bullish reversals following downward trends. This tool helps traders recognize key market transition points by combining multiple technical criteria for enhanced signal reliability.
═══════════════════════════════════════════════════════════════
HOW IT WORKS
Technical Methodology
The indicator employs a multi-factor analysis approach that evaluates:
Wave Structure Analysis: Identifies minimum 2-bar directional waves (upward for SOT, downward for SA)
Price Delta Validation: Ensures closing price changes remain within specified percentage thresholds (default 0.3%) best 0.1.
Candlestick Tail Analysis: Measures rejection wicks using configurable tail multipliers
Volume Confirmation: Requires increased volume compared to previous periods
Pattern Confirmation: Validates signals through subsequent price action
Signal Generation Process
Pattern Recognition: Scans for qualifying candlestick formations with appropriate tail characteristics
Volume Verification: Confirms patterns with volume expansion using adjustable multiplier
Price Confirmation: Validates signals when price breaks and closes beyond pattern extremes
Signal Display: Places labeled markers and draws horizontal reference levels
Mathematical Foundation
Delta calculation: math.abs(close - close ) / close <= deltaPercent / 100
Tail analysis: (high - close ) >= tailMultiplier * (close - low ) for SOT
Volume filter: volume >= volume * volumeFactor
═══════════════════════════════════════════════════════════════
KEY FEATURES
Dual Pattern Recognition: Identifies both bullish (SA) and bearish (SOT) reversal candidates
Volume Integration: Incorporates volume analysis for enhanced signal validation
Customizable Parameters: Adjustable wave length, delta percentage, tail multiplier, and volume factor
Visual Clarity: Color-coded bar highlighting, labeled signals, and horizontal reference levels
Time-Based Filtering: Configurable analysis period to focus on recent market activity
Non-Repainting Signals: Confirmed signals remain stable and do not change with new price data
Alert System: Built-in notifications for both initial signals and subsequent confirmations
═══════════════════════════════════════════════════════════════
HOW TO USE
Signal Interpretation
Red SOT Labels: Appear above potential bearish reversal candles with downward-pointing markers
Green SA Labels: Display below potential bullish reversal candles with upward-pointing markers
Horizontal Lines: Extend from signal levels to provide ongoing reference points
Bar Coloring: Highlights qualifying pattern candles for visual emphasis
Trading Application
This indicator serves as an educational tool for pattern recognition and should be used in conjunction with additional analysis methods. Consider SOT signals as potential areas of selling pressure following upward moves, while SA signals may indicate buying interest after downward price action.
Best Practices
Combine with trend analysis and support/resistance levels
Consider overall market context and timeframe alignment
Use proper risk management techniques
Validate signals with additional technical indicators
═══════════════════════════════════════════════════════════════
SETTINGS
Analysis Days (Default: 20)
Controls the lookback period for signal detection. Higher values extend historical analysis while lower values focus on recent activity.
Minimum Bars in Wave (Default: 2)
Sets the minimum consecutive bars required to establish directional wave patterns. Increase for stronger trend confirmation.
Max Close Change % (Default: 0.3) best 0.1.
Defines acceptable closing price variation between consecutive bars. Lower values require tighter price consolidation.
Tail Multiplier (Default: 1.0) best 1.5 or more.
Adjusts sensitivity for candlestick tail analysis. Higher values require more pronounced rejection wicks.
Volume Factor (Default: 1.0)
Sets volume expansion threshold compared to previous period. Values above 1.0 require volume increases.
═══════════════════════════════════════════════════════════════
LIMITATIONS
Market Conditions
May produce false signals in highly volatile or low-volume conditions
Effectiveness varies across different market environments and timeframes
Requires sufficient volume data for optimal performance
Signal Timing
Signals appear after pattern completion, not in real-time during formation
Confirmation signals depend on subsequent price action
Historical signals do not guarantee future market behavior
Technical Constraints
Limited to analyzing price and volume data only
Does not incorporate fundamental analysis or external market factors
Performance may vary significantly across different trading instruments
═══════════════════════════════════════════════════════════════
IMPORTANT DISCLAIMERS
This indicator is designed for educational purposes and technical analysis learning. It does not constitute financial advice, investment recommendations, or trading signals. Past performance does not guarantee future results. Trading involves substantial risk of loss, and this tool should be used alongside proper risk management techniques and additional analysis methods.
Always conduct thorough analysis using multiple indicators and consider market context before making trading decisions. The SOT & SA patterns represent potential reversal points but do not guarantee price direction changes.
═══════════════════════════════════════════════════════════════
Credits: Original concept and Pine Script implementation by Everyday_Trader_X
Version: Pine Script v6 compatible
Category: Technical Analysis / Reversal Detection
Overlay: Yes (displays on price chart)
Perfect Overextension ReversalHow It Works
Bollinger Band Overextension- We calculate a standard 20‑period Bollinger Band (SMA +/– 2 SD). When price tears past the upper or lower band, we mark it as overbought or oversold—a classic sign that momentum may have gone too far.
Volume Confirmation- We track a 20‑period volume average. A reversal candle only counts if it’s sizable (body ≥ ATR), and its volume is at least 1.5× the average. Big move, big volume—more reliable reversal setup.
Reversal Candle Entry• Long after an oversold condition and a bullish candle that meets the size + volume tests.• Short after overbought and a bearish candle with the same criteria.
How to Trade the Signal
My advice is don’t rush in immediately. Take the signals to mean more that price is slowing down from the crazy action, when it is volatile at the beginning price can whipsaw. Wait for initial volatility to calm down and then look for a confirmation entry. For example, wait for a fast MA to cross a slower MA before entering. Manage risk well and place your stop just beyond the recent swing high/low. Target a 1.5×–2× reward: risk or trail your profit once the market gives you a second confirmation or cover your stop loss once price is clear of your entry and let the trade run.
Timeframes & Markets- This works on any chart however as the signals are a rare occurrence so you will get more entries on the lower timeframes.
happy trading :)
EMA 65 and 200 Strategy (Updated)//@version=5
strategy("EMA 65 and 200 Strategy (Updated)", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Define EMAs
ema65 = ta.ema(close, 65)
ema200 = ta.ema(close, 200)
// Plot EMAs
plot(ema65, color=color.blue, linewidth=2, title="EMA 65")
plot(ema200, color=color.red, linewidth=2, title="EMA 200")
// Conditions for sell entry (Price touching EMA65 or EMA200 with a bearish trend)
sell_condition = (close < ema65 and close > ema65) or (close < ema200 and close > ema200)
sell_stop_loss = close + 20 // 20 points above the entry
sell_take_profit = close - 10 // 10 points below the entry
// Conditions for buy entry (Price touching EMA65 or EMA200 with a bullish trend)
buy_condition = (close > ema65 and close < ema65) or (close > ema200 and close < ema200)
buy_stop_loss = close - 20 // 20 points below the entry
buy_take_profit = close + 10 // 10 points above the entry
// Strategy execution: Buy and Sell orders
if (sell_condition)
strategy.entry("Sell", strategy.short, stop=sell_stop_loss, limit=sell_take_profit)
if (buy_condition)
strategy.entry("Buy", strategy.long, stop=buy_stop_loss, limit=buy_take_profit)
// Plot buy and sell signals
plotshape(series=sell_condition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")
plotshape(series=buy_condition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
// Draw stop loss and take profit levels for visualization
plot(sell_condition ? sell_stop_loss : na, color=color.red, style=plot.style_line, linewidth=1, title="Sell Stop Loss")
plot(sell_condition ? sell_take_profit : na, color=color.green, style=plot.style_line, linewidth=1, title="Sell Take Profit")
plot(buy_condition ? buy_stop_loss : na, color=color.red, style=plot.style_line, linewidth=1, title="Buy Stop Loss")
plot(buy_condition ? buy_take_profit : na, color=color.green, style=plot.style_line, linewidth=1, title="Buy Take Profit")
Adaptive RSI Oscillator📌 Adaptive RSI Oscillator
This indicator transforms the classic RSI into a fully adaptive, self-optimizing oscillator — normalized between -1 and 1, dynamically smoothed, and enhanced with divergence detection.
🔧 Key Features
Self-Optimizing RSI: Automatically selects the optimal RSI lookback length based on return stability (no hardcoded periods).
Dynamic Smoothing: Adapts to market conditions using a fraction of the optimized length.
Normalized Output : Converts traditional RSI to a consistent scale across all assets and timeframes.
Divergence Detection: Compares RSI behavior vs. price percentile ranks and scales the signal accordingly.
Gradient Visualization: Color-coded background and plot lines reflect the strength and direction of the signal with soft transitions.
Neutral Zone Adaptation: Dynamically widens or narrows the zone of inaction based on volatility, reducing noise.
🎯 Use Cases
Identify extreme momentum zones without relying on fixed 70/30 RSI levels
Detect divergences early with adaptive filtering
Highlight potential exhaustion or continuation
⚠️ Disclaimer: This indicator is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult a licensed financial advisor before making investment decisions. Use at your own risk.
Dao động [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
Cafe break: Hanoi
See you,
Pullback Historical DataIndicator Description: Dados-historico-Pullback
This indicator identifies pivot points (local support and resistance levels) on the chart based on a user-defined period. It calculates the difference between the last found resistance and support levels, displaying this current difference as well as its historical maximum and minimum values.
How to use:
Pivot Period:
Adjust the "Pivot Period" parameter to define how many bars before and after the indicator should look for a pivot point (high or low).
A higher value makes the pivot more conservative, finding stronger and more spaced pivots.
A lower value detects more frequent pivots, sensitive to quick market moves.
Label and Text Color:
You can customize the background color of the label and the text color for better visibility on the chart.
Label Size:
The indicator offers four label sizes:
XS (Extra Small): small label to save space.
S (Small): compact and readable size.
M (Medium): default size, a balance between readability and space.
L (Large): bigger label for more emphasis.
If you choose an invalid value, the default M (Medium) size will be used automatically.
Example to adjust the Pivot Period:
Setting the Pivot Period to 3 means the indicator will look for pivots within 3 bars before and after each point. This produces many pivots, including smaller ones and noise. It’s useful for fast trades or scalping.
Setting it to 10 means the indicator looks for pivots farther apart, producing fewer signals but more significant ones, suitable for more conservative analysis.
I recommend starting with a middle value like 5 and testing how the indicator behaves on your chart. Then adjust up or down depending on your trading style and timeframe.
HOG Trifecta HOG Trifecta
📊 Overview
HOG Trifecta is a real-time market monitor that blends three core elements of price action — trend, momentum, and volume positioning — into one clean directional output. Built for tactical traders, it cuts through the noise and highlights when the market is ready to move or stay neutral.
⚙️ How It Works
• Scores five key signals:
• EMA 9/21 crossover for directional trend
• RSI > 50 or < 50 for momentum bias
• MACD histogram for momentum expansion (WAE-style logic)
• Price relative to EMA 50 as a volume anchor
• ADX-powered trend strength confirmation
• Combines the signals into a score that determines a single bias:
BULLISH, NEUTRAL, or BEARISH
• Displays a floating, color-coded label above price for instant clarity
• Optional background shading tied to sentiment (toggleable)
🎯 Inputs
• Show Label — toggle the sentiment word on/off
• Show Background — toggle chart shading based on bias
✅ Benefits
• Monitors trend, momentum, and volume in real time
• Tells you when conditions align for directional setups
• Avoids false signals with NEUTRAL states
• Fully self-contained — no external dependencies
• Lightweight and fast for daily or intraday use
📈 Use Cases
• Entry confirmation in trend strategies
• Swing trade bias filter
• Anchor higher timeframe sentiment for lower timeframe entries
⚠️ Notes
• Score thresholds:
+2 or more → BULLISH
−2 or less → BEARISH
−1 to +1 → NEUTRAL
• Built using only standard Pine Script tools
ALETHES_LEGACY_Investments_LibLibrary "ALETHES_LEGACY_Investments_Lib"
f_getLimitRight(bars)
Parameters:
bars (int)
f_getLineStyle(lineStyleX)
Parameters:
lineStyleX (string)
f_getLineWidth(lineWidth)
Parameters:
lineWidth (string)
f_adjustLabel(labelText)
Parameters:
labelText (string)
f_levelMerge(pricearray, labelarray, currentprice, currentlabel, currentcolor)
Parameters:
pricearray (array)
labelarray (array)
currentprice (float)
currentlabel (label)
currentcolor (color)
f_plotLineAndLabel(startTime, lineLevel, lineColor, lineStyle, lineWidth, labelText, labelColor, labelOffset)
Parameters:
startTime (int)
lineLevel (float)
lineColor (color)
lineStyle (string)
lineWidth (string)
labelText (string)
labelColor (color)
labelOffset (int)
f_labelOnRight(plotSeries, labelText, labelStyle, labelColor, showLabel, labelOffset)
Parameters:
plotSeries (float)
labelText (string)
labelStyle (string)
labelColor (color)
showLabel (bool)
labelOffset (int)
f_getMovingAverage(maType, MaLength)
Parameters:
maType (string)
MaLength (simple int)
f_newBar(res)
Parameters:
res (simple string)
f_drawPivot(pivotLevel, res, pivotText, pivotColor, pivotLabelColor, pivotStyle, pivotWidth, pivotExtend, isLabelValid, isValidTf, levelStart, pivotLabelXOffset)
Parameters:
pivotLevel (float)
res (simple string)
pivotText (simple string)
pivotColor (simple color)
pivotLabelColor (simple color)
pivotStyle (simple string)
pivotWidth (simple int)
pivotExtend (simple string)
isLabelValid (simple bool)
isValidTf (simple bool)
levelStart (int)
pivotLabelXOffset (int)
f_avgRangeHiLo(length, barsBack, fromOpen)
Parameters:
length (simple int)
barsBack (simple int)
fromOpen (simple bool)
f_splitSessionString(sessXTime)
Parameters:
sessXTime (simple string)
f_calcSessionStartEnd(sessXTime, gmt)
Parameters:
sessXTime (simple string)
gmt (simple string)
f_drawOpenRange(sessXTime, sessXcol, showOrX, gmt)
Parameters:
sessXTime (simple string)
sessXcol (simple color)
showOrX (simple bool)
gmt (simple string)
f_drawSessionHiLo(sessXTime, showSession, showLabelX, sessXcolLabel, sessXLabel, gmt, sessionLineStyle, sessionLineWidth)
Parameters:
sessXTime (simple string)
showSession (simple bool)
showLabelX (simple bool)
sessXcolLabel (simple color)
sessXLabel (simple string)
gmt (simple string)
sessionLineStyle (simple string)
sessionLineWidth (simple string)
f_calcDst()
JEYOUNG MADE20일선 위로올라갈때 매수표시 20일선 아래로내려갈때 매도 표시 5일 20일 120일 200일선 포함됨
("Show a buy signal when the price moves above the 20-day moving average, and a sell signal when it falls below the 20-day moving average. Include the 5-day, 20-day, 120-day, and 200-day moving averages."
Let me know if you want this formatted for a trading script or chart annotation as well.)
Market Structure [TFO]📊 Market Structure — Pine Script Indicator
Author: © tradeforopp
License: Mozilla Public License 2.0
Platform: TradingView
Type: Market structure analyzer (BOS/MSS, swings, bar color)
🧠 What It Does:
This indicator automatically identifies market structure shifts (MSS) and breaks of structure (BOS) based on pivot highs and lows. It detects when price violates previous swing points and visually marks the shift between bullish and bearish phases.
🔍 Key Features:
Swing Detection:
Uses pivot_strength to determine significant swing highs and lows.
Swings are tracked using a custom swing structure with index and value.
MSS & BOS Logic:
A Market Structure Shift (MSS) occurs when price changes direction (e.g., bullish to bearish).
A Break of Structure (BOS) happens when the price breaks the previous swing without changing trend direction.
Visual Markers:
Labels on chart showing MSS or BOS at break levels.
Optional pivot markers as small triangle shapes at swing points.
Dashed/solid/dotted lines between the break point and current candle.
Bar Coloring:
Turns candles green for bullish breaks, red for bearish breaks.
Controlled via the “Show Bar Colors” setting.
Alerts:
Alert conditions for all MSS/BOS events.
Can be used for automation or signals in TradingView.
⚙️ User Inputs:
Pivot Strength – How many candles left/right to confirm a high/low.
Show Pivots – Enables small triangle markers.
Show BOS/MSS – Toggles structure break visuals and labels.
Line Style – Customizes BOS/MSS line appearance.
Bar Colors – Enables green/red candle coloring on structure changes.
🧩 Use Cases:
Track structural shifts in real time on any asset.
Build smart money concept (SMC) strategies.
Filter entries/exits based on trend changes.
Combine with liquidity or volume-based tools for confirmation.
Breakout & Pullback | Auto S&D + Telegram AlertsBreakout & Pullback | Auto S&D + Telegram Alerts Achraf