Liquidity Engulfing (Nephew_Sam_)This indicator is inspired by Omar Agag's teaching from his IG and Youtube
Concept:
It's marks an Engulfing candle but with a twist - it should take out the previous candle's high/low then closes above/below the previous candles open.
Settings:
Optionally highlight the bar color, the label color and text
Candlestick analysis
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) إذا كان حجم المربع كبيرًا.
الميزة الإضافية: إذا تم كسر قاع المربع قبل الاختراق، يتم إلغاء الصفقة تلقائيًا لتجنب الدخول المتأخر.
🧪 للاستفادة التعليمية والتحليل فقط. لا يُعتبر توصية مالية.
EMA 20 Color Change + HighlightEMA 20, go up color change Green, go down color change red with shining the end piece.
Scalping RSI 1 Min con TP/SL y Salidasescalping con temporalidad de 1 minuto creada por Mr everything
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.
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
MM Hunter PRO [v1.1]> **MM Hunter PRO v1.1** is a professional-grade indicator built on the mindset of a market maker who has switched sides — now working for the trader.
> It helps identify high-probability entry points, filtered by trend direction, volume impulse, and candlestick quality.
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")
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
SCCThis script combines Trendlines, Vector Candles and EMAs with specific alerts for when Vectors and the 50EMA cross.
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
อินดิเคเตอร์จะแสดงสัญลักษณ์อย่างชัดเจนบนกราฟเพื่อความสะดวกในการใช้งาน
ควรใช้ร่วมกับการบริหารความเสี่ยง
XAUUSD Ultra# XAUUSD High-Profit MTF VWAP Breakout + EMAs + Clean TP/SL
## Overview
This is a high-probability, high-reward breakout strategy designed for XAUUSD (Gold/USD) on the M5 chart.
It employs multi-timeframe trend confirmation using the H1 and H4 timeframes, only entering trades in the direction of both higher timeframe trends.
Entries are triggered on strong breakouts relative to the VWAP, and take-profits are set aggressively for maximum reward.
**Features:**
- **Multi-Timeframe Trend Filter:** Only trades when both H1 and H4 trends align (using EMA 20, 34, 100 on each).
- **Entry:** On the M5 chart, a trade is entered when price breaks out above (or below) VWAP and higher timeframe trends agree.
- **Take Profit:** Two aggressive targets, TP1 and TP2, based on multiples of the M5 ATR (default: 1.5x and 3x).
- **Stop Loss:** Set using ATR for volatility-adaptive risk.
- **Visuals:** All major EMAs and VWAP plotted; round number levels for psychological support/resistance.
- **No session filters:** Trades during all sessions, focusing purely on price action and trend.
- **Labels/Lines:** Entry, TP, SL, and profit lines clearly marked on chart.
---
## How It Works
### 1. **Multi-Timeframe Trend Filter**
- On every M5 bar, the indicator checks the trend on both H1 and H4 timeframes.
- **Uptrend:** EMA20 > EMA34 > EMA100 on both H1 and H4.
- **Downtrend:** EMA20 < EMA34 < EMA100 on both H1 and H4.
- **No Trade:** If trends do not align, no trade is taken.
### 2. **Breakout Entry**
- **Long Entry:** Occurs when the M5 close crosses above VWAP, and both H1 and H4 are in uptrend.
- **Short Entry:** Occurs when the M5 close crosses below VWAP, and both H1 and H4 are in downtrend.
### 3. **Stop Loss and Take Profit**
- **Stop Loss:** Set at entry price minus (for long) or plus (for short) ATR × multiplier.
- **TP1:** Entry ± ATR × 1.5 (default).
- **TP2:** Entry ± ATR × 3.0 (default).
- *All levels can be adjusted in the input panel.*
### 4. **Visuals**
- EMAs and VWAP are plotted for clarity.
- Entry, TP, and SL labels and lines are shown on each breakout signal bar.
- Round-number levels plotted for context.
---
## How To Use
1. **Add the Script to Your TradingView Chart**
- Copy and paste the script into a new TradingView Pine Script strategy.
- Add to your XAUUSD chart and select the M5 timeframe.
2. **Configure Settings (Optional)**
- Adjust ATR period, multipliers, and which EMAs/VWAP to display as desired.
- Set your own round number step for psychological levels.
3. **Trade Execution**
- The strategy will automatically identify and mark valid long/short breakouts.
- Entry, stop, and take profits are managed by the strategy logic.
- Use the strategy tester to optimize parameters and review historical performance.
4. **Best Practice**
- Use as a signal generation tool; always confirm with your own risk management.
- Works best when used alongside higher timeframe analysis and during periods of strong trend.
---
## Example Settings
- **Timeframe:** M5 for entries.
- **HTF Trend 1:** H1 (60 minutes).
- **HTF Trend 2:** H4 (240 minutes).
- **ATR Length:** 14 (default).
- **ATR Multiplier (SL):** 1.2.
- **TP1 Multiplier:** 1.5.
- **TP2 Multiplier:** 3.0.
---
## Publishing and Attribution
- You may publish and share this script with the above explanation.
- Please credit the original author and do not remove this README if published.
---
## Disclaimer
This strategy is provided for educational purposes only.
Past performance is not indicative of future results.
Always test any trading system in a demo environment before risking real capital.
U/D Volume Ratio (Bottom Right)U/D Volume Ratio (Bottom Right)
.........................................
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.
Charlton Sessions Highs/LowsShows market highs and lows for asian, london, and new york sessions. High/low lines extend to end of each session.
Nadaraya + UT Bot Combo//@version=5
indicator("Nadaraya + UT Bot Combo", overlay=true)
// ======= Nadaraya-Watson Estimator =======
src = close
length = input.int(20, "Nada Length", minval=1)
bandWidth = input.float(0.01, "Bandwidth", minval=0.001)
float sumWeights = 0.0
float sumValues = 0.0
for i = 0 to length
w = math.exp(-math.pow(i * bandWidth, 2))
sumWeights := sumWeights + w
sumValues := sumValues + src * w
nada = sumValues / sumWeights
plot(nada, color=color.orange, title="Nadaraya-Watson Line")
// ======= UT Bot Logic =======
factor = input.float(1.0, "UTBot Sensitivity")
atrPeriod = input.int(10, "ATR Period")
atr = ta.atr(atrPeriod)
longSignal = ta.crossover(close, ta.ema(close, 10) - factor * atr)
shortSignal = ta.crossunder(close, ta.ema(close, 10) + factor * atr)
// ======= Kết hợp tín hiệu =======
buySignal = longSignal and close > nada
sellSignal = shortSignal and close < nada
plotshape(buySignal, title="Buy Signal", location=location.belowbar, style=shape.labelup, color=color.green, text="BUY")
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL")
// ======= Alerts =======
alertcondition(buySignal, title="Alert Buy", message="Buy Signal - Nada + UTBot")
alertcondition(sellSignal, title="Alert Sell", message="Sell Signal - Nada + UTBot")
ORB 5M + VWAP + Braid Filter + TP 2R o Niveles PreviosORB 5-Minute Breakout Strategy Summary
Strategy Name:
ORB 5M + VWAP + Braid Filter + TP 2R or Previous Levels
Timeframe:
5-minute chart
Trading Window:
9:35 AM to 11:00 AM (New York time)
✅ Entry Conditions:
Opening Range: Defined from 9:30 to 9:35 AM (first 5-minute candle).
Breakout Entry:
Long trade: Price breaks above the opening range high.
Short trade: Price breaks below the opening range low.
Confirmation Filters (All must be met):
Strong candle (green for long, red for short).
VWAP in the direction of the trade.
Braid Filter by Mango2Juice supports the breakout direction (green for long, red for short).
📉 Stop Loss:
Placed at the opposite side of the opening range.
🎯 Take Profit (TP):
+2R (Risk-to-Reward Ratio of 2:1),
or
Closest of the following: previous day’s high/low or premarket levels.
⚙️ Additional Rules:
Only valid signals between 9:35 and 11:00 AM.
Only one trade per breakout direction per day.
Filter out "trap candles" (very small or indecisive candles).
Avoid trading after 11:00 AM.
📊 Performance Goals:
Maintain a high Profit Factor (above 3 ideally).
Focus on tickers with good historical performance under this strategy (e.g., AMZN, PLTR, CVNA).
Bias Ratio-ETH-3H @CTTC5108Most of the code of this strategy should be my own original.
This Ethereum 3-hour time cycle strategy can be traced back to February 24, 2023. Although the profit and winning rate are not high, it is still relatively stable.
This strategy uses the deviation rate to enter the market. Invest 10% of the principal each time.
The limit start time adopts a rolling design (should be original).
Real-time retracement and maximum retracement are accurately calculated (should be original).
Adopt segmented stop profit (optional) design.
Open source for learning and other use.
Ichimoku Cloud zxc vercopyright from Ichimoku Cloud
updated info:
add big wheel emoji and red down arrow
when the conversionLine and baseLine cross depends on witch one was below other one
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!
HTF GRADINGS UTC +/-HTF GRADINGS HIGH/LOW 25%,50%,75% , Updated to fit all asset classes, whenever you have a problem of non matching opening times just use the " ASSET CLASS" and the "UTC +/-" settings to get it to where you need it, more than this I wasn't able to accomplish but I'd say it's a solid fix!
GG Boys have fun with it, peace out
Jingl