Stock Health - 5mWarns if you are about to trade before 45 min passed since market open.
Good reminder if you are impatient / have ADHD...
Meant to be used on a 5m chart.
More infos: www.reddit.com
個人檔案管理
Student Wyckoff RS Symbol/MarketRelative Strength Indicator STUDENT WYCKOFF RS SYMBOL/MARKET
Description
The Relative Strength (RS) Indicator compares the price performance of the current financial instrument (e.g., a stock) against another instrument (e.g., an index or another stock). It is calculated by dividing the closing price of the first instrument by the closing price of the second, then multiplying by 100. This provides a percentage ratio that shows how one instrument outperforms or underperforms another. The indicator helps traders identify strong or weak assets, spot market leaders, or evaluate an asset’s performance relative to a benchmark.
Key Features
Relative Strength Calculation: Divides the closing price of the current instrument by the closing price of the second instrument and multiplies by 100 to express the ratio as a percentage.
Simple Moving Average (SMA): Applies a customizable Simple Moving Average (default period: 14) to smooth the data and highlight trends.
Visualization: Displays the Relative Strength as a blue line, the SMA as an orange line, and colors bars (blue for rising, red for falling) to indicate changes in relative strength.
Flexibility: Allows users to select the second instrument via an input field and adjust the SMA period.
Applications
Market Comparison: Assess whether a stock is outperforming an index (e.g., S&P 500 or MOEX) to identify strong assets for investment.
Sector Analysis: Compare stocks within a sector or against a sector ETF to pinpoint leaders.
Trend Analysis: Use the rise or fall of the RS line and its SMA to gauge the strength of an asset’s trend relative to another instrument.
Trade Timing: Bar coloring helps quickly identify changes in relative strength, aiding short-term trading decisions.
Interpretation
Rising RS: Indicates the first instrument is outperforming the second (e.g., a stock growing faster than an index).
Falling RS: Suggests the first instrument is underperforming.
SMA as a Trend Filter: If the RS line is above the SMA, it may signal strengthening performance; if below, weakening performance.
Settings
Instrument 2: Ticker of the second instrument (default: QQQ).
SMA Period: Period for the Simple Moving Average (default: 14).
Notes
The indicator works on any timeframe but requires accurate ticker input for the second instrument.
Ensure data for both instruments is available on the selected timeframe for precise analysis.
Crypto Perp Calc v1Advanced Perpetual Position Calculator for TradingView
Description
A comprehensive position sizing and risk management tool designed specifically for perpetual futures trading. This indicator eliminates the confusion of calculating leveraged positions by providing real-time position metrics directly on your chart.
Key Features:
Interactive Price Selection: Click directly on chart to set entry, stop loss, and take profit levels
Accurate Lot Size Calculation: Instantly calculates the exact position size needed for your margin and leverage
Multiple Entry Support: DCA into positions with up to 3 entry points with customizable allocation
Multiple Take Profit Levels: Scale out of positions with up to 3 TP targets
Comprehensive Risk Metrics: Shows dollar P&L, account risk percentage, and liquidation price
Visual Risk/Reward: Color-coded boxes and lines display your trade setup clearly
Real-time Info Table: All critical position data in one organized panel
Perfect for traders using perpetual futures who need precise position sizing with leverage.
---------
How to Use
Quick Start (3 Clicks)
1. Add the indicator to your chart
2. Click three times when prompted:
First click: Set your entry price
Second click: Set your stop loss
Third click: Set your take profit
3. Read the TOTAL LOTS value from the info table (highlighted in yellow)
4. Use this lot size in your exchange when placing the trade
Detailed Setup
Step 1: Configure Your Account
Enter your account balance (total USDT in account)
Set your margin amount (how much USDT to risk on this trade)
Choose your leverage (1x to 125x)
Select Long or Short position
Step 2: Set Price Levels
Main levels use interactive clicking (Entry, SL, TP)
For multiple entries or TPs, use the settings panel to manually input prices and percentages
Step 3: Read the Results
The info table shows:
TOTAL LOTS - The position size to enter on your exchange
Margin Used - Your actual capital at risk
Notional - Total position value (margin × leverage)
Max Risk - Dollar amount you'll lose at stop loss
Total Profit - Dollar amount you'll gain at take profit
R:R Ratio - Risk to reward ratio
Account Risk - Percentage of account at risk
Liquidation - Price where position gets liquidated
Step 4: Advanced Features (Optional)
Multiple Entries (DCA):
Enable "Use Multiple Entries"
Set up to 3 entry prices
Allocate percentage for each (must total 100%)
See individual lot sizes for each entry
Multiple Take Profits:
Enable "Use Multiple TPs"
Set up to 3 TP levels
Allocate percentage to close at each level (must total 100%)
View profit at each target
Visual Elements
Blue lines/labels: Entry points
Red lines/labels: Stop loss
Green lines/labels: Take profit targets
Colored boxes: Visual risk (red) and reward (green) zones
Info table: Can be positioned anywhere on screen
Alerts
Set price alerts for:
Entry zones reached
Stop loss approached
Take profit levels hit
Works with TradingView's alert system
Tips for Best Results
Always verify the lot size matches your intended risk
Check the liquidation price stays far from your stop loss
Monitor the account risk percentage (recommended: keep under 2-3%)
Use the warning indicators if risk exceeds margin
For quick trades, use single entry/TP; for complex strategies, use multiple levels
Example Workflow
Find your trade setup using your analysis
Add this indicator and click to set levels
Check risk metrics in the table
Copy the TOTAL LOTS value
Enter this exact position size on your exchange
Set alerts for key levels if desired
This tool bridges the gap between TradingView charting and exchange execution, ensuring your position sizing is always accurate when trading with leverage.
Disclaimer, this was coded with help of AI, double check calculations if they are off.
Optimised XAU/USD (Gold, IC Markets, 30m)The Illyad Strategy 1.0 optimised for XAU/USD (Gold) on the 30-minute timeframe (IC Markets feed).
📊 Backtest Results (Jan 2024 – Aug 2025):
✅ Total P&L: +30,143.28 USD (+30.14%)
📉 Max Drawdown: 3.60% (3,945.84 USD)
🔁 Total Trades: 57
📈 Win Rate: 42.11% (24/57 trades)
⚖️ Profit Factor: 1.91
This setup shows steady performance and low drawdown on Gold — ideal for traders wanting to capture volatility while maintaining consistency.
🔧 Optimisation Notes:
Works best on the 30m timeframe.
Each instrument (forex, indices, commodities, stocks) has unique behaviour.
To maximise results, always optimise the parameters per symbol — e.g., Gold requires a different configuration than GBP/USD or NASDAQ.
💡 Best Use Cases:
Prop firm challenges & scaling funded accounts.
Long-term compounding with low risk.
Automated execution via TradingView alerts → MT5 for hands-free trading.
⚠️ Disclaimer:
This strategy is for educational purposes only. Past results do not guarantee future performance. Always backtest and forward-test before going live.
📲 Next Steps:
This example demonstrates the Gold (XAU/USD) optimisation. The Illyad Strategy can be tuned for any forex pair, index, or commodity with proper optimisation.
👉 Visit my profile for full automation solutions.
Optimised GBP/USD (IC Markets, 30m)This is the Illyad Strategy 1.0 optimised for GBP/USD on the 30-minute timeframe (IC Markets feed).
📊 Backtest Results (Jan 2024 – Aug 2025):
✅ Total P&L: +19,501.97 USD (+19.50%)
📉 Max Drawdown: 3.57% (3,607.64 USD)
🔁 Total Trades: 37
📈 Win Rate: 51.35% (19/37 trades)
⚖️ Profit Factor: 2.08
This version shows steady profitability with controlled drawdown, making it highly effective for prop firm evaluations and scaling accounts.
🔧 Optimisation Notes:
Works best on the 30-minute timeframe.
Each symbol behaves differently — always optimise the algo per instrument (e.g. GBP/USD vs EUR/GBP vs Gold).
Parameters such as moving averages, risk, and SL/TP ratios can be tuned to maximise performance.
💡 Best Use Cases:
Prop firm challenges (FTMO, AquaFunded, MyForexFunds, etc.).
Scaling funded capital by trading multiple accounts simultaneously.
Full automation via TradingView alerts → MT5 integration.
⚠️ Disclaimer:
This script is for educational purposes only. Past results do not guarantee future performance. Always backtest and forward-test on demo before going live.
📲 Next Steps:
This setup demonstrates the GBP/USD optimisation. The Illyad Strategy can be adjusted to perform across any forex pair, index, or stock with proper optimisation.
👉 Check my profile for full automation solutions.
Optimised GBP/CAD (IC Markets, 30m) - Automated TradingHere’s the Illyad Strategy 1.0 optimised for GBP/CAD on the 30-minute timeframe (IC Markets feed).
📊 Backtest Results (Jan 2024 – Aug 2025):
✅ Total P&L: +28,529.35 CAD (+28.53%)
📉 Max Drawdown: 3.61% (3,822.27 CAD)
🔁 Total Trades: 38
📈 Win Rate: 50.00% (19/38 trades)
⚖️ Profit Factor: 2.49
This setup shows strong performance with low drawdown, making it well-suited for prop firm trading and long-term portfolio compounding.
🔧 Optimisation Notes:
Works best on the 30-minute timeframe.
Each symbol has unique volatility and structure. To maximise results, you must optimise the algo per symbol (e.g., GBP/CAD vs EUR/USD vs NASDAQ).
Parameters such as moving averages, signal intensity, and SL/TP levels should be tuned to the instrument.
💡 Best Use Cases:
Prop firm challenges (FTMO, AquaFunded, MyForexFunds alternatives).
Running across multiple accounts simultaneously for compounding.
Automated execution via TradingView alerts → MT5 integration.
⚠️ Disclaimer:
This script is provided for educational purposes only. Past results do not guarantee future performance. Always backtest and forward-test on demo before live trading.
📲 Next Steps:
This version demonstrates the GBP/CAD optimisation. The Illyad Strategy can be tuned to work on any symbol (forex, indices, or stocks).
👉 Visit my profile for full automation solutions (TradingView → MT5)
Optimised EURGBP (IC Markets, 30m)Illyad Strategy 1.0 – Optimised EURGBP (IC Markets, 30m)
Description:
This is the Illyad Strategy 1.0 optimised for EURGBP on the 30-minute timeframe (IC Markets feed).
📊 Results (Jan 2024 – Aug 2025):
✅ Total P&L: +£31,032.15 (+31.03%)
📉 Max Drawdown: 2.86% (£3,576.85)
🔁 Total Trades: 39
📈 Win Rate: 58.97%
⚖️ Profit Factor: 2.92
This strategy focuses on controlled drawdown + consistent growth, making it ideal for prop trading challenges and long-term account compounding.
🔧 Optimisation:
Works best on the 30m timeframe.
Each symbol behaves differently — for maximum performance, you should optimise the parameters (MAs, SL/TP, intensity) to the instrument you want to trade.
Example: The EURGBP setup shown here differs from what you’d use on NASDAQ, XAUUSD, or stocks like Tesla.
💡 Best Use Cases:
Passing and scaling prop firm accounts (FTMO, AquaFunded, etc.).
Automated alerts → MT5 integration (hands-free trading).
Consistent, rule-based trading without emotion.
⚠️ Disclaimer:
This script is for educational purposes only. Past results don’t guarantee future performance. Always backtest and forward-test on demo before live trading.
📲 Next Steps:
This version shows the EURGBP optimisation. If you want to run it on other pairs, indices, or stocks → simply optimise parameters for that symbol.
👉 For full automation (TradingView → MT5 execution), check my profile for details.
Illyad Strategy 1.0 - Automate your alerts by connecting to MT5Illyad Strategy 1.0 – Automated Prop Trading System (30m Timeframe)
Description:
The Illyad Strategy 1.0 is a rule-based automated trading system designed for serious traders and prop-firm challenges.
🔑 Key Features:
Optimised to work best on the 30-minute timeframe.
Built-in money management to keep drawdown controlled.
Dynamic stop-loss / take-profit levels.
Works across forex, indices, and stocks.
Compatible with TradingView alerts → MT5 automation.
⚙️ Optimisation:
Each symbol has its own behaviour. For best results, you should optimise the parameters (moving averages, signal intensity, SL/TP ratios) on the symbol you want to trade. The algo adapts differently to EURUSD vs NASDAQ vs stocks like TSLA, so proper tuning is critical.
💡 Best Use Case:
Prop firm accounts (FTMO, MyForexFunds, AquaFunded, etc.).
Consistent returns without emotional decision-making.
Traders who want to scale multiple accounts at once.
⚠️ Disclaimer:
This script is for educational purposes. Past results do not guarantee future returns. Always backtest and forward test on demo before going live.
📲 Next Step:
This is the public version. If you’d like to connect it directly to MT5/MT4 for fully automated trading, visit my profile or contact me for details.
Trade Size Calculator By Skapez Trade Size Calculator By Skapez — ARM it, Drag & Trade!
A simple, position-sizing calculator for easy trader sizing.
It plots Entry / Stop / TP lines, sizes your trade to a fixed % risk (e.g., 2%), calculates leverage, and shows clean labels (Risk $, TP $, Position $, Leverage ×). You can ARM a setup, drag the lines to fine-tune, and (optionally) trigger alerts for webhooks.
What it does:
Fixed-fractional risk : sizes position so SL equals your chosen % of account (e.g., 2%).
Leverage cap & lot rounding : respects your max leverage and exchange lot step.
Drag-to-edit : move Entry/Stop; TP and sizing update automatically.
Swing-stop helper (optional): snap SL to recent swing low/high or nearest pivot. (Auto stop loss finder)
Valid-until window: auto-expires stale setups (e.g., after 120 minutes).
Alerts-ready: add your own JSON in the alert to send to a bot/webhook.
Quick start (60 seconds)
Add to chart and open Settings.
In Risk, set:
Account Balance (USD) and Risk % (e.g., 2.0).
Side (Long/Short).
In Levels:
Put an Entry price (or leave 0 to use current price when you ARM).
Choose Stop: type it manually or toggle Swing stop helper.
Pick your Target R multiple (e.g., 3.0 for 3:1).
In Leverage, set:
Leverage Cap (e.g., 10×) and Min/Step Size (e.g., 0.001 BTC).
Toggle ARM on. Three lines appear. Drag the blue/red lines if needed; the green TP and all numbers update.
Tip: Pin the indicator to the Right Price Scale (format icon → “Pin to scale”) so everything lines up perfectly.
On-chart visuals
Blue = Entry (label shows Position $ and Leverage × to the far right).
Red = Stop (label shows Risk $).
Green = TP (label shows TP P&L $).
Works on any symbol/timeframe; prices are rounded to the symbol’s tick size.
That’s it—arm, drag, and go.
Simple MADSimple MAD is a lightweight and customizable indicator that calculates the Median Absolute Deviation (MAD) over a configurable period to measure market volatility. It dynamically displays Stop-Loss (SL) and Take-Profit (TP) levels based on MAD multipliers, both in absolute price and percentage terms.
The indicator includes a clean, watermark-style table with full layout controls — allowing you to adjust position, text size, alignment, and colors. It supports both manual entry price and automatic use of the latest close, making it ideal for traders who want to manage risk with precision and clarity.
Perfect for swing traders, volatility-based strategies, and anyone looking to integrate MAD into their decision-making.
XAUUSD Lot Size Calculator + RSI (Yoothobbiz)This indicator is designed for Gold traders on the 5-minute timeframe (M5) who want a clear and editable lot size, stop loss, and take profit calculator directly on their chart.
✨ Features:
📌 Dynamic Lot Size Calculation – based on account capital, chosen risk %, and stop loss distance.
⚖️ Risk/Reward Management – automatically displays TP level using a customizable risk/reward ratio (e.g., 1:2, 1:3, etc.).
🛑 Stop Loss in Points & Price – calculates SL from recent M5 highs/lows, including spread.
🎯 Take Profit in Price & Points – automatically adjusted to your risk/reward ratio.
💵 Risk in USD – instantly shows how much capital is at risk per trade.
🕒 Custom Time Zone Support – displays the real trading time (default UTC-4 for New York), fully editable for any user.
⏱ Timeframe Label – clearly shows the working timeframe (M5 by default).
🎨 Fully Editable Display Panel:
Position (6 corners available).
Font family, size, style (bold/italic).
Text and background colors.
Adjustable spacing between lines.
🔑 How to Use:
Set your capital and risk % in the settings.
Adjust spread (in points) if needed.
Choose your risk/reward ratio.
The panel will display:
Recommended lot size for XAUUSD
Stop loss (price + points)
Take profit (price + ratio)
Risk in $
Timeframe & real-time clock
📍 Notes:
Optimized for XAUUSD (Gold) and the 5M timeframe.
Works on any asset/timeframe, but SL logic is based on M5 candle highs/lows.
Ideal for traders who want a fast and disciplined risk management tool right on their chart.
Snapfront Funding Stress IndexThe Funding Stress Index (FSI Lite) transforms raw funding rate data into a clear, intuitive stress gauge for crypto perpetual markets.
🔹 What it does:
Normalizes funding rates against their rolling baseline
Highlights extreme positive/negative funding as “stress zones”
Uses φ²-based coherence mapping for a sharper, sentiment-driven signal
Helps detect periods where traders are overpaying to stay long or short
🔹 How to use:
Add a Funding Rate feed (Bybit, Binance, OKX, etc.) to your chart.
Apply FSI Lite on top of it (Indicator on Indicator).
Watch stress levels as they enter:
🟢 High stress (positive funding) → longs paying shorts heavily, often overheated market.
🔴 Low stress (negative funding) → shorts paying longs, capitulation signals.
🟠 Neutral zone → balanced, less directional pressure.
🔹 Best for:
Identifying overheated long/short positioning
Timing entries around liquidation clusters
Adding funding context to your trading strategy
⚠️ Note: This is the Lite (free) version. It is educational only and not financial advice.
Optimized Trend-Momentum SignalsThis indicator combines trend, momentum, and volume-strength factors into a single buy/sell signal system. It integrates:
SMA 200 → Identifies the long-term trend (price above = bullish bias, below = bearish bias).
MACD (12,26,9) → Confirms momentum direction with line crossovers.
RSI (7) → Filters strength (above 50 = bullish, below 50 = bearish).
ROC (45) → Validates positive or negative rate of change.
Signal Logic:
Buy Signal → Price above SMA 200, MACD bullish, RSI > 50, and ROC > 0.
Sell Signal → Price below SMA 200, MACD bearish, RSI < 50, and ROC < 0.
Features:
Clear arrows for BUY and SELL signals.
Long-term SMA plotted for trend visualization.
Alerts built-in for real-time notifications.
This tool helps traders filter out noise and act only when all major confirmation factors align, reducing false signals and improving decision-making.
Trend and Entry Marker with MA, Supports, Fib, and Trend LinesJust a little indicator I made when I was bored ...
Helps you find entries for trades!
Lot Size & Risk Calculator [FunkyMax]🔹 Overview
This script is a lot size and risk management calculator directly integrated into your chart.
It automatically determines the optimal position size based on your account balance, chosen risk percentage, and stop-loss distance.
In addition to risk calculation, the script also displays Entry, Stop-Loss, and Take-Profit levels on the chart, along with a dashboard panel summarizing all key trading information:
Account balance
Selected risk %
Amount at risk
Optimal lot size
Stop & TP distances in pips
Risk/Reward ratios (R:R)
Potential profit for each TP
Contract size & pip size
🔹 Key Features
✅ Automatic lot size calculation based on:
Account balance
Risk %
Stop-Loss distance
✅ Clear visual display:
Dynamic labels for Entry, Stop, and TP (supports 1 or 2 TPs)
Colored lines (green for TP, red for SL, blue for Entry)
Profit/Loss zones filled on the chart
✅ Dashboard panel:
Compact summary displayed on-screen (position customizable)
Real-time automatic updates
✅ Automatic asset detection:
Forex: contract size = 100,000 (pip = 0.0001 or 0.01 for JPY pairs)
Gold (XAUUSD): contract size = 100 (pip = 0.1)
Indices & crypto: contract size = 1 (pip = 1.0)
Manual override available (custom contract & pip size)
✅ Multi-currency support:
Display in USD or EUR
🔹 How to Use
Add the indicator to your chart then define entry price, stop-loss, Take-Profit targets (TP1 & TP2) by clicking directly on chart. Then, configure settings of the indicator as needed :
1. Basic settings (Money Management tab):
Enter your account balance (e.g., $1000).
Select your risk percentage (e.g., 1%, 2%, 3%).
Choose your deposit currency (USD or EUR).
2. Trading levels (Levels tab):
Set your Entry price.
Define your Stop-Loss (SL).
Add up to two Take-Profit targets (TP1 / TP2).
3. Chart display:
Toggle levels on/off with Display TP & SL on chart.
Levels appear automatically with lot size and R:R ratio.
4. Dashboard (Dashboard tab):
Choose text size (Normal / Small).
Position the info panel anywhere (top/bottom/left/right).
🔹 Benefits
Time-saving: no more manual lot size calculations
Risk control: enforces consistent money management
Versatility: works across Forex, Gold, Indices, Crypto
Clarity: instant visualization of risk and potential reward
🔹 Limitations
Pip value may vary depending on your broker (CFDs, Futures, etc.). Double-check with your platform.
Educational purpose only: this script is not financial advice.
🔹 Author
Script developed and optimized by FunkyMax.
Multi-Asset Trend Background [SwissAlgo]Multi-Asset Trend Background
---------------------------------------------------------
Purpose
This indicator colors the chart background green (uptrend) or red (downtrend) to show the broad phases of a selected asset or ratio (for example SP500, or Gold), regardless of the current ticker on the chart (for example BTC).
The aim is not to generate signals, but to show when the selected asset (such as SP500 or Gold) was in a sustained uptrend or downtrend, so you can compare another chart (for example BTC) against that backdrop.
It helps frame price action in context, highlighting how macro drivers often align with or diverge from other markets.
From mid-2016 to late-2017, the SP500 was in a clear uptrend — Bitcoin rallied strongly in the same period, showing alignment between equities and crypto risk-taking.
When Gold trended higher, the SP500 often weakened, reflecting their tendency to move inversely in longer cycles.
As HYG/TLT turned down in early 2020, QQQ also struggled — illustrating how credit risk appetite is linked to equity performance.
During periods of DXY strength, Gold frequently showed the opposite trend, consistent with the historical dollar–gold relationship.
When RSP/SPY trended down, rallies in the S&P 500 were driven by a narrow group of large-cap stocks, while a rising ratio indicated broad market participation.
---------------------------------------------------------
Why it May Help You
Provides context for asset correlations.
Helps identify whether a chart is moving with or against its macro environment.
Useful for cycle mapping and historical study of market phases.
Filters noise and emphasizes established trends rather than short swings.
---------------------------------------------------------
How it Works
You select an asset or ratio from a dropdown.
The script calculates a mid-term moving average, then measures its slope, slope change, and slope acceleration to quantify the trend’s direction and consistency.
A longer-term moving average filter defines whether the long-term backdrop is bullish or bearish.
Background Coloring rules:
Green = slope strongly positive in line with long-term uptrend, or downtrend showing constructive reversal signs.
Red = slope strongly negative in line with long-term downtrend, or uptrend showing weakening slope.
No shading = neutral or mixed conditions.
This slope-based approach avoids the limitations of simple MA crosses, aiming to capture broad, consistent trend phases across different assets, with a mid/long-term view.
---------------------------------------------------------
Assets You Can Select
EQUITIES – good reference to gauge risk appetite in financial markets
SP500 = broad benchmark. Uptrend = strength in US equities signalling risk-on conditions; downtrend = weakness, risk-off market phase.
NASDAQ = tech and growth stocks. Uptrend = technology/growth leadership, risk appetite; downtrend = tech underperformance and fading risk appetite.
DOW = industrial and value stocks. Uptrend = industrial/value strength/economic strength; downtrend = weakness in traditional sectors and potential economic downturn.
RUSSELL2000 = small caps. Uptrend = typical in risk-on environments and FOMO; downtrend = small-cap underperformance, "flight to safety".
COMMODITIES – proxies for inflation, industry, and safe-haven demand.
GOLD = safe-haven. Uptrend = defensive demand rising/risk-off/inflation fears; downtrend = weaker demand for safety.
SILVER = partly industrial, partly safe-haven. Uptrend = stronger industrial cycle, or precious metals demand and risk appetite.
COPPER = industrial barometer. Uptrend = stronger industrial activity; downtrend = economic slowdown concerns.
CRUDE OIL = energy prices. Uptrend = rising energy/inflation pressures; downtrend = weaker demand or supply relief.
NATURAL GAS = volatile energy prices. Uptrend = higher energy costs and inflation pressure; downtrend = easing energy conditions.
BONDS / FX – monetary policy, credit, and risk appetite signals.
TLT = long-term US bonds. Uptrend = falling yields (bond demand)/flight to safety; downtrend = rising yields (risk on)
HYG = high-yield credit. Uptrend = strong credit appetite; downtrend = risk aversion in credit markets.
DXY = US dollar index. Uptrend = dollar strength (weaker EUR, GBP, SEK, etc); downtrend = dollar weakness.
USDJPY = carry trade proxy. Uptrend = stronger USD vs JPY (risk appetite); downtrend = JPY strength (risk-off).
CHFUSD = Swiss franc. Uptrend = franc strength (defensive flow); downtrend = franc weakness.
YIELD INVERSION = US10Y–US02Y. Uptrend = curve steepening; downtrend = inversion deepening (higher recession risk).
HOME BUILDERS = US housing sector. Uptrend = housing sector strength (risk on); downtrend = weakness (risk off).
EURUSD = euro vs dollar. Uptrend = euro strength (risk appetite); downtrend = euro weakness (risk aversion).
CRYPTO – digital asset benchmarks.
BITCOIN = digital gold. Uptrend = BTC strength; downtrend = BTC weakness.
CRYPTO_TOTAL = entire crypto market cap. Uptrend = broad crypto growth; downtrend = contraction.
CRYPTO_ALTS = altcoin market cap. Uptrend = altcoin expansion (often “alt season”); downtrend = contraction.
RATIOS – relative measures to extract macro signals.
COPPER/BTC = compares industrial cycle vs Bitcoin cycle. Uptrend = copper outperforming BTC; downtrend = BTC outperforming copper. Seems aligned with BTC macro tops and bottoms in the mid/long run.
RSP/SPY = market breadth (equal-weight vs cap-weighted). Uptrend = strong broad participation in market growth; downtrend = narrow leadership (fewer stocks leading the growth).
PCE/CPI = Fed’s inflation measure (PCE) vs consumer perceived inflation (CPI). Uptrend = PCE rising faster than CPI; downtrend = CPI running hotter than PCE. Fluctuates around 1; values above 1 may indicate hawkish Fed stands, values < 1 may indicate more dovish Fed stands.
HYG/TLT = credit vs bonds. Uptrend = risk appetite (high-yield outperforming long-term
treasury bonds); downtrend = risk aversion.
GOLD/SILVER = defensive vs cyclical metals. Uptrend = gold outperforming (risk-off tilt); downtrend = silver outperforming (risk-on tilt).
EURUSD/BTC = fiat vs crypto. Uptrend = EUR strengthening vs BTC; downtrend = BTC strengthening vs EUR. In general, the BTC trend is aligned EUR/USD trend.
---------------------------------------------------------
Limitations
Trend detection may lag by design to reduce noise.
Ratios rely on the availability and session rules of their components.
Background colors update on bar close; intra-bar values may differ.
Parameters are fixed and may not suit all assets equally.
---------------------------------------------------------
Disclaimer
This script is for educational and research purposes only. It does not provide financial advice or trade recommendations. Historical trend alignment does not guarantee future outcomes. Use with additional independent analysis.
Staggered Exponential PullbacksIndicator Description: Staggered Exponential Pullbacks (Final)
Core Concept
This indicator is designed to dynamically track and visualize price pullbacks from a recent high. It serves as an intelligent alert system and a tool for visualizing potential support levels that follow a predefined, non-linear logic.
Instead of a fixed percentage interval, the indicator calculates the levels based on a fixed, exponentially increasing sequence of percentages. The distance between the levels increases as the price falls further. This models a strategy where larger price movements are tolerated as a pullback deepens before the next signal level is reached. The basis for this calculation is always the highest close of the last x candles.
Key Features
This indicator goes far beyond a simple calculation, offering a range of intelligent features for professional use:
Cascading, Fixed Levels: The levels are based on a fixed sequence of percentage distances (3.0%, 3.6%, 4.3%, etc.), where each new level is calculated from the previous level.
Persistent Support Levels ("Floors"): Once an alert level is breached, it transforms into a fixed support line ("floor"). This line will never move down, even if the market high subsequently drops.
Automatic Upward Adjustment: Established floors are automatically pulled upwards when the market shows new strength and makes higher highs. A once-reached -3% floor will therefore rise with the market.
Intelligent, Self-Cleaning Reset Logic: The indicator recognizes when a pullback sequence has ended and a new one has begun. "Ghost lines" from old, irrelevant price movements are automatically removed from the chart to ensure maximum clarity.
Cascade-Proof Alerts: Even during extremely fast sell-offs that break through multiple levels in a single candle, the indicator correctly captures every single level breach.
Customizable Visualization: All key parameters, such as the lookback period and the colors of the lines, can be easily adjusted in the settings.
Visual Elements on the Chart
The Orange Line (Highest Close): This is the reference line. It always shows the highest closing price within the defined lookback period and has a step-line shape.
The 'Floor' Lines (Default: Yellow): These are solid lines that indicate which percentage levels have already been breached in the current sequence. They function as established support levels.
The 'Next Due' Line (Default: Purple): This is a step-line that displays the next expected alert level. It moves dynamically with the calculation. As soon as the price crosses this line, an alert is triggered, and it transforms into a yellow "Floor" line.
Settings (Inputs)
Number of Candles (Lookback): Defines how many past candles are used to determine the highest closing price.
Displayed Alert Levels (Max 10): Determines the maximum number of levels the indicator will calculate and display.
Color of Floors: Allows you to freely choose the color for the solid, established support lines.
Color of Next Due Line: Allows you to freely choose the color for the next, untriggered alert line.
Setting Up Alerts (Important!)
Since the indicator uses dynamic alert messages, the alert must be set up as follows:
Add the indicator to the chart.
Click the clock icon ("Alert") in the top toolbar.
In the "Condition" field, select the name of this indicator: Staggered Exponential Pullbacks.
In the second dropdown menu, you must select the option "Any alert() function call".
Message: The message box can be left empty. The indicator automatically generates a detailed message (e.g., "Price Alert: Level 2 (3.6%) reached!").
Click "Create".
You only need one single alert to cover all 10 levels.
Important Disclaimer: Not Financial Advice
This indicator is purely a technical analysis tool for visualizing price movements. The displayed lines and triggered alerts do not constitute buy or sell recommendations and are not a form of financial or investment advice. They serve for informational and analytical purposes only.
Trading decisions based on the information from this indicator are made solely at your own risk and responsibility. The author and developer of this script assume no liability for any trading losses. Always conduct your own comprehensive analysis and, if necessary, consult a qualified financial advisor before making any trading decisions.
Two-Phase Adaptive System | AlphaNattTwo-Phase Adaptive System (TPAS) - Professional Grade Crypto Allocation Framework
A groundbreaking dual-strategy system that revolutionizes portfolio management through dynamic performance-based strategy selection
═══════ REVOLUTIONARY APPROACH ═══════
This indicator represents an entirely original methodology in systematic trading - a true first-of-its-kind approach that fundamentally reimagines how allocation strategies should operate. Unlike any other system available on TradingView, TPAS employs a proprietary dual-engine architecture that continuously evaluates two independent trading methodologies and dynamically allocates capital based on their relative performance dynamics.
What Makes This Absolutely Unique:
Performance-Based Strategy Selection: Instead of using static rules or market conditions to choose strategies, TPAS analyzes the real-time equity curves of both systems
Dual-Engine Architecture: Two complete trading systems run simultaneously, each with distinct market philosophies and risk profiles
Adaptive Switching Mechanism: Proprietary algorithm that determines optimal transition points between strategies
No comparable system exists that combines performance-relative switching with dual independent strategy engines
THE TWO SYSTEMS
The innovation lies not in the individual strategies, but in the revolutionary framework that allows them to work in concert, automatically selecting the optimal approach for current market dynamics
1. Tactical System (Defensive Core)
Multi-layered market regime analysis
Complex trend indicator synthesis from multiple timeframes
Defensive positioning with strict cash management protocols
Prioritizes capital preservation during uncertain conditions
Incorporates over 20 proprietary market indicators
2. Momentum System (Growth Engine)
Trend-following methodology optimized for sustained moves
Statistical deviation analysis for entry/exit timing
Aggressive positioning during confirmed uptrends
Designed to capture major market movements
Streamlined signal generation for rapid response
DYNAMIC ALLOCATION MECHANISM
The system's crown jewel is its adaptive selection algorithm:
Continuously calculates equity curves for both strategies
Computes performance ratio between systems
Applies proprietary smoothing algorithms to identify regime changes
Automatically switches to the outperforming strategy
Maintains position continuity during transitions
ASSET UNIVERSE & ROTATION
Bitcoin (BTC): The market beta and defensive allocation
Ethereum (ETH): Smart contract ecosystem exposure
Solana (SOL): High-performance blockchain allocation
Cash Position: Strategic capital preservation when conditions deteriorate
The system employs sophisticated relative strength analysis between asset pairs (BTC/ETH, ETH/SOL, BTC/SOL) to determine optimal positioning within each strategy framework.
VISUAL INTELLIGENCE
Dual-layer equity curve with enhanced glow visualization
Real-time system state indicator showing active strategy
Portfolio allocation display with current positions
Comprehensive metrics dashboard (Sharpe, Sortino, Omega, Maximum Drawdown)
Bitcoin buy-and-hold benchmark for performance comparison
Color-coded position indicators for instant visual feedback
RISK MANAGEMENT PHILOSOPHY
The system operates on the principle that avoiding losses is more important than capturing gains . Both engines incorporate independent risk controls, position limits, and systematic cash allocation protocols that activate during adverse conditions.
═══════ CRITICAL DISCLAIMERS ═══════
BACKTEST LIMITATIONS:
Past performance does NOT indicate future results
Historical backtests assume perfect execution without slippage
Real-world trading involves costs, delays, and market impact
Cryptocurrency markets have evolved significantly - past patterns may not repeat
Backtested results often overstate actual achievable returns
System performance during unprecedented market conditions is unknown
Important Operational Notes:
This is a signal indicator only - NOT an automated trading bot
Requires manual trade execution based on generated signals
Designed exclusively for daily timeframe analysis
Signals fire at daily close - not intraday
Best suited for position traders and long-term investors
Not appropriate for leverage trading or short-term speculation
WHO THIS IS FOR
Sophisticated traders seeking systematic crypto exposure
Investors who understand the importance of adaptive strategies
Those who prioritize risk-adjusted returns over raw performance
Users who value transparency and detailed performance metrics
Traders comfortable with daily rebalancing requirements
WHO THIS IS NOT FOR
Day traders or scalpers
Those seeking guaranteed returns
Traders unable to execute daily rebalancing
Anyone expecting fully automated trading
CONFIGURATION PARAMETERS
While the core algorithm is proprietary and fixed, users can adjust:
Backtest start date
Strategy selection sensitivity (advanced users only)
Various display options
ACCESS & SUPPORT
This is an invite-only indicator due to its sophisticated nature and computational requirements. For access requests, please send a private message
Final Note:
This system represents months of research, development, and optimization. It is not a "get rich quick" solution but rather a sophisticated framework for those who understand that successful trading requires patience, discipline, and proper risk management.
---
Version 1.0 | Created by AlphaNatt | All Rights Reserved
Not financial advice
Index Position Size Calculator for [US30 / US100 / SP500]What it does
This tool helps you size positions consistently for index trades on US30 (Dow Jones), NAS100 (Nasdaq-100), and SP500 (S&P 500). Enter your account balance, risk %, and your planned Entry / Stop-Loss / Target and the script calculates:
• Position Size (rounded to your lot/contract step)
• Risk-to-Reward (R/R)
• Potential P/L in USD based on your inputs
• Visual Entry / SL / TP lines with green/red zones and concise labels
Supported contract styles
Choose a preset for common products (e.g., CFD $1/pt, YM/NQ/ES futures, MYM/MNQ/MES micros) or override the economics yourself. You remain in control of the two key levers:
• $/point — how many dollars you gain/lose per 1 index point per contract/lot
• Point size — how many price units equal 1 index point on your chart (often 1.0, but some brokers use 0.1 or 0.5)
Inputs
• Account Balance ($) and Risk % per trade
• Index: US30 / NAS100 / SP500
• Contract: CFD / Futures (YM, NQ, ES) / Micros (MYM, MNQ, MES)
• $/point: auto from Contract or manual override
• Point size: auto from Index or manual override
• Position size step: rounding (e.g., 1 for futures, 0.01 for CFDs)
• Entry / SL / TP: typed values (snapped to tick), with on-chart zones and labels
• Display toggles for lines and labels
How the math works
• StopPoints = |Entry − SL| ÷ PointSize
• ProfitPoints = |TP − Entry| ÷ PointSize
• Position Size = (AccountBalance × Risk%) ÷ (StopPoints × $/point)
• R/R = ProfitPoints ÷ StopPoints
• Potential P/L = PositionSize × Points × $/point
How to use (quick start)
1. Select Index and Contract.
2. Confirm $/point and Point size match your broker’s specs.
3. Enter Entry / SL / TP for the trade idea.
4. Read the Position Size, R/R, and Potential P/L in the info box.
5. Adjust for fees, spreads, and slippage as needed.
Notes & limitations
• Broker symbols can vary. Always verify $/point and Point size for your instrument before risking capital.
• The script does not place orders and does not generate trade signals; it’s a sizing/visualization tool.
• Results can differ across brokers due to pricing, spreads, minimum lot sizes, and execution rules.
• Use on the intended indices; you’ll see a reminder if you load it elsewhere.
Changelog highlights
• Pine v6, constant-safe inputs, tick-snapping, global fills (no local-scope errors).
• Robust label handling and optional minimal chart markers.
Disclaimer
This script is provided for educational purposes only and does not constitute financial advice or a recommendation to buy or sell any security or derivative. Trading involves risk, including the possible loss of principal. Always do your own research, verify contract specifications with your broker, and consider testing in a demo environment before trading live.
Macro Pulse Dashboard [SwissAlgo]Macro Pulse Dashboard
What is it?
The Macro Pulse Dashboard is a multi-asset performance dashboard designed to give traders and investors a quick snapshot of global market conditions. The indicator tracks price and momentum across crypto, equities, sectors, commodities, bonds, and macro indicators—considering multiple timeframes—in one color-coded table with a trend indication for each asset.
Purpose
Give you a fast, single-glance read of global markets so you can gauge whether conditions are broadly risk-on or risk-off and where strength/weakness clusters across markets.
Who it’s for
Traders and investors who want a clear, beginner-friendly macro overview to frame ideas and risk, without digging through multiple charts.
Why this may help you
Gives context fast : before focusing on one chart, you see the broader environment. This can help avoid trades that fight the macro tide.
Reduces noise : instead of jumping between watchlists and windows, you get a single, consistent view each day.
Improves decision quality : aligning ideas with the table’s short-term and medium-term bias can assist with timing and position sizing.
Builds routine : spend 30 seconds at the open scanning for agreement or conflict across crypto, equities, sectors, commodities, bonds, and macro gauges. If signals are mixed, consider waiting or sizing down; if they align, proceed with your plan.
Beginner-friendly : clear green/red percentages and a simple Trend icon make it easy to interpret without advanced indicators. The trend is determined using a simplified rule in this version.
What’s included
Crypto (BTC/ETH, dominance, total/alt caps), equity indices (US futures, Europe 50, FTSE, HSI, Nikkei, Nifty), US sectors (XLK, SOXX, ARKK, XLY, XLV), commodities (Gold, Silver, WTI, Nat Gas), bonds/credit ETFs (SHY, IEF, TLT, LQD, HYG, AGG, EMB), and macro gauges (US10Y, DXY, EURUSD, VIX).
Columns
Price/Value, % change over 1D, 1W, 2W, 1M, YTD, plus a simple trend glyph (▲ up, ▼ down, ◆ mixed).
Trend logic
The Trend icon is a simple overview (not a signal): ▲ if both short-term (1W) and 1M changes are positive, ▼ if both are negative, ◆ otherwise.
How numbers are computed
All changes use the last completed daily close.
1D = change since the prior daily close.
1W/2W/1M: crypto uses 7/14/30 calendar days; other assets use 5/10/21 trading sessions.
YTD compares to the first daily close of the year.
Prices show a $ prefix where applicable and are compacted (M/B/T).
Repainting
The table uses daily data with lookahead_off and updates only after the daily bar completes. It does not repaint intrabar.
Settings
Anchor (top-left) and Table Size (Small/Normal/Large).
Notes
Informational/educational tool only. Not trading advice. No buy/sell signals or alerts are generated.
Symbols depend on TradingView data availability; if a symbol isn’t accessible on your plan, that row will show “—”.
LEAP Put Edge — Top Risk Oscillator (v6, divergences + HTF)Pinpoint market tops with precision — a composite oscillator built to spot exhaustion, bearish divergences, and high-probability LEAP Put entry zones.
The LEAP Put Edge — Top Risk Oscillator is designed specifically to help identify high-probability entry points for long-dated Put options (LEAPs) by highlighting exhaustion at market tops. Unlike generic overbought/oversold tools, it combines slower MACD and DMI/ADX for trend quality, RSI and Stochastic RSI for momentum extremes, volume spike and upper-wick exhaustion signals for capitulation risk, and optional bearish divergences in RSI and MACD to confirm weakening strength. The output is a smoothed composite score scaled from -100 to +100, where higher values indicate rising top-risk and bearish edge conditions. Clear thresholds, color-coded plots, and built-in alerts make it straightforward and practical for traders seeking simple, actionable signals to time Put entries with confidence.
Trade Calculator {Phanchai}Trade Calculator 🧮 {Phanchai} — Documentation
A lightweight sizing helper for TradingView that turns your risk per trade into an estimated maximum nominal position size — using the most recent chart low as your stop reference. Built for speed and clarity right on the chart.
Key Features
Clean on-chart info table with configurable font size and position.
Row toggles: show/hide each line (Price, Last Low, Risk per Trade, Entry − Low, SL to Low %, Max. Nominal Value in USDT).
Configurable low reference: Last N bars or Running since load .
Low label placed exactly at the wick of the lowest bar (no horizontal line).
Custom padding: add extra rows above/below and blank columns left/right (with custom whitespace/text fillers) to fine-tune layout.
Integer display for Risk per Trade (USDT) and Max. Nominal Value (USDT); decimals configurable elsewhere.
Open source script — easy to read and extend.
How to Use
Add the indicator: open TradingView → Indicators → paste the source code → Add to chart.
Pick your low reference in settings:
Last N bars — uses the lowest low within your chosen lookback.
Running since load — tracks the lowest low since the script loaded.
Set your capital and risk:
Total Capital — your account size in USDT.
Max. invest Capital per Trade (%) — your risk per trade as a percent of Total Capital.
Tidy the table:
Use Table Position and Table Size to place it.
Add Extra rows/columns and set left/right fillers (spaces allowed) for padding.
Toggle individual rows (on/off) to show only what you need.
Read the numbers:
Act. Price in USDT — current close.
Last Low in USDT — stop reference price.
Risk per Trade — whole-USDT value of your risk budget for this trade.
Entry − Low — absolute risk per unit.
SL to Low (%) — percentage distance from price to low.
Max. Nominal Value in USDT — estimated max nominal position size given your risk budget and stop at the low.
Scope
This calculator is designed for long trades only (stop below price at the chart low).
Notes & Assumptions
Does not factor fees, funding, slippage, tick size, or broker/venue position limits.
“Running since load” updates as new lows appear; “Last N bars” uses only the selected lookback window.
If price equals the low (zero distance), sizing will be undefined (division by zero guarded as “—”).
Risk Warning
Trading involves substantial risk. Always double-check every value the calculator shows, confirm your stop distance, and verify position sizing with your broker/platform before entering any order. Never risk money you cannot afford to lose.
Open Source & Feedback
The source code is open. If you spot a bug or have an idea to improve the tool, feel free to share suggestions — I’m happy to iterate and make it better.
Weekly pecentage tracker by PRIVATE
Settings Picture below this link: 👇
i.ibb.co
What it is
A lightweight “Weekly % Tracker” overlay that lets you manually enter weekly performance (in percent) for XAUUSD + up to 10 FX pairs, then shows:
a small table panel with each enabled symbol and its % result
one TOTAL row (Sum / Average / Compounded across all enabled symbols)
an optional mini badge showing the % for a single selected symbol
Nothing is auto-calculated from price—you type the % yourself.
Key settings
Panel: show/hide, position, number of decimals, colors (background, text, green/red).
Total mode:
Sum – adds percentages
Average – mean of enabled rows
Compounded –
(
∏
(
1
+
𝑝
/
100
)
−
1
)
×
100
(∏(1+p/100)−1)×100
Symbols:
XAUUSD (toggle + label + % input)
10 FX pairs (each has On/Off, label text, % input). You can rename labels to any symbol text you want.
Mini badge: show/hide, position, and symbol to display.
How it works
Overlay indicator: overlay=true; just draws UI on the chart (no plots).
Arrays (syms, vals, ons) collect the row data in order: XAU first, then FX1…FX10.
Helpers:
posFrom() converts a position string (e.g., “Top Right”) into a position.* constant.
wp_col() picks green/red/neutral based on the sign of the %.
wp_round() rounds values to the selected decimals.
calc_total() computes the TOTAL with the chosen mode over enabled rows only.
Table creation logic:
Counts how many rows are enabled.
If none enabled or panel is off: the panel table is deleted, so no box/background is visible.
If enabled and on: the panel is (re)created at the chosen position.
On each last bar (barstate.islast), it clears the table to transparent (bgcolor=na) and then fills one row per enabled symbol, followed by a single TOTAL row.
Mini badge:
Always (re)created on position change.
Shows selected symbol’s % (or “-” if that symbol isn’t enabled or has no value).
Colors text green/red by sign.
Notes & limits
It’s manual input—the script doesn’t read trades or P/L from price.
You can rename each row’s label to match any symbol name you want.
When no rows are enabled, the panel disappears entirely (no empty background).
Designed to be light: only draws tables; no heavy plotting.
If you want the TOTAL row to be optional, or different color thresholds, or CSV-style export/import of the values, say the word and I’ll add it.