5-Min Call/Put Entry StrategyNifty / Bank Nifty /FinNifty
Call buy signal (all conditions must) :-
5 min time frame Close above 21SMA high
Close above vwap
5 min time frame close above 50 ema
RSI above 60 on 5 min time frame
Put buy signal (all conditions must) :-
5 min time frame Close below 21SMA low
Close below vwap 5 min time frame
close below 50 ema
RSI below 40 on 5 min time frame
Stop Loss condition for Call : 5 min time frame Close below 21SMA Low
Stop Loss condition for Put : 5 min time frame close above 21SMA High
المؤشرات والاستراتيجيات
Scalper's Fractal Cloud with RSI + VWAP + MACD (Fixed)Scalper’s Fractal Confluence Dashboard
1. Purpose of the Indicator
This TradingView indicator script provides a high-confluence setup for scalping and day trading. It blends momentum indicators (RSI, MACD), trend bias tools (EMA Cloud, VWAP), and structure (fractal swings, gap zones) to help confirm precise entries and exits.
2. Components of the Indicator
- EMA Cloud (50 & 200 EMA): Trend bias – green means bullish, red means bearish. Avoid longs under red cloud.
- VWAP: Institutional volume anchor. Ideal entries are pullbacks to VWAP in direction of trend.
- Gap Zones: Shows open-air zones (white space) where price can move fast. Used to anticipate momentum moves.
- ZigZag Swings: Marks structural pivots (highs/lows) – useful for stop placement and range anticipation.
- MACD Histogram: Shows bullish or bearish momentum via background color.
- RSI: Overbought (>70) or oversold (<30) warnings. Good for exits or countertrend reversion plays.
- EMA Spread Label: Quick view of momentum strength. Wide spread = strong trend.
3. Scalping Entry Checklist
Before entering a trade, confirm these conditions:
• • Bias: EMA cloud color supports trade direction
• • Price is above/below VWAP (confirming institutional flow)
• • MACD histogram matches direction (green for long, red for short)
• • RSI not at extreme (unless you’re fading trend)
• • If entering gap zone, expect fast move
• • Recent swing high/low nearby for target or stop
4. Risk & Sizing Guidelines
Risk 1–2% of account per trade. Place stop below recent swing low (for longs) or high (for shorts). Use fractional sizing near VWAP or white space zones for scalping reversals.
5. Daily Trade Journal Template
- Date:
- Ticker:
- Setup Type (VWAP pullback, Gap Break, EMA reversion):
- Entry Time:
- Bias (Green/Red Cloud):
- RSI Level / MACD Reading:
- Stop Loss:
- Target:
- Result (P/L):
- What I Did Well:
- What Needs Work:
EMA Crossover with CM EMA Trend Bars//@version=5
indicator("EMA Crossover with CM EMA Trend Bars", overlay=true)
// Parameters for EMAs
emaShortLength = 9
emaLongLength = 15
// Calculating EMAs
emaShort = ta.ema(close, emaShortLength)
emaLong = ta.ema(close, emaLongLength)
// Plotting EMAs
plot(emaShort, color=color.new(color.green, 0), title="EMA 9")
plot(emaLong, color=color.new(color.black, 0), title="EMA 15")
// Buy and sell conditions
buySignal = ta.crossover(emaShort, emaLong)
sellSignal = ta.crossunder(emaShort, emaLong)
// Display buy and sell signals on chart
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// Adding CM EMA Trend Bars
trendBarColor = emaShort > emaLong ? color.green : color.red
barcolor(trendBarColor, title="CM EMA Trend Bars")
多系统止盈趋势分数交易策略This is a profitable strategy, please carefully adjust the parameters at the 15-second level
financial_history_utilsLibrary "financial_history_utils"
get_fq_value_n_quarters_ago(symbol, financial_id, n)
Parameters:
symbol (string)
financial_id (string)
n (int)
20 EMA and 50 EMA with Dynamic Coloringthis is my indictor to do swing trend when price is above 20 ema and 50ema then i looking for only long.
Green*DiamondGreen*Diamond (GD1)
Unleash Dynamic Trading Signals with Volatility and Momentum
Overview
GreenDiamond is a versatile overlay indicator designed for traders seeking actionable buy and sell signals across various markets and timeframes. Combining Volatility Bands (VB) bands, Consolidation Detection, MACD, RSI, and a unique Ribbon Wave, it highlights high-probability setups while filtering out noise. With customizable signals like Green-Yellow Buy, Pullback Sell, and Inverse Pullback Buy, plus vibrant candle and volume visuals, GreenDiamond adapts to your trading style—whether you’re scalping, day trading, or swing trading.
Key Features
Volatility Bands (VB): Plots dynamic upper and lower bands to identify breakouts or reversals, with toggleable buy/sell signals outside consolidation zones.
Consolidation Detection: Marks low-range periods to avoid choppy markets, ensuring signals fire during trending conditions.
MACD Signals: Offers flexible buy/sell conditions (e.g., cross above signal, above zero, histogram up) with RSI divergence integration for precision.
RSI Filter: Enhances signals with customizable levels (midline, oversold/overbought) and bullish divergence detection.
Ribbon Wave: Visualizes trend strength using three EMAs, colored by MACD and RSI for intuitive momentum cues.
Custom Signals: Includes Green-Yellow Buy, Pullback Sell, and Inverse Pullback Buy, with limits on consecutive signals to prevent overtrading.
Candle & Volume Styling: Blends MACD/RSI colors on candles and scales volume bars to highlight momentum spikes.
Alerts: Set up alerts for VB signals, MACD crosses, Green*Diamond signals, and custom conditions to stay on top of opportunities.
How It Works
Green*Diamond integrates multiple indicators to generate signals:
Volatility Bands: Calculates bands using a pivot SMA and standard deviation. Buy signals trigger on crossovers above the lower band, sell signals on crossunders below the upper band (if enabled).
Consolidation Filter: Suppresses signals when candle ranges are below a threshold, keeping you out of flat markets.
MACD & RSI: Combines MACD conditions (e.g., cross above signal) with RSI filters (e.g., above midline) and optional volume spikes for robust signals.
Custom Logic: Green-Yellow Buy uses MACD bullishness, Pullback Sell targets retracements, and Inverse Pullback Buy catches reversals after downmoves—all filtered to avoid consolidation.
Visuals: Ribbon Wave shows trend direction, candles blend momentum colors, and volume bars scale dynamically to confirm signals.
Settings
Volatility Bands Settings:
VB Lookback Period (20): Adjust to 10–15 for faster markets (e.g., 1-minute scalping) or 25–30 for daily charts.
Upper/Lower Band Multiplier (1.0): Increase to 1.5–2.0 for wider bands in volatile stocks like AEHL; decrease to 0.5 for calmer markets.
Show Volatility Bands: Toggle off to reduce chart clutter.
Use VB Signals: Enable for breakout-focused trades; disable to focus on Green*Diamond signals.
Consolidation Settings:
Consolidation Lookback (14): Set to 5–10 for small caps (e.g., AEHL) to catch quick consolidations; 20 for higher timeframes.
Range Threshold (0.5): Lower to 0.3 for stricter filtering in choppy markets; raise to 0.7 for looser signals.
MACD Settings:
Fast/Slow Length (12/26): Shorten to 8/21 for scalping; extend to 15/34 for swing trading.
Signal Smoothing (9): Reduce to 5 for faster signals; increase to 12 for smoother trends.
Buy/Sell Signal Options: Choose “Cross Above Signal” for classic MACD; “Histogram Up” for momentum plays.
Use RSI Div + MACD Cross: Enable for high-probability reversal signals.
RSI Settings:
RSI Period (14): Drop to 10 for 1-minute charts; raise to 20 for daily.
Filter Level (50): Set to 55 for stricter buys; 45 for sells.
Overbought/Oversold (70/30): Tighten to 65/35 for small caps; widen to 75/25 for indices.
RSI Buy/Sell Options: Select “Bullish Divergence” for reversals; “Cross Above Oversold” for momentum.
Color Settings:
Adjust bullish/bearish colors for visibility (e.g., brighter green/red for dark themes).
Border Thickness (1): Increase to 2–3 for clearer candle outlines.
Volume Settings:
Volume Average Length (20): Shorten to 10 for scalping; extend to 30 for swing trades.
Volume Multiplier (2.0): Raise to 3.0 for AEHL’s volume surges; lower to 1.5 for steady stocks.
Bar Height (10%): Increase to 15% for prominent bars; decrease to 5% to reduce clutter.
Ribbon Settings:
EMA Periods (10/20/30): Tighten to 5/10/15 for scalping; widen to 20/40/60 for trends.
Color by MACD/RSI: Disable for simpler visuals; enable for dynamic momentum cues.
Gradient Fill: Toggle on for trend clarity; off for minimalism.
Custom Signals:
Enable Green-Yellow Buy: Use for momentum confirmation; limit to 1–2 signals to avoid spam.
Pullback/Inverse Pullback % (50): Set to 30–40% for small caps; 60–70% for indices.
Max Buy Signals (1): Increase to 2–3 for active markets; keep at 1 for discipline.
Tips and Tricks
Scalping Small Caps (e.g., AEHL):
Use 1-minute charts with VB Lookback = 10, Consolidation Lookback = 5, and Volume Multiplier = 3.0 to catch $0.10–$0.20 moves.
Enable Green-Yellow Buy and Inverse Pullback Buy for quick entries; disable VB Signals to focus on Green*Diamond logic.
Pair with SMC+ green boxes (if you use them) for reversal confirmation.
Day Trading:
Try 5-minute charts with MACD Fast/Slow = 8/21 and RSI Period = 10.
Enable RSI Divergence + MACD Cross for high-probability setups; set Max Buy Signals = 2.
Watch for volume bars turning yellow to confirm entries.
Swing Trading:
Use daily charts with VB Lookback = 30, Ribbon EMAs = 20/40/60.
Enable Pullback Sell (60%) to exit after rallies; disable RSI Color for cleaner candles.
Check Ribbon Wave gradient for trend strength—bright green signals strong bulls.
Avoiding Noise:
Increase Consolidation Threshold to 0.7 on volatile days to skip false breakouts.
Disable Ribbon Wave or Volume Bars if the chart feels crowded.
Limit Max Buy Signals to 1 for disciplined trading.
Alert Setup:
In TradingView’s Alerts panel, select:
“GD Buy Signal” for standard entries.
“RSI Div + MACD Cross Buy” for reversals.
“VB Buy Signal” for breakout plays.
Set to “Once Per Bar Close” for confirmed signals; “Once Per Bar” for scalping.
Backtesting:
Replay on small caps ( Float < 5M, Price $0.50–$5) to test signals.
Focus on “GD Buy Signal” with yellow volume bars and green Ribbon Wave.
Avoid signals during gray consolidation squares unless paired with RSI Divergence.
Usage Notes
Markets: Works on stocks, forex, crypto, and indices. Best for volatile assets (e.g., small-cap stocks, BTCUSD).
Timeframes: Scalping (1–5 minutes), day trading (15–60 minutes), or swing trading (daily). Adjust settings per timeframe.
Risk Management: Combine with stop-losses (e.g., 1% risk, $0.05 below AEHL entry) and take-profits (3–5%).
Customization: Tweak inputs to match your strategy—experiment in replay to find your sweet spot.
Disclaimer
Green*Diamond is a technical tool to assist with trade identification, not a guarantee of profits. Trading involves risks, and past performance doesn’t predict future results. Always conduct your own analysis, manage risk, and test settings before live trading.
Feedback
Love Green*Diamond? Found a killer setup? Drop a comment or DM—I’d love to hear how you’re using it!
Supertrend X2 + CalcSize Calculator:
Size Calculator is a risk management tool that helps traders position themselves intelligently by calculating optimal position size, stop loss, and take profit levels based on account capital, ATR volatility, and personal risk tolerance. It takes the guesswork out of sizing so you can focus on execution.
Features:
✅ Risk-based position sizing
✅ ATR-based stop loss & take profit levels
✅ Dynamic leverage estimation
✅ Support for long and short positions
✅ Visual display of key levels and metrics via table
✅ Works across any timeframe with locked timeframe support
How It Works:
This tool computes the ideal position size as a % of account capital based on how much you're willing to risk per trade and how far your stop loss is (in ATR units). It calculates corresponding stop loss and take profit prices, and visually plots them along with a floating table of metrics. You can lock the timeframe used for ATR and price, keeping your risk logic stable even when changing chart views.
Customizable Inputs:
Account capital and risk tolerance
ATR-based stop loss & take profit multiples
Trade direction (Long or Short)
ATR period and locked timeframe
Optional detailed metrics display
Dual SuperTrend:
The Dual Supertrend indicator enhances the classic Supertrend strategy by layering two customizable Supertrend signals with independent ATR settings. This setup gives you a deeper, more nuanced read on trend strength and potential entry zones.
Features:
✅ Two Supertrend lines (each with adjustable ATR periods and multipliers)
✅ Optional Heikin Ashi candle smoothing for noise reduction
✅ Color-coded trend background for fast visual analysis
✅ Multi-timeframe trend table overlay (customizable)
✅ Built-in signal logic to identify "Long", "Short", or "N/A" zones
How It Works:
The script calculates two Supertrend levels using separate ATR settings. Trend direction is derived from the relationship between price and each band. When the larger (slower) Supertrend flips and the smaller (faster) confirms, it signals a potential entry. The multi-timeframe table helps you align trades across different timeframes.
Customizable Inputs:
ATR Periods & Multipliers for both Supertrends
Timeframes for entry zone detection (up to 4)
Enable/disable Heikin Ashi candles for smoother trend detection
TMO ((T)rue (M)omentum (O)scilator) by leo
//@version=5
indicator(title="Vwap by Leo", shorttitle="Vwap by Leo", overlay=true)
computeVWAP(src, isNewPeriod, stDevMultiplier) =>
var float sumSrcVol = na
var float sumVol = na
var float sumSrcSrcVol = na
sumSrcVol := isNewPeriod ? src * volume : src * volume + sumSrcVol
sumVol := isNewPeriod ? volume : volume + sumVol
// sumSrcSrcVol calculates the dividend of the equation that is later used to calculate the standard deviation
sumSrcSrcVol := isNewPeriod ? volume * math.pow(src, 2) : volume * math.pow(src, 2) + sumSrcSrcVol
_vwap = sumSrcVol / sumVol
variance = sumSrcSrcVol / sumVol - math.pow(_vwap, 2)
variance := variance < 0 ? 0 : variance
stDev = math.sqrt(variance)
lowerBand = _vwap - stDev * stDevMultiplier
upperBand = _vwap + stDev * stDevMultiplier
var anchor = input.string(defval = "Session", title="Anchor Period",
options= , group="VWAP Settings")
src = input(title = "Source", defval = hlc3, group="VWAP Settings")
hideonDWM = input(false, title="Hide VWAP on 1D or Above", group="VWAP Settings")
showBands = input(true, title="Calculate Bands", group="Standard Deviation Bands Settings")
showPrevious= input.bool(false, title= "Show Previous ZONES")
stdevMult = input.float(1.0, title="DVA", group="Standard Deviation Bands Settings", step= 0.1)
stdevMult2 = input.float(2.0, title="DVA+2", group="Standard Deviation Bands Settings", step= 0.1)
stdevMult3 = input.float(3.0, title="DVA+3", group="Standard Deviation Bands Settings", step= 0.1)
timeChange(period) =>
ta.change(time(period))
isNewPeriod = switch anchor
"Session" => timeChange("D")
"Week" => timeChange("W")
"Month" => timeChange("M")
"Quarter" => timeChange("3M")
"Year" => timeChange("12M")
"Half Decade" => timeChange("12M") and year % 05 == 0
"Decade" => timeChange("12M") and year % 10 == 0
=> false
isEsdAnchor = anchor == "Earnings" or anchor == "Dividends" or anchor == "Splits"
if na(src ) and not isEsdAnchor
isNewPeriod := true
float vwapValue = na
float std = na
float upperBandValue = na
float lowerBandValue = na
float upperBandValue2 = na
float lowerBandValue2 = na
float upperBandValue3 = na
float lowerBandValue3 = na
float prevwap = na
if not timeframe.isdwm or timeframe.isdwm
= computeVWAP(src, isNewPeriod, stdevMult3)
vwapValue := _vwap
upperBandValue3 := showBands ? top : na
lowerBandValue3 := showBands ? bottom : na
prevwap:= isNewPeriod? na : _vwap
if not timeframe.isdwm or timeframe.isdwm
= computeVWAP(src, isNewPeriod, stdevMult2)
vwapValue := _vwap
upperBandValue2 := showBands ? top : na
lowerBandValue2 := showBands ? bottom : na
prevwap:= isNewPeriod? na : _vwap
if not timeframe.isdwm or timeframe.isdwm
= computeVWAP(src, isNewPeriod, stdevMult)
vwapValue := _vwap
upperBandValue := showBands ? top : na
lowerBandValue := showBands ? bottom : na
prevwap:= isNewPeriod? na : _vwap
//PREVIOUS VALUE AREAS
pdvavwap = ta.valuewhen(isNewPeriod, vwapValue ,0)
pdvah = ta.valuewhen(isNewPeriod, upperBandValue ,0)
pdval = ta.valuewhen(isNewPeriod, lowerBandValue ,0)
prvwap= showPrevious? line.new(bar_index , pdvavwap, bar_index ,pdvavwap, extend=extend.both,width= 2 , color=color.rgb(255,111,123,50)):na
line.delete(prvwap )
prevdvah= showPrevious? line.new(bar_index , pdvah, bar_index ,pdvah, extend=extend.both, width= 2 ,color=color.rgb(255,111,123,50)):na
line.delete(prevdvah )
prevdval= showPrevious? line.new(bar_index , pdval, bar_index ,pdval, extend=extend.both, width= 2 ,color=color.rgb(255,111,123,50)):na
line.delete(prevdval )
line.set_style(prvwap, line.style_dashed)
line.set_style(prevdvah, line.style_dashed)
line.set_style(prevdval, line.style_dashed)
//.........................LABELS
labelvwap= showPrevious? label.new(bar_index , pdvavwap, text="PDVA VWAP",color=color.rgb(255,111,123,75), textcolor=color.rgb(255,255,255,10), textalign=text.align_right,size=size.small):na
label.delete(labelvwap )
labeldval= showPrevious? label.new(bar_index , pdval, text="PDVAL",color=color.rgb(255,111,123,75), textcolor=color.rgb(255,255,255,10), textalign=text.align_right,size=size.small):na
label.delete(labeldval )
labeldvah= showPrevious? label.new(bar_index , pdvah, text="PDVAH",color=color.rgb(255,111,123,75), textcolor=color.rgb(255,255,255,10), textalign=text.align_right,size=size.small):na
label.delete(labeldvah )
plot(vwapValue, title="VWAP", color= close > vwapValue ? color.green : color.red, linewidth = 2)
upperBand = plot(upperBandValue, title="DVAH", color=color.new(color.black,70))
lowerBand = plot(lowerBandValue, title="DVAL", color=color.new(color.black,70))
upper2 = plot(upperBandValue2, title="DVA+2", color=color.new(color.black,70))
lower2 = plot(lowerBandValue2, title="DVA-2", color=color.new(color.black,70))
upper3 = plot(upperBandValue3, title="DVA+3", color=color.new(color.black,70))
lower3 = plot(lowerBandValue3, title="DVA-3", color=color.new(color.black,70))
mu05 = plot(((vwapValue+upperBandValue)/2), title= "middle up 0.5", color= color.rgb(247,79,94,50), style = plot.style_circles)
ml05 = plot(((vwapValue+lowerBandValue)/2), title= "middle down 0.5",color= color.rgb(247,79,94,50), style = plot.style_circles)
mup2 =plot(((upperBandValue+upperBandValue2)/2), title= "Middle up 1.5",color= color.rgb(247,79,94,50), style = plot.style_circles)
mudn2 =plot(((lowerBandValue+lowerBandValue2)/2), title= "Middle down 1.5", color= color.rgb(247,79,94,50), style = plot.style_circles)
fill(upperBand, lowerBand, title="Bands Fill", color= showBands ? #F5F9FE : na)
fill(upper3, upper2, title="Bands Fill", color= showBands ? #FFF7F8 : na)
fill(lower3, lower2, title="Bands Fill", color= showBands ? #F3FBFA : na)
Precision RSI StrategyCall buy signal (all conditions must) :-
5 min time frame Close above 21SMA high
Close above vwap
5 min time frame close above 50 ema
RSI above 60 on 5 min time frame
Put buy signal (all conditions must) :-
5 min time frame Close below 21SMA low
Close below vwap 5 min time frame
close below 50 ema
RSI below 40 on 5 min time frame
Stop Loss condition for Call : 5 min time frame Close below 21SMA Low
Stop Loss condition for Put : 5 min time frame close above 21SMA High
Death Cross & Golden Cross (50/200 SMA) with Alerts//@version=5
indicator("Death Cross & Golden Cross (50/200 SMA) with Alerts", overlay=true)
// Moving Averages
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Plot MAs
plot(sma50, color=color.new(color.yellow, 0), linewidth=2, title="50 SMA")
plot(sma200, color=color.new(color.lime, 0), linewidth=2, title="200 SMA")
// Cross Detection
goldenCross = ta.crossover(sma50, sma200)
deathCross = ta.crossunder(sma50, sma200)
// Plot Labels
plotshape(goldenCross, title="Golden Cross", location=location.belowbar, color=color.green, style=shape.labelup, text="Golden Cross", textcolor=color.white)
plotshape(deathCross, title="Death Cross", location=location.abovebar, color=color.red, style=shape.labeldown, text="Death Cross", textcolor=color.white)
// Alerts
alertcondition(goldenCross, title="Golden Cross Alert", message="Golden Cross: 50 SMA crossed above 200 SMA!")
alertcondition(deathCross, title="Death Cross Alert", message="Death Cross: 50 SMA crossed below 200 SMA!")
Custom VWAP with Multiple Periods and TimeframesVwaps com opções de personalização de períodos e time frames.
Median Moving Averages with Custom Timeframes5 opções de medias do tipo mediana com períodos e time frame editáveis
SMT Divergences (Mirrored & Synced)so this is a V2 version of the previous smt indicator there are slight confirmation changes but i still think the first version is good so i pretty much made this one if people wanted another version
Z-Score IndicatorThis is just a basic Z score indicator with some settings I find useful.
Z-score is a statistical measure that tells you how many standard deviations a data point is from the mean. It’s a way of understanding how unusual or extreme a current value is compared to a typical baseline.
This can be useful for:
1. Mean Reversion
Traders look for values with high or low Z-scores (e.g. > +2 or < –2) to identify when a price is far from the mean and might revert.
Example: A stock trading at a +2.5 Z-score relative to its moving average may be considered "overbought".
2. Pairs Trading
Z-scores help detect divergences between correlated instruments.
Example: If Stock A and Stock B usually trade in sync, and their spread has a Z-score of –2, that may signal a long A / short B setup.
3. Risk Management / Anomaly Detection
A high Z-score on volume, volatility, or other indicators can alert you to outlier conditions or potential breakouts.
4. Standardization
Z-scores allow different instruments or timeframes to be compared on the same scale, by normalizing the data.
In general:
0 At the mean
±1 Within 1 std dev (68% of data) — normal range
±2 Outside 95% of data — getting extreme
±3+ Very rare — possible reversion or breakout point
First FVG Custom Time RangeThis script detects and highlights the first Fair Value Gap (FVG) that forms within a custom time range (e.g., 9:30 AM to 4:00 PM EST). It is useful for identifying early imbalances in price action that may serve as entry points, support/resistance zones, or targets for liquidity grabs.
🔍 What It Does
Detects Bullish FVGs (when low > high )
Detects Bearish FVGs (when high < low )
Optionally checks for Order Block Confluence (stronger signal)
Draws a single box for the first valid FVG after your specified time window begins
Includes an alert when price retests the FVG zone
⚙️ Customizable Settings
Start Hour/Minute (ET): Choose the exact time you want FVG detection to begin (e.g., 9:30 AM)
End Hour/Minute (ET): Stop detecting FVGs after a specific time (e.g., 4:00 PM)
FVG Box Duration: Controls how many bars the FVG box should extend into the future
Toggle FVG Labels: Show or hide FVG box labels
Enable Retest Alerts: Get an alert when price re-enters the first FVG
💡 Use Cases
Identify early imbalances after NYSE open (9:30 AM)
Track potential liquidity zones
Filter entries based on a specific session window (e.g., NY Kill Zone)
Combine with ICT or SMC concepts for confluence
cc ULTIMATE CANDLE FINDERThis indicator does just what the title says it is. FINDS specific numbers based on TIME calculations.
For example, lets say the 29th minute of every hour is something of interest.
Set the number to 29, adjust the box (rectangle) length of time (it is set to 59 minutes in this example) choose a color, adjust how dark or light the background is of that respective box.
The fun part is that the number 29 (in this example) can be found from looking for just the minute portion of time (UTC+2 Zurich) or it can be found from the addition of the hour plus the minute (HH:MM) or from the Subtraction of the hour from the minute (HH:MM)
There can be up to 5 different numbers enabled to be searched for at a time, plus the 3 methods used to find each different number.
Phantom Trigger Phantom Trigger – Precision Trend Execution with TP1/TP2 and Weak Trend Exits
Phantom Trigger is a professional-grade trend-following strategy designed for crypto and high-volatility assets. It combines advanced trend detection with precise risk-managed exits using a multi-level take-profit system.
🔍 What It Does
Identifies strong directional moves using a multi-stage smoothed trend model
Confirms entries using structure-based logic and volume pressure
Filters trades using bias zones, confirmation levels, and trend acceleration
Automatically manages trades with two-stage take-profits (TP1 and TP2)
Exits early on trend weakness before reversal
Includes a styled real-time dashboard and bar coloring for visual guidance
Sends bot-compatible alerts for multi-exchange automation
⚙️ Core Components
Trend Engine: A smoothed dynamic filter detects real-time trend direction and momentum shifts
Bias Structure: Mid-high/low range-based logic determines if price is favoring bullish or bearish structure
Confirmation Levels: Short- and long-term zone crossovers confirm directional alignment
Volume Filter: Detects volume expansion spikes to validate strong breakout potential
TP1/TP2 Logic: Dynamically sets two profit targets and executes partial and full exits automatically
Weak Trend Exit: Closes positions one bar before reversal using directional filters
🧠 How to Use
Works best on crypto (1H, 4H) and high-volume instruments
Use dashboard stats to monitor position status, PnL, and TP1/TP2 progression
Alerts are pre-labeled and compatible with bots like 3Commas, Wunderbit, etc.
Can be adapted for both scalping and swing trading
📊 Dashboard
The built-in real-time dashboard displays current trade status, entry price, TP1/TP2 progress, win rate, profit factor, and bars since entry. It updates live with every candle and provides a quick-glance overview to support your decision-making during active trades.
🧠 How to Use
Works best on crypto (1H, 4H) and high-volume instruments
Use dashboard stats to monitor position status, PnL, and TP1/TP2 progression
Alerts are pre-labeled and compatible with bots like 3Commas, Wunderbit, etc.
Can be adapted for both scalping and swing trading
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Always test strategies thoroughly using demo or backtesting environments before applying to live markets. Past performance is not indicative of future results.
Lesson LineImitates the "Larsson Line" indicator. Uses ema34 and ema55 (both Fibonacci numbers) for the moving averages. No clue if that is what CTO Larsson uses, but this seems to replicate it pretty well.
Gold is a bullish trend and blue is a bearish trend. For entertainment purposes only.
Market OracleMarket Oracle Indicator: User Guide
Market Oracle is a powerful, all-in-one trading indicator for TradingView that combines multiple technical signals into a clear, actionable dashboard. Built for traders seeking a reliable edge, it analyzes trend, momentum, volatility, volume, and more to generate high-confidence buy and sell signals. With features like dynamic position sizing, market regime performance tracking, and customizable settings, it’s perfect for stocks, forex, crypto, or any market on any timeframe.
What It Does
Market Oracle evaluates market conditions using a blend of proven indicators (RSI, Stochastic RSI, EMAs, SuperTrend, MACD, Ichimoku Cloud, Bollinger Bands, ATR, ADX, and candlestick patterns) to produce a Composite Score (0-100) that reflects bullish or bearish strength. It generates:
Buy/Sell Signals: Triggered when the score crosses user-defined thresholds, filtered by volume, ADX, and trading hours.
Dynamic Position Sizing: Adjusts trade size based on volatility (ATR), reducing risk in choppy markets.
Market Regime Insights: Tracks performance in trending vs. ranging markets to highlight strategy strengths.
Comprehensive Dashboard: Displays real-time metrics like signal confidence, stop/take-profit levels, win rates, and more.
Whether you’re a day trader, swing trader, or long-term investor, Market Oracle simplifies decision-making with clear insights and robust backtesting.
Key Features
Composite Score:
Combines trend (EMAs, SuperTrend, MACD), momentum (RSI, Stochastic RSI), volatility (Bollinger Bands, ATR), volume (OBV, MA), Ichimoku Cloud, divergences, multi-timeframe trends, and candlestick patterns.
Score > 50 indicates bullishness; < 50 indicates bearishness. Extreme values (>90 or <10) flag overbought/oversold conditions.
Smart Signals:
Buy signals trigger when the score exceeds a threshold (default 70), with filters for volume, ADX strength, and Ichimoku/pattern confirmation.
Sell signals trigger below 100-threshold (default 30), with similar filters.
Signals include confidence levels (0-100%) based on indicator alignment.
Dynamic Position Sizing:
Scales trade size using ATR to limit risk in volatile markets (e.g., smaller positions when ATR is high).
Caps volatility adjustments (default 3x ATR) to maintain reasonable sizing.
Bases risk on a user-defined percentage (default 1% per trade).
Market Regime Performance:
Identifies trending (high ADX or wide Bollinger Bands) vs. ranging markets.
Tracks win rates separately for each regime, helping you optimize strategies for specific conditions.
Backtesting Metrics:
Shows buy/sell win rates, recent win rate, trending/ranging win rates, profit factor, max drawdown, and equity trend.
Helps evaluate strategy performance over time.
Customizable Dashboard:
Displays key metrics: Composite Score, Trend, Momentum, Volatility, Ichimoku, ADX, Divergences, Signal Status, Confidence, Stop/Take-Profit, Position Size, and more.
Toggles to show/hide backtest stats, Ichimoku Cloud, or multi-timeframe trends.
Clean layout with no clutter (e.g., no unnecessary “!” markers).
Alerts:
Set alerts for Buy/Sell Signals, Signal Exits, High Scores, or Overbought/Oversold conditions.
Messages include score and confidence (e.g., “Oracle+: Buy signal (Score: 75.2, Confidence: 80%)”).
Flexible Settings:
Adjust thresholds, indicator lengths, weights, risk parameters, and more.
Enable/disable features like trailing stops, market regime filters, or trading hour restrictions.
How to Use It
1. Add to TradingView
Copy the Market Oracle script into TradingView’s Pine Editor.
Click “Add to Chart” to apply it to your chosen market (e.g., BTC/USD, EUR/USD, SPY).
The dashboard appears in the bottom-right corner, showing real-time data.
2. Read the Dashboard
The dashboard is split into three sections:
Market State:
Composite Score: Current score and confidence (e.g., “75.2 (50.4%)”). “(OB)” or “(OS)” flags overbought/oversold.
Adjusted Threshold: Signal trigger level, adjusted for market regime.
Trend/MTF Trend: Bullish, Bearish, or Neutral (based on EMAs, SuperTrend, higher timeframe).
Momentum: Bullish, Bearish, or Neutral (RSI, Stochastic RSI).
Volatility: High or Low (Bollinger Bands, ATR).
Ichimoku Cloud: Bullish, Bearish, or Neutral (if enabled).
ADX Strength: Strong or Weak.
Divergence: Bullish, Bearish, or None (RSI, MACD).
Signals:
Signal Status: “Buy”, “Sell”, or “None”.
Signal Confidence: Percentage (e.g., “80%”) based on indicator agreement.
Stop Level/Take-Profit: Price levels for risk management.
Position Size: Units to trade, adjusted for volatility.
Avg Trade Duration: Average bars per trade.
Signal History: Recent signals/exits (e.g., “Buy | Buy Win”).
Backtest (optional):
Buy/Sell Win Rate: Percentage of winning trades.
Recent Win Rate: Win rate for recent trades.
Trending/Ranging Win Rate: Performance by market condition.
Profit Factor: Profit-to-loss ratio.
Max Drawdown: Largest equity drop.
Equity Trend: Up, Down, or Flat.
3. Customize Settings
Access the indicator’s settings by clicking the gear icon:
Signal Sensitivity:
Base Signal Threshold (default 70): Higher = stricter signals.
Min Confidence for Alerts (default 60%): Filters weaker alerts.
Risk Management:
Risk % per Trade (default 1%): Sets base risk.
Max ATR Multiplier (default 3.0): Caps position size reduction.
Take-Profit Ratio (default 2.0): Sets reward-to-risk ratio.
Use Trailing Stop (default false): Enable for dynamic stops.
Filters:
Use Volume Filter (default true): Requires above-average volume.
Use ADX Filter (default true): Requires strong trend (ADX > 25).
Use Market Regime Filter (default true): Adjusts thresholds for trending/ranging markets.
Avoid Specific Hours (default false): Skip signals during set hours (e.g., 0-6 UTC).
Indicators:
Adjust lengths for RSI (14), EMAs (20/50), MACD (12/26/9), etc.
Enable/disable Use Candlestick Patterns (default true) and choose type (Hammer, Engulfing, etc.).
Display:
Show Backtest Metrics (default true): Show win rates and stats.
Show Ichimoku Cloud (default true): Include cloud signals.
Show MTF Trend (default true): Include higher timeframe trend.
4. Set Alerts
In TradingView, click the alarm icon and select Market Oracle conditions:
Buy/Sell Signal: Triggers on new signals with sufficient confidence.
Signal Exit: Triggers when a trade closes (stop or take-profit hit).
High Score Alert: Triggers when score exceeds a threshold (default 80).
Overbought/Oversold: Warns of extreme conditions (if enabled).
Alerts include details for easy tracking (e.g., score, confidence).
5. Test and Trade
Test Markets: Try on forex (EUR/USD 1H), crypto (BTC/USD 4H), or stocks (AAPL daily).
Check Volatility: Monitor Position Size in volatile markets (e.g., XAU/USD); it shrinks to reduce risk.
Evaluate Regimes: Use “Trending Win Rate” and “Ranging Win Rate” to see where the strategy shines.
Backtest: Review Profit Factor and Max Drawdown to assess performance.
Start Small: Use a demo account to test signals before trading live.
Tips for Success
Match Your Style: Adjust scoreThreshold and timeframe to suit day trading (e.g., 15m, stricter threshold) or swing trading (e.g., 4H, looser threshold).
Monitor Regimes: If “Trending Win Rate” is higher, focus signals during strong trends (high ADX).
Manage Risk: Keep riskPerTrade low (e.g., 0.5-2%) and review Position Size for sanity.
Combine with Analysis: Use signals alongside support/resistance or news events for confirmation.
Tune Parameters: Experiment with atrVolatilityCap (e.g., 2.0 for tighter sizing) or adxThreshold (e.g., 30 for stronger trends).
Avoid Overtrading: Filter signals with minConfidenceForAlert (e.g., 70%) to focus on high-probability setups.
Example Scenarios
Crypto Breakout (BTC/USD 4H):
Composite Score jumps to 82, Signal Status shows “Buy” with 80% confidence.
Position Size is moderate due to high ATR during a rally.
“Trending Win Rate” is 65%, suggesting strength in directional moves.
Set an alert and enter with a 2:1 take-profit (e.g., stop at 60,000, target at 62,000).
Forex Range (EUR/USD 1H):
Score hovers near 45, no signal (Neutral).
“Ranging Win Rate” is 55%, indicating decent performance in consolidation.
Wait for a score above 70 or use a higher timeframe (e.g., Daily MTF Trend).
Stock Swing (AAPL daily):
Score hits 75, “Buy” signal with a small Position Size (low ATR).
Dashboard shows Bullish Ichimoku and MTF Trend.
Trade with a trailing stop to capture a multi-day move.
Why Choose Market Oracle?
All-in-One: Combines multiple indicators into one easy-to-read dashboard, saving you time.
Adaptive: Adjusts signals and sizing for market conditions (trending, ranging, volatile).
Transparent: Shows confidence, win rates, and risk levels to build trust in trades.
Customizable: Tailor to any market, timeframe, or trading style with dozens of settings.
No Clutter: Clean interface with no distracting visuals, just actionable data.
Getting Started
Add Market Oracle to your chart and explore the dashboard.
Test on a market you trade (e.g., ETH/USD 1H) with default settings.
Adjust scoreThreshold or riskPerTrade to match your risk tolerance.
Set alerts for Buy/Sell Signals and monitor performance via “Trending Win Rate” and “Profit Factor”.
Join TradingView communities to share setups and tips!
For questions or tweaks (e.g., adding VWAP, changing alert conditions), consult your indicator’s developer or TradingView’s Pine Script resources. Happy trading!
Super Arma Institucional PRO v6.3v6.3
Based on EMA 20 and 200 and SMA 50.
RSI, MACD and ADX built-in with supports and resistances.
Built-in volume, AI reviews the opening and closing of the previous candle and as the price moves it draws the supports and resistances that accompany the price on the chart in real time.
It works perfectly on all time frames, it was designed primarily for trading cryptocurrencies.
Premarket High/Low Breakout Alert (SMA8 Filter)//@version=5
indicator("Premarket High/Low Breakout Alert (SMA8 Filter)", overlay=true)
// === Inputs ===
premarketStartHour = input.int(7, "Premarket Start Hour (EST)", minval=0, maxval=23)
premarketEndHour = input.int(9, "Premarket End Hour (EST)", minval=0, maxval=23)
premarketEndMinute = input.int(30, "Premarket End Minute", minval=0, maxval=59)
// === Detect New Day ===
newDay = ta.change(time("D"))
// === Time Logic ===
hourEST = hour(time, "America/New_York")
minuteEST = minute(time, "America/New_York")
isPremarket = (hourEST >= premarketStartHour and (hourEST < premarketEndHour or (hourEST == premarketEndHour and minuteEST < premarketEndMinute)))
// === Track Premarket High/Low ===
var float preHigh = na
var float preLow = na
if (isPremarket)
preHigh := na(preHigh) ? high : math.max(preHigh, high)
preLow := na(preLow) ? low : math.min(preLow, low)
else if (newDay)
preHigh := na
preLow := na
// === SMA 8 Calculation ===
sma8 = ta.sma(close, 8)
// === Breakout Conditions (With SMA Filter) ===
bullBreak = not isPremarket and preHigh and close > preHigh and close > sma8
bearBreak = not isPremarket and preLow and close < preLow and close < sma8
// === Plot Lines ===
plot(preHigh, title="Premarket High", color=color.green, linewidth=1, style=plot.style_linebr)
plot(preLow, title="Premarket Low", color=color.red, linewidth=1, style=plot.style_linebr)
plot(sma8, title="SMA 8", color=color.orange)
// === Alerts ===
alertcondition(bullBreak, title="Bullish Breakout", message="Price broke above premarket high AND above 8 SMA!")
alertcondition(bearBreak, title="Bearish Breakout", message="Price broke below premarket low AND below 8 SMA!")
// === Visual Markers ===
plotshape(bullBreak, location=location.abovebar, color=color.green, style=shape.labelup, size=size.small, text="Break ↑")
plotshape(bearBreak, location=location.belowbar, color=color.red, style=shape.labeldown, size=size.small, text="Break ↓")
// === Premarket Shading ===
bgcolor(isPremarket ? color.new(color.gray, 90) : na, title="Premarket Background")