Penunjuk dan strategi
Treasury Cash-Futures Basis Estimator (stable)An estimation of the Treasury Cash-Futures Basis with help from GPT
[boitl] Trendfilter🧭 Trend Filter – Curve View (1D / 1H + M15 Check)
A multi-timeframe trend filter that blends daily, hourly, and 15-minute data into a smooth, color-coded curve displayed in a separate panel.
It visualizes both trend direction and strength while accounting for overextension, providing a reliable “context indicator” for entries and filters.
🔍 Concept
The indicator evaluates three timeframes:
1D (Daily) → SMA200 for long-term trend bias
1H (Hourly) → EMA50 for medium-term confirmation
15M (Intraday) → EMA20 + ATR to detect overextension or mean reversion zones
It computes a continuous trend score between −1 and +1:
+1 → Strong bullish alignment (D1 & H1 both up)
−1 → Strong bearish alignment (D1 & H1 both down)
≈ 0 → Neutral, conflicting, or overextended conditions
The score is smoothed and normalized for a clean visual curve —
green for bullish, red for bearish, with dynamic transparency based on strength.
⚙️ Logic Overview
Timeframe Indicator Purpose
1D SMA200 Long-term trend direction
1H EMA50 Medium-term confirmation
15M EMA20 + ATR Overextension control
Alignment between D1 and H1 defines clear trend bias
Conflicts between them reduce the trend score
M15 overextension (price far from EMA20) softens the signal further
The result is a responsive trend-strength oscillator, ideal for multi-timeframe setups.
🧩 Use Cases
As a trend filter for strategies (e.g. allow entries only if score > 0.3 or < −0.3)
As a visual confirmation of higher-timeframe direction
To avoid trades during conflict or exhaustion
💡 Visualization
Single curve (area plot):
Green = bullish bias
Red = bearish bias
Transparency increases with weaker trend
Background colors:
🟠 Orange → D1/H1 conflict
🔴 Light red → M15 overextension active
Optional: binary alignment line (+1 / 0 / −1) for simplified display
⚙️ Parameters
Proximity to EMA20 (M15) = X×ATR → defines “near” condition
Overextension threshold = X×ATR → sets exhaustion boundary
EMA smoothing → reduces noise for a smoother score
Toggle overextension impact on/off
ADX +DI/-DI with Buy/Sell Signals//@version=5
indicator("ADX +DI/-DI with Buy/Sell Signals", overlay=true)
// Inputs
adxLength = input.int(14, "ADX Length")
threshold = input.float(25.0, "ADX Threshold")
// Directional Movement
upMove = ta.change(high)
downMove = -ta.change(low)
plusDM = (upMove > downMove and upMove > 0) ? upMove : 0.0
minusDM = (downMove > upMove and downMove > 0) ? downMove : 0.0
// True Range and Smoothed Values
tr = ta.rma(ta.tr, adxLength)
plusDI = 100 * ta.rma(plusDM, adxLength) / tr
minusDI = 100 * ta.rma(minusDM, adxLength) / tr
dx = 100 * math.abs(plusDI - minusDI) / (plusDI + minusDI)
adx = ta.rma(dx, adxLength)
// Buy/Sell Conditions
buySignal = ta.crossover(plusDI, minusDI) and adx > threshold
sellSignal = ta.crossover(minusDI, plusDI) and adx > threshold
// Plot Buy/Sell markers
plotshape(buySignal, title="BUY", location=location.belowbar,
color=color.new(color.lime, 0), style=shape.triangleup, size=size.large, text="BUY")
plotshape(sellSignal, title="SELL", location=location.abovebar,
color=color.new(color.red, 0), style=shape.triangledown, size=size.large, text="SELL")
// Optional ADX + DI lines (hidden by default)
plot(adx, title="ADX", color=color.yellow, linewidth=2, display=display.none)
plot(plusDI, title="+DI", color=color.green, display=display.none)
plot(minusDI, title="-DI", color=color.red, display=display.none)
hline(threshold, "ADX Threshold", color=color.gray, linestyle=hline.style_dotted)
// Alerts
alertcondition(buySignal, title="BUY Alert", message="ADX Buy Signal Triggered")
alertcondition(sellSignal, title="SELL Alert", message="ADX Sell Signal Triggered")
Master Trend Strategy - by jake_thebossMaster Trend Strategy
This strategy combines multiple technical indicators to identify high-probability trend entries across all asset classes.
Core Signal Logic:
Entry triggered when EMA 4 crosses above/below EMA 5
Confirmation required from RSI (>50 for long, <50 for short)
Price must be above/below key moving averages: EMA 21, SMA 50, EMA 55, EMA 89, and EMA 750
Additional confirmation from Stochastic (>52 bullish, <48 bearish) or EMA 89 breakout or VWAP cross
Key Features:
VWAP filter: Only takes bullish signals above VWAP and bearish signals below VWAP
Optional pyramiding: Allows multiple entries in the same direction (up to 200 orders)
Individual stop loss and take profit management for each pyramid level
Time filter: Customizable trading hours with timezone offset
Risk management: Adjustable stop loss (default 0.3%) and take profit (default 0.6%)
Visualization:
Entry, stop loss, and take profit levels drawn as horizontal lines
Customizable signal markers (triangles) for bull/bear entries
Optional EMA overlay display
The strategy is designed for trend-following on lower timeframes, with strict multi-indicator confirmation to filter out false signals.
NY Session Range Box with Labeled Time MarkersShows opening time ny session by timing with lines to inform traders to avoid 11:30am to 1:30pm for choppy sessions and mark early and power hour .
Leverage & Liquidations (Margins) Plotter - [SANIXLAB]Leverage & Liquidations (Margins) Plotter —
This indicator visualises liquidation zones across multiple leverage tiers and helps traders manage margin exposure .
It dynamically plots the liquidation ranges for 5x → 100x positions, highlighting where leveraged traders could get wiped out.
Add manual long / short markers , choose leverage and margin size, and the script calculates your exact liquidation prices — buffered for realism.
A clean control panel shows entries, liquidation levels, and percentage distance to liquidation.
Features
Visual leverage zones (5x → 100x)
Manual Long / Short marker system
Margin-based liquidation math with buffer
Toggleable entry & liq lines
Compact top-right control panel
Floating mid-zone leverage labels
Fully customizable colors
Use Case
Quickly see:
Where 10x / 20x traders get squeezed
How far your own trade can move before margin burn
Where cascading liquidations might begin
Perfect for futures & leverage traders who want to keep one eye on price … and the other on survival.
— MR.L ☕
Brewed with caffeine, coded with care.
MACD + Supertrend + DEMA StrategySTRATEGY 📊 STRATEGY LOGIC:
Long Entry: When ALL of these occur simultaneously:
MACD histogram crosses above 0
Supertrend is bullish (green)
Short DEMA > Long DEMA
Short Entry: When ALL of these occur simultaneously:
MACD histogram crosses below 0
Supertrend is bearish (red)
Short DEMA < Long DEMA
Exits: Based on your TP/SL percentages from entry price
This follows the same clean structure as your MACD strategy but adds the alignment concept and proper risk management!
Scalping m15 indicator RovTradingScalping Indicator Combining UT Bot and Linear Regression Candles.
UT Bot uses ATR Trailing Stop to identify entry points.
Linear Regression Candles smooth price action and provide trend signals.
The indicator is suitable for scalping trading on the M15 timeframe.
Testing ATR Scalp Strategy (OBV EMA + VWAP + Pivot Swing Stop)This strategy uses EMA and VWAP to scalp, meant to be used on the 1 min chart
Whales buy & sell🐋 Whales on Wall Street — Buy & Sell Signal Indicator
The Whales on Wall Street Signal Indicator is a precision-built trading tool designed to simplify your decision-making and give you real-time clarity in the market.
It automatically identifies high-probability reversal zones, momentum shifts, and trend confirmations — marking exact Buy (green) and Sell (red) signals based on price action, volume confirmation, and momentum strength.
Built for day traders and scalpers, this indicator eliminates the guesswork by combining multiple technical confluences such as:
EMA & RSI alignment for trend direction
Smart volume spikes for institutional activity
Volatility filters to reduce false signals
Dynamic alerts for entries and exits in real time
Whether you’re trading SPY, QQQ, NVDA, or Tesla, this indicator adapts to any ticker and timeframe — giving you crystal-clear entries, cleaner exits, and the confidence to trade like a whale.
Equinox Wolf - ICT MacrosEquinox Wolf – ICT Macros plots the key ICT session macro windows on your chart so you can focus on how price behaves inside each time range. The script anchors every session to America/New_York time, updates live or in backtesting, and only keeps the current trading day on screen, avoiding clutter from prior sessions. Each window can be toggled individually, the box fill, borders, and high/low/equilibrium levels share global color and style controls, and the levels extend forward until the next macro begins. Use it to highlight the ICT LND, NYAM, lunch, afternoon, and final-hour ranges and monitor how price reacts around their highs, lows, and midpoints.
Swing Points LiquiditySwing Points Liquidity
Unlock advanced swing detection and liquidity zone marking for smarter trading decisions.
Overview:
Swing Points Liquidity automatically identifies key swing highs and swing lows using a five-candle “palm” structure, marking each significant price turn with precise labels: “BSL swing high” for potential bearish liquidity and “SSL swing low” for potential bullish liquidity. This transparent swing logic provides a robust way to highlight areas where price is most likely to react—making it an invaluable tool for traders applying Smart Money Concepts, supply and demand, or liquidity-based strategies.
How It Works:
The indicator scans every candle on your chart to detect and label swing highs and lows.
A swing high (“BSL swing high”) is identified when a central candle’s high is greater than the highs of the previous two and next two candles.
A swing low (“SSL swing low”) is identified when a central candle’s low is lower than the lows of the previous two and next two candles.
Labels are plotted for every detected swing point, providing clear visualization of important market liquidity levels on any symbol and timeframe.
How to Use:
Liquidity levels marked by the indicator are potential price reversal zones. To optimize your entries, combine these levels with confirmation signals such as reversal candlestick patterns, order blocks, or fair value gaps (FVGs).
When you see a “BSL swing high” or “SSL swing low” label, observe the price action at that area—if a reliable reversal pattern or order block/FVG forms, it can signal a high-probability trade opportunity.
These marked liquidity swings are also excellent for locating confluence zones, setting stop losses, and identifying where institutional activity or smart money may trigger significant moves. Always use market structure and price action in conjunction with these levels for greater consistency and confidence in your trading.
Features:
Customizable label display for swing highs (BSL) and swing lows (SSL)
Automatic detection using robust 5-candle palm logic
Works with all symbols and chart timeframes
Lightweight, clear visual style—easy for manual and algorithmic traders
Notes:
The indicator requires at least two candles both before and after each swing point, so labels will start appearing after enough historical data is loaded.
For deeper historical analysis, simply scroll left or zoom out on your chart to load more candles—the indicator will automatically process and display swing points on all available data.
UTBotLibrary "UTBot"
is a powerful and flexible trading toolkit implemented in Pine Script. Based on the widely recognized UT Bot strategy originally developed by Yo_adriiiiaan with important enhancements by HPotter, this library provides users with customizable functions for dynamic trailing stop calculations using ATR (Average True Range), trend detection, and signal generation. It enables developers and traders to seamlessly integrate UT Bot logic into their own indicators and strategies without duplicating code.
Key features include:
Accurate ATR-based trailing stop and reversal detection
Multi-timeframe support for enhanced signal reliability
Clean and efficient API for easy integration and customization
Detailed documentation and examples for quick adoption
Open-source and community-friendly, encouraging collaboration and improvements
We sincerely thank Yo_adriiiiaan for the original UT Bot concept and HPotter for valuable improvements that have made this strategy even more robust. This library aims to honor their work by making the UT Bot methodology accessible to Pine Script developers worldwide.
This library is designed for Pine Script programmers looking to leverage the proven UT Bot methodology to build robust trading systems with minimal effort and maximum maintainability.
UTBot(h, l, c, multi, leng)
Parameters:
h (float) - high
l (float) - low
c (float)-close
multi (float)- multi for ATR
leng (int)-length for ATR
Returns:
xATRTS - ATR Based TrailingStop Value
pos - pos==1, long position, pos==-1, shot position
signal - 0 no signal, 1 buy, -1 sell
DAMMU Swing Trading PRODammu Scalping Pro – Short Notes
1️⃣ Purpose:
Scalping and swing trading tool for 15-min and 1-min charts.
Designed for trend continuation, pullbacks, and reversals.
Works well with Heikin Ashi candles (optional).
2️⃣ Core Components:
EMAs:
Fast: EMA5-12
Medium: EMA12-36 Ribbon
Long: EMA75/89 (1-min), EMA180/200 (15-min), EMA540/633
Price Action Channel (PAC): EMA-based High, Low, Close channel.
Fractals: Regular & filtered (BW) fractals for swing recognition.
Higher Highs / Lower Highs / Higher Lows / Lower Lows (HH, LH, HL, LL).
Pivot Points: Optional display with labels.
3️⃣ Bar Coloring:
Blue: Close above PAC
Red: Close below PAC
Gray: Close inside PAC
4️⃣ Alerts:
Swing Buy/Sell arrows based on PAC breakout and EMA200 filter.
Optional “Big Arrows” mode for visibility.
Alert messages: "SWING_UP" and "SWING_DN"
5️⃣ Workflow / Usage Tips:
Set chart to 15-min (for trend) + 1-min (for entry).
Optionally enable Heikin Ashi candles.
Trade long only above EMA200, short only below EMA200.
Watch for pullbacks into EMA channels or ribbons.
Confirm trend resumption via PAC breakout & bar color change.
Use fractals and pivot points to draw trendlines and locate support/resistance.
6️⃣ Optional Filters:
Filter PAC signals with 200 EMA.
Filter fractals for “Pristine/Ideal” patterns (BW filter).
7️⃣ Visuals:
EMA ribbons, PAC fill, HH/LL squares, fractal triangles.
Pivot labels & candle numbering for patterns.
8️⃣ Notes:
No extra indicators needed except optionally SweetSpot Gold2 for major S/R levels.
Suitable for scalping pullbacks with trend confirmation.
If you want, I can make an even shorter “one-screen cheat sheet” with colors, alerts, and EMAs, perfect for real-time charT
EMA 3 Lines✅ JP
1つのインジケーター枠内に3本のEMA(短期・中期・長期)を表示します。
初期設定では 8(青)/50(赤)/200(緑)の期間が適用されます。
設定画面から期間・ラインカラー・太さを自由にカスタマイズできます。
✅ EN
This indicator displays three EMAs (short-term, mid-term, and long-term) within a single indicator window.
By default, the EMA periods are set to 8 (blue), 50 (red), and 200 (green).
You can freely customize the EMA lengths, line colors, and line thickness from the settings panel.
EMA 8/50/200I set it up so that three EMAs are displayed within a single indicator window.
このスクリプトでは、3本のEMA(8間・50期間・200期間)を1つのインジケータ枠で表示しています。
global credit spread with global yield curveglobal credit spread with global yield curve designed to give short term and longer term asset price reversal
多周期趋势动量面板(Multi-Timeframe Trend Momentum Panel - User Guide)多周期趋势动量面板(Multi-Timeframe Trend Momentum Panel - User Guide)(english explanation follows.)
📖 指标功能详解 (精简版):
🎯 核心功能:
1. 多周期趋势分析 同时监控8个时间周期(1m/5m/15m/1H/4H/D/W/M)
2. 4维度投票系统 MA趋势+RSI动量+MACD+布林带综合判断
3. 全球交易时段 可视化亚洲/伦敦/纽约交易时间
4. 趋势强度评分 0100%量化市场力量
5. 智能警报 强势多空信号自动推送
________________________________________
📚 重要名词解释:
🔵 趋势状态 (MA均线分析):
名词 含义 信号强度
强势多头 快MA远高于慢MA(差值≥0.35%) ⭐⭐⭐⭐⭐ 做多
多头倾向 快MA略高于慢MA(差值<0.35%) ⭐⭐⭐ 谨慎做多
震荡 快慢MA缠绕,无明确方向 ⚠️ 观望
空头倾向 快MA略低于慢MA ⭐⭐⭐ 谨慎做空
强势空头 快MA远低于慢MA ⭐⭐⭐⭐⭐ 做空
简单理解: 快MA就像短跑运动员(反应快),慢MA是长跑运动员(稳定)。短跑远超长跑=强势多头,反之=强势空头。
________________________________________
🟠 动量状态 (RSI力度分析):
名词 含义 操作建议
动量上攻↗ RSI>60且快速上升 强烈买入信号
动量高位 RSI>60但上升变慢 警惕回调,可减仓
动量中性 RSI在4060之间,平稳 等待方向明确
动量低位 RSI<40但下跌变慢 警惕反弹,可止盈
动量下压↘ RSI<40且快速下降 强烈卖出信号
简单理解: RSI就像汽车速度表。"动量上攻"=油门踩到底加速,"动量高位"=已经很快但不再加速了。
________________________________________
🟣 辅助信号:
MACD:
• MACD多头 = 柱状图>0 = 买方力量强
• MACD空头 = 柱状图<0 = 卖方力量强
布林带(BB):
• BB超买 = 价格在布林带上轨附近 = 可能回调
• BB超卖 = 价格在布林带下轨附近 = 可能反弹
• BB中轨 = 价格在中间位置 = 平衡状态
________________________________________
💡 快速上手 3步看懂面板:
第1步: 看"综合结论标签" (K线上方)
• 绿色"多头占优" → 可以做多
• 红色"空头占优" → 可以做空
• 橙色"震荡/均衡" → 观望
第2步: 看"票数 多/空" (面板最下方)
• 多头票数远大于空头 (差距>2) → 趋势强
• 票数接近 (差距<1) → 震荡市
第3步: 看"趋势强度" (综合标签中)
• 强度>70% → 强势趋势,可重仓
• 强度5070% → 中等趋势,正常仓位
• 强度<50% → 弱势,轻仓或观望
________________________________________
🎨 时段背景色含义:
• 紫色背景 = 亚洲时段 (东京交易时间) 波动较小
• 橙色背景 = 伦敦时段 (欧洲交易时间) 波动增大
• 蓝色背景 = 纽约凌晨 美盘准备阶段
• 红色背景 = 纽约关键5分钟 (09:3009:35) ⚠️ 最重要! 市场最活跃,趋势易形成
• 绿色背景 = 纽约上午后段 延续早盘趋势
交易建议: 重点关注红色关键时段,这5分钟往往决定全天方向!
________________________________________
⚙️ 三大市场推荐设置
🥇 黄金: Hull MA 12/EMA 34, 阈值0.250.35%
₿ 比特币: EMA 21/EMA 55, 阈值0.801.20%
💎 以太坊: TEMA 21/EMA 55, 阈值0.600.80%
参数优化建议
黄金 (XAUUSD)
快速MA: Hull MA 12 (超灵敏捕捉黄金快速波动)
慢速MA: EMA 34 (斐波那契数列)
RSI周期: 9 (加快反应)
强趋势阈值: 0.25%
周期: 5, 15, 60, 240, 1440
比特币 (BTCUSD)
快速MA: EMA 21
慢速MA: EMA 55
RSI周期: 14
强趋势阈值: 0.8% (波动大,阈值需提高)
周期: 15, 60, 240, D, W
外汇 EUR/USD
快速MA: TEMA 10 (快速响应)
慢速MA: T3 30, 因子0.7 (平滑噪音)
RSI周期: 14
强趋势阈值: 0.08% (外汇波动小)
周期: 5, 15, 60, 240, 1440
📖 Indicator Function Details (Concise Version):
🎯 Core Functions:
1. MultiTimeframe Trend Analysis Monitors 8 timeframes simultaneously (1m/5m/15m/1H/4H/D/W/M)
2. 4Dimensional Voting System Comprehensive judgment based on MA trend + RSI momentum + MACD + Bollinger Bands
3. Global Trading Sessions Visualizes Asia/London/New York trading hours
4. Trend Strength Score Quantifies market strength from 0100%
5. Smart Alerts Automatically pushes strong bullish/bearish signals
📚 Key Term Explanations:
🔵 Trend Status (MA Analysis):
| Term | Meaning | Signal Strength |
| | | |
| Strong Bull | Fast MA significantly > Slow MA (Diff ≥0.35%) | ⭐⭐⭐⭐⭐ Long |
| Bullish Bias | Fast MA slightly > Slow MA (Diff <0.35%) | ⭐⭐⭐ Caution Long |
| Ranging | MAs intertwined, no clear direction | ⚠️ Wait & See |
| Bearish Bias | Fast MA slightly < Slow MA | ⭐⭐⭐ Caution Short |
| Strong Bear | Fast MA significantly < Slow MA | ⭐⭐⭐⭐⭐ Short |
Simple Understanding: Fast MA = sprinter (fast reaction), Slow MA = longdistance runner (stable). Sprinter far ahead = Strong Bull, opposite = Strong Bear.
🟠 Momentum Status (RSI Analysis):
| Term | Meaning | Trading Suggestion |
| | | |
| Momentum Up ↗ | RSI >60 & rising rapidly | Strong Buy Signal |
| Momentum High | RSI >60 but rising slower | Watch for pullback, consider reducing position |
| Momentum Neutral | RSI between 4060, stable | Wait for clearer direction |
| Momentum Low | RSI <40 but falling slower | Watch for rebound, consider taking profit |
| Momentum Down ↘ | RSI <40 & falling rapidly | Strong Sell Signal |
Simple Understanding: RSI = car speedometer. "Momentum Up" = full throttle acceleration, "Momentum High" = already fast but not accelerating further.
🟣 Auxiliary Signals:
MACD:
MACD Bullish = Histogram >0 = Strong buyer power
MACD Bearish = Histogram <0 = Strong seller power
Bollinger Bands (BB):
BB Overbought = Price near upper band = Possible pullback
BB Oversold = Price near lower band = Possible rebound
BB Middle = Price near middle band = Balanced state
💡 Quick Start 3 Steps to Understand the Panel:
Step 1: Check "Composite Conclusion Label" (Above the chart)
Green "Bulls Favored" → Consider Long
Red "Bears Favored" → Consider Short
Orange "Ranging/Balanced" → Wait & See
Step 2: Check "Votes Bull/Bear" (Bottom of the panel)
Bull votes significantly > Bear votes (Difference >2) → Strong Trend
Votes close (Difference <1) → Ranging Market
Step 3: Check "Trend Strength" (In the composite label)
Strength >70% → Strong Trend, consider heavier position
Strength 5070% → Moderate Trend, normal position size
Strength <50% → Weak Trend, light position or wait & see
🎨 Trading Session Background Color Meanings:
Purple = Asian Session (Tokyo hours) Lower volatility
Orange = London Session (European hours) Increased volatility
Blue = NY Early Morning US session preparation phase
Red = NY Critical 5 Minutes (09:3009:35) ⚠️ Most Important! Market most active, trends easily form
Green = NY Late Morning Continuation of early session trend
Trading Tip: Focus on the red critical period; these 5 minutes often determine the day's direction!
⚙️ Recommended Settings for Three Major Markets
🥇 Gold (XAUUSD):
Fast MA: Hull MA 12 (Highly sensitive for gold's fast moves)
Slow MA: EMA 34 (Fibonacci number)
RSI Period: 9 (Faster reaction)
Strong Trend Threshold: 0.25%
Timeframes: 5, 15, 60, 240, 1440
₿ Bitcoin (BTCUSD):
Fast MA: EMA 21
Slow MA: EMA 55
RSI Period: 14
Strong Trend Threshold: 0.8% (High volatility, requires higher threshold)
Timeframes: 15, 60, 240, D, W
💎 Ethereum (ETHUSD):
Fast MA: TEMA 21
Slow MA: EMA 55
RSI Period: 14
Strong Trend Threshold: 0.600.80%
Timeframes: 15, 60, 240, D, W
💱 Forex EUR/USD:
Fast MA: TEMA 10 (Fast response)
Slow MA: T3 30, Factor 0.7 (Smooths noise)
RSI Period: 14
Strong Trend Threshold: 0.08% (Forex has low volatility)
Timeframes: 5, 15, 60, 240, 1440
Global Risk-On / Risk-Off: Global 2s10s + Credit SpreadGlobal Risk-On / Risk-Off: Global 2s10s + Credit Spread
Daily Close Cross Above SMA 20 (Low)Daily closing price crosses above SMA 20 low, signals a bullish trend.
Currency Valuation V2This indicator values currencies against DXY. Using the daily chart annd the differences in the price of the DXY in certain bars.