Open-Based Percentage Levelsv2
This is an updated version of my original script.
Changes:
I took off the displacement levels since there served no purpose on this script.
I also fixed it to where the percentage level lines are visible continually throughout the entire trading day. Old version had these lines disappearing.
I also updated the name to better reflect its purpose.
Now only works on 30 min and below as the higher time frames are meaningless. The older version allow higher time frames and the code is open source to adjust as desired
Corak carta
SY_Quant_AI_StrategyDescription:
This is a trend-following quantitative trading strategy that combines Supertrend, multiple EMAs, and MACD indicators to identify optimal entry and exit points. It uses the 88-period SMA as a major trend filter and a 15-period EMA as a noise filter to reduce false signals. Entry signals are generated when price and trend indicators align for bullish or bearish momentum.
Stop-loss is dynamically set using Supertrend, and trailing stop-loss protects profits. MACD signal crosses provide additional take-profit alerts. The strategy supports configurable parameters for MACD cycles, trailing stops, and position sizing, allowing users to tailor risk and performance.
Suitable for swing trading on mid to long-term timeframes across various markets including crypto, stocks, and futures. Designed to reduce noise and capture medium-term trends effectively while managing risk within sustainable levels.
Pi Cycle Gap (SMA Convergence, Normalized Option)This indicator visualizes the “gap” between the classic Pi Cycle Top moving averages, used for Bitcoin cycle analysis: the 111-day Simple Moving Average (SMA) and 2 × 350-day SMA.
Histogram Bars: Show the distance between these lines, highlighting when the cycle is healthy (green), near a historic “top” (orange), or at a rare crossover (red).
Normalization Option: You can view the gap as either:
Percent of 2 × 350-day SMA (recommended for multi-cycle analysis)
— This is the default.
Absolute USD difference (classic mode)
Orange bars warn when the gap is within a configurable proximity to zero (cycle convergence).
Red triangle marks the rare actual crossover event, historically correlated with market cycle tops.
Settings:
Fast MA Length (SMA): Default 111
Slow MA Length (SMA): Default 350 (doubled internally)
Proximity Warning (%): How close (as percent) to flag convergence
Show Normalized Gap (%): Toggle between percent and absolute USD
How to Use:
Green bars: Market is safely in “bull cycle mode”—top is not near
Orange bars: Approaching cycle convergence (potential top)
Red: Actual crossover—historically a signal of major cycle tops
Open-Based Adjustable LevelsThis indicator gives signals for levels where the buy or sell volume is above adjustable levels (ex, volume at 100,000). And these levels will only signal after the price has gone above/below a certain 'adjustable' percentage of the stocks opening price.
Example: Signal sell when the price action is 0.7% above market opening price and when sell volume is above 120,000
or
Signal buy when buy volume is above 80,000 and the price is 0.5% below market opening price.
Great for day trading and detecting potential swings in the market. Above image is on a 3min chart.
Doesn't work as well on daily time frames or above.
Should be combined with other indicators like buy/sell channels, for the best confirmations
MACD COM PONTOS//@version=5
indicator(title="MACD COM PONTOS", shorttitle="MACD COM PONTOS")
//Plot Inputs
res = input.timeframe("", "Indicator TimeFrame")
fast_length = input.int(title="Fast Length", defval=12)
slow_length = input.int(title="Slow Length", defval=26)
src = input.source(title="Source", defval=close)
signal_length = input.int(title="Signal Smoothing", minval = 1, maxval = 999, defval = 9)
sma_source = input.string(title="Oscillator MA Type", defval="EMA", options= )
sma_signal = input.string(title="Signal Line MA Type", defval="EMA", options= )
// Show Plots T/F
show_macd = input.bool(true, title="Show MACD Lines", group="Show Plots?", inline="SP10")
show_macd_LW = input.int(3, minval=0, maxval=5, title = "MACD Width", group="Show Plots?", inline="SP11")
show_signal_LW= input.int(2, minval=0, maxval=5, title = "Signal Width", group="Show Plots?", inline="SP11")
show_Hist = input.bool(true, title="Show Histogram", group="Show Plots?", inline="SP20")
show_hist_LW = input.int(5, minval=0, maxval=5, title = "-- Width", group="Show Plots?", inline="SP20")
show_trend = input.bool(true, title = "Show MACD Lines w/ Trend Color", group="Show Plots?", inline="SP30")
show_HB = input.bool(false, title="Show Highlight Price Bars", group="Show Plots?", inline="SP40")
show_cross = input.bool(false, title = "Show BackGround on Cross", group="Show Plots?", inline="SP50")
show_dots = input.bool(true, title = "Show Circle on Cross", group="Show Plots?", inline="SP60")
show_dots_LW = input.int(5, minval=0, maxval=5, title = "-- Width", group="Show Plots?", inline="SP60")
//show_trend = input(true, title = "Colors MACD Lines w/ Trend Color", group="Show Plots?", inline="SP5")
// MACD Lines colors
col_macd = input.color(#FF6D00, "MACD Line ", group="Color Settings", inline="CS1")
col_signal = input.color(#2962FF, "Signal Line ", group="Color Settings", inline="CS1")
col_trnd_Up = input.color(#4BAF4F, "Trend Up ", group="Color Settings", inline="CS2")
col_trnd_Dn = input.color(#B71D1C, "Trend Down ", group="Color Settings", inline="CS2")
// Histogram Colors
col_grow_above = input.color(#26A69A, "Above Grow", group="Histogram Colors", inline="Hist10")
col_fall_above = input.color(#B2DFDB, "Fall", group="Histogram Colors", inline="Hist10")
col_grow_below = input.color(#FF5252, "Below Grow", group="Histogram Colors",inline="Hist20")
col_fall_below = input.color(#FFCDD2, "Fall", group="Histogram Colors", inline="Hist20")
// Alerts T/F Inputs
alert_Long = input.bool(true, title = "MACD Cross Up", group = "Alerts", inline="Alert10")
alert_Short = input.bool(true, title = "MACD Cross Dn", group = "Alerts", inline="Alert10")
alert_Long_A = input.bool(false, title = "MACD Cross Up & > 0", group = "Alerts", inline="Alert20")
alert_Short_B = input.bool(false, title = "MACD Cross Dn & < 0", group = "Alerts", inline="Alert20")
// Calculating
fast_ma = request.security(syminfo.tickerid, res, sma_source == "SMA" ? ta.sma(src, fast_length) : ta.ema(src, fast_length))
slow_ma = request.security(syminfo.tickerid, res, sma_source == "SMA" ? ta.sma(src, slow_length) : ta.ema(src, slow_length))
macd = fast_ma - slow_ma
signal = request.security(syminfo.tickerid, res, sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length))
hist = macd - signal
// MACD Trend and Cross Up/Down conditions
trend_up = macd > signal
trend_dn = macd < signal
cross_UP = signal >= macd and signal < macd
cross_DN = signal <= macd and signal > macd
cross_UP_A = (signal >= macd and signal < macd) and macd > 0
cross_DN_B = (signal <= macd and signal > macd) and macd < 0
// Condition that changes Color of MACD Line if Show Trend is turned on..
trend_col = show_trend and trend_up ? col_trnd_Up : trend_up ? col_macd : show_trend and trend_dn ? col_trnd_Dn: trend_dn ? col_macd : na
//Var Statements for Histogram Color Change
var bool histA_IsUp = false
var bool histA_IsDown = false
var bool histB_IsDown = false
var bool histB_IsUp = false
histA_IsUp := hist == hist ? histA_IsUp : hist > hist and hist > 0
histA_IsDown := hist == hist ? histA_IsDown : hist < hist and hist > 0
histB_IsDown := hist == hist ? histB_IsDown : hist < hist and hist <= 0
histB_IsUp := hist == hist ? histB_IsUp : hist > hist and hist <= 0
hist_col = histA_IsUp ? col_grow_above : histA_IsDown ? col_fall_above : histB_IsDown ? col_grow_below : histB_IsUp ? col_fall_below :color.silver
// Plot Statements
//Background Color
bgcolor(show_cross and cross_UP ? col_trnd_Up : na, editable=false)
bgcolor(show_cross and cross_DN ? col_trnd_Dn : na, editable=false)
//Highlight Price Bars
barcolor(show_HB and trend_up ? col_trnd_Up : na, title="Trend Up", offset = 0, editable=false)
barcolor(show_HB and trend_dn ? col_trnd_Dn : na, title="Trend Dn", offset = 0, editable=false)
//Regular Plots
plot(show_Hist and hist ? hist : na, title="Histogram", style=plot.style_columns, color=color.new(hist_col ,0),linewidth=show_hist_LW)
plot(show_macd and signal ? signal : na, title="Signal", color=color.new(col_signal, 0), style=plot.style_line ,linewidth=show_signal_LW)
plot(show_macd and macd ? macd : na, title="MACD", color=color.new(trend_col, 0), style=plot.style_line ,linewidth=show_macd_LW)
hline(0, title="0 Line", color=color.new(color.gray, 0), linestyle=hline.style_dashed, linewidth=1, editable=false)
plot(show_dots and cross_UP ? macd : na, title="Dots", color=color.new(trend_col ,0), style=plot.style_circles, linewidth=show_dots_LW, editable=false)
plot(show_dots and cross_DN ? macd : na, title="Dots", color=color.new(trend_col ,0), style=plot.style_circles, linewidth=show_dots_LW, editable=false)
//Alerts
if alert_Long and cross_UP
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD Crosses Up.", alert.freq_once_per_bar_close)
if alert_Short and cross_DN
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD Crosses Down.", alert.freq_once_per_bar_close)
//Alerts - Stricter Condition - Only Alerts When MACD Crosses UP & MACD > 0 -- Crosses Down & MACD < 0
if alert_Long_A and cross_UP_A
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD > 0 And Crosses Up.", alert.freq_once_per_bar_close)
if alert_Short_B and cross_DN_B
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD < 0 And Crosses Down.", alert.freq_once_per_bar_close)
//End Code
Buy/Sell Confirmation by Jalisa RanaeThis custom-built TradingView indicator combines the power of Heikin Ashi candle clarity, smart money concepts, and institutional-level timing tools to help you identify high-probability trade entries with confidence and consistency.
What It Does:
✅ Buy/Sell Signals — Clean, visual markers based on price direction and filtered volatility using a refined range filter
✅ Heikin Ashi Candles — Smooths out market noise to reveal dominant trends and accurate price flow
✅ Power of 3 ICT Zones — Automatically highlights Accumulation, Manipulation, and Distribution phases based on NY session timing — a foundational Smart Money framework
✅ Order Blocks Detection — Automatically plots bullish and bearish order blocks as they form, allowing you to identify institutional footprints and key supply/demand zones
💡 Why This Matters for Day Trading:
Institutional traders move in patterns — accumulation, manipulation, and distribution. Retail traders often get caught in the manipulation phase, entering too late or exiting too early. This script helps you:
✅ Time entries with the market makers, not against them
✅ Avoid emotional trades by giving you visual confirmation zones
✅ Focus only on high-probability setups rooted in real market logic
Whether you're scalping NASDAQ futures or trading Forex pairs, this indicator gives you a powerful visual edge by simplifying complex smart money concepts into actionable signals — all in real time.
📈 Ready to level up your intraday trading precision? Add this tool to your chart, combine it with strong risk management, and step confidently into trades backed by logic, not guesswork.
Key Open LevelsThis Pine Script indicator (Key Open Levels) allows users to highlight up to six specific open prices from different times of the trading day as horizontal lines on the chart.
Each line can be customized with user-defined style, width, and color settings.
Users also have the option to display price labels directly on the lines for added clarity.
The indicator is designed to work seamlessly across all intraday timeframes, including seconds, minutes, and hourly intervals, making it versatile for various trading strategies that rely on key intraday price levels.
This indicator has proved to be a key indicator especially for people studying Futures market reaction around Key Open Levels.
ICT 2022 Mentorship Model StrategyICT 2022 Mentorship Model Strategy
Introduction
This publication introduces the "ICT 2022 Mentorship Model Strategy," a systematic trading approach based on the Inner Circle Trader concepts. Designed for traders looking to identify institutional footprints in the market, this strategy captures high-probability setups by recognizing specific price action sequences.
Overview
The strategy implements the core principles from the ICT 2022 Mentorship model, focusing on a three-step sequence: Liquidity Sweep (LS), Market Structure Shift (MSS) with Displacement, and Entry via Fair Value Gaps (FVG). It's optimized for cryptocurrency markets on the 5-minute timeframe, with optional higher timeframe bias filtering.
Indicators & Libraries:
OrderBlockRefiner : Leverages TFlab's OrderBlockRefiner library for precise setup identification
OrderBlockDrawing : Utilizes TFlab's visualization system for clear market analysis
FVGDetectorLibrary : Employs TFlab's FVG detection algorithm to identify Fair Value Gaps
Strategy Core Components:
Liquidity Sweeps (LS) : Detects when price moves above a swing high or below a swing low, triggering stop orders before reversing
Market Structure Shifts (MSS) : Identifies clear breaks of near-term swing points in the opposite direction to the liquidity sweep
Fair Value Gaps (FVG) : Recognizes three-candle patterns indicating price imbalances, often left behind by strong directional moves
Strategy Settings:
Swing Period : Default at 50, determines the lookback for swing high/low points
FVG Length : Default at 120, sets how long Fair Value Gaps remain active for trading
MSS Length : Default at 80, determines the window for detecting market structure shifts
FVG Filtering : Optional width filter with selectable aggressiveness (Very Aggressive to Very Defensive)
Entry Level : Configurable to Proximal, 50% OB, or Distal positions within the FVG
Entry Methods:
The strategy offers multiple entry approaches to accommodate different trading styles:
Proximal Touch Market : Enters immediately when price touches the FVG boundary
FVG Level Limit Order : Places a limit order at the specified FVG level
Candle Close Inside FVG : Enters only when a candle closes inside the FVG area
Exit Conditions:
Stop Loss Placement : Multiple methods including MSS Swing Point, FVG Distal, Liquidity Sweep Extreme, and more
Take Profit : Risk-to-reward based targets with a default 1.5R setting
Buffer Settings : Configurable stop-loss buffer as a percentage of the risk distance
Risk Management Features:
Time Filtering : Optional trading during specific "Kill Zones" (Asian, London, New York sessions)
HTF Bias Filtering : Option to align trades with higher timeframe trends
Volume Filtering : Ensures FVG creation occurs on significant volume
Consecutive Loss Protection : Automatically pauses trading after 3 consecutive losses for 4 hours
Statistics Dashboard : Real-time performance metrics including win rate, profit factor, and drawdown
The strategy is optimized for BYBIT:BTCUSDT.P and other major cryptocurrency pairs, particularly effective on 5-minute charts for intraday trading. But ofcourse this is also applicable for any markets like stocks, forex, commodities and indicies.
Visual Features:
This implementation includes comprehensive visualization of FVGs, market structure shifts, and liquidity levels. Active trade management displays show entry points, stop-loss levels, and take-profit targets, with color-coded bars during active trades.
I've spent significant time creating this complete implementation of the ICT 2022 Mentorship concepts. The strategy includes robust risk management, flexible entry methods, and advanced filtering options. Feel free to adjust the settings to suit your trading style - detailed tooltips are provided for each parameter.
Acknowledgements:
Special thanks to TFlab for the excellent libraries and the basis of the indicator that power this strategy's core functionality:
- OrderBlockRefiner_TradingFinder
- OrderBlockDrawing_TradingFinder
- FVGDetectorLibrary
Special Thanks to the PH community that is helping me learn, practice, and apply these into my daily trading for free - THE ASCENT!
PS.
Note you can always turn the visuals on or off from the style tab/section of the indicator
For a clean chart, I recommend turning the Background Color of HTF Bias, as well as bar colors to OFF, but for refrence you can always turn it back on.
Also, feel free to customize the colors, lines, background, to your preference.
Disclaimer
This strategy is shared for educational purposes only and must be thoroughly tested under diverse market conditions. Past performance does not guarantee future results. Trading cryptocurrencies involves substantial risk of loss and is not suitable for every investor. The effectiveness of this strategy can change with market conditions - what works in one period may not work in another. Always use proper risk management.
Soros Scalper PRO+ [v6 Elite Edition]Soros script goes off trend patterns and ema support and resistance
Separators & Liquidity [K]Separators & Liquidity is a versatile indicator that helps you instantly visualize key liquidity levels:
Time Separators & Labels: Draw daily, weekly and monthly separators—including customizable line styles and weekday labels, to clearly segment your chart.
Intraday Time Based Liquidity: Draw Session Highs and Lows below a "max timeframe” (e.g. 1 hour), using distinct, user-configurable colors and line styles.
Time Based Liquidity: Draw Previous Day, Week and Month Highs and Lows
Buy sell ATR Bollinger [vivekm8955]Buy Sell ATR Bollinger
This script combines Bollinger Bands with an optional ATR-based filter to generate high-probability Buy/Sell signals with trend confirmation.
🔹 Buy Signal: Price breaks above the upper Bollinger Band and trend flips bullish.
🔹 Sell Signal: Price drops below the lower Bollinger Band and trend flips bearish.
🔹 ATR Filter (Optional): Smoothens signals by filtering out weak breakouts based on volatility.
🔹 Visual Aids: Color-coded trend bands (Yellow for bullish, Red for bearish) with clean BUY/SELL labels.
🔹 Alerts Enabled: Get notified on signal generation.
✅ Suitable for intraday and swing traders
✅ Works across all timeframes
✅ Fully customizable inputs
trade safe with risk management! Happy trading!!
DeltaWise Market Structures V3Deltawise uses Market Structure Pivots to determine the exits of the trading positions. Feel free to use this tool, if you like customized timeframes please contact me at info@deltawise.ai
استراتيجية الشريف أيمن المتقدمةسكريبت AYMAN ALHSSUEN هو أداة تداول احترافية مصممة لدعم المتداولين في اتخاذ قرارات دقيقة وسريعة بناءً على إشارات فنية مدروسة.
يعتمد المؤشر على عدة عناصر تقنية مجمّعة في واجهة واحدة سهلة الفهم، تشمل:
الاتجاه العام باستخدام المتوسطات المتحركة (EMA 20 و EMA 50).
مؤشر VWAP لمراقبة السعر العادل والمؤسسي.
مؤشر Stochastic لتحديد مناطق التشبع الشرائي والبيعي.
إشارات شموع فنية (ابتلاع شرائي وبيعي، دوجي، وغيرها).
تلوين الخلفية حسب الاتجاه لمساعدة المتداول بصرياً.
دعم تنبيهات ذكية لفرص الدخول والخروج.
مناسب لجميع الفريمات، مع أفضل أداء على فريم 15 دقيقة و1 ساعة.
هذا السكربت مخصص للاستخدام الشخصي أو بدعوة خاصة فقط، ويمنع إعادة النشر أو التعديل دون إذن رسمي
The AYMAN ALHSSUEN script is a professional trading tool designed to help traders make fast and accurate decisions based on advanced technical signals.
This indicator combines several powerful features into one clean interface, including:
Market trend detection using EMA 20 and EMA 50.
VWAP for institutional fair value tracking.
Stochastic Oscillator to detect overbought and oversold conditions.
Smart candlestick patterns (Bullish/Bearish Engulfing, Doji, etc.).
Background coloring to visually guide the overall trend.
Intelligent alerts for optimal entry and exit points.
Works on all timeframes, optimized for 15-min and 1-hour charts.
This script is invite-only and for personal use only.
Reproduction or redistribution is prohibited without explicit permission.
ATF DonMiguel V3ATF Don Miguel V3
This strategy combines trend-following with price structure and momentum analysis:
Trend shifts are detected using adaptive bands based on EMAs and volatility.
A trade is only triggered when the following additional conditions are met:
a Fair Value Gap (FVG) is present in the price structure,
the RSI is in overbought (for Short) or oversold (for Long) territory,
and volume is significantly above average.
Positions are managed using a dynamic ATR-based trailing stop.
Goal: Only trade high-quality signals when trend, structure, momentum, and volume all align.
Algo BOT 3.0 IndicatorAlgo BOT 3.0 is a multi-layered reversal detection tool designed for 30-minute and higher timeframes, ideal for intraday or swing trading.
Key Features:
1. Pivot Level Interactions:
- Detects candles that touch daily pivot levels (R1-R4, S1-S4, Pivot).
- Confirms valid signals using high/low conditions.
2. Fibonacci-Based Candle Zones:
- Auto-detects large green/red candles.
- Calculates intra-candle Fibonacci retracement levels (0.382, 0.618).
- Marks potential retracement/reaction zones.
3. CPR Zone Detection:
- Shows Top CPR & Bottom CPR from daily high/low/pivot.
- Detects price interaction with CPR for reaction signals.
4. VWAP + MVWAP Filtering:
- Uses VWAP and a custom-length MVWAP (default 50).
- Helps confirm institutional support/resistance zones.
5. Trend Indicators:
- Includes RSI, SMA, EMA for manual trend/direction analysis.
6. Visual Alerts:
- Triangles appear when valid support/resistance touch candles form.
- Pivot and CPR levels are plotted with clear color coding.
Note:
This is a closed-source script due to its original logic combining multiple professional-grade concepts. It offers a structured and unique way to detect pivot-based reversals and breakout zones.
Best used on 30-minute or higher timeframes.
MAHESH BORADE EMA 9/21 Crossover with VWAPMAHESH BORADE EMA 9/21 Crossover with VWAP
When EMA 9 cross upward to EMA 21 then Buy
When EMA 9 cross downward to EMA 21 then Sell
Key Session Levels (Final + Pre-Market Low)Previous Day High/Low
Pre-Market High/Low
Opening 5min High/Low
Crypto Portfolio vs BTC – Custom Blend TrackerThis tool tracks the performance of a custom-weighted crypto portfolio (SUI, BTC, SOL, DEEP, DOGE, LOFI, and Other) against BTC. Simply input your start date to anchor performance and compare your basket’s relative strength over time. Ideal for portfolio benchmarking, alt-season tracking, or macro trend validation.
Supports all timeframes. Based on BTC-relative returns (not USD). Open-source and customizable.
Algo BOT 3.0Algo BOT 3.0 is a multi-layered reversal detection tool designed for 30-minute and higher timeframes, ideal for intraday or swing trading.
Key Features:
1. Pivot Level Interactions:
- Detects candles that touch daily pivot levels (R1-R4, S1-S4, Pivot).
- Confirms valid signals using high/low conditions.
2. Fibonacci-Based Candle Zones:
- Auto-detects large green/red candles.
- Calculates intra-candle Fibonacci retracement levels (0.382, 0.618).
- Marks potential retracement/reaction zones.
3. CPR Zone Detection:
- Shows Top CPR & Bottom CPR from daily high/low/pivot.
- Detects price interaction with CPR for reaction signals.
4. VWAP + MVWAP Filtering:
- Uses VWAP and a custom-length MVWAP (default 50).
- Helps confirm institutional support/resistance zones.
5. Trend Indicators:
- Includes RSI, SMA, EMA for manual trend/direction analysis.
6. Visual Alerts:
- Triangles appear when valid support/resistance touch candles form.
- Pivot and CPR levels are plotted with clear color coding.
Note:
This is a closed-source script due to its original logic combining multiple professional-grade concepts. It offers a structured and unique way to detect pivot-based reversals and breakout zones.
Best used on 30-minute or higher timeframes.