mohamed rebouh zigzag//
// mohamed rebouh
//@version=5
//
// THIS CODE IS BASED FROM THE MT4 ZIGZAG INDICATOR
// THE ZIGZAG SETTINGS FOR THE MAIN ONE ON TRADINGVIEW DO NOT WORK THE SAME AS MT4
// I HOPE U LOVE IT
//
indicator(' mohamed rebouh ', overlay=true)
// inputs
Depth = input(12, title='Depth') // Depth
Deviation = input(5, title='Deviation') // Deviation
// ZigZag
var lastlow = 0.0
var lasthigh = 0.0
data(x) =>
d = request.security(syminfo.tickerid, timeframe.period, x)
d
getLow(x, y, z, a) =>
lastlow1 = y
v = data(x)
m = v == lastlow1 or data(z) - v > a * syminfo.mintick
if v != lastlow1
lastlow1 := v
if m
v := 0.0
v
getHigh(x, y, z, a) =>
lasthigh1 = y
v = data(x)
m = v == lasthigh1 or v - data(z) > a * syminfo.mintick
if v != lasthigh1
lasthigh1 := v
if m
v := 0.0
v
= getLow(ta.lowest(Depth), lastlow, low, Deviation)
lastlow := e
zBB = v != 0.0
= getHigh(ta.highest(Depth), lasthigh, high, Deviation)
lasthigh := e1
zSS = v1 != 0.0
zigzagDirection = -1
zigzagHigh = 0
zigzagLow = 0
zigzagDirection := zBB ? 0 : zSS ? 1 : nz(zigzagDirection , -1)
virtualLow = zigzagLow + 1
if not zBB or zBB and zigzagDirection == zigzagDirection and low > low
zigzagLow := nz(zigzagLow ) + 1
zigzagLow
virtualHigh = zigzagHigh + 1
if not zSS or zSS and zigzagDirection == zigzagDirection and high < high
zigzagHigh := nz(zigzagHigh ) + 1
zigzagHigh
line zigzag = line.new(bar_index - zigzagLow, low , bar_index - zigzagHigh, high , color=color.red, style=line.style_solid, width=2)
if zigzagDirection == zigzagDirection
line.delete(zigzag )
지표 및 전략
Tristan's Star: 15m Shooting Star DetectorThis script is designed to be used on the 1-minute chart , but it analyzes the market as if you were watching the 15-minute candles.
Every cluster of 15 one-minute candles is grouped together and treated as a single 15-minute candle.
When that 15-minute “synthetic” candle looks like a shooting star pattern (small body near the low, long upper wick, short lower wick, bearish bias), the script triggers a signal.
At the close of that 15-minute cluster, the script will:
Plot a single “Sell” label on the last 1-minute bar of the group.
Draw a horizontal line across the 15 bars at the high, showing the level that created the shooting star.
Optionally display a table cell in the corner with the word “SELL.”
This lets you stay on the 1-minute timeframe for precision entries and exits, while still being alerted when the higher-timeframe (15-minute) shows a bearish reversal pattern.
INKY Rejection Blocks - Current ZonesBullish and Bearish block colors with adjustable opacity.
Border visibility, border width, and 50% midline display toggles.
Label size customization for optimal chart clarity.
⚙️ How the Indicator Works:
Swing Detection: Identifies significant highs and lows based on pivot structures.
Rejection Filtering: Confirms strong rejections with wick-to-body ratio validation.
Block Creation: Highlights bullish or bearish rejection zones with customizable visuals.
Midline Plotting: (Optional) Marks the 50% midpoint of the block for entry targeting.
Mitigation and Cleanup: Blocks are deleted automatically when their structure is invalidated, maintaining a clean and accurate chart view.
🎯 How to Use It:
Identify Reaction Zones: Use rejection blocks as potential areas for price reversals or consolidations.
Plan Trade Entries: Monitor retests of the block boundaries or 50% lines for precision entries.
Manage Risk: If price closes beyond the block, treat it as a potential invalidation or Change in State of Delivery (CISD) event.
BOS + Liquidity Sweep Entries//@version=5
indicator("BOS + Liquidity Sweep Entries (Both Directions) — Fixed", overlay=true, shorttitle="BOS+LS")
// ===== INPUTS =====
swingLen = input.int(5, "Swing lookback", minval=1)
sweepATRmult = input.float(0.5, "Sweep wick threshold (ATR multiplier)", minval=0.0, step=0.1)
maxBarsSinceBOS = input.int(50, "Max bars to wait for sweep after BOS", minval=1)
showLabels = input.bool(true, "Show labels", inline="lbl")
showShapes = input.bool(true, "Show shapes", inline="lbl")
atr = ta.atr(14)
// ===== PIVOTS =====
ph_val = ta.pivothigh(high, swingLen, swingLen)
pl_val = ta.pivotlow(low, swingLen, swingLen)
// persist last pivots and their bar indices
var float lastPH = na
var int lastPH_bar = na
var float lastPL = na
var int lastPL_bar = na
if not na(ph_val)
lastPH := ph_val
lastPH_bar := bar_index - swingLen
if not na(pl_val)
lastPL := pl_val
lastPL_bar := bar_index - swingLen
// ===== BOS DETECTION (record the bar where BOS first confirmed) =====
var int bull_bos_bar = na
bull_bos = not na(lastPH) and close > lastPH and bar_index > lastPH_bar
if bull_bos
// store first confirmation bar (overwrite only if new)
if na(bull_bos_bar) or bar_index > bull_bos_bar
bull_bos_bar := bar_index
var int bear_bos_bar = na
bear_bos = not na(lastPL) and close < lastPL and bar_index > lastPL_bar
if bear_bos
if na(bear_bos_bar) or bar_index > bear_bos_bar
bear_bos_bar := bar_index
// If pivots update to a more recent pivot, clear older BOS/sweep markers that predate the new pivot
if not na(lastPH_bar) and not na(bull_bos_bar)
if bull_bos_bar <= lastPH_bar
bull_bos_bar := na
// clear bull sweep when pivot updates
var int last_bull_sweep_bar = na
if not na(lastPL_bar) and not na(bear_bos_bar)
if bear_bos_bar <= lastPL_bar
bear_bos_bar := na
var int last_bear_sweep_bar = na
// ensure sweep tracking vars exist (declared outside so we can reference later)
var int last_bull_sweep_bar = na
var int last_bear_sweep_bar = na
// ===== SWEEP DETECTION =====
// Bullish sweep: wick above BOS (lastPH) by threshold, then close back below the BOS level
bull_sweep = false
if not na(bull_bos_bar) and not na(lastPH)
bars_since = bar_index - bull_bos_bar
if bars_since <= maxBarsSinceBOS
wick_above = high - lastPH
if (wick_above > sweepATRmult * atr) and (close < lastPH)
bull_sweep := true
last_bull_sweep_bar := bar_index
// Bearish sweep: wick below BOS (lastPL) by threshold, then close back above the BOS level
bear_sweep = false
if not na(bear_bos_bar) and not na(lastPL)
bars_since = bar_index - bear_bos_bar
if bars_since <= maxBarsSinceBOS
wick_below = lastPL - low
if (wick_below > sweepATRmult * atr) and (close > lastPL)
bear_sweep := true
last_bear_sweep_bar := bar_index
// ===== ENTRY RULES (only after sweep happened AFTER BOS) =====
long_entry = false
if not na(last_bull_sweep_bar) and not na(bull_bos_bar)
if (last_bull_sweep_bar > bull_bos_bar) and (bar_index > last_bull_sweep_bar) and (close > lastPH)
long_entry := true
// avoid duplicate triggers from the same sweep
last_bull_sweep_bar := na
short_entry = false
if not na(last_bear_sweep_bar) and not na(bear_bos_bar)
if (last_bear_sweep_bar > bear_bos_bar) and (bar_index > last_bear_sweep_bar) and (close < lastPL)
short_entry := true
// avoid duplicate triggers from the same sweep
last_bear_sweep_bar := na
// ===== PLOTTING LINES =====
plot(lastPH, title="Last Swing High", color=color.orange, linewidth=2, style=plot.style_linebr)
plot(lastPL, title="Last Swing Low", color=color.teal, linewidth=2, style=plot.style_linebr)
// ===== LABELS & SHAPES (managed to avoid label flooding) =====
var label lb_bull_bos = na
var label lb_bear_bos = na
var label lb_bull_sweep = na
var label lb_bear_sweep = na
var label lb_long_entry = na
var label lb_short_entry = na
if showLabels
if bull_bos
if not na(lb_bull_bos)
label.delete(lb_bull_bos)
lb_bull_bos := label.new(bar_index, high, "Bull BOS ✓", yloc=yloc.abovebar, style=label.style_label_up, color=color.green, textcolor=color.white)
if bear_bos
if not na(lb_bear_bos)
label.delete(lb_bear_bos)
lb_bear_bos := label.new(bar_index, low, "Bear BOS ✓", yloc=yloc.belowbar, style=label.style_label_down, color=color.red, textcolor=color.white)
if bull_sweep
if not na(lb_bull_sweep)
label.delete(lb_bull_sweep)
lb_bull_sweep := label.new(bar_index, high, "Bull Sweep", yloc=yloc.abovebar, style=label.style_label_down, color=color.purple, textcolor=color.white)
if bear_sweep
if not na(lb_bear_sweep)
label.delete(lb_bear_sweep)
lb_bear_sweep := label.new(bar_index, low, "Bear Sweep", yloc=yloc.belowbar, style=label.style_label_up, color=color.purple, textcolor=color.white)
if long_entry
if not na(lb_long_entry)
label.delete(lb_long_entry)
lb_long_entry := label.new(bar_index, low, "LONG ENTRY", yloc=yloc.belowbar, style=label.style_label_up, color=color.lime, textcolor=color.black)
if short_entry
if not na(lb_short_entry)
label.delete(lb_short_entry)
lb_short_entry := label.new(bar_index, high, "SHORT ENTRY", yloc=yloc.abovebar, style=label.style_label_down, color=color.red, textcolor=color.white)
// optional shapes (good for quick visual scanning)
if showShapes
plotshape(bull_sweep, title="Bull Sweep Shape", location=location.abovebar, color=color.purple, style=shape.triangledown, size=size.tiny)
plotshape(bear_sweep, title="Bear Sweep Shape", location=location.belowbar, color=color.purple, style=shape.triangleup, size=size.tiny)
plotshape(long_entry, title="Long Shape", location=location.belowbar, color=color.lime, style=shape.triangleup, size=size.small)
plotshape(short_entry, title="Short Shape", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// ===== ALERTS =====
alertcondition(bull_bos, title="Bullish BOS", message="Bullish BOS confirmed above swing high")
alertcondition(bear_bos, title="Bearish BOS", message="Bearish BOS confirmed below swing low")
alertcondition(bull_sweep, title="Bullish Sweep", message="Liquidity sweep above swing high detected")
alertcondition(bear_sweep, title="Bearish Sweep", message="Liquidity sweep below swing low detected")
alertcondition(long_entry, title="LONG Entry", message="LONG Entry: BOS -> sweep -> reclaim")
alertcondition(short_entry, title="SHORT Entry", message="SHORT Entry: BOS -> sweep -> reclaim")
MA DeviationEnglish Description
Overview
The "MA Deviation" indicator is a powerful tool designed to measure and visualize the percentage difference between three separate moving averages. By quantifying the deviation, traders can gain insights into trend strength, potential reversals, and periods of market consolidation. When the moving averages diverge significantly, it often signals a strong, directional move.
This indicator is displayed in a separate pane below the main price chart.
Key Features
Three Customizable Moving Averages: You can independently configure the type (SMA, EMA, WMA, etc.) and length for three distinct moving averages (MA1, MA2, MA3).
Multiple Deviation Plots: The indicator plots the percentage deviation between:
MA1 and MA2 (Blue Line)
MA2 and MA3 (Red Line)
MA1 and MA3 (Green Line)
You can toggle each of these lines on or off.
Visual Threshold Signals: A key feature is the dynamic background color.
The background turns green when all enabled deviation lines move above a user-defined positive threshold (e.g., +0.5%), indicating a strong bullish consensus among the moving averages.
The background turns red when all enabled deviation lines fall below the negative threshold (e.g., -0.5%), indicating a strong bearish consensus.
Built-in Alerts: The script includes three specific alert conditions that trigger only on the first bar where the condition is met, preventing repetitive notifications:
The Color Came Out: Triggers when the background first turns either green or red.
Long Chance: Triggers only when the background first turns green.
Short Chance: Triggers only when the background first turns red.
How to Use
This indicator can be used to confirm trend strength or identify potential entry/exit points. For example:
A green background can be interpreted as a potential long entry signal or confirmation of a strong uptrend.
A red background can suggest a potential short entry opportunity or confirmation of a strong downtrend.
When the deviation lines hover around the zero line, it indicates that the market is consolidating or ranging.
Adjust the moving average lengths and the threshold percentage to tailor the indicator to your specific trading strategy and timeframe.
日本語説明 (Japanese Description)
概要
「MA Deviation」インジケーターは、3つの異なる移動平均線間の乖離率(パーセンテージ)を測定し、視覚化するために設計された強力なツールです。この乖離を数値化することで、トレーダーはトレンドの強さ、潜在的な反転、市場のレンジ相場についての洞察を得ることができます。移動平均線が大きく乖離する時、それはしばしば強力な方向性のある動きを示唆します。
このインジケーターは、メインの価格チャートの下にある別ペインに表示されます。
主な特徴
3つのカスタム可能な移動平均線: 3つの移動平均線(MA1, MA2, MA3)それぞれに対して、タイプ(SMA, EMA, WMAなど)と期間を個別に設定できます。
複数の乖離率プロット: このインジケーターは、以下の乖離率をラインでプロットします。
MA1とMA2の乖離率(青ライン)
MA2とMA3の乖離率(赤ライン)
MA1とMA3の乖離率(緑ライン)
これらのラインはそれぞれ表示・非表示を切り替えることが可能です。
背景色による視覚的なシグナル: このツールの最大の特徴は、動的に変化する背景色です。
有効になっている全ての乖離率ラインが、ユーザーが設定した正のしきい値(例:+0.5%)を上回ると、背景が緑色に変わります。これは移動平均線間で強気なコンセンサスが形成されていることを示します。
有効になっている全ての乖離率ラインが、負のしきい値(例:-0.5%)を下回ると、背景が赤色に変わります。これは弱気なコンセンサスを示します。
ビルトイン・アラート: スクリプトには、条件が成立した最初のバーでのみ作動する3種類のアラート機能が含まれており、繰り返し通知されるのを防ぎます。
The Color Came Out: 背景色が緑または赤に初めて変化した時にトリガーされます。
Long Chance: 背景色が初めて緑色に変化した時にのみトリガーされます。
Short Chance: 背景色が初めて赤色に変化した時にのみトリガーされます。
使用方法
このインジケーターは、トレンドの強さを確認したり、エントリー/エグジットのポイントを探るために使用できます。例えば、
緑色の背景は、ロングエントリーのシグナル、または強い上昇トレンドの確認と解釈できます。
赤色の背景は、ショートエントリーの機会、または強い下降トレンドの確認を示唆します。
乖離率ラインがゼロライン付近で推移しているときは、市場がレンジ相場であることを示します。
ご自身のトレーディング戦略や時間足に合わせて、移動平均線の期間やしきい値(%)を調整してご活用ください。
FractalReversalStrategyFiltered(SOL 5min) - ZERO FALSE TRADEThe profit that is shown in the strategy report uses a capital of 240 USD with 10x leverage. Only use this strategy in SOLUSD (5 MIN timeframe).
CDC Action Zone (TH) by MeowToolsThe CDC Action Zone indicator is like a stock market traffic light — it tells you when it’s green to go and when it’s red to stop. By combining just two EMAs (12 and 26), it highlights Buy and Sell zones clearly, cutting through market noise and keeping you on the right side of the trend. Think of it as a radar that spots the big moves before most people notice, giving you the confidence to ride the trend and exit before getting trapped. Meow 😺 give it a try and see how it can help your portfolio take off 🚀📈
Multi-Timeframe MACD Score (Customizable)this is a momentum based indicator to know the trend so we go with the trend.
AI - Gaussian Channel Strategy AI – Gaussian Channel Strategy is a long-only swing trading strategy designed for Bitcoin and other assets on daily charts. It combines an adaptive Gaussian Channel with Supertrend and Stochastic RSI filters to identify potential bullish breakouts or pullback entries. The channel defines trend direction and volatility, while the Stochastic RSI provides momentum confirmation. Positions are opened only when the price closes above the channel’s upper band under favorable momentum conditions, and are closed when the price crosses back below the band.
This script is intended for educational and research purposes. Parameters such as poles, period length, ATR factor, and RSI settings can be adjusted to fit different markets and timeframes.
Disclaimer: This script does not guarantee profits and should not be considered financial advice. Past performance is not indicative of future results. Trading involves risk, and you are solely responsible for your own decisions and outcomes.
TrendIsYourFriend Strategy (SPY,IWM,VYM,XLK,SPXL,BTC,GOLD,VT...)Personal disclaimer
Don’t trust this strategy. Don’t trust any other model either just because of its author or a backtest curve. Overfitting is an easy trap, and beginners often fall into it. This script isn’t meant to impress you. It’s meant to survive reality. If it does, maybe it will raise questions and you’ll remember it.
Legal disclaimer
Educational purposes only. Not financial advice. Past performance is not indicative of future results.
Strategy description
Long-only, trend-based logic with two entry types (trend continuation or excess-move reversion), dynamic stop-losses, and a VIX filter to avoid turbulent markets.
Minimal number of parameters with enough trades to support robustness.
For backtest, each trade is sized at $10,000 flat (no compounding, to focus on raw model quality and the regularity of its results over time).
Fees = $0 (neutral choice, as brokers differ).
Slippage = $0, deliberate choice: most entries occur on higher timeframes, and some assets start their history on charts at very low prices, which would otherwise distort results.
What makes this script original
Beyond a classical trend calculation, both excess-move entries and dynamic stop-loss exits also rely on trend logic. Except for the VIX filter, everything comes from trend functions, with very few parameters.
Pre-configurations are fixed in the code, allowing sincere performance tracking across a dozen cases over the medium to long term.
Allowed
SPY (ARCA) — 2-hour chart: S&P 500 ETF, most liquid equity benchmark
IWM (ARCA) — Daily chart: Russell 2000 ETF, US small caps
VYM (ARCA) — Daily chart: Vanguard High Dividend Yield ETF
XLK (ARCA) — Daily chart: Technology Select Sector SPDR
SPXL (ARCA) — Daily chart: 3× leveraged S&P 500 ETF
BTCUSD (COINBASE) — 4-hour chart: Bitcoin vs USD
GOLD (TVC) — Daily chart: Gold spot price
VT (ARCA) — Daily chart: Vanguard Total World Stock ETF
PG (NYSE) — Daily chart: Procter & Gamble Co.
CQQQ (ARCA) — Daily chart: Invesco China Technology ETF
EWC (ARCA) — Daily chart: iShares MSCI Canada ETF
EWJ (ARCA) — Daily chart: iShares MSCI Japan ETF
How to use and form an opinion on it
Works only on the pairs above.
Feel free to modify the input parameters (slippage, fees, order size, margins, …) to see how the model behaves under your own conditions
Compare it with a simple Buy & Hold (requires an order size of 100% equity).
You may also want to look at its time-in-market — the share of time your capital is actually at risk.
Finally, let me INSIST on this : let it run live for months before forming an opinion!
Share your thoughts in the comments 🚀 if you’d like to discuss its live performance.
EMA + MACD Entry Signals (Jason Wang)EMA9、20、200 + MACD(12、26、9) Entry Signals ,严格的设置出入场条件
1.做多的k棒:
• EMA9 > EMA200
• EMA20 > EMA200
• EMA9 > EMA20
• MACD DIF > 0 且 DIF > DEM
• 入场信号:
• DIF 上穿 DEM
• 或 EMA9 上穿 EMA20
2.做空的k棒:
• EMA9 < EMA200
• EMA20 < EMA200
• EMA9 < EMA20
• MACD DIF < 0 且 DIF < DEM
• 入场信号:
• DIF 下穿 DEM
• 或 EMA9 下穿 EMA20
HH/HL/LH/LLThe script works by detecting swing highs and swing lows with a simple pivot function (ta.pivothigh / ta.pivotlow) using a fixed 2-bar lookback and confirmation window. Each new pivot is compared against the previous confirmed pivot of the same type:
If a swing high is greater than the last swing high → it is labelled HH.
If a swing high is lower than the last swing high → it is labelled LH.
If a swing low is greater than the last swing low → it is labelled HL.
If a swing low is lower than the last swing low → it is labelled LL.
To keep the chart clean and readable, the indicator:
Plots only the two-letter labels (HH, HL, LH, LL) with no background box.
Uses red text for highs and green text for lows.
Places labels directly at the pivot bar (with the necessary confirmation offset).
Keeps labels small (size.tiny) to avoid clutter.
Stochastic 6TF by jjuiiStochastic 6TF by J is a Multi-Timeframe (MTF) Stochastic indicator
that displays %K values from up to 6 different timeframes
in a single window. This helps traders analyze momentum
across short, medium, and long-term perspectives simultaneously.
Features:
- Supports 6 customizable timeframes (e.g., 5m, 15m, 1h, 4h, 1D, 1W)
- Option to show/hide each timeframe line
- Standard reference levels (20 / 50 / 80) with background shading
- Smoothed %K for clearer visualization
Best for:
- Cross-timeframe momentum analysis
- Spotting aligned Overbought / Oversold signals
- Confirming market trends and timing entries/exits
-------------------------------------------------------------
Stochastic 6TF by J คืออินดิเคเตอร์ Stochastic Multi Timeframe (MTF)
ที่สามารถแสดงค่า %K จากหลายกรอบเวลา (สูงสุด 6 TF)
ไว้ในหน้าต่างเดียว ช่วยให้นักเทรดมองเห็นโมเมนตัมของราคา
ทั้งระยะสั้น กลาง และยาว พร้อมกัน
คุณสมบัติ:
- เลือกกรอบเวลาได้ 6 ชุด (เช่น 5m, 15m, 1h, 4h, 1D, 1W)
- สามารถเปิด/ปิดการแสดงผลแต่ละ TF ได้
- มีเส้นแนวรับ/แนวต้านมาตรฐาน (20 / 50 / 80)
- ใช้เส้น %K ที่ถูกปรับค่าเฉลี่ยให้เรียบขึ้นเพื่ออ่านง่าย
เหมาะสำหรับ:
- การดูโมเมนตัมข้ามกรอบเวลา
- หาจังหวะ Overbought / Oversold ที่สอดคล้องกันหลาย TF
- ใช้ยืนยันแนวโน้มและหาจังหวะเข้า-ออกอย่างแม่นยำมากขึ้น
Sanjeev BO IndicatorGreat BO Indicator. Clear clean entry levels for both buy/sell, tgt1,2,3 for both buy and sell side. Clear SL.
Colby Cheese VWAP Setup [v1.0]🧀 Colby Cheese VWAP Setup
A tribute to Colby’s structural clarity, refined for sniper-grade entries.
🧭 Strategy Overview
This setup blends CHoCH (Change of Character) detection with VWAP deviation bands, EMA stack bias, delta/CVD conviction, and FRVP-based entry zones. It’s designed for traders who value narratable structure, directional conviction, and modular clarity.
🔍 Core Modules
• CHoCH Detection: Identifies structural breaks using swing highs/lows from local or 3-minute feeds.
• VWAP Bands: Dynamic support/resistance zones based on VWAP ± standard deviation.
• EMA Stack Bias: Confirms directional bias using 13/35/50 EMA alignment.
• Delta/CVD Filter: Measures volume aggression and cumulative conviction.
• Strongest Imbalance Logic: Scores recent bars for directional strength using delta, CVD, and price change.
• Engulfing Confirmation (optional): Adds candle strength validation post-CHoCH.
• FRVP Entry Zones: Pullback entries based on recent range extremes—directionally aware.
• Visual Aids: CHoCH lines, candle coloring, entry labels, and optional stop loss markers.
🎯 Trade Logic
• Bullish CHoCH:
• Trigger: Price closes above last swing high
• Filters: Strong body, volume, delta, optional engulfing
• Bias: EMA stack bullish
• Entry: Pullback to bottom of FRVP range
• Visual: Green CHoCH line + “Enter” label
• Bearish CHoCH:
• Trigger: Price closes below last swing low
• Filters: Strong body, volume, delta, optional engulfing
• Bias: EMA stack bearish
• Entry: Pullback to top of FRVP range
• Visual: Red CHoCH line + “Enter” label
🛠 Notes for Overlay Builders
• All modules are toggleable for clarity and experimentation.
• CHoCH logic is atomic and timestamped—ideal for audit trails.
• FRVP zones are now directionally aware (thanks to David’s refinement).
• Imbalance scoring is reversible and narratable—perfect for diagnostic overlays.
felci The first row shows HIGH values of NIFTY.
The second row shows LOW values of NIFTY.
Some values are negative (like -2058, -300, -486)—these could indicate changes or differences rather than absolute index values.
The table seems color-coded in the image: green, orange, and light colors—probably to highlight ranges or thresholds.
Key Levels: Open & Midday🔹 Opening Candle (9:30 AM New York Time)
Plots the high and low of the first 5-minute candle after the market opens.
🔹 12:30 PM Candle (3 hours after open)
Plots the high and low of the candle formed exactly 3 hours after the market opens.
These levels are useful for:
Identifying support/resistance zones.
Creating breakout or reversal strategies.
Tracking intraday momentum shifts.
📌 Important Notes:
Designed for 5-minute charts.
Make sure your chart is set to New York time (exchange time) for accurate levels.
Happy Trading!
Multi-Timeframe Stochastic RSI Momentum MatrixThis indicator gives you a "bigger picture" view of a stock's momentum by showing you the Daily, Weekly, and Monthly Stoch RSI all in one place. It helps answer two key questions: "Where is the price going?" and "When might things change?". The results of this indicator are presented in a table for easy viewing.
What the Columns Mean:
Stoch RSI : The main momentum score. Red means "overbought" (momentum is high and might be getting tired), and green means "oversold" (momentum is low and might be ready to bounce).
Price for OB/OS : This shows you the approximate price the stock needs to hit to become overbought or oversold.
- (Hist) means the target is a real price that happened recently.
- (Pred) means the price has exceeded the historical momentum boundary at which was oversold or overbough so the indicator has to predict a new target instead of leveraging a historical target.
Key Anchor Reset In : Think of this as a simple countdown. It tells you how many bars (days, weeks, etc.) are left until a key old price is dropped from the indicator's memory. When this countdown hits zero, it can cause a sharp change in the momentum reading, giving you a "heads-up" for a potential shift.
If you're interested in more technical details, read below:
I have leveraged a quantitative framework for analyzing the temporal dynamics of the Stochastic RSI across multiple timeframes (Daily, Weekly, Monthly). It functions as a correlational matrix, designed to move beyond simple overbought/oversold signals by providing contextual and data-driven targets in both price and time.
The matrix computes two primary sets of forward-looking data points:
Price Targets : A hybrid model is employed to determine the price required to push the StochRSI oscillator into an extreme state.
- Historical Anchor (Hist) : This is the primary/default method. It identifies the
deterministic close price within the lookback period that corresponds to the highest (or
lowest) RSI value. This represents a concrete and historically-defined momentum boundary.
- Predictive Heuristic (Pred) : In instances where the current price has invalidated this
historical anchor (i.e., the market is in a state of momentum expansion), the model
switches to a predictive heuristic. It calculates the recent price-to-RSI volatility ratio and
extrapolates the approximate price movement required to achieve an overbought or
oversold state.
Temporal Targets ("Key Anchor Reset In") : This metric provides a temporal forecast. It identifies the highest and lowest RSI values currently anchoring the Stochastic calculation and determines the number of bars remaining until these key data points are excluded from the lookback window. The roll-off of these anchors can precede a significant, non-linear reset in the oscillator's value, thus serving as a leading indicator for a potential momentum state-shift.
Disclaimer : This tool is a derivative of historical price action and should be used for quantitative analysis of momentum states, not as an oracle. The "predictive" components are heuristic extrapolations based on recent volatility and momentum characteristics and they are probabilistic in nature and do not account for exogenous market variables or fundamental shifts. All outputs are contingent on the continuation of the ticker's current momentum profile.
Rylan Trades ToolkitStay ahead of the market with this all-in-one levels indicator.
It automatically plots key opens (Midnight, Day Session, Week, Month, Quarter, Year, or custom time) plus previous Highs and Lows from multiple timeframes.
Customize your style, width, and extensions, while the indicator keeps charts clean by auto-replacing old lines as new periods begin.
Trade smarter, cut through the noise, and focus only on the levels that matter most.
Volume By lCSIt is just a normal volume indicator. The only thing that it does is that it Highlights volume lower than Volume ma.
Positional Toolbox v6 (distinct colors)what the lines mean (colors)
EMA20 (green) = fast trend
EMA50 (orange) = intermediate trend
EMA200 (purple, thicker) = primary trend
when the chart is “bullish” vs “bearish”
Bullish bias (look for buys):
EMA20 > EMA50 > EMA200 and EMA200 sloping up.
Bearish bias (avoid longs / consider exits):
EMA20 < EMA50 < EMA200 or price closing under EMA50/EMA200.
the two buy signals the script gives you
Pullback Long (triangle up)
Prints when price dips to EMA20 (green) and closes back above it while trend is bullish and ADX is decent.
Entry: buy on the same close or on a break of that candle’s high next day.
Stop: below the pullback swing-low (or below EMA50 for simplicity).
Best for: adding on an existing uptrend after a shallow dip.
Breakout 55D (“BO55” label)
Prints when price closes above prior 55-day high with volume surge in a bullish trend.
Entry: on the close that triggers, or next day above the breakout candle’s high.
Stop: below the breakout candle’s low (conservative: below base low).
Best for: fresh trend legs from bases.
simple “sell / exit” rules
Trend exit (clean & mechanical): exit if daily close < EMA50 (orange).
More conservative: only exit if close < EMA200 (purple).
Momentum fade / weak breakout: if BO55 triggers but price re-closes back inside the base within 1–3 sessions on above-avg volume → exit or cut size.
Profit taking: book some at +1.5R to +2R, trail the rest (e.g., below prior swing lows or EMA20).
quick visual checklist (what to look for)
Are the EMAs stacked up (green over orange over purple)? → ok to buy setups.
Did a triangle print near EMA20? → pullback long candidate.
Did a BO55 label print with strong volume? → breakout candidate.
Any close under EMA50 after you’re in? → reduce/exit.
timeframe
Use Daily for positional signals.
If you want a tighter entry, drop to 30m/1h only to time the trigger—but keep decisions anchored to the daily trend.
alerts to set (so you don’t miss signals)
Add alert on Breakout 55D and Pullback Long (from the indicator’s alertconditions).
Optional price alerts at the breakout level or EMA20 touch.
risk guardrails (MTF friendly)
Risk ≤1% of capital per trade.
Avoid fresh entries within ~5 trading days of earnings unless you accept gap risk.
Prefer high-liquidity NSE F&O names (your CSV watchlist covers this).
TL;DR (super short):
Green > Orange > Purple = uptrend.
Triangle near green = buy the pullback; stop under swing low/EMA50.
BO55 label = buy the breakout; stop under breakout candle/base.
Exit on close below EMA50 (or below EMA200 if you’re giving more room).