Overnight Gap - Close to Open - TF PascalCalculates the percentage change in the opening price of the candle above relative to the closing price of the previous candle.
Not available for S&P500 CFDs.
Can be used for cash prices such as TVC's SPX for the S&P500.
อินดิเคเตอร์และกลยุทธ์
High Vol Big Move (Up or Down)Nine million EP with 4% stock moved up or down, and today's volume is more than yesterday's volume.
TradingSystems_AlphaLib_v1_FinalLibrary "TradingSystems_AlphaLib_v1_Final"
Master Library for Institutional Analysis v1
@author jmcanovelles
calc_ema(len)
Calculates standardized EMA
Parameters:
len (simple int)
calc_adx(len)
Calculates precise ADX and DI
Parameters:
len (simple int)
TradingSystems_AlphaLib_v6//@version=6
// @description Master Library for Institutional Grade Analysis v1
// @author jmcanovelles
library("TradingSystems_AlphaLib_v6")
// @function Calculates standardized EMA
// @param len Period for the average
export calc_ema(int len) =>
ta.ema(close, len)
// @function Calculates precise ADX and DI
// @param len Calculation period
export calc_adx(int len) =>
= ta.dmi(len, len)
bayaraa first 1221//@version=5
indicator("7-LA White Candle Session", overlay=true)
// ----- Session тохиргоо -----
sess = input.session("0930-1600", "Session") // Хүссэн session цаг
inSession = not na(time(sess)) // Лаа session-д байгаа эсэх
// ----- Лааны өнгө тоолох -----
var int candle_count = 0
if inSession
candle_count += 1
else
candle_count := 0
// ----- Өнгө тохиргоо -----
candle_color = (candle_count <= 7 and inSession) ? color.white : na
// ----- Лааг график дээр зурна -----
plotcandle(open, high, low, close, color=candle_color)
ORB 2R Retest Volume Entry (1m) - v6gJdsfjs kdfg s jdslzi gdsjzg SJFds SJKdls dsjzgfjdkzl GDMKls gndsmzgSfgndmsKF fdnsioGLfs
CAHOLD / CBLOHDCAHOLD (Close Above Highest Low Day) and CBLOHD (Close Below Lowest High Day)
The logic is based on identifying pullbacks followed by strength in the direction of the trend, making it useful as a trend-continuation entry signal rather than a reversal tool.
⸻
How CAHOLD Works (Bullish)
1. A sequence of red candles forms (a pullback).
2. The first green candle appears.
3. The script identifies the highest high of the prior red-candle sequence (HOLD).
4. A CAHOLD signal triggers when a green candle closes above that HOLD level.
5. A small green arrow is plotted below the candle.
⸻
How CBLOHD Works (Bearish)
1. A sequence of green candles forms (a bounce).
2. The first red candle appears.
3. The script identifies the lowest low of the prior green-candle sequence (LOHD).
4. A CBLOHD signal triggers when a red candle closes below that LOHD level.
5. A small red arrow is plotted above the candle.
⸻
Optional Filters
• EMA / SMA Trend Filter
Only shows CAHOLDs in uptrends and CBLOHDs in downtrends.
• Minimum Pullback Depth
Requires a minimum number of red/green candles before a signal can trigger.
• ATR Breakout Filter
Requires price to break the level by a volatility-adjusted amount.
ATR + Moving AverageThis indicator shows a manually calculated Average True Range (ATR) along with a moving average of the ATR.
The ATR measures current candle volatility.
The ATR Moving Average shows the average candle size over the selected period.
Both can use different smoothing types (RMA, SMA, EMA, WMA) for flexibility.
It’s useful for seeing when price is stretched, volatility is expanding or contracting, and for higher-timeframe mean-reversion analysis.
Premarket & PD H/L scannerpremarket scanner for top stock picks
Uses a stock selection of your own choosing that can be adjusted in the script as need be.
Both the premarket low or high is compared and also previous day high or low in order to determine trend and pinpoint which tickers are best suited to trade on a particular day
Replay CountdownDisplays countdown for current bar in Replay mode.
Optionally also displays the current replay time in the exchange timezone.
3 VCT + SMA200//@version=5
indicator("3 VCT + SMA200", overlay=true)
// SMA200
smaLength = 200
sma200 = ta.sma(close, smaLength)
plot(sma200, "SMA200", color=color.orange, linewidth=2)
// Condiciones de velas
isBullish = close > open
isBearish = close < open
// Contador de velas consecutivas
var contraCount = 0
if (close > sma200) // Tendencia alcista → buscamos 3 velas bajistas
if isBearish
contraCount += 1
else
contraCount := 0
else if (close < sma200) // Tendencia bajista → buscamos 3 velas alcistas
if isBullish
contraCount += 1
else
contraCount := 0
// Señal cuando se cumplan 3 consecutivas en contra
signal = (contraCount == 3)
// Mostrar en gráfico
plotshape(signal, title="Señal 3 velas", style=shape.labeldown,
text="", location=location.abovebar,
color=color.red, size=size.tiny, textcolor=color.white)
// Crear condición de alerta
alertcondition(signal, title="3 Velas Contra Tendencia",
message="Se han formado 3 velas en contratendencia respecto a la SMA200.")
Daily SMA 10/20/50/200 (Timeframe Agnostic)This indicator plots the 10, 20, 50, and 200-period Simple Moving Averages calculated on a user-selected base timeframe (default: Daily), then displays them on any chart timeframe (intraday, daily, weekly, monthly). Each SMA has independent controls for visibility, color, and line thickness.
SMA 20/50/100/200Simple Moving Averages indicator plotting the 20, 50, 100, and 200 SMAs based on the **active chart timeframe**. Designed to adapt dynamically as you change timeframes, it helps visualize short-, medium-, and long-term trend structure, momentum shifts, and dynamic support and resistance. Color-coded for clarity with consistent line thickness for clean, readable trend analysis.
RSI Structure Engine (Aggressive Soft) | It measures the direction (trend) and turning points of the market via RSI(7).
But unlike the classic RSI:
It doesn't say "sell at 70 - buy at 30" ❌
Instead:
It reveals the STRUCTURE of the RSI (HH–HL / LH–LL).
That is:
Is there a trend?
Is the trend continuing?
Has the trend ended?
It divides the RSI into 3 zones:
Zone Meaning
RSI ≥ 70 Strong upward momentum (peak regime)
RSI ≤ 30 Strong downward momentum (bottom regime)
30–70 Transition / breathing space
But the key point is this 👇
The bottom/top RSI is FOLLOWED within these regimes, it doesn't lock in immediately.
What and How
🔺 🔻 Locked RSI peak/trough
HH/HL RSI upward trend
LH/LL RSI downward trend
Small points being followed (not yet locked)
If RSI HL breaks, the trend ends
WHAT YOU SHOULDN'T DO?
❌ Don't assume it's a buy-sell indicator alone
❌ Don't short just because you see RSI 70
❌ Don't long just because you see RSI 30
This indicator:
Answers the question "Which side should I be on?"
It doesn't say "Enter right here"
TREND FILTER (MAIN USE)
LONG LOOK:
Last structure: HH + HL
RSI doesn't fall below 30
🔻 HL is protected
SHORT LOOK:
Last structure: LH + LL
RSI cannot rise above 70
🔺 LH is protected
❌ Don't take a trade in the opposite direction.
Wiz ATRAverage True Range for given day based off past X amount of time periods. Best used by Trader Dante who is a ledge
Work Break Area Background# Work Break Area Background
Workdays and off-hours are distinguished by background color for easy date differentiation during reviews.
---
# 工作休息时间区域背景色
工作日和非工作时间通过背景颜色区分,以便在审查期间轻松区分日期。
ORB Breakout & RetestORB Breakout & Breakdown Indicator - Complete Opening Range Strategy
Description :
The ORB (Opening Range Breakout) Breakout & Retest Indicator is a simple tool designed to identify opening range breakouts and breakdowns with retest confirmation. This indicator works on ANY timeframe while automatically analyzing 1-minute price action to detect precise entry signals.
What makes this indicator unique:
- ✅ Multi-Timeframe ORB Analysis - Simultaneously tracks 5-min, 15-min, and 30-min opening ranges
- ✅ Smart Retest Logic - Filters false breakouts by requiring price to retest and confirm the level
- ✅ Works on Any Chart Timeframe - View on 5-min, 15-min, 1-hour, or daily charts while getting 1-minute precision
- ✅ Both Long & Short Signals - Detects bullish breakouts AND bearish breakdowns
- ✅ Customizable Alerts - Get notified when confirmed setups occur
- ✅ Clean Visual Display - Compact table showing all ORB levels and signal status
How it Works:
Opening Range Detection :
- 5-Min ORB: Captures high/low from 9:30-9:35 AM
- 15-Min ORB: Captures high/low from 9:30-9:45 AM
- 30-Min ORB: Captures high/low from 9:30-10:00 AM
Breakout Confirmation (3-Step Process) :
1. Initial Break - Price closes above ORB High (or below ORB Low for shorts)
2. Retest - Price pulls back to retest the broken level
3. Confirmation - Price breaks through again, confirming the trend
This retest requirement dramatically reduces false signals and helps you enter trades with better risk/reward.
Perfect For :
- Day traders looking for opening range strategies
- Scalpers who need precise entry signals
- Swing traders identifying strong intraday momentum
- Anyone trading stocks, futures, forex, or crypto during market hours
---
⚙️ Settings & Customization :
Display Options :
- ☑️ Show ORB High (Default: OFF) - Display the high of each opening range in the table
- ☑️ Show ORB Low (Default: OFF) - Display the low of each opening range in the table
- ☑️ Show Breakout+Retest (Default: ON) - Show bullish breakout confirmation status
- ☑️ Show Breakdown+Retest (Default: ON) - Show bearish breakdown confirmation status
Alert Options :
- ☑️ Enable 5-Min Alerts (Default: OFF) - Get alerts for 5-minute ORB confirmations
- ☑️ Enable 15-Min Alerts (Default: OFF) - Get alerts for 15-minute ORB confirmations
- ☑️ Enable 30-Min Alerts (Default: OFF) - Get alerts for 30-minute ORB confirmations
Visual Indicators :
- Green triangles (▲) below bars = Breakout confirmed (bullish)
- Red triangles (▼) above bars = Breakdown confirmed (bearish)
- Triangle sizes: Tiny (5-min), Small (15-min), Normal (30-min)
---
Table Legend:
Timeframe Row: Shows the three ORB periods being tracked
ORB High Row: (Optional) The highest price during each opening range period
ORB Low Row: (Optional) The lowest price during each opening range period
Breakout+Retest Row:
- 🟢 YES = Bullish setup confirmed (price broke high, retested, and confirmed)
- 🔴 NO = No confirmed bullish setup yet
- ⚪ N/A = Opening range not yet established
Breakdown+Retest Row:
- 🟢 YES = Bearish setup confirmed (price broke low, retested, and confirmed)
- 🔴 NO = No confirmed bearish setup yet
- ⚪ N/A = Opening range not yet established
How to Use :
1. Add to Chart - Works best on stocks, futures, and indices with regular market hours (9:30 AM EST open)
2. Choose Your Timeframe - View on any timeframe; indicator automatically analyzes 1-minute data
3. Monitor the Table - Watch for "YES" signals in Breakout or Breakdown rows
4. Set Alerts - Enable alerts for your preferred ORB timeframes
5. Plan Your Trade - Use ORB levels as entry points and initial stop-loss levels
Tips :
- Combine multiple timeframe confirmations for higher probability setups
- Use ORB High/Low levels as natural support/resistance zones
- The 5-min ORB gives faster signals; 30-min ORB gives stronger trends
- Best results typically occur in the first 1-2 hours after market open
- Works on all markets but optimized for regular trading hours (9:30 AM EST)
Key Features Summary :
✓ Multi-timeframe opening range tracking (5, 15, 30-minute)
✓ Retest confirmation logic to filter false breakouts
✓ Works on any chart timeframe with 1-minute precision
✓ Bullish and bearish signal detection
✓ Customizable visual display with toggle options
✓ Individual alerts for each timeframe and direction
✓ Clean, professional table interface
✓ No repainting - signals are final once confirmed
✓ Suitable for all experience levels
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
BTC - BEAM: Adaptive Multiple (Open-Source)Title: BTC - BEAM: Adaptive Multiple Cycle Oscillator | RM
Overview & Philosophy
The BTC - BEAM (Bitcoin Economics Adaptive Multiple) is a premier macro-valuation tool designed to identify the "Logarithmic Pulse" of Bitcoin's 4-year cycles. Unlike standard oscillators that lose relevance as the network grows, BEAM uses an adaptive baseline that tracks Bitcoin’s fundamental growth curve with precision.
It identifies the harmonic distance between the current price and its multi-year mean, helping you spot the rare windows of deep capitulation and terminal euphoria.
Methodology
This edition is a hardened, gap-proof and Open-Source implementation of the canonical BEAM model.
1. The 1400-Day Anchor (200 Weeks):
The model is anchored to a 1400-day Simple Moving Average. On the Weekly chart, this aligns with the legendary 200-week moving average—the historical "floor" of the Bitcoin network. It represents one full halving cycle of data.
2. Daily-Lock Architecture:
Even when viewed on the 1W chart, the script performs its calculations using Daily data. This ensures that the oscillator captures the exact peak day of a cycle, providing a "high-resolution" signal within a "low-noise" weekly environment.
3. Logarithmic Normalization:
We calculate the natural logarithm of the price-to-mean relationship, scaled by a factor of 2.5: Score = ln(Price / 1400d MA) / 2.5 This creates a standardized "Multiple" that remains comparable across all Bitcoin eras.
How to Read the Chart (1W Context)
🟧 The BEAM Line (Orange): Tracks the "macro heat" of the market. On the 1W chart, look for the slope of this line to identify cycle acceleration.
🔴 The Cycle Ceiling (Score > 1.0): Historical Cycle Tops. When the weekly candle sustains in this zone, the market has reached a state of unsustainable mania. Every major blow-off top has been captured in this red corridor.
🟢 The Cycle Floor (Score < 0.1): Generational Accumulation. On the 1W chart, these zones appear as extended "green troughs." These are the only times in history where Bitcoin is fundamentally "too cheap" relative to its 4-year trend.
The Status Dashboard
The bottom-right monitor provides immediate cycle classification:
• BEAM Score: The exact logarithmic multiple.
• Cycle Regime: ACCUMULATION , NEUTRAL , or OVERHEATED .
Credits
BitcoinEcon: For the original concept of the BEAM adaptive model.
⚠️ RECOMMENDATION: While this indicator captures daily data, it is strongly recommended to be viewed on the Weekly (1W) Timeframe. The 1W chart filters market noise and perfectly reveals the long-term "Cycle Narrative."
Disclaimer
This script is for research and educational purposes only. Macro indicators provide structural context; they are not crystal balls. Always manage your risk according to your personal financial plan.
Tags
bitcoin, btc, beam, macro, cycle, halving, log-growth, valuation, on-chain, Rob Maths
ATR High and Low Offset from PriceAverage True Range based on last X time periods. Learned this from the master Trader Dante, but wanted to code my own ATR indicator for practice and I noticed his keeps moving throughout the day on BTC, so testing my own.






















