Gold NY Session Key TimesJust showing to us that news come out, open market, close bond for NY Session Time For Indonesia
指标和策略
简单KDJ80策略 - testIt's only a test of sth big.
Next step will be adding complex strategy with bollinger band and keltner channel.
SMA 50–200 Fill (Bull/Bear Colors)Overview
This TradingView Pine Script plots two simple moving averages (SMAs): one with a period of 50 and one with a period of 200. It also fills the area between the two SMAs. The fill color automatically changes depending on whether the 50-period SMA is above or below the 200-period SMA:
Bullish scenario (50 > 200): uses one color (bullFillColor)
Bearish scenario (50 < 200): uses another color (bearFillColor)
You can also customize the transparency of the filled area and the colors/widths of the SMA lines.
Key Parts of the Code
Inputs
src: The price source (default: close).
fastColor and slowColor: Colors for the 50- and 200-SMA lines.
bullFillColor and bearFillColor: The two fill colors used depending on whether the 50 SMA is above or below the 200 SMA.
fillTrans: The transparency of the fill (0 = fully opaque, 100 = fully transparent).
lwFast and lwSlow: Line widths of the 50- and 200-SMA lines.
Calculations
sma50 = ta.sma(src, 50)
sma200 = ta.sma(src, 200)
These two lines compute the moving averages of the chosen source price.
Plotting the SMAs
p50 and p200 use plot() to draw the SMA lines on the chart.
Each plot uses the chosen color and line width.
Dynamic Fill Color
A conditional determines which color to use:
fillColor = sma50 > sma200 ? color.new(bullFillColor, fillTrans) : color.new(bearFillColor, fillTrans)
If the 50 SMA is greater than the 200 SMA, the bullish color is used; otherwise, the bearish color is used.
Filling the Area
fill(p50, p200, color=fillColor) creates a shaded area between the two SMAs.
Because fillColor changes depending on the condition, the filled area automatically changes color when the SMAs cross.
How to Use It
Add to Chart: When you add this script to your chart, you’ll see the 50 and 200 SMAs with a shaded area between them.
Customize Colors: You can change line colors, fill colors, and transparency directly from the indicator’s settings panel.
Visual Cues: The fill color gives you an instant visual cue whether the short-term trend (50 SMA) is above or below the long-term trend (200 SMA).
Benefits
Gives a clear, simple visual representation of the trend’s strength and direction.
The customizable transparency lets you make the shading subtle or bold depending on your chart style.
Works on any time frame or instrument where you’d like to compare a short-term and long-term moving average.
ERL & IRL (Swing Levels) Sunnat//@version=5
indicator("ERL & IRL (Swing Levels)", overlay=true)
// Inputs
left_bars = input.int(5, "Left bars (swing strength)", minval=1)
right_bars = input.int(5, "Right bars (swing strength)", minval=1)
line_len = input.int(10, "Line length (bars)", minval=1) // short line
// Detect swing high (ERL) and swing low (IRL)
swingHigh = ta.pivothigh(high, left_bars, right_bars)
swingLow = ta.pivotlow(low, left_bars, right_bars)
// Draw ERL when swing high is found
if not na(swingHigh)
line.new(bar_index - right_bars, swingHigh,
bar_index - right_bars + line_len, swingHigh,
xloc=xloc.bar_index, extend=extend.none,
color=color.aqua, width=2)
label.new(bar_index - right_bars + line_len, swingHigh, "ERL",
xloc=xloc.bar_index, yloc=yloc.price,
color=color.new(color.aqua, 0), textcolor=color.black)
// Draw IRL when swing low is found
if not na(swingLow)
line.new(bar_index - right_bars, swingLow,
bar_index - right_bars + line_len, swingLow,
xloc=xloc.bar_index, extend=extend.none,
color=color.orange, width=2)
label.new(bar_index - right_bars + line_len, swingLow, "IRL",
xloc=xloc.bar_index, yloc=yloc.price,
color=color.new(color.orange, 0), textcolor=color.black)
MAs+Engulfing O caminho das Criptos
This indicator overlays multiple moving averages (EMAs 20/50/100/200 and SMA 200) and highlights bullish/bearish engulfing candles by dynamically coloring the candle body. When a bullish engulfing is detected, the candle appears as a strong dark green; for bearish engulfing, a more vivid red. Normal candles keep classic lime/red colors. Visual alerts and bar coloring make price-action patterns instantly visible.
Includes built-in alert conditions for both patterns, supporting both trading automation and education. The tool upgrades trend-following setups by combining structure with automatic price action insights.
Este indicador combina médias móveis (EMAs de 20/50/100/200 e SMA 200) com detecção de engolfo de alta/baixa, colorindo o candle automaticamente: engolfo de alta com verde escuro, engolfo de baixa com vermelho destacado. Inclui alertas automáticos para ambos os padrões, perfeito para análise visual, estratégia, ou ensino.
Rolling Highest + Qualified Ghost (price-synced)[돌파]English Guide
What this indicator does
Plots a rolling highest line hh = ta.highest(src, len) that step-changes whenever the highest value inside the last len bars changes.
When a step ends after being flat for at least minHold bars (a “plateau”), it draws a short horizontal ghost line for ghostLen bars to the right at the previous step level.
By default, the ghost appears only on step-down events (behaves like a short-lived resistance trace). You can allow both directions with the onlyOnDrop setting.
Everything is rendered with plot() series (not drawing objects), bound to the right price scale → it moves perfectly with the chart.
Inputs
len — Lookback window (bars) for the rolling highest.
basis — Price basis used to compute the highest: High / Close / HLC3 / OHLC4.
minHold — Minimum plateau length (bars). Only steps that stayed flat at least this long qualify for a ghost.
ghostLen — Number of bars to keep the horizontal ghost to the right.
onlyOnDrop — If true, make ghosts only when the step moves down (default). If false, also create ghosts on step-ups.
Visuals: mainColor/mainWidth for the main rolling highest line; ghostColor/ghostTrans/ghostWidth for the ghost.
How it works (logic)
Rolling highest:
hh = ta.highest(src, len) produces a stair-like line.
Step detection:
stepUp = hh > hh
stepDown = hh < hh
startUp / startDown mark the first bar of a new step (prevents retriggering while the step continues).
Plateau length (runLen):
Counts consecutive bars where hh remained equal:
runLen := (hh == hh ) ? runLen + 1 : 1
Qualification:
On the first bar of a step change, check previous plateau length prevHold = runLen .
If prevHold ≥ minHold and direction matches onlyOnDrop, start a ghost:
ghostVal := hh (the previous level)
ghostLeft := ghostLen
Ghost series:
While ghostLeft > 0, output ghostVal; otherwise output na.
It’s plotted with plot.style_linebr so the line appears as short, clean horizontal segments instead of connecting across gaps.
Why it stays synced to price
The indicator uses overlay=true, scale=scale.right, format=format.price, and pure series plot().
No line.new() objects → no “stuck on screen” behavior when panning/zooming.
Tips & customization
If your chart is a line chart (close), set basis = Close so visuals align perfectly.
Want ghosts on both directions? Turn off onlyOnDrop.
Make ghosts subtler by increasing ghostTrans (e.g., 60–80).
If ghosts appear too often or too rarely, tune minHold and len.
Larger minHold = only long, meaningful plateaus will create ghosts.
Edge cases
If len is very small or the market is very volatile, plateaus may be rare → fewer ghosts.
If the stair level changes almost every few bars, raise len or minHold.
한글 설명서
기능 요약
최근 len개 바 기준의 롤링 최고가 hh를 그립니다. 값이 바뀔 때마다 계단식(step)으로 변합니다.
어떤 계단이 최소 minHold봉 이상 유지된 뒤 스텝이 끝나면, 직전 레벨을 기준으로 우측 ghostLen봉짜리 수평선(고스트) 을 그립니다.
기본값은 하락 스텝에서만 고스트를 생성(onlyOnDrop=true). 꺼두면 상승 스텝에서도 만듭니다.
전부 plot() 시리즈 기반 + 우측 가격 스케일 고정 → 차트와 완전히 동기화됩니다.
입력값
len — 롤링 최고가 계산 윈도우(바 수).
basis — 최고가 계산에 사용할 기준: High / Close / HLC3 / OHLC4.
minHold — 플래토(같은 값 유지) 최소 길이. 이 이상 유지된 스텝만 고스트 대상.
ghostLen — 우측으로 고스트를 유지할 바 수.
onlyOnDrop — 체크 시 하락 스텝에서만 고스트 생성(기본). 해제하면 상승 스텝도 생성.
표시 옵션: 본선(mainColor/mainWidth), 고스트(ghostColor/ghostTrans/ghostWidth).
동작 원리
롤링 최고가:
hh = ta.highest(src, len) → 계단형 라인.
스텝 변화 감지:
stepUp = hh > hh , stepDown = hh < hh
startUp / startDown 으로 첫 바만 잡아 중복 트리거 방지.
플래토 길이(runLen):
hh가 같은 값으로 연속된 길이를 누적:
runLen := (hh == hh ) ? runLen + 1 : 1
자격 판정:
스텝이 바뀌는 첫 바에서 직전 플래토 길이 prevHold = runLen 가 minHold 이상이고, 방향이 설정(onlyOnDrop)과 맞으면 고스트 시작:
ghostVal := hh (직전 레벨)
ghostLeft := ghostLen
고스트 출력:
ghostLeft > 0 동안 ghostVal을 출력, 아니면 na.
plot.style_linebr로 짧은 수평 구간만 보이게 합니다(NA 구간에서 선을 끊음).
가격과 동기화되는 이유
overlay=true, scale=scale.right, format=format.price로 가격 스케일에 고정, 그리고 모두 plot() 시리즈로 그립니다.
line.new() 같은 도형 객체를 쓰지 않아 스크롤/줌 시 화면에 박히는 현상이 없습니다.
활용 팁
차트를 라인(종가) 로 보신다면 basis = Close로 맞추면 시각적으로 더욱 정확히 겹칩니다.
고스트가 너무 자주 나오면 minHold를 올리거나 len을 키워서 스텝 빈도를 낮추세요.
고스트를 더 은은하게: ghostTrans 값을 크게(예: 60–80).
저항/지지 라인처럼 보이게 하려면 기본 설정(onlyOnDrop=true)이 잘 맞습니다.
주의할 점
변동성이 큰 종목/타임프레임에선 플래토가 짧아 고스트가 드물 수 있습니다.
len이 너무 작으면 스텝이 잦아져 노이즈가 늘 수 있습니다.
DCA vs One-ShotCompare a DCA strategy by choosing the payment frequency (daily, weekly, or monthly), and by choosing whether or not to pay on weekends for cryptocurrency. You can add fees and the reference price (opening, closing, etc.).
OBV Cloud v1.0 [PriceBlance]🌐 English
OBV Cloud v1.0 – Free & Open-Source
OBV Cloud v1.0 integrates On-Balance Volume (OBV) with a Cloud model and enhanced trend filters.
It helps traders quickly identify:
Money Flow Trend: OBV Cloud acts as a dynamic support/resistance zone.
Trend Filters: EMA9 (short-term) and WMA45 (medium-term) directly applied on OBV.
OBV–Price Divergence: Detects both regular and hidden bullish/bearish divergences.
Trend Strength: Measured with ADX calculated on OBV.
OBV Cloud is suitable for both swing and day trading, allowing traders to spot breakouts, reversals, or sustained trends through volume-based analysis.
CCI MACDCCI and MACD in one indicator. CCI implementation with MACD like histogram. The result is the same as MACD with zero log.
Debt Refinance Cycle + Liquidity vs BTC (Wk) — Overlay Part 1Debt Refi Cycle - Overlay script (BTC + Liquidity + DRCI/Z normalized to BTC range)
Ichimoku Estratégico - Señales y RupturasIndicator Description: "Ichimoku Unificado - Señales Avanzadas y Rupturas v6" (English)
This indicator combines the power of the classic Ichimoku Kinko Hyo analysis with advanced filters and breakout signals, offering a comprehensive and visually clear technical analysis tool built in Pine Script v6.
Key Features:
Complete Ichimoku Components:
Calculates and displays the core lines: Tenkan-sen (Conversion), Kijun-sen (Base), Senkou Span A and B (forming the Cloud or Kumo), and Chikou Span (Lagging).
Allows adjustment of calculation periods for each line and the cloud displacement.
Advanced Signal System:
Primary Signals: Based on crossovers between the Conversion Line (Tenkan) and the Base Line (Kijun).
Confirmation Filters:
RSI Filter: Incorporates an RSI oscillator to confirm overbought or oversold conditions before generating signals.
Chikou Span Filter: Validates that the past price (Chikou) is aligned in the correct direction before the signal.
Price Condition: Requires the price to be above/below the cloud for buy/sell signals respectively.
Generates visual signals (triangles) only when all defined criteria are met.
Breakout Detection:
Identifies and marks visually (with diamonds) when the price breaks above the top of the cloud (bullish signal) or below the bottom of the cloud (bearish signal).
Allows filtering by a minimum breakout size (optional).
Enhanced Visualization:
Cloud (Kumo): Draws the cloud with colors indicating trend (green/bullish or red/bearish) and adjustable transparency.
Circles on Crossovers: Optionally, shows circles at the exact points of Tenkan/Kijun crossovers (inspired by the original v4).
Bar Coloring: Optionally, colors the background price bars based on the price's relative position to the cloud and the direction of Tenkan/Kijun.
Information Panel:
Displays in real-time (in the top-right corner) the status of key conditions generating the signals: Crossover, Position relative to cloud, Breakout, RSI and Chikou filters, and the final signal.
Alerts:
Generates customizable alerts for buy and sell signals.
Considerations:
This indicator is a technical analysis tool for visualizing market data and potential trading setups according to the defined parameters.
It does not guarantee profits or predict the future price direction with certainty.
It is recommended for use in conjunction with other analyses and sound risk management.
Incorporates elements of original code by "ozzy_livin" under the Mozilla Public License 2.0 (MPL 2.0).
Rocket Scan – Midday Movers (No Pullback)This indicator is designed to spot intraday breakout movers that often appear after the market open — the ones that rip out of nowhere and cause FOMO if you’re late.
🔑 Core Logic
• Momentum Burst: Detects sudden price pops (ROC) with confirming relative volume.
• Squeeze → Breakout: Finds low-volatility compressions (tight Bollinger bandwidth) and flags the first breakout move.
• VWAP Reclaims: Highlights strong reversals when price reclaims VWAP on volume.
• Relative Volume (RVOL): Filters for unusual activity vs. recent averages.
• Gap Filter: Skips large overnight gappers, focuses on fresh intraday movers.
• Relative Strength: Optional filter requiring the symbol to outperform SPY (and sector ETF if chosen).
• Session Window: Default 10:30–15:30 ET to ignore noisy open action and catch true midday moves.
🎯 Use Case
• Built for traders who want early alerts on midday runners without waiting for pullbacks.
• Helps identify potential entry points before FOMO kicks in.
• Works best on liquid tickers (stocks, ETFs, crypto) with reliable intraday volume.
📊 Visuals
• Plots fast EMA, slow EMA, and VWAP for trend context.
• Paints green ▲ for long signals and red ▼ for short signals on the chart.
• Info label shows RVOL, ROC, RS filter status, and gap conditions.
🚨 Alerts
Two alert conditions included:
• Rocket: Midday LONG → Fires when bullish conditions align.
• Rocket: Midday SHORT → Fires when bearish conditions align.
⸻
⚠️ Disclaimer:
This tool is for educational and research purposes only. It is not financial advice. Trading involves risk; always do your own research or consult a licensed professional.
IMB zones, alerts, 8 EMAs, DO lvlThis indicator was created to be a combined indicator for those who use DO levels, IMBs, and EMAs in their daily trading, helping them by providing a script that allows them to customize these indicators to their liking.
Here you can set the IMBs, DO levels, and EMAs. Its special feature is that it uses alerts to indicate which IMB zones have been created, along with the invalidation line for the new potential IMB.
The program always calculates the Daily Opening (DO) level from the opening of the broker, and you can set how many hours the line should be drawn.
Help for use:
There are 3 types of alerts:
- Use the "Bullish IMB formed" alert if you are looking for Bull IMBs.
- Use the "Bearish IMB formed" alert if you are looking for Bear IMBs.
- Use the "Either IMB" alert if you are looking for Bull and Bear IMBs.
Tip: Set the alert type "Once per bar close" if you do not want to set new alerts after an IMB is formed.
IMBs:
- Customizable IMB quantity (1-500 pcs)
- Zone colors and borders can be customized
- Potential IMB line can be customized
EMAs:
- You can set and customize 8 EMA lengths
- Only the current and higher timeframe EMAs are displayed
Daily Open Level:
- Displays today's Daily Open level
- Note: The DO level does not work in Replay mode
Last OFR:
"Show True OFR" checkbox added.
It displays the latest OFR, and hides the old ones.
Top 6 Stocks Oscillator with VWAPai made this oscillator. only used on 1 min. not sure how it works so use at your own risk
ORB + Prev Close — [GlutenFreeCrypto]Draws a red line at the high of the first 5 min candle, draws a green line at the bottom of the first 5 min candle, draws a grey line at midpoint. Lines extend until market close (4pm) or after-hours 98pm) or extend the next day pre-market (until 9:30am). Closing blue dotted line is drawn at closing price, and extends in after-hours and pre-market.
Combined MOST + ATR MOST + ATR Combined indicator. This is published by interesting idea for my dad he tought that he combination of these two indicators gives a good result
Investorjordann - Script I have developed a script for the BTC pair. I'm currently trialing this...it is using multiple indicators and timeframes to trigger a trade. So far it seems very profitable across many timeframes, but I am still trailing.
Nasdaq Futures Oscillator with VWAPai built oscillator use at your own risk don't know how it works but read script or test it out on a 1min chart
11 Sector Stocks Oscillator with Adjustable Speedoscillator made by grok 1min is all I have tested ai made it so use at your own risk
Omega Score — 10 Omegas × 10 pts (v6)What it is
Omega Scoreboard is a multi-factor market “weather station.”
It computes 24 tiny “Omega” subscores (0–10 each) covering trend, momentum, pullback quality, breakout pressure, volatility, liquidity/flow and structure. The dashboard aggregates them into a total (0–240) and a percentage so you can gauge conditions at a glance and drill into the ingredients.
What’s scored (24 Omegas)
Regime / Bias
ADX sweet-spot + ATR expansion
EMA stack & slope alignment
CLV / close-location regime
KAMA/EMA hybrid slope
Entry / Momentum
Trend + MACD hist + RSI>50 confluence
Thrust quality (body% + acceleration)
Micro-pullback success rate
Rolling breakout failure/pressure
Pullback Quality
Distance to EMA50±ATR band
Z-score of close (mean reversion heat)
Wick/Body balance (rejection vs absorption)
“Near-POC/EMA” magnetism
Breakout Physics
Bollinger width percentile (compression)
Donchian proximity + expansion follow-through
Range expansion vs baseline ATR
Closing strength after break
Liquidity / Flow
Session VWAP ladder alignment
Distance to VWAP & deviation context
Volume pulse vs SMA (ATR fallback on no-vol)
Supertrend pressure (up/down bias)
Structure / MTF
MTF EMA alignment (fast>slow across TFs)
Higher-low / lower-high micro-structure
Gap/OR context (open location, drive)
Composite candle quality (body%, CLV, spread)
Each Omega outputs 0–10 (bad→good). The Total is the sum (0–240).
The % is Total ÷ 240 × 100.
How to read it
70%+ → conditions supportive; trends/continuations more likely.
30–70% → mixed/chop; wait for confluence spikes or pullback edges.
<30% → hostile; mean-reversion spikes or stand aside.
Watch for bar-over-bar increases in the total (+15–25% surges) near levels; that often precedes actionable momentum or high-quality pullbacks.
Features
Compact badge with totals and key line items
Optional mini table (each Omega and its score)
Bar coloring on GO/NO-GO thresholds
Sensible fallbacks (e.g., ATR replaces volume on illiquid symbols)
Tips
Use on any symbol/timeframe; pair with your execution plan.
For entries, look for clustered greens in the Omegas that matter to your style (e.g., Breakout + Momentum + Flow for trend; Pullback + Mean-revert for fades).
Tune lengths/weights to your product (crypto vs FX vs equities).
Alerts
GO when composite ≥ your threshold (default 80%)
NO-GO when composite ≤ your threshold (default 20%)
Notes / Caveats
This is context, not a stand-alone signal. Combine with risk & structure.
MTF requests are used safely; still, always verify on the chart.
Extremely low-vol symbols can mute Flow/VWAP signals—fallbacks help but YMMV.
Credits: concept + build by GPT-420 (publisher); assistant: GPT-5 Thinking.
Enjoy the confluence—and may your Omegas stack in your favor. 🚀
RVOL Premarket (Screener)Relative Volume indicator which includes pre market data. Can also use it to build a Pre Market high Rel Volume (x5) screener category.
Custom Period High LowSummary
I'm moving over from TradeStation and default Pre-Market Session there is 0800-0930. Default PMS on TradingView is 0400-0930. I find that the 0800-0930 High and Low are more accurate levels. This script addresses exactly that - it allows you to grab High and Low of any custom time slot.
This script started as Custom Pre-Market H/L, that's why the shading. Then I realized it can be used for any custom time period, so I renamed it to PERIOD H/L.
Limitations
Different tickers are provided by different exchanges, in different time zones. The end result is that the SAME session time (0800-0930) may shift for different tickers. Examples:
- SPY : 0800-0930 // no shift: NYSE, in NYC
- ES1!: 0900-1030 // shifted 1 hr ahead: CME, in Chicago
- NQ1!: 0900-1030 // shifted 1 hr ahead: CME, in Chicago
To see for yourself, set Time Zone config parameter to empty string for non-NYC tickers like ES1! or NQ1 and watch times for shaded and non-shaded areas.
Why TV chooses to go by the ticker's TZ, and not the TZ that's configured in the lower right corner of my TV screen - I have no idea. But asking for user's TZ is how you fix it.
If you know how I can get that value so I don't have to ask the user - let me know. I'm new to TV.
Hacks
You can use it more than once for, say, Opening Range Breakout. Configure your custom PMS for 0930-0945, change lines, remove area fill - and ta-da - you have High and Low for first 15 min! See release chart for the example.