MFI-RSI Convergence Strategy거래량(Volume)과 가격 모멘텀을 동시에 고려하는 **MFI(Money Flow Index)**는 지지선에서의 '진짜 반등'을 포착하는 데 가장 강력한 도구입니다. 여기에 RSI를 결합하여 모멘텀의 강도까지 확인하는 'Hybrid Volume-Momentum Oscillator' 전략을 작성해 드립니다.
하이브리드 지표의 핵심 메커니즘
MFI(Money Flow Index)의 역할:
MFI는 단순히 가격이 낮아졌는가만 보는 것이 아니라, **'낮은 가격에서 거래량이 터졌는가'**를 계산합니다.
지지선에서 MFI가 20 이하로 떨어진다는 것은 "스마트 머니"가 매집을 준비하는 단계이거나, 투매가 정점에 달해 거래량이 실린 반등이 임박했음을 뜻합니다.
RSI와의 컨버전스(Convergence):
RSI는 가격의 속도를 측정합니다. MFI가 과매도인데 RSI가 아직 높다면, 거래량은 들어오지만 가격의 하락 관성이 여전히 강하다는 뜻입니다.
이 코드의 핵심은 mfi_val <= mfi_low와 rsi_val <= rsi_low가 동시에 만족될 때만 진입하는 것입니다. 이는 거래량 유입 + 하락 관성 둔화가 일치하는 고확률 타점입니다.
리페인팅 차단 및 현실적 시뮬레이션:
ta.mfi와 ta.rsi는 기본적으로 현재 봉의 종가를 기준으로 계산되므로 리페인팅이 발생하지 않습니다.
commission_value=0.05를 통해 거래소 수수료를 반영하여, 잦은 매매로 인한 손실 가능성을 미리 확인할 수 있게 설계했습니다.
//@version=6
strategy("MFI-RSI Convergence Strategy",
overlay=false, // 하단 지표 형태 확인을 위해 false 설정 (차트 위 신호는 별도 plotshape 사용)
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10,
commission_type=strategy.commission.percent,
commission_value=0.05,
slippage=1)
// --- ---
group_date = "1. 백테스트 기간"
start_time = input.time(timestamp("2024-01-01 00:00:00"), "시작일", group=group_date)
end_time = input.time(timestamp("2026-12-31 23:59:59"), "종료일", group=group_date)
within_window() => time >= start_time and time <= end_time
group_mfi = "2. MFI (Volume) 설정"
mfi_length = input.int(14, "MFI 기간", minval=1, group=group_mfi)
mfi_low = input.int(20, "MFI 과매도 (매수세 유입 대기)", group=group_mfi)
mfi_high = input.int(80, "MFI 과매수 (매도세 유입 대기)", group=group_mfi)
group_rsi = "3. RSI (Momentum) 설정"
rsi_length = input.int(14, "RSI 기간", minval=1, group=group_rsi)
rsi_low = input.int(30, "RSI 과매도", group=group_rsi)
rsi_high = input.int(70, "RSI 과매수", group=group_rsi)
group_risk = "4. 리스크 관리"
tp_pct = input.float(3.0, "익절 (%)", step=0.1, group=group_risk) / 100
sl_pct = input.float(1.5, "손절 (%)", step=0.1, group=group_risk) / 100
// --- ---
// MFI (가격 + 거래량 가중)
mfi_val = ta.mfi(close, mfi_length)
// RSI (가격 변동 강도)
rsi_val = ta.rsi(close, rsi_length)
// --- ---
// 매수 조건: MFI와 RSI가 모두 과매도 구간일 때 (강력한 반등 예상 지점)
long_condition = (mfi_val <= mfi_low) and (rsi_val <= rsi_low)
// 매도 조건: MFI와 RSI가 모두 과매수 구간일 때
short_condition = (mfi_val >= mfi_high) and (rsi_val >= rsi_high)
// --- ---
if within_window()
if long_condition
strategy.entry("Long", strategy.long, comment="VLM+MOM Bottom")
if short_condition
strategy.entry("Short", strategy.short, comment="VLM+MOM Top")
// 익절 및 손절 설정
strategy.exit("Ex Long", "Long", limit=strategy.position_avg_price * (1 + tp_pct), stop=strategy.position_avg_price * (1 - sl_pct))
strategy.exit("Ex Short", "Short", limit=strategy.position_avg_price * (1 - tp_pct), stop=strategy.position_avg_price * (1 + sl_pct))
// --- ---
// 배경 가이드라인
hline(mfi_high, "Upper Boundary", color=color.gray, linestyle=hline.style_dashed)
hline(50, "Middle", color=color.new(color.gray, 50))
hline(mfi_low, "Lower Boundary", color=color.gray, linestyle=hline.style_dashed)
// 지표 플롯
plot(mfi_val, "MFI (Volume Flow)", color=color.aqua, linewidth=2)
plot(rsi_val, "RSI (Momentum)", color=color.yellow, linewidth=1)
// 중첩 구간 강조 (Convergence)
fill_color = (mfi_val <= mfi_low and rsi_val <= rsi_low) ? color.new(color.green, 70) :
(mfi_val >= mfi_high and rsi_val >= rsi_high) ? color.new(color.red, 70) : na
bgcolor(fill_color)
// 신호 발생 시 하단에 아이콘 표시
plotshape(long_condition, title="Buy Signal", location=location.bottom, color=color.green, style=shape.triangleup, size=size.small)
plotshape(short_condition, title="Sell Signal", location=location.top, color=color.red, style=shape.triangledown, size=size.small)
Indikatoren und Strategien
HeikinAshiSub【サブチャート表示型:平均足オシレーター】
本ツールは、通常メインチャートに表示される「平均足」を、オシレーターのようにチャート下部のサブウィンドウへ表示させるインジケーターです。
■ 主な特徴とメリット
視認性の向上: メインチャートを通常の「ローソク足」に設定したまま、サブチャートで「平均足」のトレンド継続性を確認できます。
分析の使い分け: ローソク足で細かなプライスアクション(ヒゲや型)を読み取り、サブウィンドウの平均足で大まかなトレンドの方向性や勢いを判断するという使い分けが可能です。
本インジケーターは、山中先生に制作・共有していただいたものを皆さんにも公開いたしました。
「ディスクレーマー(免責事項)」
※本インジケーターは投資助言者【馬】が独自に開発したものです。 ※開発者の好意により提供されるものであり、将来の利益を保証するものではありません。 ※投資およびトレードはすべて自己責任で行ってください。 ※外国為替証拠金取引(FX)や有価証券投資には価格変動リスクがあり、投資元本を割り込む、あるいは全額を失う可能性があります。また、証拠金以上の損失が発生するリスクも含まれます。これらをご理解・承諾いただいた上でご利用ください。
This indicator displays "Heikin Ashi" candles in the sub-window at the bottom of the chart, functioning like an oscillator.
■ Key Features & Benefits
Enhanced Visual Clarity: You can keep your main chart set to standard "Candlesticks" while simultaneously monitoring trend continuity via "Heikin Ashi" in the sub-pane.
Dual Analysis: This allows you to read detailed price action (wicks and patterns) on the main chart, while using the sub-window’s Heikin Ashi to judge the overall trend direction and momentum.
This indicator was created and shared by Mr. Yamanaka.
Disclaimer
This indicator was originally developed by the investment advisor .
It is provided as a courtesy and does not guarantee future profits.
All investments and trades are conducted at your own risk.
Trading Forex (FX) and securities involves significant risk of loss. Prices can fluctuate, and you may lose your entire investment. In leveraged trading, losses can exceed your initial deposit. Please use this tool only after fully understanding and accepting these risks.
MTT Cyclical vs Defensive Z-ScoreThe MTT Cyclical vs Defensive Z-Score is a sophisticated sentiment and rotation indicator designed to measure the relative strength of "risk-on" sectors against "risk-off" havens. It calculates a ratio between two distinct baskets: Cyclicals (Consumer Discretionary, Industrials, Materials) and Defensives/Commodities (Consumer Staples, Health Care, Utilities, and the DBC Commodity Index).
By applying a Z-score calculation to this ratio, the indicator identifies how many standard deviations the current market leadership is away from its mean. This transforms a simple ratio into a powerful tool for identifying market extremes and potential pivot points.
How the Indicator Works
The script follows a logical three-step process to quantify market sentiment:
Basket Comparison: It pits growth-sensitive sectors (which thrive during economic expansion) against defensive sectors and commodities (which act as anchors or inflation hedges).
Mean Reversion: It uses a Simple Moving Average (SMA) and Standard Deviation over a 20-period lookback to determine the "normal" range for this relationship.
Standardization: The resulting Z-score oscillates around a zero line. Green columns represent periods where cyclicals are outperforming their recent average, while red columns indicate defensive leadership.
How to Use It for Trading
The Z-score serves as a barometer for overextended market moves:
Identifying Extreme Optimism: When the Z-score crosses above +2.0, cyclicals are significantly overextended. This suggests the "risk-on" move may be exhausted, signaling a potential pullback or a rotation back into defensive stocks.
Identifying Extreme Fear: When the Z-score drops below -2.0, defensives and commodities are heavily favored. This often coincides with market bottoms or "washouts," suggesting that a bounce in cyclical sectors (and the broader market) may be imminent.
Trend Confirmation: Crossing the 0.0 (Mean) line acts as a momentum shifter. Moving from negative to positive suggests a fresh bullish rotation is gaining traction.
SB - Print MachineIntraday Trading @ 5 Minutes TF -Observation @ Nifty 50 Index , Trade on - Nifty options
Rules : Call options (ATM) Entry :
1. VWDEMA is Green (Bullish)
2. Vdema is Green and Crossing VWDema upside (Bullish)
3. ATR Turns Green (Bullish)
4. Vwap Channel Background is Green
Put Options (ATM) Entry :
1. VWDEMA is RED (Bearish)
2. Vdema is Red and Crossing VWDema downside(Bearish)
3. ATR Turns Red (Bearish)
4. Vwap Channel Background is red
Settings :
VWDEMA - 44
VDema - 21
ATR - 14
ATR Multiplier - 1.5
BB - Skip
Pivot Calculation Method - Wick
Left length - 4
Right Length - 1
Pivot Lebels - Enable all
Pivot arkers - Skip All
Pivot Values - Skip All
VPC Length - 14
VPC Time Frame - 3 minutes
Main Chart Time Frame - 5 Minutes
Colour Display Settings : As per you eyes comfort. Parameters have dynamic colour coding (different for uptrend and downtrend, use accordingly)
Parameters here are customisable, Shared here is what I am using and getting good results. Test your settings which suits you best. Good Luck !!
Gold Profit Target SystemGOLD PROFIT TARGET SYSTEM
Track Real Profits, Exit With Confidence
Best on Daily or Weekly - copy and mod as you see fit. Have fun!
WHAT THIS INDICATOR DOES:
This indicator tracks your gold position from entry and shows color-coded profit targets as the price rises. Instead of guessing when to exit, you see exact profit levels in real-time: 1%, 2%, 3%, 4%, 5%, 10%, 15%, 20%, 25%, and 25%+.
Simple concept: BUY on the signal, SELL at YOUR chosen profit level.
HOW IT WORKS - 3 SIMPLE STEPS:
STEP 1: Wait for BUY Signal
• Green triangle (▲) appears below the composite line
• Triggered when inverse assets (DXY, rates, etc.) show strong correlation and are falling
• Entry price is automatically recorded
• Position tracking begins
STEP 2: Watch Profit Targets Appear
• As gold rises, color-coded symbols appear above the composite line
• Each symbol represents a profit milestone
• The info table shows your current profit
• You decide when to exit based on YOUR target
STEP 3: Exit at Your Chosen Level
• Conservative? Exit at 5-10%
• Moderate? Exit at 10-15%
• Aggressive? Hold for 20%+
• The indicator just shows the levels - YOU make the call
THE COMPOSITE LINE - WHAT IT MEANS:
The main line is a weighted composite of inverse-correlated assets:
• DXY (US Dollar Index)
• Real Interest Rates (10Y TIPS)
• US 10-Year Treasury Yield
• US 2-Year Treasury Yield
• Bitcoin (optional)
• Copper (optional)
Line Position:
• Below -30 (Bright Green): Very strong inverse correlation - excellent BUY conditions
• Below 0 (Green): Inverse correlation present - moderate BUY conditions
• Above 0 (Red): Inverse assets rising - neutral to bearish
• Above 30 (Bright Red): Strong inverse rally - bearish for gold
What Causes BUY Signals:
When the composite line is negative (inverse assets falling) AND shows strong correlation (>0.3), this suggests gold is likely to rise. The indicator records your entry and begins tracking profits.
COLOR-CODED PROFIT TARGETS:
EARLY PROFITS (Green Circles):
• 1% - Very Light Green (#c8e6c9) - First confirmation
• 2% - Light Green (#a5d6a7) - Building profit
• 3% - Green (#81c784) - Good profit
• 4% - Medium Green (#66bb6a) - Strong profit
• 5% - Dark Green (#4caf50) - Solid profit!
EXCELLENT PROFIT (Yellow Diamond):
• 10% - Yellow (#ffd54f) - Double digits, excellent trade!
OUTSTANDING PROFIT (Orange Diamonds):
• 15% - Orange (#ffb74d) - Exceptional profit, consider partial exit
EXCEPTIONAL PROFIT (Red Diamonds):
• 20% - Light Red (#ff8a65) - Rare territory, strong exit consideration
• 25% - Red (#f44336) - Extraordinary profit, very rare!
PEAK PROFIT (Purple Star):
• 25%+ - Purple (#9c27b0) - Once in a blue moon! The home run trade!
STOP LOSS (Red X):
• Default -5% - Protection against losses
• Position auto-resets if stop is hit
THE PROFIT BAR (Histogram):
Below the composite line, you'll see a colored histogram when in position:
Bar Color = Your Current Profit Tier
• Light green bar = 1-2% profit
• Green bar = 3-5% profit
• Yellow bar = 10% profit
• Orange bar = 15% profit
• Red bar = 20-25% profit
• Purple bar = 25%+ profit
• Red negative bar = Currently at a loss
Bar Height = Current Profit %
The taller the bar, the larger your profit. Negative bars extend downward when you're at a loss.
THE INFORMATION TABLE:
The table (top-right by default) shows everything at a glance:
Position: ✓ IN (green) or ✗ OUT (gray)
Shows whether you're currently holding a position
Entry Price: Your recorded buy price
Example: 2,100.50
Current Price: Gold's current price
Example: 2,142.75
Current P/L: YOUR PROFIT %
This is the most important metric - shows exactly how much you're up (or down)
Color matches your current profit tier
Example: +2.01% in light green
Profit Tier: Current milestone reached
Shows which profit level you've hit: "1%", "2%", "5%", "10%", etc.
Next Target: The next profit level to watch
Tells you what milestone is coming up next
Bars Held: How long you've been in the trade
Helps track holding time
Composite: Current correlation strength
Shows the underlying composite correlation value
REFERENCE LINES:
Zero Line (Gray):
The center line. Above = bearish for gold, Below = bullish for gold
Strong Bull Line (Green dashed at -30):
When composite crosses below -30, very strong BUY conditions
Strong Bear Line (Red dashed at +30):
When composite crosses above +30, strong bearish conditions
BACKGROUND SHADING:
Very Light Green Background:
You're in profit (position open and above entry price)
Very Light Red Background:
You're at a loss (position open and below entry price)
No Background:
No position currently open
SYMBOLS ON CHART:
▲ Green Triangle Below Line: BUY SIGNAL
Enter long position here. Entry price recorded.
● Small Green Circles Above Line: 1-5% Profits
Early profit targets. Light green to dark green progression.
◆ Diamonds Above Line: 10-25% Profits
Major profit milestones. Yellow → Orange → Red progression.
★ Purple Star Above Line: 25%+ Profit
The holy grail! Peak profit achieved.
✖ Red X Below Line: STOP LOSS HIT
Trade went against you. Position resets (if auto-reset enabled).
PROFIT-TAKING STRATEGIES:
Strategy 1: Fixed Target (Simple)
Pick one target (e.g., 10%) and always exit there.
Best for: Beginners, disciplined traders
Strategy 2: Scaled Exit (Advanced)
Exit in portions:
• 5% profit → Sell 25%
• 10% profit → Sell 25% (50% total out)
• 15% profit → Sell 25% (75% total out)
• 20%+ profit → Let final 25% ride
Best for: Risk management, maximizing upside
Strategy 3: Trailing Stop
• Hit 10%? Set stop at 5%
• Hit 15%? Set stop at 10%
• Lock in profits while letting winners run
Best for: Trend followers, bull markets
Strategy 4: Adaptive
• Strong uptrend → wait for 15-20%
• Choppy market → exit at 5-10%
• Weakening trend → exit at any profit
Best for: Experienced traders
SETTINGS YOU CAN CUSTOMIZE:
Profit Target Levels:
Change any profit % to match your strategy
• Conservative: Lower targets (0.5%, 1%, 2%, 3%, 5%)
• Aggressive: Higher targets (2%, 5%, 10%, 20%, 30%)
Assets to Include:
• Enable/disable Bitcoin
• Enable/disable Copper
• Toggle which inverse assets to track
Display Options:
• Show all targets or just current tier
• Show/hide profit bar
• Show/hide composite line
• Move table position
Stop Loss:
• Set your risk tolerance (default 5%)
• Enable/disable auto-reset on stop loss
Correlation Periods:
• Adjust for your timeframe
• Hourly: 14/30/60
• Daily: 20/50/100
• Weekly: 10/20/50
ALERTS AVAILABLE:
Set alerts for any profit milestone:
Critical Alerts:
• "BUY Signal" - Entry notification
• "5% Profit Target" - First major milestone
• "10% Profit Target" - Decision point
• "Stop Loss Hit" - Risk protection
Optional Alerts:
• 1%, 2%, 3%, 4% - Early confirmations
• 15%, 20%, 25% - Major milestones
• Individual levels for your strategy
BEST TIMEFRAMES:
Daily Chart (Recommended):
Best for swing traders holding 3-10 days
Use default settings (20/50/100 periods)
Target 5-15% profits
4-Hour Chart:
Good for active swing traders
Adjust periods to 14/30/60
Target 3-10% profits
Hourly Chart:
For day traders and scalpers
Use shorter periods (14/30/60)
Target 1-5% profits
Adjust profit levels lower (0.5%, 1%, 2%, 3%)
WHY THIS INDICATOR IS DIFFERENT:
Most indicators tell you WHEN to enter.
This one tells you WHEN TO EXIT with profit.
Most indicators use vague signals.
This one shows EXACT profit percentages.
Most indicators leave exit decisions to you.
This one gives CLEAR, COLOR-CODED milestones.
Most indicators don't track your P/L.
This one shows your profit in text you can't miss.
QUICK START GUIDE:
1. Add indicator to gold chart (XAUUSD, GLD, GC1!)
2. Wait for green triangle (▲) BUY signal
3. Watch your profit grow in the table
4. Exit when you hit YOUR target (5%, 10%, 15%, etc.)
5. Repeat
That's it. Simple. Effective. Profitable.
IMPORTANT NOTES:
• This is for LONG positions only - not for shorting gold
• Position tracking begins only after a BUY signal
• The indicator shows levels - YOU decide when to exit
• Always use stop losses (default 5% is reasonable)
• Past performance doesn't guarantee future results
• Not financial advice - use for educational purposes
PRO TIPS:
Tip 1: Don't get greedy - 10-15% is an excellent profit for most trades
Tip 2: Purple stars (25%+) are RARE - don't wait for them on every trade
Tip 3: The profit bar color change is your visual cue - green→yellow→orange→red
Tip 4: Combine with resistance levels - "10% profit + resistance = exit"
Tip 5: Set alerts for YOUR target level so you never miss it
Tip 6: The giant P/L number in the table removes emotion from decisions
EXAMPLE TRADE:
Day 1: ▲ BUY signal at $2,100
Table shows: Position ✓ IN | Entry: 2,100
Day 2: Current P/L: +1.8%
First green circle appears (1% target hit)
Table tier: "1%"
Day 4: Current P/L: +5.2%
Dark green circle appears (5% target hit)
Profit bar is dark green
Decision point: Exit 50% here?
Day 7: Current P/L: +10.5%
Yellow diamond appears (10% target hit!)
Table shows: +10.5% in yellow text
Decision point: Exit remaining 50%?
Result: Average exit ~7.5% over 7 days. Excellent swing trade!
WORKS ON:
• Gold Spot (XAUUSD)
• Gold Futures (GC1!)
• Gold ETFs (GLD, IAU)
• Any gold instrument
Inverse Assets Tracked:
• DXY (US Dollar Index)
• Real Interest Rates (TIPS)
• US Treasury Yields (2Y, 10Y)
• Bitcoin (optional)
• Copper (optional)
THE BOTTOM LINE:
Stop guessing when to take profits.
Start SEEING your profit levels in real-time.
The indicator shows you the targets.
YOU choose when to cash out.
That's YOUR edge.
Developed for traders who want clear, actionable profit targets instead of vague signals.
ICT First FVG Per Session - Big Boss TradersICT First FVG Per Session like per session FVG Asia FVG london First P FVG and New york first P FVG
Ichimoku Cloud Breakout [Full System + Black Labels]Ichimoku Cloud Breakout & Twist System This indicator implements a disciplined Ichimoku Cloud Breakout strategy designed to filter noise and capture high-probability trends. Unlike simple crossovers, it enforces a "Triple Confluence" setup: price must break the Cloud, the Future Cloud must match the trend direction, and the Chikou Span (Lagging Span) must be free of past price traffic to confirm momentum. To keep your charts clean, it features a State Filter that blocks repetitive alerts (alternating Buy/Sell signals only) and includes a predictive "Twist Ahead" warning system, which visually alerts you to future Cloud twists, often a precursor to reversals or volatility, 26 periods in advance.
Cloud Donchian + Keltner + Bollinger**XAUUSD M1 - Upper, Middle & Lower Combination Clouds**
This indicator combines three widely used volatility channels — Donchian, Keltner, and Bollinger Bands — into a single, clear cloud overlay optimized for the XAUUSD 1-minute chart.
**What it does:**
- Calculates upper, middle, and lower volatility zones by combining the three channels.
- The **Upper Cloud** shows the potential upper price boundary based on the highest highs of the combined indicators.
- The **Lower Cloud** shows the potential lower price boundary from the lowest lows of the combined indicators.
- The **Middle Cloud** fills the area between the upper cloud’s bottom and lower cloud’s top, colored dynamically: green for rising trends and red for falling trends.
- Visible lines highlight the upper and lower cloud boundaries for precise reference.
**Why it’s useful:**
- Helps traders identify support and resistance zones based on multiple volatility measures.
- The dynamic middle cloud coloring provides intuitive visual cues on trend direction and strength.
- Designed specifically for scalpers and short-term traders focused on fast-moving gold markets (XAUUSD, 1-minute timeframe).
- Fully customizable input parameters allow users to adjust channel lengths and sensitivities to fit their trading style.
**Inputs:**
- Donchian channel length
- Keltner channel EMA length and ATR multiplier
- Bollinger Bands length and multiplier
- Customizable cloud colors and line colors
**Usage notes:**
- This is a tool to support decision-making — it should be used in conjunction with other analysis techniques.
- It does not provide explicit buy or sell signals but highlights key volatility zones and trend shifts.
- Performance depends on market conditions; backtest results do not guarantee future outcomes.
- The indicator is open-source and configurable to fit individual preferences.
**Important:**
- No guaranteed profits — trade responsibly.
- Always combine this tool with sound risk management.
MFI/RSI Divergence Lower하단 지표 구성 및 활용법
MFI (Aqua Line): 거래량이 가중된 자금 흐름입니다. 지지선 근처에서 이 선이 저점을 높이면(다이버전스) 강력한 매수 신호입니다.
RSI (Yellow Line): 가격의 상대적 강도입니다. MFI와 함께 움직임을 비교하여 보조적으로 활용합니다.
리페인팅 방지 핵심: offset=-lb_r 설정을 통해, 지표가 확정되는 시점(피벗 완성 시점)에 정확히 신호가 표시되도록 구현했습니다. 이는 과거 백테스트 결과와 실시간 매매 결과가 일치하도록 보장합니다.
실전 응용
지지/저항 필터: 이 지표 단독으로 사용하기보다, 차트 상의 주요 지지선에 가격이 위치했을 때 발생하는 BULL DIV 신호만 골라 매수하면 승률이 극대화됩니다.
손절/익절 최적화: 현재 1.5% 손절, 3% 익절로 설정되어 있습니다. 종목의 변동성(ATR)에 따라 group_risk에서 수치를 조정하며 최적의 수익 곡선을 찾아보십시오.
//@version=6
strategy("Hybrid MFI/RSI Divergence Lower",
overlay=false, // 하단 지표 설정을 위해 false
initial_capital=10000,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10,
commission_type=strategy.commission.percent,
commission_value=0.05,
slippage=1)
// --- ---
group_date = "1. 백테스트 기간"
start_time = input.time(timestamp("2024-01-01 00:00:00"), "시작일", group=group_date)
end_time = input.time(timestamp("2026-12-31 23:59:59"), "종료일", group=group_date)
within_window() => time >= start_time and time <= end_time
group_osc = "2. 오실레이터 설정"
mfi_len = input.int(14, "MFI 기간", group=group_osc)
rsi_len = input.int(14, "RSI 기간", group=group_osc)
ob_level = input.int(80, "과매수 기준", group=group_osc)
os_level = input.int(20, "과매도 기준", group=group_osc)
group_div = "3. 다이버전스 감도"
lb_l = input.int(5, "피벗 왼쪽 범위", group=group_div)
lb_r = input.int(5, "피벗 오른쪽 범위", group=group_div)
group_risk = "4. 리스크 관리"
tp_pct = input.float(3.0, "익절 (%)", step=0.1, group=group_risk) / 100
sl_pct = input.float(1.5, "손절 (%)", step=0.1, group=group_risk) / 100
// --- ---
mfi_val = ta.mfi(close, mfi_len)
rsi_val = ta.rsi(close, rsi_len)
avg_val = (mfi_val + rsi_val) / 2 // MFI와 RSI의 평균값으로 부드러운 흐름 파악
// --- ---
// 저점 피벗 탐지 (MFI 기준)
pl = ta.pivotlow(mfi_val, lb_l, lb_r)
ph = ta.pivothigh(mfi_val, lb_l, lb_r)
// Bullish Divergence (상승 다이버전스)
var float last_pl_mfi = na
var float last_pl_price = na
bool is_bull_div = false
if not na(pl)
last_pl_mfi := mfi_val
last_pl_price := low
// 이전 저점 탐색
float prev_pl_mfi = ta.valuewhen(not na(pl), mfi_val , 1)
float prev_pl_price = ta.valuewhen(not na(pl), low , 1)
if low < prev_pl_price and mfi_val > prev_pl_mfi
is_bull_div := true
// Bearish Divergence (하락 다이버전스)
var float last_ph_mfi = na
var float last_ph_price = na
bool is_bear_div = false
if not na(ph)
last_ph_mfi := mfi_val
last_ph_price := high
float prev_ph_mfi = ta.valuewhen(not na(ph), mfi_val , 1)
float prev_ph_price = ta.valuewhen(not na(ph), high , 1)
if high > prev_ph_price and mfi_val < prev_ph_mfi
is_bear_div := true
// --- ---
if within_window()
if is_bull_div
strategy.entry("Bull", strategy.long, comment="Bull Div")
if is_bear_div
strategy.entry("Bear", strategy.short, comment="Bear Div")
strategy.exit("ExB", "Bull", limit=strategy.position_avg_price * (1 + tp_pct), stop=strategy.position_avg_price * (1 - sl_pct))
strategy.exit("ExS", "Bear", limit=strategy.position_avg_price * (1 - tp_pct), stop=strategy.position_avg_price * (1 + sl_pct))
// --- ---
// 배경 레이아웃
hline(ob_level, "Overbought", color=color.new(color.red, 50), linestyle=hline.style_dashed)
hline(50, "Middle", color=color.new(color.gray, 70))
hline(os_level, "Oversold", color=color.new(color.green, 50), linestyle=hline.style_dashed)
// 메인 지표 플롯
plot(mfi_val, "MFI (Money Flow)", color=color.new(color.aqua, 0), linewidth=2)
plot(rsi_val, "RSI (Momentum)", color=color.new(color.yellow, 50), linewidth=1)
// 다이버전스 발생 시 하단 지표 영역에 선 그리기
plotshape(is_bull_div ? mfi_val : na, "Bull Div Circle", shape.circle, location.absolute, color.green, size=size.tiny, offset=-lb_r)
plotshape(is_bear_div ? mfi_val : na, "Bear Div Circle", shape.circle, location.absolute, color.red, size=size.tiny, offset=-lb_r)
// 과매수/과매도 배경색
fill(hline(ob_level), hline(100), color.new(color.red, 90))
fill(hline(0), hline(os_level), color.new(color.green, 90))
FUND HOUSE 2026This indicator plots a moving averages SMS,EMA,DEMA,VWMA,RMA AND WMA.
WITH different moving averges also FIBONACHI demand area supply area both.
Clean SMC: Filtered OB + FVGHow does this indicator work?
Fair Value Gaps (FVG): It identifies price imbalances (gaps between the wick of candle 1 and candle 3). They appear as small, light-colored rectangles.
Order Blocks (OB): It marks "Smart Money" candles that precede a strong impulse. These areas are extended to the right because they often act as future support or resistance.
Signals (BUY/SELL): The indicator displays a signal when it detects a confluence (for example, a bullish OB appearing right after an FVG).
Some friendly trading tips:
Timeframe: This indicator works best on higher timeframes (15m, 1h, 4h) to avoid market "noise."
Confirmation: Don't take a "BUY" signal on its own. Check if the overall trend (on a higher timeframe) is also bullish.
Risk management: Always place your Stop Loss just below the identified Order Block.
Manus Forex Alpha Pro Indicator (Trend-Momentum Hybrid)ใช้ AI Manus ช่วยผสมผสานให้ ใช้งานง่ายดี
น่าจะไม่ต้องอธิบายนะครับ เพราะเป็นพื้นฐานการใช้งาน
เพียงแต่มี แดชบอร์ด ช่วยให้อ่านง่ายขึ้น
การลงทุนมีความเสี่ยง ไม่มีเครื่องมือใดคาดการณ์ถูกต้อง 100%
เรียนรู้ ฝึกฝน มีวินัย ควบคุมความเสี่ยง ด้วยตนเอง
Using AI Manus helps integrate it, making it easy to use.
I don't think I need to explain this, as it's basic usage.
The dashboard simply makes it easier to read.
Investing involves risk; no tool is 100% accurate.
Learn, practice, be disciplined, and manage your own risk.
TruTrend Market Bias FREETruTrend — Market Bias & Signal Indicator (Free)
TruTrend (Free) is a real-time market bias and signal indicator designed to help traders see trend direction and key buy/sell moments with clarity.
This version focuses on core trend structure and momentum shifts, giving you a clean visual read of the market without clutter. Signals update live and are intended to help traders stay on the right side of the move.
TruTrend Free is built to be simple, fast, and easy to use — ideal for traders who want structure without complexity.
What the Free Version Provides
• Market bias (bullish vs bearish)
• Basic buy & sell signals
• Trend structure visualization
• Clean, easy-to-read chart layout
Important Notes
• Signals are real-time and non-repainting
• Designed for general guidance, not trade automation
• Works across all markets and timeframes
Upgrade to Pro / Pro+
For advanced filtering, earlier entries, stronger confirmations, and premium features, check out TruTrend Pro and Pro+.
🔓 Upgrade access: whop.com
Midnight Open Levels by haze!This indicator automatically plots the midnight open prices for both the New York (00:00 EST) and London (00:00 GMT) trading sessions. These levels are widely recognized in institutional trading frameworks as significant reference points for intraday price action.
What Are Midnight Open Levels?
Midnight open levels represent the price at which each major trading session begins at 00:00 local time. Institutional traders and algorithmic systems often reference these levels when making trading decisions, which can create zones of increased liquidity and potential price reactions.
This indicator is provided for educational purposes. No indicator guarantees profitable trades. Always practice proper risk management, use appropriate position sizing, and conduct your own analysis before making trading decisions.
ICT Ultimate + SIGNALS [Entry/Exit/SL/TP] FIXEDKey Fixes and Improvements Made:
🔧 Bugs Fixed:
Fixed indentation errors - The original code had broken indentation causing syntax errors
Fixed Market Structure (BOS/CHoCH) - Logic was corrected to properly detect breaks
Fixed Swing Labels (HH/HL/LH/LL) - Now displays correctly with proper colors
Fixed Signal Generation - Entry signals now trigger properly
Fixed SL/TP Lines - Now display correctly after signals
Fixed Array Handling - Proper bounds checking to prevent errors
Fixed Trade State Management - Proper tracking of active trades
✨ New Features Added:
BSL/SSL (Liquidity) Labels - Shows buy/sell side liquidity levels
Liquidity Sweep Detection - Alerts when liquidity is taken
Displacement Candle Detection - Shows strong momentum candles
Midnight Open Level - Important ICT concept
OTE Zone Visualization - Shows optimal trade entry zone (62-79%)
Enhanced Confluence Table - Shows breakdown of all confluences
Signal Cooldown - Prevents consecutive false signals
Improved Dashboard - More information displayed clearly
Better Alert Messages - More detailed alert text
📊 How to Use:
Copy the entire code to TradingView Pine Editor
Add to chart
Adjust settings in the input menu based on your trading style
Set up alerts for the signals you want to receive
Apex Wallet - Lorentzian Classification: Adaptive Signal SuiteOverview The Apex Wallet Lorentzian Classification is a high-performance signal engine that utilizes an adaptive multi-feature approach to identify high-probability entry points. It synthesizes five distinct technical features—RSI, CCI, ADX, MFI, and ROC—to calculate a weighted trend bias.
Dynamic Adaptation The core strength of this indicator is its ability to automatically recalibrate its internal periods based on your selected Trading Mode.
Scalping: Uses ultra-fast periods (e.g., RSI 7, ADX 10) for quick reaction on 1m to 5m charts.
Day-Trading: Balanced settings (e.g., RSI 14, ADX 14) optimized for 15m to 1h timeframes.
Swing-Trading: Smooth, long-term filters (e.g., RSI 21, ADX 20) to capture major market shifts.
Logic & Signal Flow
Feature Extraction: The script calculates five momentum and volatility features using the current close price.
Signal Summation: Each feature contributes to a global signal score based on established technical thresholds.
EMA Smoothing: The raw signal is processed through an EMA filter to eliminate market noise and false breakouts.
Execution: Clear BUY and SELL labels are printed directly on the chart when the smoothed score crosses specific conviction levels.
Key Features:
Zero-Configuration: No need to manually adjust lengths; simply pick your trading style.
Clean Visuals: High-fidelity labels (BUY/SELL) with integrated alert conditions for automation.
Prop-Firm Ready: Ideal for traders needing fast confirmation for high-conviction trades.
Trinity 5-8-13 EMA RibbonThis is a simple little script that is based on the 5-8-13 scalping or day trading strategy, the ribbon color will flip based on the candle to EMA direction. Use this in conjunction with a higher time frame EMA as well as something like a 200 EMA or VWAP for trend direction. The indicator will give you the current candle bias.
Tactiko Master Combo]The Tactiko Master Combo is an institutional-grade toolkit designed to consolidate essential Supply and Demand (SMC) metrics into a single view. It features dynamic Buyside and Sellside liquidity detection, pivot-based Supply and Demand zones with Points of Interest (POI), and a weighted Volume Profile with a real-time Point of Control (POC). This indicator is designed to help traders identify areas of high-volume interest and liquidity confluences while maintaining chart clarity.
Adaptive ZigZag Context v1 (Stable)Adaptive ZigZag Context v1 (Stable) is a versatile swing structure indicator that adaptively detects pivot highs and lows while providing higher timeframe context. It helps traders visualize market structure, trend bias, and potential reversal points with stable signals.
Key Features:
Detects swing highs and lows adaptively using a configurable pivot leg length.
Draws ZigZag lines connecting confirmed pivots for clear market structure visualization.
Highlights higher timeframe trend bias using EMA and background color (green for bullish, red for bearish).
Usage:
Analyze market swings and identify potential reversal zones.
Combine with other indicators for trend confirmation.
Useful for multi-timeframe analysis with higher timeframe EMA context.
Important Notes:
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
Traders are encouraged to use this tool alongside other analysis techniques and risk management strategies.
MTF Dual Supertrend with Bands and PivotSUPERTREND WITH UPPER AND LOWER BANDS + PIVOT POINTS + MULTI-TIMEFRAME - INDICATOR DESCRIPTION
OVERVIEW:
This Pine Script indicator combines the SuperTrend technical analysis tool with visible upper and lower bands, standard daily pivot points, AND a second SuperTrend from a different timeframe. SuperTrend is a trend-following indicator that helps traders identify the current market direction and potential entry/exit points, while pivot points provide key support and resistance levels. The multi-timeframe feature allows you to see trends from different time perspectives simultaneously.
HOW IT WORKS:
The indicator uses the Average True Range (ATR) to calculate dynamic support and resistance bands around the price:
1. BASIC BANDS CALCULATION:
- Upper Band = HL2 + (ATR × Multiplier)
- Lower Band = HL2 - (ATR × Multiplier)
- HL2 = (High + Low) / 2
2. FINAL BANDS ADJUSTMENT:
- Bands are adjusted based on price movement to create a trailing stop mechanism
- Upper band only moves down or stays flat when price is above it
- Lower band only moves up or stays flat when price is below it
3. SUPERTREND LINE:
- Switches between upper and lower bands based on price crossovers
- When price is above the SuperTrend line = UPTREND (green)
- When price is below the SuperTrend line = DOWNTREND (red)
4. STANDARD PIVOT POINTS:
- Calculated based on previous day's High, Low, and Close
- Pivot Point (PP) = (High + Low + Close) / 3
- Resistance levels: R1, R2, R3 (calculated above PP)
- Support levels: S1, S2, S3 (calculated below PP)
- These levels act as potential support/resistance zones
5. SECOND SUPERTREND (MULTI-TIMEFRAME):
- Displays a second SuperTrend from a different timeframe (default: 60 minutes/1 hour)
- Customizable timeframe - choose from 1min, 5min, 15min, 30min, 60min, 240min, Daily, Weekly, etc.
- Independent ATR period and multiplier settings
- Shows its own upper and lower bands (purple color)
- Color-coded SuperTrend line (lime for uptrend, orange for downtrend)
- Helps identify alignment between different timeframes
- Can be enabled/disabled via settings
- Bands can be toggled separately
KEY FEATURES:
✓ Visual upper and lower bands showing the ATR-based zones (blue)
✓ Color-coded SuperTrend line (green for uptrend, red for downtrend)
✓ Second SuperTrend from custom timeframe with its own bands (purple)
✓ Second SuperTrend line (lime/orange colors)
✓ Buy/Sell signals when trend changes
✓ Optional signals for second SuperTrend (small triangles)
✓ Daily Pivot Points with 3 resistance and 3 support levels
✓ Customizable ATR period and multiplier for both SuperTrends
✓ Background color indication of current trend
✓ Built-in alerts for both SuperTrend trend changes
✓ Toggle options for all bands, signals, pivot lines, and second SuperTrend
DEFAULT PARAMETERS:
- ATR Period: 10
- ATR Multiplier: 3.0
- Second SuperTrend: Enabled
- Second SuperTrend Timeframe: 60 minutes (1 hour)
- Second SuperTrend ATR Period: 10
- Second SuperTrend ATR Multiplier: 3.0
USAGE:
- Lower multiplier (1.5-2.5) = More sensitive, more signals, more noise
- Higher multiplier (3.5-5.0) = Less sensitive, fewer signals, filters noise
- Use pivot points as additional confirmation for entries/exits
- When price approaches R1/R2/R3, expect potential resistance
- When price approaches S1/S2/S3, expect potential support
- MULTI-TIMEFRAME STRATEGY: Best signals occur when both SuperTrends align
* Both green (uptrend) = Strong bullish confirmation
* Both red (downtrend) = Strong bearish confirmation
* Conflicting trends = Caution, potential consolidation or reversal
- Combine SuperTrend signals with pivot levels for high-probability trades
- Best suited for trending markets
TRADING SIGNALS:
- BUY: When price closes above the upper band (trend changes from down to up)
* Extra confirmation if near a support level (S1, S2, S3)
* STRONGEST SIGNAL: When both SuperTrends are green AND price is above PP
- SELL: When price closes below the lower band (trend changes from up to down)
* Extra confirmation if near a resistance level (R1, R2, R3)
* STRONGEST SIGNAL: When both SuperTrends are red AND price is below PP
MULTI-TIMEFRAME EXAMPLES:
- Chart timeframe: 5min, Second SuperTrend: 1 hour
* Enter long when 5min shows buy signal AND 1hr is already in uptrend
* This filters out counter-trend trades
- Chart timeframe: 15min, Second SuperTrend: 4 hour
* Higher timeframe provides overall trend direction
* Lower timeframe provides precise entry timing
- Recommended combinations:
* Scalping: 1min chart + 15min second ST
* Day trading: 5min chart + 1hr second ST
* Swing trading: 1hr chart + Daily second ST
PIVOT POINT STRATEGY:
- PP (Pivot Point) = Main level, acts as support in uptrend, resistance in downtrend
- Price above PP = Bullish bias, look for longs near S1/S2
- Price below PP = Bearish bias, look for shorts near R1/R2
- Breakout of R3 or S3 indicates strong momentum
Note: This indicator is based on the classic SuperTrend algorithm and should be used as part of a comprehensive trading strategy, not as a standalone signal.
Manual Backtest Dashboard (100 Trades)Manual Backtest Dashboard (100 Trades) is a lightweight TradingView indicator designed to help traders manually record and evaluate their trading performance directly on the chart. This tool is built specifically for discretionary traders such as SMC, price action, scalping, and intraday traders who want to analyze their win rate and overall performance without relying on the Strategy Tester.
The indicator works by allowing users to input their trade results manually through the settings panel. Each trade is recorded using simple values: 1 for a winning trade, -1 for a losing trade, and 0 for an empty or uncounted trade. The dashboard automatically calculates the total number of trades entered, the number of wins and losses, and the win rate percentage in real time. Users do not need to fill all 100 trade slots, as only trades with non-zero values are included in the calculations.
This indicator does not place trades or generate buy and sell signals. Instead, it focuses purely on performance evaluation, making it ideal for subjective backtesting, forward testing, and manual trading journals. The dashboard is clean, lightweight, and does not clutter the price chart, ensuring a smooth and distraction-free trading experience. The script is stable, efficient, and does not repaint, making it a reliable tool for traders who want to track and improve their consistency over time.






















