[TRIX] MTF Highs/LowsMTF Highs and Lows automatically drawn and mitigated on LTF when price sweeps. Select up to 4 HTF timeframes. Never have to draw your time frame based draw's on liquidity again.
Wskaźniki i strategie
Spreads CCC/BBB/AAA vs Treasury 10Y//@version=5
indicator("Spreads CCC/BBB/AAA vs Treasury 10Y", overlay=false)
// Tickes de ejemplo (debes reemplazar con los que tengas disponibles en TradingView)
ccc = request.security("XCCC", "D", close) // High Yield CCC
bbb = request.security("LQD", "D", close) // Investment Grade BBB
aaa = request.security("QLTA", "D", close) // AAA
treasury = request.security("US10Y", "D", close) // US Treasury 10Y
// Cálculo del spread (yield bono - yield Treasury)
spread_ccc = ccc - treasury
spread_bbb = bbb - treasury
spread_aaa = aaa - treasury
// Umbral para alerta de riesgo
umbral = input.float(2.0, "Umbral spread (%)")
// Plot de los spreads
plot(spread_ccc, color=color.red, title="Spread CCC")
plot(spread_bbb, color=color.orange, title="Spread BBB")
plot(spread_aaa, color=color.green, title="Spread AAA")
// Señal visual cuando el spread supera el umbral
plotshape(spread_ccc > umbral, title="Alerta CCC", color=color.red, style=shape.triangledown, location=location.abovebar, size=size.tiny)
plotshape(spread_bbb > umbral, title="Alerta BBB", color=color.orange, style=shape.triangledown, location=location.abovebar, size=size.tiny)
plotshape(spread_aaa > umbral, title="Alerta AAA", color=color.green, style=shape.triangledown, location=location.abovebar, size=size.tiny)
Gann Swings with Weis Wave VolumeThis indicator combines two powerful market analysis techniques into a single, comprehensive tool: swing analysis based on the theories of W.D. Gann and volume analysis popularized by David Weis (Weis Wave). By visualizing the market's wave structure and the volume that drives each move, this indicator helps traders gauge the strength of a trend and identify potential reversals.
Key Features
Gann Swing Lines:
The indicator automatically identifies and plots market swings by connecting significant highs and lows. This provides a clean, intuitive view of the market's structure and the prevailing trend direction.
Upward swings are colored green, and downward swings are colored red (by default), making it easy to see the market's flow at a glance. A real-time line is also drawn to track the current, developing swing.
Weis Wave Volume Display:
At the conclusion of each swing, the indicator calculates the total cumulative volume for that entire price wave and displays it at the swing's peak or trough. This is the core of the Weis Wave concept, linking volume directly to price swings rather than individual candles.
This feature allows traders to analyze the "effort vs. result." For example, a long upward price swing that occurs on low cumulative volume may suggest a lack of conviction and a higher probability of reversal. Conversely, a breakout past a previous swing high accompanied by significant volume confirms the strength of the move.
The cumulative volume for the current, unfinished wave is also displayed in real-time with an underscore (_) suffix.
Volume-Based Candle Coloring:
This optional feature colors the price bars based on their volume relative to a moving average (EMA) of volume.
Candles with significantly higher-than-average volume are painted in darker, more intense shades of green (for up-candles) or red (for down-candles).
This helps to instantly spot high-interest areas, such as climactic buying or selling, which often occur at key support and resistance levels or turning points.
Settings (Inputs) Explained
Gann Swing Settings:
Show Gann Swing Lines: Toggles the visibility of the swing lines.
Line Width: Adjusts the thickness of the swing lines.
Up Swing/Down Swing: Allows for full customization of the colors for up and down swing lines.
Volume Numbers Settings:
Show Volume Numbers: Toggles the visibility of the cumulative Weis Wave volume labels.
Up Volume/Down Volume: Customizes the text color for the volume numbers on up and down swings.
Size: Changes the font size of the volume labels ("Tiny" to "Huge").
Volume Unit: Formats the volume display. Choose "None" for the raw number, "K" for thousands, "M" for millions, or "B" for billions to keep the chart clean.
Additional Visual Settings:
Show Volume Candles: Enables or disables the volume-based bar coloring.
Volume EMA Period: Sets the lookback period for the Exponential Moving Average used to calculate average volume for the bar coloring feature.
How to Use
This indicator can be a valuable addition to various trading strategies.
Trend Confirmation: A healthy trend will typically show increasing cumulative volume on swings in the direction of the trend. For instance, in a strong uptrend, each new upswing should ideally be accompanied by volume that is equal to or greater than the previous upswing.
Divergence and Reversal Signals: A classic signal of a weakening trend is divergence. If the price makes a new higher high, but the cumulative volume on that upswing is significantly lower than the previous one, it indicates that the buying pressure is fading and a reversal may be imminent.
Identifying Key Levels: The points where swings reverse, especially when accompanied by high cumulative volume, often become critical support or resistance levels for future price action. The volume-colored candles can further highlight specific bars where institutional activity is likely occurring.
このインジケーターは、W.D.ギャンの理論に基づいたスイング分析と、デビッド・ワイスが普及させた出来高分析(ワイスウェーブ)を組み合わせたテクニカル分析ツールです。相場の波動(スイング)とそのスイングを形成するためにどれだけの出来高が投入されたかを視覚的に捉えることで、トレンドの強弱や転換の可能性を評価するのに役立ちます。
主な機能
ギャンスイングの描画:
相場の高値と安値を基に、上昇スイングと下降スイングを自動で識別し、ラインで結んで表示します。
これにより、市場の基本的な構造やトレンドの方向性を直感的に把握できます。
上昇スイングは緑色、下降スイングは赤色(デフォルト設定)で表示され、現在進行中のスイングはリアルタイムで描画され続けます。
ワイスウェーブ出来高の表示:
一つのスイング(波)が完了するごとに、そのスイングの始点から終点までの累計出来高を計算し、スイングの頂点(高値・安値)に表示します。
大きな価格変動(スイング)が出来高を伴っているか、あるいは出来高が乏しい中で価格だけが動いているかを判断する材料となります。
例1: 上昇スイングの価格幅が大きいにも関わらず出来高数値が小さい場合、その上昇の勢いが弱い可能性を示唆します。
例2: 価格の動きは小さいのに出来高数値が非常に大きい場合、強い抵抗や支持、あるいは市場の意見が対立している状況を示唆します。
現在進行中のスイングの累計出来高も、末尾に「_」を付けてリアルタイムで表示します。
出来高ローソク足の色付け:
オプションを有効にすると、各ローソク足の出来高を移動平均線(EMA)と比較し、その出来高の大きさに応じてローソク足を色付けします。
出来高が平均よりも大幅に大きい足は濃い色で表示され、市場の注目が集まっている価格帯(重要な高値・安値など)を特定するのに役立ちます。
設定項目(インプット)の解説
ギャンスイング設定:
ギャンスイングラインを表示: スイングラインの表示/非表示を切り替えます。
線の太さ: ラインの太さを調整します。
上昇スイング/下降スイング: 各スイングラインの色を自由に設定できます。
出来高数値の設定:
出来高数値を表示: スイングごとの累計出来高の表示/非表示を切り替えます。
上昇出来高/下降出来高: 出来高数値のテキスト色を自由に設定できます。
サイズ: 出来高数値の文字サイズを選択できます。
出来高の単位: 出来高の数値をそのまま表示するか、「K」(千)、「M」(百万)、「B」(十億)単位に変換して表示するかを選択できます。
追加の視覚設定:
出来高ローソク足を表示: 出来高に応じたローソク足の色付け機能の有効/無効を切り替えます。
出来高EMA期間: ローソク足の色付けの基準となる出来高移動平均線の期間を設定します。
活用方法
このインジケーターは、単独で使うだけでなく、他のテクニカル指標と組み合わせることで、より精度の高い分析が可能になります。
トレンドの確認: 価格が上昇スイングを続けており、かつ各上昇スイングの出来高が増加傾向にあれば、強い上昇トレンドと判断できます。
トレンド転換の察知: 価格は新高値を更新しているのに、上昇スイングの出来高が前回よりも著しく減少している場合(ダイバージェンス)、上昇の勢いが尽きかけており、トレンド転換が近い可能性を示唆します。
重要な価格帯の特定: 出来高ローソク足機能で色が濃くなっている価格帯は、多くの市場参加者が取引したことを意味し、将来的にサポート(支持)やレジスタンス(抵抗)として機能する可能性があります。
EMA Crossover Lines with VWAP, EMA 50/200 and Premarket AlertsOverview
An intraday overlay that combines trend and liquidity cues in one view. It plots your Fast/Slow EMAs, the widely watched EMA-50 and EMA-200, plus VWAP for session bias. During the configured pre-market session, it tracks and projects the pre-market high/low into regular hours—then alerts when price breaks those levels.
What it shows
EMAs: Fast + Slow (user-defined), EMA-50, EMA-200 for trend and crossover context.
VWAP: Session anchor for mean-reversion vs. trend continuation.
Pre-Market Levels: Dynamic Pre-Market High/Low lines (extend into RTH).
Alerts: Triggers when price crosses above pre-market high or below pre-market low (bar-close, non-repainting).
Inputs
Fast EMA Length (default 9)
Slow EMA Length (default 21)
EMA 50 Length (default 50)
EMA 200 Length (default 200)
Pre-market Session (default 04:00–09:30)
Session Timezone (default America/New_York)
How to use
Use EMA-50/200 slope and position to gauge higher-timeframe trend.
VWAP helps identify premium/discount within the day.
Watch pre-market breakouts for momentum entries, or fades back inside for mean reversion.
Combine with your own risk rules; alerts are informational.
Notes
Alerts fire on closed bars to avoid repainting.
Works on most intraday timeframes. Ensure the timezone matches the exchange you trade.
Lines only show when a pre-market session exists for the day.
Quarterly Divider [Coded]// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © TheClairvoyant_Trader
//@version=6
indicator("Quarterly Divider", overlay=true)
// Input for customizing line color and thickness
lineColor = input.color(color.blue, title="Line Color")
lineThickness = input.int(2, title="Line Thickness", minval=1, maxval=5)
// Define the quarter start dates (1st of Jan, Apr, Jul, and Oct) from 2025 onward
startYear = 2015
quarters = array.new_int(4)
// Add timestamps for each quarter in 2025 and beyond
for year = startYear to year(timenow)
array.push(quarters, timestamp(year, 1, 1, 0, 0)) // Q1
array.push(quarters, timestamp(year, 4, 1, 0, 0)) // Q2
array.push(quarters, timestamp(year, 7, 1, 0, 0)) // Q3
array.push(quarters, timestamp(year, 10, 1, 0, 0)) // Q4
// Loop through the array and draw vertical lines at the start of each quarter
for i = 0 to array.size(quarters) - 1
quarterStartTime = array.get(quarters, i)
if (time >= quarterStartTime) and (time < quarterStartTime)
// Draw vertical lines
line.new(x1=bar_index, x2=bar_index, y1=low, y2=high, color=lineColor, width=lineThickness, extend=extend.both)
// Plot quarter labels below the vertical line (near the timestamp)
quarterLabel = i % 4 == 0 ? "Q1" : i % 4 == 1 ? "Q2" : i % 4 == 2 ? "Q3" : "Q4"
label.new(bar_index, low - (high - low) * 0.1, text=quarterLabel, color=color.blue, style=label.style_label_up, size=size.small)
MO and Stoch GOLD H4 V.s.1 – Kim Trading MO and Stoch GOLD H4 V.s.1 – Kim Trading
Market: XAUUSD • Timeframe: H4 (4h)
Signal tiers.
B/S (basic), B1★/S1★ (MO + Stoch RSI), B2★/S2★ (with-trend filter), B3★/S3★ (plus divergence).
Trade only when one of the four labels appears. Consider DCA with the prevailing trend and add other confluences (levels, candles, volume, timing) for optimal setups.
Notes. Use Alerts → Once Per Bar Close. Educational tool, not financial advice. Source code Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
MO and Stoch BTC/Altcoin H4 V.s.1 – Kim TradingMO and Stoch BTC/Altcoin H4 V.s.1 – Kim Trading
Market: BTCUSD + major USDT altcoins (e.g., ETH, SOL, …) • Timeframe: H4 (4h)
Signal tiers.
B/S (basic), B1★/S1★ (MO + Stoch RSI), B2★/S2★ (with-trend filter), B3★/S3★ (plus divergence).
Trade only when one of the four labels appears. Consider DCA with the prevailing trend and add other confluences (levels, candles, volume, timing) for optimal setups.
Notes. Use Alerts → Once Per Bar Close. Educational tool, not financial advice. Source code Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#BTC #Bitcoin #Altcoins #Crypto #H4 #MO #Stoch #KimTrading
rsi jokerعندنا رسم بياني (شارت) على منصة TradingView.
واضح أنه شارت زمني قصير (ممكن M5 أو M15).
مرسوم عليه مستويات HH (Higher High), LL (Lower Low), HL (Higher Low), LH (Lower High).
الاتجاه الحالي:
من الرسم نلاحظ أن السعر عمل HH (قمة جديدة أعلى) ثم بعدها هبط بقوة وسجل LL (قاع جديد أقل).
بعد الـ LL، بدأ السعر يصعد لكن سجل LH (قمة أقل من السابقة)، مما يعني أن الاتجاه على المدى القريب يميل للهبوط (ترند هابط).
الخطوط المرسومة:
الخط الأحمر العلوي يمثل ترند هابط يربط القمم (مقاومة مائلة).
الخطوط الخضراء في الأسفل تمثل قناة سعرية هابطة أو دعم مائل.
الخط الأصفر يمثل خط اتجاه ثانوي/ضعيف داخل الترند.
المناطق المهمة:
المنطقة الحمراء بالأعلى: منطقة مقاومة قوية (إمداد/Supply Zone).
المنطقة الخضراء بالأسفل: منطقة دعم (طلب/Demand Zone).
الوضع الحالي للسعر:
السعر ارتد من الدعم (LL) وطلع لمستوى الترند الأحمر.
الآن يختبر المقاومة المائلة، ولو كسرها مع ثبات أعلى ممكن نشوف صعود للتجربة على المنطقة الحمراء.
لكن لو فشل بالكسر (رفض عند الترند)، ممكن يرجع للهبوط ويعيد اختبار المنطقة الخضراء.
📌 السيناريوهات المتوقعة:
صعود مشروط: إذا كسر الترند الأحمر + ثبات بشمعة واضحة → أهدافه المنطقة الحمراء (منطقة العرض).
هبوط مرجح: إذا فشل بالكسر → يرجع يعيد اختبار القاع السابق (LL) أو يكمل ضمن القناة الهابطة.
تحليل مختصر:
الاتجاه العام قصير المدى هابط، وأي صعود حالياً يعتبر تصحيح ما لم يكسر الترند العلوي والمنطقة الحمراء بثبات. Alright ✅ Let’s break this chart down in English:
General Structure:
This is a chart from TradingView on a short timeframe (likely M5 or M15).
It shows marked levels: HH (Higher High), LL (Lower Low), HL (Higher Low), LH (Lower High).
Trend Analysis:
Price created a Higher High (HH) but then dropped sharply to form a Lower Low (LL).
After the LL, price bounced but only managed to form a Lower High (LH) → this indicates a downtrend (bearish structure).
Drawn Lines:
Red descending line: main downtrend resistance (connecting lower highs).
Green lines below: channel support (downward sloping support zone).
Yellow line: minor/secondary trendline inside the main structure.
Key Zones:
Red zone (top): strong supply/resistance area.
Green zone (bottom): demand/support area.
Current Price Action:
Price bounced from the LL (support) and is now testing the red trendline (resistance).
If price breaks above and holds, it could push toward the red supply zone.
If price fails to break, it will likely drop back down, retesting the LL or sliding further inside the bearish channel.
📌 Scenarios:
Bullish case: Break + hold above the red trendline → target = red supply zone.
Bearish case (more likely): Rejection at the trendline → continuation downward to test LL or lower channel support.
🔎 Summary:
The short-term structure is bearish. Any upside move is just a correction unless price breaks above the trendline and supply zone.
Bias AnalyzerBias Analyzer – Institutional Bias Scoring Tool
The Bias Analyzer combines multiple institutional trading concepts into a single adaptive scoring system. It calculates a directional bias score (0–100) by weighting volume, trend, structure, VWAP/imbalance, and momentum.
🔹 Main Features
Volume Bias → cumulative buy/sell pressure (customizable lookback)
Trend Bias → based on short-term moving average confirmation
Structure Bias → swing high/low detection with ATR filter
VWAP / Imbalance Bias → price relation to VWAP
Momentum Factor → adaptive impulse weighting
Final Bias Score → combined & volatility-adjusted (0–100 scale)
Flip Markers → optional EMA dots when bias changes
Bias Widget → on-chart display with long/short percentage and multiple style presets (Classic, Dark, Neon, Terminal, Gold, Midnight, Purple, etc.)
Custom Mode → fully user-defined widget colors
🔹 Use Case
This tool helps traders to quickly identify the institutional directional bias of the market.
It is designed as a decision-support indicator and not as an automated trading system.
© 2025 Project Pegasus
RSI + OBV DivergencesRSI OBV DIV
Mainly marking the divergence between the current market's RSI and OBV.
Time-Restricted vs Normal SMA This script plots two Simple Moving Averages (SMAs):
Restricted SMA (Orange): A moving average that only uses data within a defined intraday session (default: 09:15 – 16:30). It ignores all price data outside this session and does not draw a line during off-hours.
Normal SMA (Blue): A standard rolling SMA that runs continuously using all bars, without time restrictions.
The restricted SMA is useful for traders who only want to analyze moving averages during active market hours, such as stock exchange sessions or custom trading windows. By filtering out after-hours and pre-market activity, this indicator helps align signals more closely with official trading sessions.
Customization:
Adjust the lengths of both SMAs.
Modify the session hours to match your market or strategy.
This tool is designed for intraday traders who want greater control over how moving averages respond to session-specific data.
Pegasus – SMT Divergence (Hybrid: Sync/Async NQ Optimized)This script automatically identifies Smart Money Technique (SMT) divergences between two selected symbols (e.g., NQ & ES) and marks them visually on the chart.
Key Features:
Hybrid detection: supports both synchronous and asynchronous divergences
Multi-market support: optimized for NASDAQ (NQ) and S&P500 (ES), but also applicable to Forex, Crypto, and other markets
Visual controls: optional display or hiding of divergence lines, labels, and primary pivot links
Precise signal logic: detection of equal highs and equal lows with subsequent confirmation through SMT divergence
Specifically designed for intraday futures trading
Use Case:
The tool supports traders in analyzing SMT divergences as confluence for their strategies.
Disclaimer:
This script is not an automated trading system but is intended solely for analysis and decision support.
© 2025 Project Pegasus
🔥 MomentumWave HA Trend1. Heikin Ashi Candles
The indicator calculates Heikin Ashi candles to smooth price movements.
Heikin Ashi reduces market noise, making it easier to spot trends than regular candlesticks.
Bullish candle: close > open → green-ish candle.
Bearish candle: close < open → red-ish candle.
2. Exponential Moving Averages (EMA)
Two EMAs are plotted on the chart: fast EMA and slow EMA.
Fast EMA: reacts quickly to recent price changes.
Slow EMA: shows the overall trend.
When fast EMA > slow EMA → market is trending up.
When fast EMA < slow EMA → market is trending down.
3. Momentum Filters
EMA slope: the indicator checks if the fast EMA is rising or falling to confirm momentum.
ROC (Rate of Change): ensures price movement is strong in the current direction.
RSI filter: prevents signals when the market is overbought or oversold.
RSI above lower bound → allows bullish trend.
RSI below upper bound → allows bearish trend.
4. Optional MACD Filter
If enabled, the indicator uses the MACD slope to confirm trend strength.
This reduces false signals in weak trend periods.
5. Confirmation of Consecutive Candles
The indicator requires a certain number of consecutive Heikin Ashi candles in the same direction before generating a signal.
This avoids acting on a single volatile candle and increases accuracy.
6. Cooldown Period
After a signal is generated, a cooldown period prevents immediate repeated signals.
This reduces overtrading in volatile markets.
7. Signals
TREND-RISE (triangle below candle): indicates a confirmed bullish trend.
TREND-FALL (triangle above candle): indicates a confirmed bearish trend.
Alerts can be set for both signals to notify you in real time.
8. How to Use
Open a chart and add the MomentumWave HA Trend indicator.
Look at the EMA fast (teal) and EMA slow (maroon) lines.
Wait for a signal:
TREND-RISE: consider long positions or buying opportunities.
TREND-FALL: consider short positions or selling opportunities.
Check RSI and MACD (if enabled) to confirm signal strength.
Observe consecutive Heikin Ashi candle confirmation.
Respect the cooldown period before opening another position.
Apply risk management (stop-loss, position size) based on your strategy.
9. Disclaimer
This indicator is a technical analysis tool and does not guarantee profits.
Always use proper risk management and validate signals with your own analysis before trading.
Trade Size Calculator By Skapez Trade Size Calculator By Skapez — ARM it, Drag & Trade!
A simple, position-sizing calculator for easy trader sizing.
It plots Entry / Stop / TP lines, sizes your trade to a fixed % risk (e.g., 2%), calculates leverage, and shows clean labels (Risk $, TP $, Position $, Leverage ×). You can ARM a setup, drag the lines to fine-tune, and (optionally) trigger alerts for webhooks.
What it does:
Fixed-fractional risk : sizes position so SL equals your chosen % of account (e.g., 2%).
Leverage cap & lot rounding : respects your max leverage and exchange lot step.
Drag-to-edit : move Entry/Stop; TP and sizing update automatically.
Swing-stop helper (optional): snap SL to recent swing low/high or nearest pivot. (Auto stop loss finder)
Valid-until window: auto-expires stale setups (e.g., after 120 minutes).
Alerts-ready: add your own JSON in the alert to send to a bot/webhook.
Quick start (60 seconds)
Add to chart and open Settings.
In Risk, set:
Account Balance (USD) and Risk % (e.g., 2.0).
Side (Long/Short).
In Levels:
Put an Entry price (or leave 0 to use current price when you ARM).
Choose Stop: type it manually or toggle Swing stop helper.
Pick your Target R multiple (e.g., 3.0 for 3:1).
In Leverage, set:
Leverage Cap (e.g., 10×) and Min/Step Size (e.g., 0.001 BTC).
Toggle ARM on. Three lines appear. Drag the blue/red lines if needed; the green TP and all numbers update.
Tip: Pin the indicator to the Right Price Scale (format icon → “Pin to scale”) so everything lines up perfectly.
On-chart visuals
Blue = Entry (label shows Position $ and Leverage × to the far right).
Red = Stop (label shows Risk $).
Green = TP (label shows TP P&L $).
Works on any symbol/timeframe; prices are rounded to the symbol’s tick size.
That’s it—arm, drag, and go.
Goku止盈An indicator based on Goku's profit taking strategy.
ATR levels:
<= 4: Green: Safe
<= 6: Yellow: Attention
<= 7: Orange: Take profit
>7: Red: Take more profit
ARB Close Lines —18:45→19:05 his indicator plots exactly two horizontal lines per day:
Start line at the close of the 18:45 IST candle.
End line at the close of the 19:05 IST candle.
Both lines automatically extend to 23:30 IST (default, fully editable).
Features
Adjustable Start / End time (hour + minute, default 18:45 → 19:05).
Adjustable extension time (default 23:30).
Keeps the last N days of lines (default 100).
Works on intraday timeframes (1m–60m).
Clean: always exactly two lines per day.
Usage
Helps track short intraday windows (e.g., 20-minute ORB around 18:45–19:05 IST) for evening breakout/trap setups. Ideal for gold, Bitcoin, or other 24/7 instruments.
Waheeds buy and sell signals//@version=6
indicator("RSI Extremes Gradient Candles", overlay=true)
rsi = ta.rsi(close, 14)
// Gradient ratios
rsiAboveRatio = math.max(math.min((rsi - 70) / 30, 1), 0)
rsiBelowRatio = math.max(math.min((30 - rsi) / 30, 1), 0)
// RGB values
redAbove = math.round(255 * rsiAboveRatio)
orangeAbove = math.round(165 * (1 - rsiAboveRatio))
redBelow = math.round(255 * rsiBelowRatio)
orangeBelow = math.round(165 * (1 - rsiBelowRatio))
// Final colors
colorAbove70 = color.rgb(247, 247, 247)
colorBelow30 = color.rgb(0, 255, 17)
// Default light blue for all other candles
defaultColor = color.rgb(0, 0, 0) // Light blue
// Assign candle color
color candleColor = na
candleColor := rsi > 70 ? colorAbove70 :
rsi < 30 ? colorBelow30 :
defaultColor
barcolor(candleColor)
// Detect RSI cross above 30
rsiCrossAbove30 = ta.crossover(rsi, 30)
// Plot arrow below candle when RSI crosses above 30
plotshape(rsiCrossAbove30,title="RSI Cross Above 30",location=location.belowbar,color=color.green,style=shape.triangleup,size=size.small)
// RSI and its MA
rsiMA = ta.sma(rsi, 14)
// Track if RSI was recently below 30
wasBelow30 = ta.lowest(rsi, 3) < 30 // You can adjust the lookback
// Crossover condition
rsiCrossAboveMA = ta.crossover(rsi, rsiMA) and wasBelow30
// RSI and its MA
// Plot green dot on RSI panel
plotshape(rsiCrossAboveMA, title="RSI Cross Above MA After <30",location=location.absolute,color=color.green,style=shape.circle,size=size.small)
rsiBelow26 = rsi < 26
plotshape(rsiBelow26,title="RSI Below 26",location=location.absolute,color=color.red,style=shape.circle,size=size.small)
plotshape(rsiBelow26,title="RSI Below 26",location=location.absolute,color=color.red,style=shape.circle,size=size.small)
// Mid-zone crossover condition
rsiMidZone = rsi > 31 and rsi < 69
rsiCrossMidZone = ta.crossover(rsi, rsiMA) and rsiMidZone
// Plot white circle on RSI panel
plotshape(rsiCrossMidZone,title="RSI Mid-Zone Crossover",location=location.absolute,color=color.white,style=shape.circle,size=size.small)
// Trend state logic
rsiSlope = rsi - rsi
rsiMACrossUp = ta.crossover(rsi, rsiMA)
rsiMACrossDown = ta.crossunder(rsi, rsiMA)
// Optional volatility filter
atr = ta.atr(14)
volatilityThreshold = atr > ta.sma(atr, 14)
// Adaptive trend signal
bullTrend = rsiMACrossUp and rsiSlope > 0 and volatilityThreshold
bearTrend = rsiMACrossDown and rsiSlope < 0 and volatilityThreshold
// Plot trend state
bgcolor(bullTrend ? color.new(color.green, 85) :
bearTrend ? color.new(color.red, 85) :
na, title="Trend Background")
plotshape(bullTrend, title="Bull Trend Start", location=location.belowbar, style=shape.labelup, color=color.green, text="↑")
plotshape(bearTrend, title="Bear Trend Start", location=location.abovebar, style=shape.labeldown, color=color.red, text="↓")
rsiExtremeHigh = rsi > 75 // You can change this to 80 if preferred
plotshape( rsiExtremeHigh,title="RSI > 75 Circle",location=location.abovebar,color=color.orange,style=shape.circle,size=size.small)
isWhiteRSIAbove78 = rsi > 75
isRedBody = close < open
whiteRedCandle = isWhiteRSIAbove78 and isRedBody
plotshape(whiteRedCandle, title="White Candle with Red Body (RSI > 75)", location=location.abovebar, color=color.orange, style=shape.circle, size=size.small)
// Orange circle on white-filled, red-bodied candles (RSI > 75 and close < open)
isWhiteFill = rsi > 75 // This triggers colorAbove70
plotshape(isWhiteFill and isRedBody,title="White Candle with Red Body (RSI > 75)",location=location.abovebar,color=color.orange,style=shape.circle,size=size.small)
ARB Close Lines — 2 Lines/Day (v6, single-line)This indicator plots exactly two horizontal lines per day:
Start line at the close of the Start candle (default 18:00 IST).
End line at the close of the End candle (default 19:00 IST).
Both lines automatically extend until 23:30 IST (editable).
Features
Adjustable Start/End time (hour + minute, in IST or any timezone you choose).
Adjustable extension time (default 23:30).
Keeps the last N days of lines (default 100).
Works on intraday charts (1–60m).
[TRIX] Vertical Timeframe LinesAllows user to select higher timeframe vertical lines on LTF charts. User can change colors and styles.
ARB 18:00–19:00 IST — Anchored 3h Lines (v6, multi-day)Draws a simple Opening Range for 24/7 markets using a custom time window. By default it captures the high and low formed between 18:00 and 19:00 IST each day, then locks those levels at 19:00 and extends two horizontal lines to the right. No alerts, no signals—pure levels so you can track breakouts or traps manually.
[TRIX] Wick FibsAuto fibs just the wicks for wick retracements. User can select timeframe, fib levels, colors, etc.
[TRIX] Candle FibsAuto fibs candles. User can select timeframe, fib levels, colors, draw from top top or bottom.