multi-tf standard devs [keypoems]Multi-Timeframe Standard Deviations Levels
A visual map of “how far is too far” across any three higher time-frames.
1. What it does
This script plots dynamic price “rails” built from standard deviation (StDev)—the same math that underpins the bell curve—on up to three higher-time-frames (HTFs) at once.
• It measures the volatility of intraday open-to-close increments, reaching back as far as 5000 bars (≈ 20 years on daily data).
• Each HTF can be extended to the next session or truncated at session close for tidy dashboards.
• Lines can be mirrored so you see symmetric positive/negative bands, and optional background fills shade the “probability cone.”
Because ≈ 68 % of moves live inside ±1 StDev, ≈ 95 % inside ±2, and ≈ 99.7 % inside ±3, the plot instantly shows when price is statistically stretched or compressed.
3. Key settings
Higher Time-Frame #1-3 Turn each HTF on/off, pick the interval (anything from 1 min to 1 year), and decide whether lines should extend into the next period.
Show levels for last X days Keep your chart clean by limiting how many historical sessions are displayed (1-50).
Based on last X periods Length of the StDev sample. Long look-backs (e.g. 5 000) iron-out day-to-day noise; short look-backs make the bands flex with recent volatility.
Fib Settings Toggle each multiple, line thickness/style/colour, label size, whether to print the numeric level, the live price, the HTF label, and whether to tint the background (choose your own opacity).
4. Under-the-hood notes
StDev is calculated on (close – open) / open rather than absolute prices, making the band width scale-agnostic.
Watch for tests of ±1:
Momentum traders ride the breakout with a target at the next band.
Mean-reversion traders wait for the first stall candle and trade back to zero line or VWAP.
Bottom line: Multi-Timeframe Standard-Deviations turns raw volatility math into an intuitive “price terrain map,” helping you instantly judge whether a move is ordinary, stretched, or extreme—across the time-frames that matter to you.
Original code by fadizeidan and stats by NQStats's ProbableChris.
Candlestick analysis
Swing High/Low by %REnglish Description
Swing High/Low by %R
This indicator identifies potential swing high and swing low points by combining William %R overbought/oversold turning points with classic swing price structures.
Swing High: Detected when William %R turns down from overbought territory and the price forms a local high (higher than both neighboring bars).
Swing Low: Detected when William %R turns up from oversold territory and the price forms a local low (lower than both neighboring bars).
This tool is designed to help traders spot possible market reversals and better time their entries and exits.
Customizable parameters:
Williams %R period
Overbought & Oversold thresholds
The indicator plots clear signals above/below price bars for easy visualization.
For educational purposes. Please use with proper risk management!
คำอธิบายภาษาไทย
Swing High/Low by %R
อินดิเคเตอร์นี้ใช้ระบุจุด Swing High และ Swing Low ที่มีโอกาสเป็นจุดกลับตัวของตลาด โดยอาศัยสัญญาณจาก William %R ที่พลิกกลับตัวบริเวณ overbought/oversold ร่วมกับโครงสร้างราคาแบบ swing
Swing High: เกิดเมื่อ William %R พลิกกลับลงจากเขต Overbought และราคาแท่งกลางสูงกว่าทั้งสองแท่งข้างเคียง
Swing Low: เกิดเมื่อ William %R พลิกกลับขึ้นจากเขต Oversold และราคาแท่งกลางต่ำกว่าทั้งสองแท่งข้างเคียง
ช่วยให้เทรดเดอร์สามารถมองเห็นโอกาสในการกลับตัวของราคา และใช้ประกอบการวางแผนจังหวะเข้าหรือออกจากตลาดได้อย่างแม่นยำมากขึ้น
ตั้งค่าได้:
ระยะเวลา Williams %R
ค่าขอบเขต Overbought & Oversold
อินดิเคเตอร์จะแสดงสัญลักษณ์อย่างชัดเจนบนกราฟเพื่อความสะดวกในการใช้งาน
ควรใช้ร่วมกับการบริหารความเสี่ยง
SCCThis script combines Trendlines, Vector Candles and EMAs with specific alerts for when Vectors and the 50EMA cross.
Scalping RSI 1 Min con TP/SL y Salidasescalping con temporalidad de 1 minuto creada por Mr everything
Inside 4+ Candles Box (Entry + Target + SMA Stop Logic)🔍 What This Script Does
This indicator detects price compression areas using 4 or more consecutive inside candles, then draws a breakout box to visually highlight the range.
Once price closes above the box, a long entry marker is plotted, along with:
🎯 Target line at 1x box size above the breakout.
❌ Stop-loss at the box low or at a dynamic SMA-based level if the box is too large.
🧠 Why It’s Unique
This script combines inside bar compression, breakout logic, risk control, and visual clarity — all in one tool.
It also cancels the setup entirely if price closes below the box low before breakout, avoiding late or false entries.
⚙️ Customizable Settings
Minimum inside candles (default = 4)
SMA length (used as stop if box is large)
Box size % threshold to activate smart stop
Entry, Target, and Stop marker colors
📌 Notes
For long setups only (no short signals).
Use on any asset or timeframe (ideal on 4H/1D).
This is not financial advice. Use with proper risk management.
Backtest thoroughly before live use.
Built with ❤️ by using Pine Script v6.
🇸🇦 وصف مختصر باللغة العربية:
هذا المؤشر يكتشف مناطق تماسك السعر من خلال 4 شموع داخلية أو أكثر، ثم يرسم مربعًا يحدد منطقة الاختراق المحتملة.
عند الإغلاق أعلى المربع، يتم عرض إشارة دخول وسطر هدف بنسبة 100% من حجم المربع.
كما يتم احتساب وقف الخسارة تلقائيًا إما عند قاع المربع أو عند متوسط متحرك ذكي (SMA) إذا كان حجم المربع كبيرًا.
الميزة الإضافية: إذا تم كسر قاع المربع قبل الاختراق، يتم إلغاء الصفقة تلقائيًا لتجنب الدخول المتأخر.
🧪 للاستفادة التعليمية والتحليل فقط. لا يُعتبر توصية مالية.
Scalping RSI Mejorado (1m y 5m con ATR y EMA)Actualizacion de Indicador de compra y Venta Con temporalidad De 1min & 5Min
-Julio- Mr Everything
Sniper SweepsPurpose
Detect when price sweeps above recent highs (buy-side liquidity) or below recent lows (sell-side liquidity), but closes back inside the range. This is often interpreted as a stop-hunt or liquidity grab by institutional traders.
Core Concepts
Liquidity Sweep: When price briefly breaks a recent swing high/low (potentially triggering stop losses), but then closes back within the previous range.
Buy-side Sweep: Price breaks a previous high, but closes below it.
Sell-side Sweep: Price breaks a previous low, but closes above it.
Summary
This indicator is useful for:
Identifying potential stop-hunts or liquidity grabs.
Recognizing SMC trade setups around swept highs/lows.
Getting alerted when significant liquidity levels are manipulated.
SMA Strategy with Re-Entry Signal (v6 Style)tradingview 指標
//@version=5
indicator("SMA Strategy with Re-Entry Signal (v6 Style)", overlay=true)
// === 可調參數 === //
smaPeriod10 = 10
smaPeriod20 = 20
smaPeriod30 = 30
smaPeriod60 = 60
smaPeriod250 = 250
// === 計算 SMA === //
sma10 = ta.sma(close, smaPeriod10)
sma20 = ta.sma(close, smaPeriod20)
sma30 = ta.sma(close, smaPeriod30)
sma60 = ta.sma(close, smaPeriod60)
sma250 = ta.sma(close, smaPeriod250)
// === 趨勢判斷 === //
isUptrend = close > sma30
// === 加倉訊號邏輯 === //
reentrySignal = isUptrend and ta.crossover(close, sma20)
// === 背景顏色提示 === //
bgColor = isUptrend ? color.new(color.green, 90) :
close < sma30 ? color.new(color.red, 90) : na
bgcolor(bgColor)
// === 畫出加倉符號(↑) === //
plotshape(reentrySignal, title="Re-entry Signal", location=location.belowbar,
color=color.lime, style=shape.labelup, text="↑", textcolor=color.black)
// === 繪製 SMA 線 === //
plot(sma10, color=color.blue, title="SMA 10")
plot(sma20, color=color.orange, title="SMA 20")
plot(sma30, color=color.purple, title="SMA 30")
plot(sma60, color=color.teal, title="SMA 60")
plot(sma250, color=color.gray, title="SMA 250")
WESTER 9.0Best Version to date (5/2025)
Homemade indicator that tracks price action the way I see it.
When price is in the “zone” look for continuation in that zone.
Color Crosses lead to same color diamonds.
Bars are colored to indicate zone.
GLTA
Reversal Momentum Bot FIXED - 10% Equitythe one its a reversal trend indicator best on 30 mins has a trailing stop uses yesterdays high low for liquidity
OB🚀 NEW TradingView Indicator – Order Blocks! 📊
Tired of messy charts full of clutter?
Meet the indicator that does the heavy lifting:
🔹 Automatically marks all Order Blocks (OB)
🔹 Auto-deletes them once they’re broken (when price closes beyond the high/low)
🔹 Keeps your chart clean, clear, and focused
🔹 Works on all timeframes
🔹 Fully customizable to match your trading style
Breakout Liquidez + Volume + Candle ForçaThe day trading strategy is primarily based on the concept of liquidity breakout with flow confirmation, which is a widely used approach by institutional traders, prop traders, and automated algorithms in the financial market. The focus is on identifying points on the chart where there is a concentration of orders—called liquidity zones—which generally correspond to previous highs and lows, relevant levels such as VWAP, and structures like order blocks.
The trader waits for the breakout of these liquidity zones, that is, when the price surpasses these important levels, signaling a possible continuation of the movement. However, a simple breakout is not enough for entry, as it can generate many false signals. Therefore, confirmation of the strength of the movement is done through traded volume, looking for volume above average or a positive delta (more buying than selling), which indicates that institutional participants are effectively supporting the move.
After volume confirmation, the strategy provides for entry into the trade, which can be immediate or after a retest of the broken level, serving as an additional validation of the breakout's strength. The stop loss is always placed close to the entry point, generally below the broken zone in case of a buy, or above it in case of a sell, to limit losses and protect capital. The trade target is defined based on a minimum risk-reward ratio of 1:2 or higher, aiming for the expected profit to be at least twice the assumed risk.
To improve accuracy, the strategy may incorporate additional filters, such as analyzing the medium-term trend (for example, a 200-period exponential moving average), to preferably trade in the direction of the dominant trend, reducing exposure to counter-trend moves which tend to have a higher chance of failure. It is also possible to adjust volume criteria, requiring the confirmation candle's volume to be significantly higher than average to reinforce the validity of the signal.
Additionally, the use of complementary indicators such as strength candles (engulfing, marubozu) and fair value gaps helps to identify points where the market may be absorbing opposing orders or where there is an imbalance between supply and demand, enhancing entry and exit points.
Overall, this strategy focuses on trading assets with good liquidity and works across various markets such as mini index and dollar contracts, liquid stocks, and even cryptocurrencies. It favors a visual and statistical approach based on the real behavior of major market players, and is easily automatable on platforms like TradingView, allowing the generation of alerts, entry and exit arrows, and automatic calculation of stop loss and targets.
In short, the strategy aims to maximize the profit factor by combining careful and confirmed entries, strict risk management, and preferential trading in the direction of the trend, seeking a balance between a high win rate and protection against excessive losses.
NOTE: Use this strategy on the WDO asset with a 1-minute timeframe and on WIN with a 2-minute timeframe.
FVG DetectorFAIR VALUE GAP (IMBALANCE)
A convenient tool for automatically displaying imbalances on the current timeframe, and if necessary, you can display imbalances of a higher timeframe on the current chart. It has a wide and flexible system of settings. It displays not only the imbalance zone, but also the center of the imbalance, which is quite convenient
Basic settings:
Minimum FVG size in % - Minimum imbalance size to display
Percentage of filling FVG - For how many percent the imbalance must be covered for it to be considered invalid.
Show FVG - The number of imbalances that will be displayed on the chart
Show FVG middle line - Shows the middle of the imbalance
Filling 50% FVG - When the imbalance is filled by 50%, the midpoint of the imbalance changes
When Candle Close - The indicator performs calculations only when a candle closes and a new one begins. Prevents additional load on the system
FVG Length - Number of candles for how long the imbalance will be extended (used for older TFs). If set to 0, the zone will be stretched to the end of the chart
History - Displays all imbalances in history
PineScreener mode
Candle number - When PineScreener mode is activated, the data of the specified candle will be displayed. If you need to analyze yesterday, then set to 1 and the data will be shown for yesterday.
The PineScreener table displays the following data:
LSize - LongSize, the size of the imbalance in percentage
LBegin - LongBegin, displays the distance to the begin imbalance in percentage
LMiddle - LongMiddle, displays the distance to the middle imbalance in percentage
LEnd - LongEnd, displays the distance to the end imbalance in percentage
SSize - ShortSize, the size of the imbalance in percentage
SBegin - ShortBegin, displays the distance to the begin imbalance in percentage
SMiddle - ShortMiddle, displays the distance to the middle imbalance in percentage
SEnd - ShortEnd, displays the distance to the end imbalance in percentage
LHB - Long Hit Begin of imbalance
LHM - Long Hit Middle of imbalance
LHE - Long Hit End of imbalance
SHB - Short Hit Begin of imbalance
SHM - Short Hit Middle of imbalance
SHE - Short Hit End of imbalance
If you have any suggestions on how to improve the indicator, please write
EMA 250/500 Color ChangeMake a pine script that ema 250, 500 goes up, color change green, goes down, color change red
GCM Centre Line Candle MarkerGCM Centre Line Candle Marker (GCM-CLCM) - Descriptive Notes
Indicator Overview:
The "GCM Centre Line Candle Marker" is a versatile TradingView overlay indicator designed to enhance chart analysis by drawing short horizontal lines at user-defined "centre" points of candles. These lines provide a quick visual reference to key price levels within each candle, such as midpoints, open, close, or typical prices. The indicator offers extensive customization for line appearance, positioning, and conditional display, including an option to highlight only bullish engulfing patterns.
Key Features:
1. Customizable Line Position:
o Users can choose from various methods to calculate the "centre" price for the line:
(High + Low) / 2 (Default)
(Open + Close) / 2
Close
Open
(Open + High + Low + Close) / 4 (HLCO/4)
(Open + High + Close) / 3 (Typical Price HLC/3 variation)
(Open + Close + Low) / 3 (Typical Price OCL/3 variation)
2. Line Appearance Customization:
o Visibility: Toggle lines on/off.
o Style: Solid, dotted, or dashed lines.
o Width: Adjustable line thickness (1 to 5).
o Length: Defines how many candles forward the line extends (1 to 10).
o Color: Lines are colored based on candle type (bullish/bearish), with user-selectable base colors.
o Dynamic Opacity: Line opacity is dynamically adjusted based on the candle's size relative to recent candles. Larger candles produce more opaque lines (up to the user-defined maximum opacity), while smaller candles result in more transparent lines. This helps significant candles stand out.
3. Price Labels:
o Show Labels: Option to display price labels at the end of each center line.
o Label Background Color: Customizable.
o Dynamic Text Color: Label text color can change based on the movement of the center price:
Green: Current center price is higher than the previous.
Red: Current center price is lower than the previous.
Gray: No change or first label.
o Static Text Color: Alternatively, a fixed color can be used for all labels.
4. Conditional Drawing - Bullish Engulfing Filter:
o Users can enable an option to Only Show Bullish Engulfing Candles. When active, center lines will only be drawn for candles that meet bullish engulfing criteria (current bull candle's body engulfs the previous bear candle's body).
5. Performance Management:
o Max Lines to Show: Limits the number of historical lines displayed on the chart to maintain clarity and performance. Older lines are automatically removed as new ones are drawn.
6. Alert Condition:
o Includes a built-in alert: Big Bullish Candle. This alert triggers when a bullish candle's range (high - low) is greater than the 20-period simple moving average (SMA) of candle ranges.
How It Works:
• For each new candle, the script calculates the "center" price based on the user's Line Position selection.
• If showLines is enabled and (if applicable) the bullish engulfing condition is met, a new line is drawn from the current candle's bar_index at the calculated _center price, extending lineLength candles forward.
• The line's color is determined by whether the candle is bullish (close > open) or bearish (close < open).
• Opacity is calculated dynamically: scaledOpacity = int((100 - maxUserOpacity) * (1 - dynamicFactor) + maxUserOpacity), where dynamicFactor is candleSize / maxSize (current candle size relative to the max size in the last 20 candles). This means maxUserOpacity is the least transparent the line will be (for the largest candles), and smaller candles will have lines approaching full transparency.
• Optional price labels are added at the end of these lines.
• The script manages an array of drawn lines, removing the oldest ones if the maxLines limit is exceeded.
Potential Use Cases:
• Visualizing Intra-Candle Levels: Quickly see midpoints or other key price points without manual drawing.
• Short-Term Reference Points: The extended lines can act as very short-term dynamic support/resistance or points of interest.
• Pattern Recognition: Highlight bullish engulfing patterns or simply emphasize candles based on their calculated center.
• Volatility Indication: The dynamic opacity can subtly indicate periods of larger or smaller candle ranges.
• Confirmation Tool: Use in conjunction with other indicators or trading strategies.
User Input Groups:
• Line Settings: Controls all aspects of the line's appearance and calculation.
• Label Settings: Manages the display and appearance of price labels.
• Other Settings: Contains options for line management and conditional filtering (like Bullish Engulfing).
This indicator provides a clean and customizable way to mark significant price levels within candles, aiding traders in their technical analysis.
FVG (Nephew sam remake)Hello i am making my own FVG script inspired by Nephew Sam as his fvg code is not open source. My goal is to replicate his Script and then add in alerts and more functions. Thus, i spent few days trying to code. There is bugs such as lower time frame not showing higher time frame FVG.
This script automatically detects and visualizes Fair Value Gaps (FVGs) — imbalances between demand and supply — across multiple timeframes (15-minute, 1-hour, and 4-hour).
15m chart shows:
15m FVGs (green/red boxes)
1H FVGs (lime/maroon)
4H FVGs (faded green/red with borders) (Bugged For now i only see 1H appearing)
1H chart shows:
1H FVGs
4H FVGs
4H chart shows:
4H FVGs only
There is the function to auto close FVG when a future candle fully disrespected it.
You're welcome to:
🔧 Customize the appearance: adjust box colors, transparency, border style
🧪 Add alerts: e.g., when price enters or fills a gap
📅 Expand to Daily/Weekly: just copy the logic and plug in "D" or "W" as new layers
📈 Build confluence logic: combine this with order blocks, liquidity zones, or ICT concepts
🧠 Experiment with entry signals: e.g., candle confirmation on return to FVG
🚀 Improve performance: if you find a lighter way to track gaps, feel free to optimize!
Largest Bullish/Bearish Candle with Fibonacci (Single)Prints largest candle over lookback period with fibs and boxes out
HTF GRADINGS (CRYPTO)HTF GRADINGS 25% 50% 75% and HIGH/LOW, Spot internal MMXMs and how price either reacts or retraces to any of the HTF gradings
Auto Trend Bot with AlertsBest Entry Identification (automated)
Target Setting (predefined, automated)
Stop Loss Placement (automated, predefined)
Fake Signal Detection
Trap Zone Identification
Sideways Zone Detection