Enhanced Elliott Wave + SMCThe Pine Script you provided is a sophisticated trading strategy called "Enhanced Elliott Wave + SMC" (Smart Money Concepts) that combines multiple technical analysis concepts to generate trade signals. Here's a breakdown of its key components and functionality:
1. Core Concepts
Elliott Wave Theory: Identifies potential wave patterns using a 50-period SMA to determine trend direction and Fibonacci extensions (1.618 ratio) for price targets.
Smart Money Concepts (SMC): Focuses on institutional trading patterns like liquidity sweeps, supply/demand zones, and fair value gaps (FVGs).
2. Key Features
Liquidity Sweep Detection:
Identifies false breakouts where price briefly exceeds recent highs/lows before reversing.
Confirms institutional "stop hunts" to trap retail traders.
Supply/Demand Zones:
Marks areas of concentrated buying/selling pressure.
Zones persist on the chart (up to max_zones_displayed) and are triggered by liquidity sweeps.
Fair Value Gaps (FVG):
Detects price voids between candles, indicating potential reversal zones.
Bullish FVG (gap below) and Bearish FVG (gap above) highlighted.
Market Structure Lines:
Horizontal lines showing recent swing highs/lows (10-period extremes).
3. Indicators & Filters
RSI & CMO: Momentum filters (RSI >50/<50, CMO positive/negative).
Volume Confirmation: Optional filter requiring volume spikes (1.5x 20-period average).
ATR-Based Risk Management: Dynamic stop-loss and take-profit levels based on volatility.
4. Entry Conditions
Long Entry:
Price crosses above demand zone.
Bullish momentum (RSI >50, CMO >0).
Confirmed bullish liquidity sweep.
Volume spike (if enabled).
Short Entry:
Price crosses below supply zone.
Bearish momentum (RSI <50, CMO <0).
Confirmed bearish liquidity sweep.
Volume spike (if enabled).
5. Risk Management
Stop-Loss: Fixed percentage (2%) of price or ATR-based.
Risk/Reward Ratio: 3:1 profit targets derived from stop-loss distance.
6. Visualization
Colored lines/zones for Elliott Wave projections, FVGs, supply/demand areas, and market structure.
Labels and alerts for key events (liquidity sweeps, zone entries).
7. Strategy Logic
Bullish Scenario:
After a bearish liquidity sweep (trap shorts), enter long when price reclaims demand zone with momentum.
Target Fibonacci extension levels or supply zones.
Stop below recent swing low/ATR level.
Bearish Scenario:
After a bullish liquidity sweep (trap longs), enter short when price breaks below supply zone.
Target demand zones or Fibonacci projections.
Stop above recent swing high/ATR level.
8. Use Case
This strategy aims to:
Identify institutional order blocks (liquidity sweeps).
Catch reversals at key supply/demand zones.
Use Elliott Wave principles for profit targets.
Filter false signals with volume/momentum confirmation.
It's designed for swing trading and requires combining price action confirmation with the automated signals. The visual elements help traders quickly assess market structure and key levels.
Fundamental Analysis
50/200 EMA Scalping StratejisiThis Pine Script is the Trading View version of the strategy you saw on the webpage. The core components of the strategy are:
1. **50 EMA and 200 EMA Tracking**: The moving averages that form the foundation of the strategy.
2. **Crossover Detection**: The 50 EMA crossing above the 200 EMA (long position) or crossing below the 200 EMA (short position).
3. **Price Retest**: After the crossover, the price touches the 200 EMA and reacts.
4. **Confirmation Candle**: A confirmatory candle formation after the price test (green candle with close above 200 EMA for long positions, red candle with close below 200 EMA for short positions).
5. **Stop Loss**: Automatic stop loss levels at 0.10% below/above the entry price.
6. **ATR and ADX Indicators**: Technical indicators that measure volatility and trend strength.
7. **Visual Markers**: Clear visual signals for crossovers, retest points, and confirmed entry signals.
8. **Dynamic Table**: An information table displaying current status, price, and indicator values.
The script also automatically shows the recommended leverage level based on the cryptocurrency (8x for BTC/ETH, 5x for others).
🌐KT22 Piyasa Gücü TablosuThere are a few logical criteria we can use to determine if there is an inflow into altcoins. For example:
BTC Value Increases: When Bitcoin is rising, investors generally turn to Bitcoin as a "safe haven", so there may be no or less inflow into altcoins.
BTC Value Falls: If Bitcoin is falling, investors generally turn to altcoins, which can increase inflow into altcoins.
USDT Dominance Increases: This means that investors are turning to stablecoins more, and generally indicates that interest in altcoins is decreasing.
USDT Dominance Falls: This may indicate that altcoins are starting to gain more traction and investors are turning to riskier assets.
SECTORSSP500 Sector indicator relative to each other. Sectors above 50 buy and less than 50 is sell signal.
XLEVEL RISK ON/OFFThis is a risk on/off indicator .
SHOWS all macro indicators like
VIX,SP500,DXY, US10Y, OIL, GOLD .
If the background color is red its risk off.
If the background color is blue its risk on.
If gray and its mixed.
It helps me a lot with trade decisions.
Lightning Strike Pro [Verified]This indicator identifies high-probability short setups with red arrows when price rejects the 65% Fibonacci level in a downtrend, accompanied by volume spikes and RSI rejection, and plots orange profit targets based on volatility (2x ATR). It filters aggressively to only show the highest-quality signals with defined risk/reward.
Constant Valuation Multiple LevelsThis indicator adds price levels at constant multiples based on your preferred valuation metric. The settings provides options for setting this metric while Operational Income is the default one.
This indicator is not perfect as it relies on historical earnings data but does not have forecast data (not available in pinescript), thus its not a guide for future price level. It also does not account for "adjusted" earnings which may skew levels for some quarters.
However this script provides a quick way to see the stock price against your preferred valuation multiple to see if it's undervalued and worth investigating further for quality and earnings forecast.
Fair Value Gap - Clean & Labeledmade a script for FVGs pretty basic sorry you can not really see the lettering very well but it works.
DeenDun.com Fundamentals📊 PERFECT Trades - Fundamental Snapshot Undel Panel
This indicator by PERFECT Trades fetches and displays key fundamental financial metrics directly on the TradingView chart for the current stock symbol.
🧾 What It Does:
Shows essential financial data (e.g., Market Cap, P/E Ratio, ROE, Sales Growth, etc.) for the stock currently loaded on the chart. If the metric is negative then ignore it.
Helps investors quickly evaluate fundamentals without switching to external websites.
Perfect for fundamental screening during chart analysis, especially for halal investment decisions.
📌 Metrics Displayed (examples – update as per script):
Market Capitalization
Price-to-Earnings (P/E) Ratio
Return on Equity (ROE)
Net Profit Growth %
Sales Growth %
Debt-to-Equity Ratio
Dividend Yield
Book Value
🌐KT22 Piyasa Gücü TablosuAltcoin Money Inflow Status:
This function altcoinParaGirisi() checks the daily changes of BTC and USDT. If BTC and USDT fall, it assumes that the money inflow to these altcoins has increased and shows this in the last section of the table.
:
If BTC and USDT fall: It shows that there is money inflow to altcoins.
Otherwise: There is no money inflow to altcoins.
Last Row of the Table:
Altcoin Money Inflow column has been added, it shows in which case there is money inflow to altcoins.
With this updated script, you can no longer follow whether BTC and USDT have entered altcoins depending on their movements.
Days Live CounterThis quite simply tracks how many days an asset has been on Trading View for.
The indicator calculates the day count based on the timestamp of the first visible bar in your current chart view. Since monthly charts generally load data from further back in time than daily or intraday charts, they'll show a larger day count.
This isn't a bug in the indicator - it's correctly counting the days from the first bar it can see in each timeframe.
BeSight Mega SpotBeSight Mega Spot – Zone Based Price Grid Indicator
สคริปต์นี้ถูกออกแบบมาเพื่อช่วยเทรดเดอร์มองเห็นโซนราคาสำคัญที่ราคาอาจเกิดปฏิกิริยา โดยอ้างอิงจากระดับราคาที่ลงท้ายด้วย 0 และ 5 (เช่น 1350, 1355, 1360 เป็นต้น) ซึ่งมักเป็นระดับที่มีการตั้งคำสั่งซื้อขายจำนวนมากในตลาด
BeSight Mega Spot – Zone-Based Price Grid Indicator
This indicator is designed to help traders visualize key price zones where the market often reacts, based on price levels ending with 0 or 5 (e.g., 1350, 1355, 1360). These levels are commonly used for pending orders, liquidity, or price clustering zones.
It displays horizontal grid lines at fixed step intervals (default: every 5 points), covering the entire visible price range of the chart. Each price level is labeled for better clarity and planning.
🟦 Blue lines: Price levels ending in 0
⬜ Gray lines: Price levels ending in 5
This tool is useful for identifying potential institutional behavior zones, price consolidation, accumulation/distribution areas, or psychological support/resistance levels.
🧠 Notes:
- This indicator is not a buy/sell signal tool or predictive system.
- It works best when used in conjunction with other technical tools such as Supply/Demand zones or Smart Money Concepts (SMC) analysis.
- Compatible with all instruments: stocks, futures, forex, crypto, etc.
✅ How to use:
1. Add the indicator to your chart
2. Observe how price interacts with the 0/5 grid zones
3. Use the lines to assist with breakout, retest, or reversal planning
4. Combine with price action or other indicators for higher precision
✨ Developed by BeSight – A Community Of Traders
---------------------------------------------------------------------------------------
อินดิเคเตอร์นี้จะแสดงเส้นแนวนอนแบบตาราง (Grid) ที่แบ่งช่วงราคาออกเป็นระยะ ๆ ตามค่าที่ผู้ใช้กำหนด เช่น ทุก ๆ 5 จุด และครอบคลุมช่วงราคาทั้งหมดของกราฟ โดยแสดงเป็นเส้นแบบ dotted พร้อมป้ายราคาเพื่อให้มองเห็นได้ชัดเจน
🟦 เส้นสีน้ำเงิน: แสดงระดับราคาที่ลงท้ายด้วย 0
⬜ เส้นสีเทา: แสดงระดับราคาที่ลงท้ายด้วย 5
เหมาะสำหรับผู้ที่ต้องการดูโซนราคา "หยุดพัก / เก็บของ / เปิดโพซิชัน" ซึ่งอาจสะท้อนพฤติกรรมของผู้เล่นรายใหญ่หรือสถาบันในตลาด
🧠 ข้อควรรู้:
- อินดิเคเตอร์นี้ไม่ได้บอกจุดเข้าเทรดหรือการคาดการณ์ แต่ช่วยในการวางแผนแนวรับ-แนวต้านร่วมกับเครื่องมือวิเคราะห์อื่น ๆ
- รองรับทุกสินทรัพย์ที่มีหน่วยราคาคงที่ (หุ้น, ฟิวเจอร์ส, ฟอเร็กซ์, คริปโต ฯลฯ)
✅ วิธีใช้งาน:
1. เพิ่มอินดิเคเตอร์นี้ลงบนกราฟ
2. ใช้เส้น Grid เป็นแนวประกอบในการดูพฤติกรรมราคา เช่น การหยุดลง, การเบรกแนว, การกลับตัว
3. ผสมผสานกับโซน Demand/Supply หรือโซน SMC เพื่อความแม่นยำ
✨ พัฒนาโดย BeSight – คอมมูนิตี้ของเทรดเดอร์ตัวจริง
M2 Global Liquidity IndexGlobal liquidity index calculated as
(ECONOMICS:CNM2 * FX_IDC:CNYUSD + ECONOMICS:USM2+ ECONOMICS:EUM * FX:EURUSD + ECONOMICS:JPM2 * FX_IDC:JPYUSD + ECONOMICS:GBM2 * FX:GBPUSD) / 1000000000000
Feel free to share your offsets in comments to find better sync between M2 and BTCUSDT
Buffett Indicator with Historical Bubbles (Clean)The Buffett Indicator is a trusted macroeconomic gauge that compares the total US stock market capitalization to the nation’s GDP. Popularized by Warren Buffett, this metric highlights periods of overvaluation and undervaluation in the market.
This tool offers a clean and accurate visualization of the Buffett Indicator, enhanced with historical bubble annotations for key market events:
Dot-com Bubble (2000)
Global Financial Crisis Peak (2007)
COVID-19 Pre-crash Peak (2020)
Post-COVID Bull Market Peak (2021)
Features:
Dynamic Buffett Ratio (%) calculation using Wilshire 5000 Index as the market cap proxy.
Customizable GDP input for accuracy (update quarterly).
Visual thresholds for fair value, undervaluation, and overvaluation zones.
Historical event markers for educational and analytical context.
Optimized to display clearly across all timeframes: Daily, Weekly, Monthly.
How to Use:
Manually update the GDP input as new data is released.
Use this indicator for macro-level market sentiment analysis and valuation tracking.
Combine with other tools and risk management strategies for comprehensive market insights.
Disclaimer:
This indicator is for educational purposes only. It does not constitute financial advice. Always perform your own research and analysis.
Version: 1.0
we ask Allah reconcile and repay
#BuffettIndicator #MarketValuation #MacroAnalysis #BubbleDetector #LongTermInvestor #USMarket #Wilshire5000 #TradingViewScript
The Silver Lining – GSR🍯 This tool converts the Gold/Silver Ratio (GSR) into a precision timing lens for short-term traders operating inside digital silver markets. It reveals structural dominance, trend exhaustion, and regime inflection by comparing the GSR to its smoothed baseline and historical percentile rhythm. On high timeframes (1D+), it reflects macroeconomic sentiment shifts 📈.
🧐 The lower the timeframe, the higher the alpha; the 15m and 1h charts are where you will the hidden pots of gold. For LTF traders, it becomes a hyper-responsive bias filter — especially when paired with volatility-based confirmation systems like SUPeR TReND 2.718, as shown.
🧠 The core logic compares the GSR (gold ÷ silver) against a user-defined moving average (VWMA or EMA). A color-coded fill shifts based on direction: amber when gold leads, teal when silver gains strength. Percentile bands (20th, 50th, 80th) map structural zones — helping traders anchor trades based on confluence, not hype.
📊 In the example chart, four theoretical long trades are shown on the 1h chart, manually drawn on the 15m timeframe. Each begins when the GSR reverses from the 80th percentile or breaks below its MA. The trades occur precisely as silver tested support, with confirmation from SUPeR TReND’s trend shift. Although idealized, these aren’t guesses — they are compression-to-expansion sequences backed by macro relative strength flow. Several yielded gains exceeding 4%.
🏆 Best-case long trades occur when GSR rotates down through the 50th percentile and silver catches a reactive bid. Shorts appear when GSR rises through the upper percentile band while silver fails to hold key intraday levels. The percentile bands function like behavioral tiers:
🥈 Below 20th = Silver Dominance
⚠️ Around 50th = Crossover Area
🥇 Above 80th = Gold Dominance
🥈 Why silver? It’s faster, more emotional, and more manipulated than gold — which paradoxically makes it more tradable on low timeframes. Its range-bound nature is ideal for rinse-and-repeat systems. Because we trade the derivative (XAGUSD), there’s no friction or delivery constraint — just price action, clean and liquid.
⚖️ The underlying strategy isn’t just technical; it’s alchemical. The system begins with short-term trading in digital silver and funnels gains into physical gold — converting volatility into wealth. Over time, this establishes a perpetual motion model: when profits allow, trade silver, extract value, cash out and convert into gold. The account stays active, and the hedge keeps growing.
🔁 The Silver Lining isn’t a signal engine. It’s a structural overlay. It tells you when the market’s invisible bias is shifting — so your tactics stay aligned with macro rhythm.
🌊 Silver moves fast. Gold moves first. The Silver Lining helps you bridge that gap — with clarity, confluence, and edge.
Risk-On vs Risk-Off Meter (Pro)Risk-On vs Risk-Off Meter (Pro)
This macro-based tool analyzes capital flows across key assets to gauge overall market risk sentiment. It does not use ES, SPY, or stock data directly—making it a powerful confirmation tool for ES traders looking to align with macro forces.
🔹 Core Idea:
Tracks capital rotation between copper/gold, bonds, dollar, crude oil, VIX, and yield spreads to generate a normalized risk score (0–1). This score reflects whether macro money is flowing into risk or safety.
🔹 Use:
Use this indicator as confirmation of directional bias when scalping or day trading ES.
– Green Zone (>0.75): Risk-On environment. Favor long setups.
– Red Zone (<0.45): Risk-Off. Favor short setups or stand aside.
– Yellow Zone: Neutral, use caution.
– Divergence Alerts: Signals when ES price disagrees with macro risk trend—potential reversals or exhaustion zones.
HOT TO USE
– Combine with your existing price action or order flow signals
– Avoid trading against the macro sentiment unless strong setup
– Use divergence as a heads-up for fading or exiting trades
This gives you a macro-informed lens to validate or filter your entries.
Risk-On / Risk-Off ScoreRisk-On / Risk-Off Score (Macro Sentiment Indicator)
This indicator calculates a custom Risk-On / Risk-Off Score to objectively assess the current market risk sentiment using a carefully selected basket of macroeconomic assets and intermarket relationships.
🧠 What does this indicator do?
The score is based on 14 key components grouped into three categories:
🟢 Risk-On Assets (rising = appetite for risk)
(+1 if performance over X days is positive, otherwise –1)
NASDAQ 100 (NAS100USD)
S&P 500 (SPX)
Bitcoin (BTCUSD)
Copper (HG1!)
WTI Crude Oil (CLK2025)
🔴 Risk-Off Assets (rising = flight to safety)
(–1 if performance is positive, otherwise +1)
Gold (XAUUSD)
US Treasury Bonds (TLT ETF) (TLT)
US Dollar Index (DXY)
USD/CHF
USD/JPY
US 10Y Yields (US10Y) (yields are interpreted inversely)
⚖️ Risk Spreads / Relative Indicators
(+1 if rising, –1 if falling)
Copper/Gold Ratio → HG1! / XAUUSD
NASDAQ/VIX Ratio → NAS100USD / VIX
HYG/TLT Ratio → HYG / TLT
📏 Score Calculation
Total score = sum of all components
Range: from –14 (extreme Risk-Off) to +14 (strong Risk-On)
Color-coded output:
🟢 Score > 2 = Risk-On
🟠 –2 to +2 = Neutral
🔴 Score < –2 = Risk-Off
Displayed as a line plot with background color and signal markers
🧪 Timeframe of analysis:
Default: 5 days (adjustable via input)
Calculated using Rate of Change (% change)
🧭 Use Cases:
Quickly assess macro sentiment
Filter for position sizing, hedging, or intraday bias
Especially useful for:
Swing traders
Day traders with macro filters
Volatility and options traders
📌 Note:
This is not a buy/sell signal indicator, but a contextual sentiment tool designed to help you stay aligned with overall market conditions.
Metatrader CalculatorThe “ Metatrader Calculator ” indicator calculates the position size, risk, and potential gain of a trade, taking into account the account balance, risk percentage, entry price, stop loss price, and risk/reward ratio. It supports the XAUUSD, XAGUSD, and BTCUSD pairs, automatically calculating the position size (in lots) based on these parameters. The calculation is displayed in a table on the chart, showing the lot size, loss in dollars, and potential gain based on the defined risk.
Canadian Elections & PM TimelineThis script displays major Canadian federal election years along with the names and party affiliations of elected Prime Ministers, directly on your price chart. It provides a quick visual reference for key political events that may have had market impact, helping traders correlate price movements with changes in leadership.
AltSeasonality - MTFAltSeason is more than a brief macro market cycle — it's a condition. This indicator helps traders identify when altcoins are gaining strength relative to Bitcoin dominance, allowing for more precise entries, exits, and trade selection across any timeframe.
The key for altcoin traders is that the lower the timeframe, the higher the alpha.
By tracking the TOTAL3/BTC.D ratio — a real-time measure of altcoin strength versus Bitcoin — this tool highlights when capital is rotating into or out of altcoins. It works as a bias filter, helping traders avoid low-conviction setups, especially in chop or during BTC-led conditions.
________________________________________________________________________
It works well on the 1D chart to validate swing entries during strong altcoin expansion phases — especially when TOTAL3/BTC.D breaks out while BTCUSD consolidates.
On the 4H or 1D chart, rising TOTAL3/BTC.D + a breakout on your altcoin = high-conviction setup. If BTC is leading, fade the move or reduce size. Consider pairing with the Accumulation - Distribution Candles, optimized for the 1D (not shown).
🔍 Where this indicator really excels, however, is on the 1H and 15M charts, where short-term traders need fast bias confirmation before committing to a move. Designed for scalpers, intraday momentum traders, and tactical swing setups.
Use this indicator to confirm whether an altcoin breakout is supported by broad market flow — or likely to fail due to hidden BTC dominance pressure.
________________________________________________________________________
🧠 How it works:
- TOTAL3 = market cap of altcoins (excl. BTC + ETH)
- BTC.D = Bitcoin dominance as % of total market cap
- TOTAL3 / BTC.D = a normalized measure of altcoin capital strength vs Bitcoin
- BTCUSD = trend baseline and comparison anchor
The indicator compares these forces side-by-side, using a normalized dual-line ribbon. There is intentionally no "smoothing".
When TOTAL3/BTC.D is leading, the ribbon shifts to an “altseason active” phase. When BTCUSD regains control, the ribbon flips back into BTC dominance — signaling defensive posture.
________________________________________________________________________
💡 Strategy Example:
On the 1H chart, a crossover into altseason → check the 15M chart for confirmation. Consider adding the SUPeR TReND 2.718 for confirmation (not shown). If both align, you have trend + flow confluence. If BTCUSD is leading or ribbon is mixed, reduce exposure or wait for confirmation. Further confirmation via Volume breakouts in your specific coin.
⚙️ Features:
• MTF source selection (D, 1H, 15M)
• Normalized ribbon (TOTAL3/BTC.D vs BTCUSD)
• Cross-aware fill shading
• Custom color and transparency controls
• Optional crossover markers
• Midline + zone guides (0.2 / 0.5 / 0.8)
Supertrend + MACD CrossoverKey Elements of the Template:
Supertrend Settings:
supertrendFactor: Adjustable to control the sensitivity of the Supertrend.
supertrendATRLength: ATR length used for Supertrend calculation.
MACD Settings:
macdFastLength, macdSlowLength, macdSignalSmoothing: These settings allow you to fine-tune the MACD for better results.
Risk Management:
Stop-Loss: The stop-loss is based on the ATR (Average True Range), a volatility-based indicator.
Take-Profit: The take-profit is based on the risk-reward ratio (set to 3x by default).
Both stop-loss and take-profit are dynamic, based on ATR, which adjusts according to market volatility.
Buy and Sell Signals:
Buy Signal: Supertrend is bullish, and MACD line crosses above the Signal line.
Sell Signal: Supertrend is bearish, and MACD line crosses below the Signal line.
Visual Elements:
The Supertrend line is plotted in green (bullish) and red (bearish).
Buy and Sell signals are shown with green and red triangles on the chart.
Next Steps for Optimization:
Backtesting:
Run backtests on BTC in the 5-minute timeframe and adjust parameters (Supertrend factor, MACD settings, risk-reward ratio) to find the optimal configuration for the 60% win ratio.
Fine-Tuning Parameters:
Adjust supertrendFactor and macdFastLength to find more optimal values based on BTC's market behavior.
Tweak the risk-reward ratio to maximize profitability while maintaining a good win ratio.
Evaluate Market Conditions:
The performance of the strategy can vary based on market volatility. It may be helpful to evaluate performance in different market conditions or pair it with a filter like RSI or volume.
Let me know if you'd like further tweaks or explanations!