Global Sessions Background (Auto DST) — US · EU · ASIA[by Irum]목적 & 정의 (KR/EN)
목적 (KR)
차트에 미국/유럽/아시아 주요 세션을 자동으로 음영 처리하여, 시세 흐름을 세션 맥락(개장/중첩/점심 휴장 등) 속에서 빠르게 파악하도록 돕습니다. DST(서머타임)를 IANA 타임존 기반으로 자동 반영합니다.
Definition (EN)
Shade the chart background for US/EU/ASIA sessions so you can instantly read price action in the right session context (open/overlap/lunch break). Daylight Saving Time is auto-handled via IANA time zones.
설정 메뉴 매뉴얼 (KR/EN)
1) 시각화 / Visualization
투명도 / Transparency (int 0~100, 기본 85)
KR: 배경 투명도. 0=진하게, 100=완전 투명.
EN: Background opacity. 0=solid, 100=fully transparent.
표시 우선순위 / Draw Priority (옵션)
KR: 세션 겹침 시 오른쪽 항목일수록 최종 표시. 예) US > EU > ASIA면 US가 최우선.
EN: When sessions overlap, the rightmost wins. E.g., US > EU > ASIA gives top priority to US.
세션 라벨 표시 / Show session labels (bool)
KR: 세션 시작봉에 “US/EU/ASIA” 라벨을 소형으로 표시.
EN: Drops a tiny “US/EU/ASIA” label at each session start bar.
2) 미국장 / US Session
미국장 배경 표시 / Show US session (bool)
KR: 미국장 음영 켬/끔.
EN: Toggle US shading.
미국 타임존 (IANA) / US Timezone (IANA) (string)
KR: 기본 America/New_York. IANA이므로 DST 자동 반영.
EN: Default America/New_York. IANA tz, DST auto-handled.
정규장(RTH) / Regular Trading Hours (session)
KR: 기본 0930-1600. 필요 시 수정.
EN: Default 0930-1600. Adjust as needed.
프리마켓·애프터 포함 / Include pre/after (bool)
KR: 프리마켓/애프터 시간도 함께 음영.
EN: Include pre-market and after-hours shading.
프리마켓 / Pre-market (session), 애프터마켓 / After-hours (session)
KR/EN: 세부 시간 개별 지정.
배경색 / Background color (color)
KR/EN: 미국장 음영 색상.
3) 유럽장 / Europe Session
유럽장 배경 표시 / Show EU session (bool)
유럽 타임존 (IANA) / Europe Timezone (IANA) (string) — 기본 Europe/London
정규장 / Regular Trading Hours (session) — 기본 0800-1630
배경색 / Background color (color)
(KR/EN 동일 의미. DST 자동 반영.)
4) 아시아장 / Asia Session
아시아장 배경 표시 / Show Asia session (bool)
아시아 타임존 (IANA) / Asia Timezone (IANA) (string) — 기본 Asia/Seoul
분할세션 사용(점심휴장) / Use split sessions (bool)
KR: 켜면 오전/오후(점심 휴장)로 분할 적용.
EN: If ON, use morning/afternoon split around lunch break.
연속 세션 / Continuous session (session) — 기본 0900-1530
오전 / Morning (session) — 기본 0900-1130
오후 / Afternoon (session) — 기본 1230-1530
배경색 / Background color (color)
Indikatoren und Strategien
NK-MACD + RSI3Fetches MACD and RSI for six timeframes (15m, 1h, 4h, D, W, M) using request. ,Converts MACD into four states (P+, P-, N-, N+) to show momentum direction/strength. Color-codes RSI levels (<40 red, 40–60 orange, >60 green). Saves time — no need to switch charts for top-down analysis. Helps confirm trends and filter trades with clear visual cues. Unique dashboard layout provides immediate market snapshot.
Originality → Shows how you transformed basic MACD/RSI into a multi-timeframe confluence dashboard.
Usefulness → Explains how it helps traders make faster, better decisions.
Transparency → Explains how the script works without revealing private code.
Compliance → Promises a clean chart for republishing.
LFT strategy Main Reversion
this script will tell exactly when to buy and sell with TP and SL, used the latest LLM to tone the model with a profit ratio of 2.05 in 6 years and profit ratio of 4.02 in past 6 month and have been back tested with Monte Carlo simulation, with profit ratio 1+ for 99% of the time with 1000 iterations with 500 steps, for 100 times
please contact LFT Foundation for access
PCV Setup (By Darren.L)The PCV Setup is designed for M15 scalping trading.
It combines Bollinger Bands (volatility), CCI (momentum), and RVI (trend confirmation) to filter false signals and improve accuracy.
Shade 4H Blocks PSTShades a 4H timeframe intraday. The purpose is to remind me what 4H candle I am operating in without having to manually mark it on the lower-timeframe charts I am watching.
Most-Crossed Channels (FAST • Top-K • Flexible Window)//@version=5
indicator("Most-Crossed Channels (FAST • Top-K • Flexible Window)", overlay=true, max_boxes_count=60, max_labels_count=60)
// ---------- Inputs ----------
windowMode = input.string(defval="Last N Bars", title="Scan Window", options= )
barsLookback = input.int(defval=800, title="If Last N Bars → how many?", minval=100, maxval=5000)
sess = input.session(defval="0830-1500", title="Session (exchange tz)")
sessionsBack = input.int(defval=1, title="If Last N Sessions → how many?", minval=1, maxval=10)
minutesLookback = input.int(defval=120, title="If Last X Minutes → how many?", minval=5, maxval=24*60)
sinceTs = input.time(defval=timestamp("2024-01-01T09:30:00"), title="Since time (chart tz)")
channelsK = input.int(defval=3, title="How many channels (Top-K)?", minval=1, maxval=10)
binTicks = input.int(defval=8, title="Bin width (ticks)", minval=1, maxval=200) // NQ tick=0.25; 8 ticks = 2.0 pts
minSepTicks = input.int(defval=12, title="Min separation between channels (ticks)", minval=1, maxval=500)
countSource = input.string(defval="Wick (H-L)", title="Count bars using", options= )
drawMode = input.string(defval="Use Candle", title="Draw channel as", options= )
anchorPart = input.string(defval="Body", title="If Use Candle → part", options= )
fixedTicks = input.int(defval=8, title="If Fixed Thickness → thickness (ticks)", minval=1, maxval=200)
extendBars = input.int(defval=400, title="Extend to right (bars)", minval=50, maxval=5000)
showLabels = input.bool(defval=true, title="Show labels with counts")
// ---------- Colors ----------
colFill = color.new(color.blue, 78)
colEdge = color.new(color.blue, 0)
colTxt = color.white
// ---------- Draw caches (never empty) ----------
var box g_boxes = array.new_box()
var label g_lbls = array.new_label()
// ---------- Helpers ----------
barsFromMinutes(mins, avgBarMs) =>
ms = mins * 60000.0
int(math.max(2, math.round(ms / nz(avgBarMs, 60000.0))))
// First (oldest) candle in whose selected part contains `level`
anchorIndexForPrice(level, useBody, scanNLocal) =>
idx = -1
for m = 1 to scanNLocal - 1
k = scanNLocal - m // oldest → newest
o = open
c = close
h = high
l = low
topZ = useBody ? math.max(o, c) : h
botZ = useBody ? math.min(o, c) : l
if level >= botZ and level <= topZ
idx := k
break
idx
// ---------- Window depth ----------
inSess = not na(time(timeframe.period, sess))
sessStartIdx = ta.valuewhen(inSess and not inSess , bar_index, 0)
sessStartIdxN = ta.valuewhen(inSess and not inSess , bar_index, sessionsBack - 1)
sinceStartIdx = ta.valuewhen(time >= sinceTs and time < sinceTs, bar_index, 0)
avgBarMs = ta.sma(time - time , 50)
depthRaw = switch windowMode
"Last N Bars" => barsLookback
"Today (session)" => bar_index - nz(sessStartIdx, bar_index)
"Last N Sessions" => bar_index - nz(sessStartIdxN, bar_index)
"Last X Minutes" => barsFromMinutes(minutesLookback, avgBarMs)
"Since time" => bar_index - nz(sinceStartIdx, bar_index)
avail = bar_index + 1
scanN = math.min(avail, math.max(2, depthRaw))
scanN := math.min(scanN, 2000) // performance cap
// ---------- Early guard ----------
if scanN < 2
na
else
// ---------- Build price histogram (O(N + B)) ----------
priceMin = 10e10
priceMax = -10e10
for j = 0 to scanN - 1
loB = math.min(open , close )
hiB = math.max(open , close )
lo = (countSource == "Body only") ? loB : low
hi = (countSource == "Body only") ? hiB : high
priceMin := math.min(priceMin, nz(lo, priceMin))
priceMax := math.max(priceMax, nz(hi, priceMax))
rng = priceMax - priceMin
tick = syminfo.mintick
binSize = tick * binTicks
if na(rng) or rng <= 0 or binSize <= 0
na
else
// Pre-allocate fixed-size arrays (never size 0)
MAX_BINS = 600
var float diff = array.new_float(MAX_BINS + 2, 0.0) // +2 so iH+1 is safe
var float counts = array.new_float(MAX_BINS + 1, 0.0)
var int blocked = array.new_int(MAX_BINS + 1, 0)
var int topIdx = array.new_int()
binsN = math.max(1, math.min(MAX_BINS, int(math.ceil(rng / binSize)) + 1))
// reset slices
for i = 0 to binsN + 1
array.set(diff, i, 0.0)
for i = 0 to binsN
array.set(counts, i, 0.0)
array.set(blocked, i, 0)
array.clear(topIdx)
// Range adds
for j = 0 to scanN - 1
loB = math.min(open , close )
hiB = math.max(open , close )
lo = (countSource == "Body only") ? loB : low
hi = (countSource == "Body only") ? hiB : high
iL = int(math.floor((lo - priceMin) / binSize))
iH = int(math.floor((hi - priceMin) / binSize))
iL := math.max(0, math.min(binsN - 1, iL))
iH := math.max(0, math.min(binsN - 1, iH))
array.set(diff, iL, array.get(diff, iL) + 1.0)
array.set(diff, iH + 1, array.get(diff, iH + 1) - 1.0)
// Prefix sum → counts
run = 0.0
for b = 0 to binsN - 1
run += array.get(diff, b)
array.set(counts, b, run)
// Top-K with spacing
sepBins = math.max(1, int(math.ceil(minSepTicks / binTicks)))
picks = math.min(channelsK, binsN)
if picks > 0
for _ = 0 to picks - 1
bestVal = -1e9
bestBin = -1
for b = 0 to binsN - 1
if array.get(blocked, b) == 0
v = array.get(counts, b)
if v > bestVal
bestVal := v
bestBin := b
if bestBin >= 0
array.push(topIdx, bestBin)
lB = math.max(0, bestBin - sepBins)
rB = math.min(binsN - 1, bestBin + sepBins)
for bb = lB to rB
array.set(blocked, bb, 1)
// Clear old drawings safely
while array.size(g_boxes) > 0
box.delete(array.pop(g_boxes))
while array.size(g_lbls) > 0
label.delete(array.pop(g_lbls))
// Draw Top-K channels
sz = array.size(topIdx)
if sz > 0
for t = 0 to sz - 1
b = array.get(topIdx, t)
level = priceMin + (b + 0.5) * binSize
useBody = (drawMode == "Use Candle")
anc = anchorIndexForPrice(level, useBody, scanN)
anc := anc == -1 ? scanN - 1 : anc
oA = open
cA = close
hA = high
lA = low
float topV = na
float botV = na
if drawMode == "Use Candle"
topV := (anchorPart == "Body") ? math.max(oA, cA) : hA
botV := (anchorPart == "Body") ? math.min(oA, cA) : lA
else
half = (fixedTicks * tick) * 0.5
topV := level + half
botV := level - half
left = bar_index - anc
right = bar_index + extendBars
bx = box.new(left, topV, right, botV, xloc=xloc.bar_index, bgcolor=colFill, border_color=colEdge, border_width=2)
array.push(g_boxes, bx)
if showLabels
txt = str.tostring(int(array.get(counts, b))) + " crosses"
lb = label.new(left, topV, txt, xloc=xloc.bar_index, style=label.style_label_down, textcolor=colTxt, color=colEdge)
array.push(g_lbls, lb)
4H Weekly Candle Counter - Increments from Sunday until Friday This script will count the first 4H candle close on Sunday all the way until the final candle of the week on Friday.
4H Weekly Candle Counter (UTC - Dynamic)Counts the 4H Candles on a given trading day. Made specifically for the /ES. (The first 4H Candle opens at 15:00 Sunday-Thursday)
Automatic Ryze Zones v. 2.1.0Automatic Ryze Zones v2.1.0 — Multi-City Sunrise Opening Zones + Mitigation Signals
Automatic Ryze Zones maps the first actionable range at astronomical sunrise for major financial hubs and your own custom city—then watches how price reacts to those zones through the day. It’s built for intraday traders who like session structure, time-based anchors, and objective “tap/mitigation” signals.
What it plots
Sunrise Zone (per city):
At the exact local sunrise minute, the indicator captures the 1-minute candle’s high & low and paints a box that extends right across the session.
Optionally plots a dashed midline (the zone’s midpoint).
Mitigation Arrows (optional):
• ▲ Bullish when price interacts with a city’s zone in a bullish manner
• ▼ Bearish for bearish interactions
Signals are filtered by your choice of wick/close logic and a volatility gate (ATR ratio).
Timing Table:
For each enabled city, an on-chart table shows four equal intervals from sunrise to 22:00 UTC, helping you pre-plan intraday inflection windows.
(Debug) Heights Table:
Optional table listing the captured High/Low used to build each zone.
Cities covered (toggle any on/off)
New York, London, Tokyo, Auckland, Dubai, Rio, Reykjavik, Dallas, plus your Custom City (name + lat/lon).
Each city has its own:
Box color & opacity
“Show box” and “Show midline” toggles
Time-offset override (advanced)
Tip: Use the custom city to track your local market, a specific exchange, or any location you care about.
How it works (under the hood)
Astronomical Sunrise Calculation
For each day and city (lat/lon), the script computes sunrise using standard solar geometry (zenith ≈ 90.83°). This yields sunrise in UTC, then converts to local with the city’s time offset.
Zone Capture at Sunrise
At the exact sunrise minute, the script requests lower-timeframe data via request.security_lower_tf(...) and grabs the 1-minute High/Low. That becomes the zone for that city and day.
Zones Extend Right
The box is created at the sunrise bar and extends to the right for the rest of the session, giving you durable structure to trade around.
Mitigation Logic (signals)
You choose the interaction rule:
Wick: low-into-zone with a bullish candle → ▲; high-into-zone with a bearish candle → ▼
Close: both open & close inside the zone (bullish → ▲ / bearish → ▼)
Wick or Close: combines both checks
A volatility filter controls noise:
ATR_ratio = ATR(1) / ATR(2500) must be greater than your threshold (default 0.25) for the signal to print.
Timing Intervals Table
The time from sunrise → 22:00 UTC is divided into four equal parts per city. The table shows the resulting timestamps to help anticipate rhythm shifts.
Key inputs
Ryze Zone Master Switch — global on/off
Automatic Time Settings
Chart Zones for Today’s Date (true/false)
↺ Lookback (number of trading days back; weekends auto-skipped)
Manual Date Range (when Auto is off) — “Chart Zones from / To”
Per-City Settings
Show ■ (box), Show ⎯ (midline), Opacity, Color
Time Offset (advanced; typically leave 0 or -24 as noted)
Add Your City
Title, Lat., Lon., Color
Show box/midline, Opacity
Custom City Time Offset
Zone Mitigation Settings
Show Zone Mitigation (signals on/off)
Filter By: Wick, Close, or Wick or Close
▲ / ▼ colors
ATR Filter (default 0.25 on ATR ratio)
Debug
Table Page (for stepping through stored days)
⏼ (toggle debug table of High/Low per city)
Suggested use
Confluence trading: Combine Ryze Zones with your session bias, market profile, VWAP, or liquidity maps.
Tap/Mitigate behavior: Watch for first touch, failures to break, and midline reactions; the ATR filter helps you ignore low-energy pokes.
Timing awareness: Use the four interval times as soft “checkpoints” for rotation or continuation.
Notes & limitations
Timeframes: Works on intraday charts; uses 1-minute data internally.
Weekends: Auto-skipped in lookback.
Offsets: City time offsets are advanced controls for edge cases (synthetic sessions, DST quirks). If unsure, leave at default.
Performance: The script is optimized (uses dynamic_requests = true), but enabling many cities + long lookbacks can approach max_lines/boxes.
Historical signals: Mitigation arrows evaluate against today’s zones by design (historical arrays are foundational but signals key off the current day).
Quick start
Turn Ryze Zone Master Switch on.
Set Automatic Time on and choose your Lookback (e.g., 3).
Enable the cities you care about (NY/LON/TYO are a solid start).
Turn on Zone Mitigation with Wick or Close and keep ATR Filter = 0.25–0.35 to start.
Trade reactions into/out of zones with your own risk plan.
Credits / Version
v2.1.0 — Multi-city sunrise zones, mitigation signals with ATR ratio, interval timing table, custom city support, debug tools.
EWC Zone Matrix📌 EWC Precision Blocks
🔎 Overview
EWC Precision Blocks is a professional market analysis tool designed to highlight high-probability trading zones on the chart. Instead of relying on lagging signals, this indicator maps out Alpha Zones (bullish) and Beta Zones (bearish), allowing traders to identify potential market reaction areas with clarity.
The algorithm is built to adapt across Scalp, Swing, and Position trading modes, making it flexible for short-term intraday traders as well as long-term investors.
⚡ Key Features
Multi-Mode Detection – Switch between Scalp, Swing, or Position modes depending on your trading style.
EWC Alpha Zone (Bullish Detection) – Highlights areas where the market may find strong upward momentum.
EWC Beta Zone (Bearish Detection) – Highlights areas where the market may face downward pressure.
Zone Break Tracking – Visualizes when a zone has been invalidated or broken.
Body-Based Detection – Option to base calculations on candle bodies instead of wicks for precision.
Zone Flips – Displays polarity shifts when zones transition from supportive to resistive behavior (and vice versa).
Custom Styling – Full control of zone and break colors for clear chart visualization.
🎯 How to Use
Select Your Mode
Scalp → Designed for fast intraday moves.
Swing → Medium-term setups, ideal for session trading.
Position → Long-term outlook, suitable for investors.
Watch the Alpha Zones
Highlighted bullish areas can serve as potential support or accumulation zones.
Watch the Beta Zones
Highlighted bearish areas may act as resistance or distribution zones.
Monitor Breaks & Flips
Alpha Breaks → Bullish zones failing.
Beta Breaks → Bearish zones failing.
Zone Flips → Polarity changes, often powerful signals.
🛠 Inputs & Customization
EWC Mode → Choose Scalp, Swing, or Position.
Show Last Alpha Zone → Set how many bullish zones to display.
Show Last Beta Zone → Set how many bearish zones to display.
Body-Based Detection → Toggle candle body vs. wick calculation.
EWC Alpha Zone / Beta Zone Styling → Customize zone colors.
Alpha Break / Beta Break Colors → Adjust break visuals.
Show Zone Flips → Enable/disable historical polarity labels.
Status Bar → Display inputs directly in the chart status line.
📈 Best Practices
Works across all timeframes and markets (forex, crypto, indices, stocks).
Combine with your existing strategy for confirmation.
Use in alignment with higher timeframe structure for maximum accuracy.
⚠ Disclaimer
EWC Precision Blocks is a market visualization tool provided for educational purposes only. It does not provide financial advice, signals, or guaranteed results. Always do your own research and manage risk responsibly.
🔹 About EWC
EWC (EastWave Capital) is dedicated to developing professional-grade trading tools and strategies for traders across forex, crypto, commodities, and indices. With over a decade of combined market experience, our mission is to empower traders with precision, clarity, and confidence in their decision-making.
EWC Precision Blocks is one of our flagship tools, reflecting our commitment to innovation, transparency, and trader-focused solutions.
📌 Published by Usama Manzoor — Founder of EastWave Capital (EWC)
1 minute ago
Release Notes
EWC Precision Blocks
The EWC Alpha-Beta Zone Detector is designed for traders who value clarity, precision, and flexibility in their chart analysis.
By mapping out Alpha (strength) and Beta (weakness) zones, this script provides a structured way to understand how price reacts to key levels in the market.
This indicator is built on price action principles and market structure analysis, avoiding clutter and focusing on the essentials traders need. Whether you are scalping on lower timeframes or analyzing swing opportunities, the Alpha-Beta Zone Detector adapts to your style.
🔹 Core Features
Alpha & Beta Zones → Detects bullish and bearish strength zones in real time.
Highlight Last Zone → Focus on the most recent Alpha/Beta zone for clarity.
Zone Flip Detection → Identifies polarity changes when zones shift from support to resistance or vice versa.
Body-Based Detection → Option to base calculations on candle bodies instead of wicks for more accuracy.
Flexible Timeframe Sensitivity → Switch between short, intermediate, and long-term detection modes.
Custom Zone Styling → Adjust colors, opacity, and line thickness for both Alpha and Beta zones.
Break Visualization → Display breaks of Alpha and Beta zones for additional confirmation.
Market Versatility → Works seamlessly on Forex, Crypto, Indices, Commodities, and Stocks.
🔹 Why Traders Use It
Provides a clear visual guide to market decision zones.
Helps traders refine entries, stop-loss placement, and take-profit levels.
Adapts to multiple trading styles → scalpers, intraday traders, and swing traders.
Keeps charts clean and professional without overloading with unnecessary signals.
⚠️ Disclaimer:
This script is created for educational and informational purposes only. It does not provide financial advice. Trading involves risk; always manage your risk responsibly and conduct your own analysis before entering any position.
LFT Foundation Main ReversionLFT Foundation Main Reversion
this script will tell exactly when to buy and sell with TP and SL, used the latest LLM to tone the model with a profit ratio of 1.82 in 6 years and profit ratio of 4.02 in past 6 month and have been back tested with Monte Carlo simulation, with profit ratio 1+ for 99% of the time with 1000 iterations with 500 steps, for 100 times
please contact LFT Foundation for access
EWC Precision Blocks📌 EWC Precision Blocks
🔎 Overview
EWC Precision Blocks is a professional market analysis tool designed to highlight high-probability trading zones on the chart. Instead of relying on lagging signals, this indicator maps out Alpha Zones (bullish) and Beta Zones (bearish), allowing traders to identify potential market reaction areas with clarity.
The algorithm is built to adapt across Scalp, Swing, and Position trading modes, making it flexible for short-term intraday traders as well as long-term investors.
⚡ Key Features
Multi-Mode Detection – Switch between Scalp, Swing, or Position modes depending on your trading style.
EWC Alpha Zone (Bullish Detection) – Highlights areas where the market may find strong upward momentum.
EWC Beta Zone (Bearish Detection) – Highlights areas where the market may face downward pressure.
Zone Break Tracking – Visualizes when a zone has been invalidated or broken.
Body-Based Detection – Option to base calculations on candle bodies instead of wicks for precision.
Zone Flips – Displays polarity shifts when zones transition from supportive to resistive behavior (and vice versa).
Custom Styling – Full control of zone and break colors for clear chart visualization.
🎯 How to Use
Select Your Mode
Scalp → Designed for fast intraday moves.
Swing → Medium-term setups, ideal for session trading.
Position → Long-term outlook, suitable for investors.
Watch the Alpha Zones
Highlighted bullish areas can serve as potential support or accumulation zones.
Watch the Beta Zones
Highlighted bearish areas may act as resistance or distribution zones.
Monitor Breaks & Flips
Alpha Breaks → Bullish zones failing.
Beta Breaks → Bearish zones failing.
Zone Flips → Polarity changes, often powerful signals.
🛠 Inputs & Customization
EWC Mode → Choose Scalp, Swing, or Position.
Show Last Alpha Zone → Set how many bullish zones to display.
Show Last Beta Zone → Set how many bearish zones to display.
Body-Based Detection → Toggle candle body vs. wick calculation.
EWC Alpha Zone / Beta Zone Styling → Customize zone colors.
Alpha Break / Beta Break Colors → Adjust break visuals.
Show Zone Flips → Enable/disable historical polarity labels.
Status Bar → Display inputs directly in the chart status line.
📈 Best Practices
Works across all timeframes and markets (forex, crypto, indices, stocks).
Combine with your existing strategy for confirmation.
Use in alignment with higher timeframe structure for maximum accuracy.
⚠ Disclaimer
EWC Precision Blocks is a market visualization tool provided for educational purposes only. It does not provide financial advice, signals, or guaranteed results. Always do your own research and manage risk responsibly.
🔹 About EWC
EWC (EastWave Capital) is dedicated to developing professional-grade trading tools and strategies for traders across forex, crypto, commodities, and indices. With over a decade of combined market experience, our mission is to empower traders with precision, clarity, and confidence in their decision-making.
EWC Precision Blocks is one of our flagship tools, reflecting our commitment to innovation, transparency, and trader-focused solutions.
📌 Published by Usama Manzoor — Founder of EastWave Capital (EWC)
Order Blocks & FVG (Kostya)the indicator is the attempt to visualize the trading opportunities - price magnets and potential reversal zones for intraday and swing trading.
Bull/Bear Flag + 9-21 EMA Cross with Targetssimple chart indicator help with buy sell targets using bear and bull flag along with moving averages on chart -helpful for beginner traders
Sharpe Ratio -> PROFABIGHI_CAPITAL🌟 Overview
The Sharpe Ratio → PROFABIGHI_CAPITAL indicator applies comprehensive risk-adjusted performance analysis combining statistical return measurement, volatility assessment, and performance tracking . It integrates daily return calculation, rolling statistical analysis, and exponential smoothing across (Return Analysis, Risk Assessment, Performance Optimization) with advanced threshold-based visualization capabilities . The indicator features dynamic color-coded plotting , comprehensive threshold management , and integrated annualization factors for complete risk-adjusted performance analysis and systematic market performance identification.
⚙️ General Settings
– Source Selection : Custom price source input for return calculation analysis.
– Sharpe Rolling Period : Configurable period length for rolling statistical calculations.
– Smoothing Period (EMA) : Exponential moving average period for signal smoothing.
– Strong Line Threshold : Upper threshold level for strong performance identification.
– Weak Line Threshold : Lower threshold level for weak performance identification.
📊 Core Calculation Components
The indicator features comprehensive risk-adjusted analysis through systematic calculation modules:
- Daily Return Calculation : Percentage-based daily price change measurement
- Rolling Mean Analysis : Moving average of daily returns over specified period
- Volatility Assessment : Rolling standard deviation calculation for risk measurement
- Raw Sharpe Computation : Risk-adjusted return ratio with zero-division protection
- Exponential Smoothing : EMA-based signal refinement for noise reduction
- Annualization Process : Crypto-optimized annualization for standardized metrics
📈 Advanced Performance Analysis Framework
Return Analysis:
- Daily Return Computation : Precise percentage change calculation from source prices
- Rolling Mean Calculation : Statistical average of returns over rolling window
- Trend Direction Assessment : Performance momentum through return analysis
- Signal Consistency Tracking : Sustained performance measurement over time
Risk Assessment:
- Volatility Measurement : Rolling standard deviation of daily returns
- Risk-Adjusted Scaling : Sharpe ratio calculation with volatility normalization
- Zero-Division Protection : Mathematical safeguards for stable calculation
- Statistical Stability : Consistent risk metrics across market conditions
Performance Optimization:
- Signal Smoothing : EMA-based noise reduction for cleaner signals
- Annualization Process : Crypto market optimization for accurate annual metrics
- Threshold Integration : Performance classification through configurable levels
- Dynamic Assessment : Real-time performance evaluation and classification
📏 Threshold Configuration System
– Strong Performance Threshold : Configurable upper level for excellent risk-adjusted returns
– Weak Performance Threshold : Configurable lower level for poor risk-adjusted returns
– Dynamic Color Mapping : Green for strong, red for weak, gray for neutral performance
– Visual Threshold Lines : Dashed horizontal reference lines for threshold identification
– Performance Classification : Automatic categorization based on threshold relationships
📋 Advanced Mathematical Integration
Statistical Foundation :
- Return Calculation : Precise daily percentage change methodology
- Rolling Statistics : Moving window approach for dynamic assessment
- Standard Deviation : Volatility measurement for risk quantification
- Ratio Computation : Risk-adjusted performance through Sharpe methodology
Smoothing Technology :
- Exponential Moving Average : Advanced smoothing for signal clarity
- Noise Reduction : Statistical filtering for cleaner performance signals
- Trend Preservation : Smoothing while maintaining directional accuracy
- Responsive Adjustment : Dynamic adaptation to changing market conditions
🎨 Visual Features
– Dynamic Line Plotting : Color-coded Sharpe ratio line with performance-based coloring
– Threshold Reference Lines : Dashed horizontal lines for strong and weak performance levels
– Performance Color Coding : Green for strong, red for weak, gray for neutral performance
– Line Weight Optimization : Enhanced visibility with optimized line width
– Professional Formatting : Price format with precision for accurate display
🔍 Advanced Features
– Risk-Free Rate Optimization : Zero risk-free rate assumption for crypto market analysis
– Mathematical Protection : Zero-division safeguards for stable calculation
– Rolling Window Analysis : Dynamic statistical assessment over configurable periods
– Performance Optimization : Efficient calculation methods for smooth operation
– Threshold-Based Classification : Automatic performance categorization system
– Annualization Accuracy : Crypto-specific factors for precise annual metrics
– Signal Reliability : EMA smoothing for consistent performance signals
🔔 Signal Generation & Analysis
– Strong Performance Signals : Green line indication when Sharpe ratio exceeds strong threshold
– Weak Performance Alerts : Red line indication when Sharpe ratio falls below weak threshold
– Neutral Zone Identification : Gray line indication for performance between thresholds
– Threshold Cross Confirmations : Performance level transition identification
– Risk-Adjusted Momentum : Smoothed Sharpe ratio trend analysis for sustained performance
– Volatility-Adjusted Returns : Risk-normalized performance measurement for accurate assessment
– Statistical Significance : Rolling period analysis for statistically meaningful signals
– Performance Consistency : EMA smoothing for reliable signal generation
By utilizing comprehensive risk-adjusted performance analysis and threshold-based visualization , the Sharpe Ratio → PROFABIGHI_CAPITAL indicator provides systematic performance measurement with advanced statistical accuracy , offering complete risk-reward optimization through rigorous mathematical analysis , volatility assessment , and annualized performance tracking .
TRADIVEX_ATR TablosuBINANCE:BTCUSDT.P tr.tradingview.com ## **TRADIVEX\_ATR Table – Indicator Description**
**Overview:**
The TRADIVEX\_ATR Table is a versatile trading tool that provides a concise, visual overview of market volatility, price direction, and ATR-based support/resistance levels. Designed for traders seeking quick insights, this indicator combines key metrics into a color-coded table directly on the chart.
**Key Features:**
* **ATR Calculation & Dynamic Bands:**
Measures Average True Range (ATR) over a configurable period and calculates upper and lower price bands using a multiplier. These bands act as dynamic support and resistance levels, adapting automatically to market volatility.
* **Volatility Assessment:**
Displays market volatility as a percentage of the current price. Volatility is classified into **High, Medium, or Low**, with intuitive color coding:
* High → Red
* Medium → Orange
* Low → Green
* **Price Direction:**
Tracks the direction of the current price relative to the previous bar:
* Up → Green
* Down → Red
* Neutral → Gray
* **Information Table:**
Shows all relevant metrics in a structured table overlay, including:
1. ATR Length (period)
2. ATR Multiplier
3. Upper Band Level
4. Lower Band Level
5. Current Price
6. High Price
7. Low Price
8. ATR Value
9. Volatility Level (color-coded)
10. Price Direction (color-coded)
* **Customizable Table Position:**
The table can be positioned anywhere on the chart (top, middle, bottom, left, right, or center), ensuring it doesn’t obstruct your price action analysis.
**Usage & Benefits:**
* Quickly assess market volatility and momentum.
* Identify short-term trends and directional bias.
* Monitor dynamic ATR-based support/resistance levels.
* Make informed decisions for entries, exits, and stop-loss placements.
**Ideal For:**
Traders who want a **real-time, visual summary of market conditions** without cluttering the chart with multiple indicators.
---
Liquidity Levels (Buyside/Sellside , EQH/EQL , PDH/PDL ,PWH/PWL)Unlock the Hidden Market Structure with Advanced Liquidity Detection.
The Liquidity Concept indicator is a sophisticated, all-in-one toolkit designed for traders . It automatically identifies and visualizes key liquidity zones, equal highs/lows, and multi-timeframe levels, providing a significant edge in anticipating potential market movements and breakouts.
🔍 Core Features:
Smart Liquidity Zones:
Buyside Liquidity (BSL ): Detects and marks significant high clusters where stop losses are likely clustered. A break above these levels often triggers a rapid move to capture liquidity.
Sellside Liquidity (SSL) : Pinpoints significant low clusters. A break below can signal a sweep of liquidity before a potential reversal or continuation.
Customizable Sensitivity: Adjust the detection length and margin to fine-tune the indicator for any asset or timeframe.
Liquidity Voids:
Visualizes price gaps that represent a lack of trading activity (liquidity voids). These zones often act as magnets for price, filling in before a trend continues.
Equal Highs & Lows (EQH/EQL):
Automatically draws and labels significant equal highs and lows, which are crucial for identifying breakout and rejection points. Includes options to clear levels once they are breached.
Multi-Timeframe Perspective:
Overlays key levels from higher timeframes (Daily, Weekly, Monthly) directly onto your chart, including Previous Highs (PDH/PWH/PMH) and Previous Lows (PDL/PWL/PML)
⚙️ Fully Customizable:
Tailor every aspect of the indicator to fit your trading style and chart aesthetics:
Control the colors, transparency, and visibility of all elements.
Choose between "Present" mode for active levels or "Historical" mode for analysis.
Adjust line styles and text for perfect chart integration.
Gain a deeper understanding of where the market is likely to go next. Add the Liquidity Concept indicator to your chart today and start trading the hidden levels that move the market.
SAPSAN TRADE: Retail Power Profile FIXSAPSAN TRADE: Retail Power Profile FIX
Visualize retail market pressure with precision using the SAPSAN TRADE: Retail Power Profile FIX indicator. This tool analyzes a selected time range and displays the distribution of bullish and bearish activity across price levels. Key features include:
Custom Time Range – Analyze any specific period by setting the start and end time.
Signed Volume Profile – Shows bullish (green) and bearish (red) volume across price levels.
POC (Point of Control) – Highlights the price level with the strongest retail activity.
Adjustable Levels – Choose the number of levels to divide the price range for detailed analysis.
Dynamic Visualization – Profile lines and labels scale automatically according to volume intensity.
Perfect for traders who want to identify where retail buyers and sellers are most active, key support/resistance levels, and the dominant market sentiment during a given period.
TF ZONES VIPTF Zones is a session and higher-timeframe reference tool for intraday and swing traders (ICT / SMC concepts).
🔹 Features
Killzones (Sessions):
Automatically draws Asia, London, New York AM, New York Lunch, and New York PM ranges.
• Customizable box colors, transparency, and labels
• High/Low pivot lines with optional midpoints
• Alerts when pivots are broken
Day / Week / Month Levels:
• Daily / Weekly / Monthly Opens
• Daily / Weekly / Monthly Highs & Lows
• Alerts on High/Low breaks
Day-of-Week Zones:
Color-coded boxes for each weekday (Mon–Sun) to track daily ranges.
Previous Year High/Low:
Plots prior year’s H/L with labels (PY.H / PY.L).
🔧 Customization
Session drawing limits (max days stored)
Timezone selection (GMT offsets or New York)
Label size, text color, and line style
Box transparency and text display options
Optional alerts on key level breaks
📌 Use Case
Perfect for traders who want to:
Track session ranges (ICT Killzones)
Visualize intraday structure clearly
Use Daily / Weekly / Monthly opens and ranges as confluence
Monitor higher-timeframe and yearly reference levels
TF ZonesTF Zones is a session and higher-timeframe reference tool for intraday and swing traders (ICT / SMC concepts).
🔹 Features
Killzones (Sessions):
Automatically draws Asia, London, New York AM, New York Lunch, and New York PM ranges.
• Customizable box colors, transparency, and labels
• High/Low pivot lines with optional midpoints
• Alerts when pivots are broken
Day / Week / Month Levels:
• Daily / Weekly / Monthly Opens
• Daily / Weekly / Monthly Highs & Lows
• Alerts on High/Low breaks
Day-of-Week Zones:
Color-coded boxes for each weekday (Mon–Sun) to track daily ranges.
Previous Year High/Low:
Plots prior year’s H/L with labels (PY.H / PY.L).
🔧 Customization
Session drawing limits (max days stored)
Timezone selection (GMT offsets or New York)
Label size, text color, and line style
Box transparency and text display options
Optional alerts on key level breaks
📌 Use Case
Perfect for traders who want to:
Track session ranges (ICT Killzones)
Visualize intraday structure clearly
Use Daily / Weekly / Monthly opens and ranges as confluence
Monitor higher-timeframe and yearly reference levels
Trading Sessions (L3J) Trading Sessions Indicator (L3J)
Overview
This Pine Script indicator displays precise trading session boxes for the three major global trading sessions: Asia, London, and US (Cash). Unlike traditional session indicators that show continuous background colors, this script creates rectangular boxes that precisely delimit each session from start to finish.
Features
🌍 Global Timezone Support
- 39 timezone options covering all major financial centers
- Automatic daylight saving time adjustments for named timezones
- Universal compatibility with all TradingView charts
📦 Session Boxes
- Precise delimitation: Each session is contained within a rectangular box
- Dynamic sizing: Boxes automatically adjust to session high/low prices
- Visual distinction: Completed sessions (solid borders) vs ongoing sessions (dashed borders)
- Customizable borders: Toggle on/off with adjustable thickness (0-5px)
🎨 Visual Customization
- Individual session colors: Fully customizable for Asia, London, and US sessions
- Border matching: Border colors automatically match session box colors
- Transparency control: Built-in opacity settings for each session
- Clean interface: Minimal visual clutter with maximum information
⚙️ Management Options
- Box limit control: Set maximum number of historical boxes per session (1-50)
- Automatic cleanup: Old boxes are automatically removed to maintain performance
- Memory efficient: Optimized for long-term chart analysis
Default Session Times (EDT - Etc/GMT+4)
| Session | Default Hours | Markets Covered |
|---------|---------------|-----------------|
| Asia | 18:00 - 02:00 | Tokyo, Sydney, Hong Kong |
| London | 02:00 - 11:00 | London, Frankfurt, European markets |
| US Cash | 09:30 - 16:00 | NYSE, NASDAQ |
> Note: Default times are in EDT (Eastern Daylight Time). Adjust session hours according to your selected timezone.
Timezone Conversion Examples
For UTC Users:
- Asia: 22:00 - 06:00
- London: 06:00 - 15:00
- US: 13:30 - 20:00
For Europe/London Users:
- Asia: 23:00 - 07:00
- London: 07:00 - 16:00
- US: 14:30 - 21:00
Usage Instructions
1. Add to chart: Apply the indicator to any timeframe
2. Select timezone: Choose your local timezone from the dropdown
3. Adjust session hours: Modify session times if needed for your timezone
4. Customize appearance: Set colors, borders, and box limits
5. Enable/disable sessions: Toggle individual sessions on/off as needed
Technical Specifications
- Pine Script Version: v6
- Chart Type: Overlay indicator
- Maximum Objects: 150 boxes, 500 lines, 200 labels
- Performance: Optimized for real-time updates
- Compatibility: All TradingView chart types and timeframes
Integration with Other Scripts
This indicator is designed to work seamlessly with other L3J trading scripts:
- ICT Levels Indicators: Provides session context for key levels
- Market Structure Scripts: Session boxes help identify structural breaks
- Volume Profile Tools: Session delimitation for volume analysis
- Support/Resistance Scripts: Session-based level identification
> Recommended: Use this as a base layer with other L3J indicators for comprehensive market analysis.
Key Benefits
🎯 Precision Trading
- Exact session boundaries: No guesswork about session start/end times
- Clean visual reference: Clear session delimitation for strategy execution
- Multi-timeframe compatibility: Works on all chart timeframes
📊 Professional Analysis
- Institution-grade accuracy: Matches professional trading platforms
- Customizable for any strategy: Adaptable to various trading approaches
- Performance optimized: Minimal impact on chart loading times
🔄 Real-time Updates
- Live session tracking: Ongoing sessions update in real-time
- Automatic management: Old sessions are cleaned up automatically
- Memory efficient: Optimized for extended trading sessions
Author Information
Created by: L3J
Version: 1.0
Category: Session Analysis / Market Hours
License: For use with L3J trading script ecosystem
---
Support & Integration
This indicator is part of the L3J Trading Script Collection. For optimal results, combine with other L3J indicators:
- ICT Key Levels
- Market Structure Analysis
- Volume Profile Tools
- Support/Resistance Scripts
Note: This script is specifically designed to complement and enhance other L3J trading tools. Individual use is supported, but maximum effectiveness is achieved when used as part of the complete L3J trading system.
---
For technical support or integration questions, refer to the L3J script documentation or community resources.
WCWebLibLibrary "WCWebLib"
method buildWebhookJson(msg, constants)
Builds the final JSON payload from a webhookMessage type.
Namespace types: webhookMessage
Parameters:
msg (webhookMessage) : (webhookMessage) A prepared webhookMessage.
constants (CONSTANTS)
Returns: A JSON Payload.
method buildTakeProfitJson(msg)
Builds the takeProfit JSON message to be used in a webhook message.
Namespace types: takeProfitMessage
Parameters:
msg (takeProfitMessage)
method buildStopLossJson(msg, constants)
Builds the stopLoss JSON message to be used in a webhook message.
Namespace types: stopLossMessage
Parameters:
msg (stopLossMessage)
constants (CONSTANTS)
CONSTANTS
Constants for payload values.
Fields:
ACTION_BUY (series string)
ACTION_SELL (series string)
ACTION_EXIT (series string)
ACTION_CANCEL (series string)
ACTION_ADD (series string)
SENTIMENT_BULLISH (series string)
SENTIMENT_BEARISH (series string)
SENTIMENT_LONG (series string)
SENTIMENT_SHORT (series string)
SENTIMENT_FLAT (series string)
STOP_LOSS_TYPE_STOP (series string)
STOP_LOSS_TYPE_STOP_LIMIT (series string)
STOP_LOSS_TYPE_TRAILING_STOP (series string)
EXTENDEDHOURS (series bool)
ORDER_TYPE_LIMIT (series string)
ORDER_TYPE_MARKET (series string)
TIF_DAY (series string)
webhookMessage
Final webhook message.
Fields:
ticker (series string)
action (series string)
sentiment (series string)
price (series float)
quantity (series int)
takeProfit (series string)
stopLoss (series string)
extendedHours (series bool)
type (series string)
timeInForce (series string)
takeProfitMessage
Take profit message.
Fields:
limitPrice (series float)
percent (series float)
amount (series float)
stopLossMessage
Stop loss message.
Fields:
type (series string)
percent (series float)
amount (series float)
stopPrice (series float)
limitPrice (series float)
trailPrice (series float)
trailPercent (series float)