Swing Trader's Buy Signal
A Buy or Strong Buy signal triggers when multiple independent technical factors align simultaneously. Instead of relying on a single indicator (which often produces false signals), this dashboard evaluates confluent technical layers: Macro Trend, Short-Term Momentum, Institutional Volume, and Relative Strength.
Breakdown of Dashboard Elements
Trend (Overall Structure)
What it checks: Confirms whether Price > SMA20 > SMA50 > SMA200.
Why it triggers a Buy: Institutional traders trade in the direction of the macro trend. A bullish trend hierarchy ensures you are not buying into a falling knife or fighting a broader downtrend.
RSI (Relative Strength Index)
What it checks: Measures price momentum speed (RSI > 50 gives +1 pt, RSI > 60 gives +1 pt).
Why it triggers a Buy: An RSI above 50 indicates buyers are in control of momentum. Crossing above 60 signifies accelerating momentum without entering extreme overbought exhaustion.
Stoch RSI (Stochastic RSI Crossover)
What it checks: Evaluates if the Fast line %K is above %D (k > d) and recovering from oversold territory (k > 20).
Why it triggers a Buy: RSI provides the macro momentum, but Stoch RSI provides precise swing timing. A bullish %K > %D crossover pinpoints the exact moment a brief pullback ends and the upward swing resumes.
RS vs SPY (Relative Strength vs. Benchmark)
What it checks: Compares the asset's performance directly against the market index (AMEX:SPY).
Why it triggers a Buy: Outperforming stocks lead market rallies. Positive RS momentum (+1 to +2 pts) confirms that institutions are actively accumulating this specific asset faster than the broader market.
Price > SMA20 (Short-Term Trend Filter)
What it checks: Verifies if current price is trading above its 20-period Simple Moving Average.
Why it triggers a Buy: The 20 SMA represents the short-term swing baseline. Trading above it confirms immediate buyer control and validates short-term breakout momentum.
Price > SMA50 (Medium-Term Trend Filter)
What it checks: Verifies if current price is trading above its 50-period Simple Moving Average.
Why it triggers a Buy: The 50 SMA is the primary benchmark for institutional support. Staying above this level proves medium-term pullbacks are being bought rather than sold.
Volume (Institutional Participation)
What it checks: Compares current bar volume against its 20-period average (HIGH = >120%, VERY HIGH = >150%).
Why it triggers a Buy: Price moves without high volume lack conviction. Above-average volume confirms "smart money" accumulation, providing the fuel required for a sustained breakout.
Score (Confluence Aggregator)What it checks: Sums up the binary conditions across all indicators (Maximum score = 11).
Why it triggers a Buy: A BUY requires a score $\ge 7$ alongside an early bull trend, while a STRONG BUY requires a score $\ge 9$ with fully aligned trends, relative strength, and RSI momentum. This eliminates guesswork by requiring a strict mathematical majority of positive technical factors before triggering an entry.
Indicator

Rolling LTM EPS Growth (YoY)This indicator tracks how a company's earnings power is actually growing on a rolling twelve-month basis — the same trailing-twelve-month (TTM/LTM) lens fundamental analysts use, plotted right on your chart.
What it calculates
LTM EPS — the sum of the last 4 reported quarters of EPS (a full rolling year of earnings).
Prior LTM EPS — the sum of the 4 quarters ending one year earlier (quarters 5–8).
YoY LTM Growth % — (LTM EPS ÷ Prior LTM EPS − 1) × 100.
Because it rolls quarter-by-quarter, you get a smooth, seasonality-adjusted read on whether earnings are accelerating or decelerating — updated on each new earnings release rather than once a year.
How to read it
Green columns = LTM earnings are growing versus a year ago; red = shrinking.
The dashed zero line marks the flat/no-growth boundary.
The info table (top-right by default) shows the current LTM EPS, Prior LTM EPS, and the growth %, so you can see the raw numbers behind the bar.
Settings
EPS source: Actual reported or Standardized.
Plot style: Columns or Line.
Table: toggle on/off and choose its corner.
Notes & limitations
Works on individual stocks that have earnings data (not indices, FX, or crypto).
Needs 8 reported quarters of history to display, so it shows "n/a" until roughly two years of earnings are loaded on the chart.
When the prior-year base is zero or negative (e.g. a company coming out of losses), the YoY % becomes mathematically misleading, so it's shown as n/a on purpose — the table still displays the raw LTM values so you can judge the turnaround yourself.
On forward estimates (NTM): a true rolling next-twelve-month consensus EPS isn't reliably available in Pine Script, so this version focuses on realized (reported) earnings. The code includes a commented hook for adding an NTM/LTM estimate-change line if you wire in your own forward-estimate source.
This indicator is for informational and educational purposes only and is not financial advice. Indicator

BTC Correlation - short clubBTC Correlation % — Indicator Description
Author: Short Club / @DemianNagoga
Version: Pine Script v6
Type: Indicator (non-overlay, separate pane)
Overview
The BTC Correlation % indicator measures how closely an altcoin's price movements follow Bitcoin in real time. It uses Pearson correlation on 1-bar rate-of-change (RoC) values over a configurable lookback window, giving you a clear signal of whether the altcoin is riding BTC's coattails or moving independently.
How It Works
RoC Calculation — Computes the 1-bar % change for both the current chart symbol and BTC.
Pearson Correlation — Runs ta.correlation() over the user-defined lookback (default 50 bars).
Percentage Scale — Multiplies the correlation coefficient by 100, yielding a range from −100% to +100%.
Color-Coded Columns — The histogram is split into four segments, each plotted as a separate column-style plot for clean color separation.
Color Zones & Interpretation
Zone Range Meaning
🟢 Green > 70% High correlation — altcoin closely follows BTC
🟡 Yellow 30–70% Moderate correlation — partial BTC influence
⚪ Gray 0–30% Weak correlation / decoupling — altcoin lives its own life
🔴 Red < 0% Inverse correlation — altcoin moves opposite to BTC
A dashed zero line sits at 0% for visual reference.
On-Chart Table
A small overlay table (position configurable: top-right, top-left, bottom-right, bottom-left) displays:
Ticker — current chart symbol
BTC Corr. — current correlation value in % (color-coded by zone)
Rating — qualitative label: Strong (>70%), Moderate (30–70%), Weak (0–30%), Inverse (<0%)
Input Parameters
Parameter Default Description
BTC Symbol BINANCE:BTCUSDT.P BTC pair used as benchmark
Correlation Lookback 50 Number of bars for Pearson correlation
Show Table true Toggle the on-chart info table
Show Correlation Line true Toggle the histogram columns
Table Position top_right Placement of the info table
Use Cases
Altcoin scalping — Know instantly whether your alt is following BTC or running on its own catalyst.
Decoupling detection — Gray zone = potential breakout candidate independent of BTC direction.
Hedging signals — Red zone (inverse) = altcoin moving opposite to BTC; useful for pairs or hedging.
Swing context — Avoid fading BTC trend on a highly-correlated alt; size down when correlation drops.
Credits
Built for the Short Club community. If you reuse or build upon this script, please credit @DemianNagoga. Indicator

Indicator

Financials on a timescaleDescription:
This indicator displays key financial metrics of a stock over time as individual lines in a separate pane. It allows you to see at a glance how a company's fundamentals have developed – without switching to the financials tab.
What the Indicator Shows
The four main metrics are displayed by default: Book Value (Equity) in blue, Total Debt in red, Net Income in green, and Total Revenue in fuchsia. An additional nine metrics can be enabled in the settings, including Gross Profit, EBITDA, Operating Income, Free Cash Flow, Operating Cash Flow, Total Assets, Total Liabilities, and Research & Development. A dotted zero line helps with orientation. The indicator uses PulseWire's volume format, which automatically scales values to K, M, or B for better readability.
Settings
The reporting period can be switched between Fiscal Year (FY), Fiscal Quarter (FQ), and Trailing Twelve Months (TTM). Note that balance sheet items (Book Value, Debt, Assets, Liabilities, R&D) do not support TTM – the indicator automatically falls back to FQ for these metrics. Line width is adjustable from 1 to 5. Each metric can be individually toggled on or off, and its color can be customized.
Usage Notes
The indicator only works for stocks with available fundamental data and is most useful on the daily or weekly chart. Financial data is typically updated with a delay after earnings releases, so the most recent bar may not reflect the latest quarter until PulseWire updates its database. Comparing revenue and earnings lines over multiple years can help visualize growth trends, while the relationship between equity and debt provides a quick view of the balance sheet structure.
Important Note
This indicator is for informational and educational purposes only and does not constitute investment advice or a buy/sell recommendation. Financial metrics alone should never be the sole basis for investment decisions – they should always be evaluated in the context of the business model, industry dynamics, and future outlook. Fundamental data is provided by PulseWire; no guarantee is given for its accuracy or completeness.
Financials – Buchwert · Schulden · Gewinn · Umsatz
Beschreibung:
Dieser Indikator stellt die wichtigsten Fundamentalkennzahlen einer Aktie als einzelne Linien in einem eigenen Fenster dar. So lässt sich auf einen Blick erkennen, wie sich die Finanzdaten eines Unternehmens über die Zeit entwickelt haben – ohne in den Finanzdaten-Tab wechseln zu müssen.
Was der Indikator zeigt
Standardmäßig werden die vier Hauptkennzahlen dargestellt: der Buchwert (Eigenkapital) in Blau, die gesamten Schulden in Rot, der Nettogewinn in Grün und der Umsatz in Pink. Neun weitere Kennzahlen lassen sich in den Einstellungen zuschalten: Bruttogewinn, EBITDA, Operatives Ergebnis, Free Cashflow, Operativer Cashflow, Bilanzsumme (Vermögen), Verbindlichkeiten gesamt sowie Forschung & Entwicklung. Eine gepunktete Nulllinie dient der Orientierung. Der Indikator verwendet das Volumenformat von PulseWire, das die Werte automatisch in K, Mio. oder Mrd. skaliert.
Einstellmöglichkeiten
Der Berichtszeitraum lässt sich zwischen Geschäftsjahr (FY), Quartal (FQ) und den letzten zwölf Monaten (TTM) umschalten. Bilanzpositionen (Buchwert, Schulden, Vermögen, Verbindlichkeiten, F&E) unterstützen kein TTM – hier wird automatisch FQ verwendet. Die Linienstärke ist von 1 bis 5 einstellbar. Jede Kennzahl kann einzeln ein- oder ausgeschaltet und farblich angepasst werden.
Hinweise zur Nutzung
Der Indikator funktioniert nur bei Aktien mit verfügbaren Fundamentaldaten und ist am sinnvollsten auf dem Tages- oder Wochenchart. Fundamentaldaten werden in der Regel mit Verzögerung nach Quartalsberichten aktualisiert, sodass der aktuellste Balken möglicherweise noch nicht das letzte Quartal widerspiegelt. Der Vergleich von Umsatz- und Gewinnlinien über mehrere Jahre kann Wachstumstrends sichtbar machen, während das Verhältnis von Eigenkapital zu Schulden einen schnellen Blick auf die Bilanzstruktur erlaubt.
Wichtiger Hinweis
Dieser Indikator dient ausschließlich Informations- und Bildungszwecken und stellt keine Anlageberatung oder Kauf-/Verkaufsempfehlung dar. Einzelne Fundamentalkennzahlen sollten niemals die alleinige Grundlage für Anlageentscheidungen sein, sondern stets im Zusammenhang mit dem Geschäftsmodell, der Branchendynamik und den Zukunftsaussichten betrachtet werden. Die Fundamentaldaten werden von PulseWire bereitgestellt; für deren Richtigkeit und Vollständigkeit wird keine Gewähr übernommen. Indicator

Indicator

Historical P/E Ratio with Average Line**Description:**
This indicator plots a stock's price-to-earnings (P/E) ratio over time and adds an average line. It lets you see at a glance whether a company is currently valued more expensively or more cheaply than its historical norm.
**What the indicator shows**
The blue line shows the historical P/E ratio, calculated as the current price divided by earnings per share. The orange line represents the average — either as an overall average across the entire available history, or as a moving average over an adjustable number of bars. A small info box in the top right summarizes the current P/E value and the average.
**Settings**
The calculation period can be set to TTM (trailing twelve months), fiscal year (FY), or quarter (FQ). The average type can be switched between overall average and moving average, whose length is freely adjustable. An outlier filter hides extreme P/E spikes that occur during periods of very low earnings and would otherwise distort the scale.
**Usage notes**
The indicator only works with stocks that have available fundamental data and is most useful on the daily or weekly chart. During loss periods with negative earnings, the P/E ratio is undefined and is deliberately not displayed. The overall average is calculated across the history loaded in the chart — the more history is visible, the more meaningful the average line becomes.
**Disclaimer**
This indicator is provided for informational and educational purposes only and does not constitute investment advice or a buy/sell recommendation. A P/E ratio above or below its historical average is not a buy or sell signal in itself and should always be considered together with the business model, growth expectations, and industry context. Fundamental data is provided by PulseWire; no guarantee is made as to its accuracy or completeness.
---
**Beschreibung:**
Dieser Indikator stellt das Kurs-Gewinn-Verhältnis (KGV) einer Aktie über die Zeit dar und ergänzt es um eine Durchschnittslinie. So lässt sich auf einen Blick erkennen, ob ein Unternehmen aktuell teurer oder günstiger bewertet ist als im historischen Mittel.
**Was der Indikator zeigt**
Die blaue Linie zeigt das historische KGV, berechnet aus dem aktuellen Kurs geteilt durch den Gewinn je Aktie. Die orange Linie stellt den Durchschnitt dar – wahlweise als Gesamtdurchschnitt über die gesamte verfügbare Historie oder als gleitender Durchschnitt über eine einstellbare Anzahl von Bars. Eine kleine Info-Box rechts oben fasst den aktuellen KGV-Wert und den Durchschnitt zusammen.
**Einstellmöglichkeiten**
Berechnungsperiode wählbar zwischen TTM (letzte zwölf Monate), Geschäftsjahr (FY) und Quartal (FQ). Der Durchschnittstyp lässt sich zwischen Gesamtdurchschnitt und gleitendem Durchschnitt umschalten, dessen Länge frei einstellbar ist. Ein Ausreißer-Filter blendet extreme KGV-Spitzen aus, die bei sehr niedrigen Gewinnen entstehen und die Skala sonst verzerren würden.
**Hinweise zur Nutzung**
Der Indikator funktioniert nur bei Aktien mit verfügbaren Fundamentaldaten und ist am sinnvollsten auf dem Tages- oder Wochenchart. In Verlustphasen mit negativem Gewinn ist das KGV nicht definiert und wird bewusst nicht dargestellt. Der Gesamtdurchschnitt wird über die im Chart geladene Historie gebildet – je mehr Historie sichtbar ist, desto aussagekräftiger ist die Durchschnittslinie.
**Wichtiger Hinweis**
Dieser Indikator dient ausschließlich Informations- und Bildungszwecken und stellt keine Anlageberatung oder Kauf-/Verkaufsempfehlung dar. Ein KGV über oder unter dem historischen Durchschnitt ist für sich genommen kein Kauf- oder Verkaufssignal, sondern sollte stets im Zusammenhang mit dem Geschäftsmodell, der Wachstumserwartung und dem Branchenumfeld betrachtet werden. Fundamentaldaten werden von PulseWire bereitgestellt; für deren Richtigkeit und Vollständigkeit wird keine Gewähr übernommen.
Indicator

Indicator

Indicator

Indicator

U.S. Treasury Bills Held Outright | Astral Vision U.S. Treasury Bills Held Outright | Astral Vision 🌠💠
Treasury Bills Held Outright represents the stock of short-term US government securities held directly on the Federal Reserve's balance sheet.
Expansions of this holding reflect active Fed intervention in the short-term debt market, injecting liquidity into the financial system. Contractions signal withdrawal. Because T-Bills are the shortest-duration instrument the Fed holds, changes in this series respond faster than broader balance sheet metrics and can serve as an early read on the direction of monetary conditions.
This indicator plots the weekly WSHOBL series from FRED and colors it by whether its 10-bar rate of change is above a configurable growth threshold, distinguishing active expansion phases from stagnation or contraction. The same regime is projected onto the price chart as a background highlight.
Calculation ⚙️
`ROC = (val − val ) / |val |`
The signal colors positive when ROC exceeds the configured threshold, indicating active T-Bill accumulation by the Fed. Below the threshold the signal turns negative. Data is pulled weekly from FRED on confirmed closed bars.
Plots 📊
Weekly WSHOBL line in the indicator panel, colored by ROC regime
Background highlight on the price chart during active expansion phases (toggleable transparency)
Inputs 🎛️
`Overlay BG Transparency`: opacity of the price chart background highlight during expansion
Colors 🎨
5 Astral Vision presets + custom override. Default: Paradiso. Positive color activates when the rate of change exceeds the growth threshold; negative color applies otherwise.
Purpose 🎯
Most Fed balance sheet indicators track total assets or reserves, series that move slowly and are dominated by longer-duration holdings like MBS and Treasuries.
T-Bills Held Outright is a narrower and more reactive slice of the balance sheet that captures short-term liquidity operations directly.
When the Fed is actively accumulating T-Bills, it is injecting short-duration liquidity into the system, a condition that has historically been favorable for risk assets including Bitcoin.
This indicator makes that dynamic visible on any chart without requiring manual cross-referencing of FRED data.
Disclaimer ⭕️
It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision. Indicator

Indicator

Indicator

Long-Term Growth Stock ScorerLong-Term Growth Stock Scorer plots a 7-criterion scoring system on any stock, identifying high-quality growth setups and signaling 200 EMA retest entries. Designed for long-term investors building positions in trending stocks with confirmed strength across trend, momentum, and participation.
THE 7-CRITERION SCORECARD
Each stock is scored 0-7 based on:
Price above daily 200 EMA — primary trend
50 EMA above 200 EMA — golden cross alignment
200 EMA sloping up — confirmed long-term uptrend
Price above weekly 200 EMA — multi-timeframe confirmation
Relative strength vs benchmark (S&P 500, NASDAQ 100, TSX Composite, FTSE, ASX, Russell 2000, or any custom symbol)
RSI in healthy range (40-70) — momentum quality, not exhausted
Volume trend rising — institutional participation expanding
SIGNALS
BUY label fires when a qualified stock (score >= threshold) retests its 200 EMA on volume
WEAK label fires when a held position drops below the qualification threshold
Background highlight when current score is in the qualified zone
Three built-in alerts: buy signal, score weakening, and score strengthening (entering the qualified zone)
FEATURES
Configurable benchmark index — works for any major market or custom symbol
Live dashboard showing each criterion's pass/fail status, current RSI value, and distance from 200 EMA
Six dashboard position options
Adjustable minimum score threshold (default 5/7)
Volume confirmation toggle for retest signals
HOW TO USE
Run on any stock chart on the daily timeframe. Set your benchmark to match the stock's market (S&P 500 for US stocks, TSX Composite for Canadian stocks, etc.). Use the dashboard to scan watchlist stocks for current qualification. When a qualified stock retests its 200 EMA on rising volume, the BUY signal fires.
Best used as a confirmation layer alongside fundamental analysis — strong technical setups need strong businesses underneath.
Open-source. Feedback and forks welcome. Indicator

Indicator

Indicator

Financial fundamentalsThis indicator helps you understand the basic financial fundamentals of the company. It displays price to earning ratio, price to book ratio, market capitalisation, net income, revenue, net income and EPS growth, year on year and then quarter on quarter, followed by three years CAGR, growth of revenue, net income and debt. And if you think that these numbers can be manipulated, then it also shows free cash flow to net income ratio. So basically, it covers everything financiallythat is needed for you to see for a long-term investment. Indicator

Seba'sCalcThis indicator acts as a real-time trade planning panel directly on your chart.
Simply enter your Invested Amount, Entry price, Take Profit (TP), and Stop Loss (SL)
in the settings — the table calculates and displays everything else automatically.
────────────────────────────────────────
WHAT IT DISPLAYS
────────────────────────────────────────
• Risk — Your total capital at risk (invested amount)
• Qty — Position size derived from your investment and entry price
• Entry — Your planned entry price
• TP — Take Profit level (highlighted in teal)
• SL — Stop Loss level (highlighted in red)
• Profit — Expected dollar profit if TP is hit (Qty × (TP − Entry))
• Risk/Reward — Ratio of potential profit to potential loss
────────────────────────────────────────
HOW IT WORKS
────────────────────────────────────────
Qty = Invested Amount ÷ Entry Price
Profit = Qty × (TP − Entry)
Risk Amount = Qty × (Entry − SL)
Risk/Reward = Profit ÷ Risk Amount
────────────────────────────────────────
CUSTOMIZATION
────────────────────────────────────────
• Table position — Top/Bottom, Left/Right, or Center
• Text size — Tiny, Small, Normal, or Large
• Profit row color changes automatically (teal = profit, red = loss)
────────────────────────────────────────
WORKS ON ALL ASSETS
────────────────────────────────────────
Crypto, Forex, Stocks, Commodities — any market where you define
your own entry, TP, and SL levels.
────────────────────────────────────────
HOW TO USE
────────────────────────────────────────
1. Add the indicator to your chart
2. Open Settings (gear icon)
3. Enter your Invested Amount, Entry, TP, and SL
4. The table updates instantly on the last bar
No repainting. No signals. Pure planning tool. Indicator

Trade Strategy Calculator [WillyAlgoTrader]📊 Trade Strategy Calculator is the first comprehensive mathematical strategy calculator built entirely inside PulseWire — a 4-panel dashboard that computes position sizing, risk analysis, deposit growth projection, and Kelly Criterion optimization in real time, directly on your chart. No spreadsheets, no external tools, no switching tabs. Every number you need before entering a trade — position size, stop loss level, take-profit targets, commission impact, expected value, probability of ruin, compound growth forecast, and optimal bet sizing — calculated from your strategy parameters and displayed in a single organized view.
This tool is useful for every trader regardless of market, instrument, or timeframe — stocks, forex, crypto, futures, indices, commodities. Whether you trade scalping on 1-minute charts or swing on daily, whether you use 1x spot or 125x futures leverage — the mathematics of position sizing, risk management, and bankroll growth are universal. This calculator puts those mathematics at your fingertips.
🧩 WHY ALL FOUR PANELS WORK TOGETHER
Most traders calculate position size in isolation — they know how much to risk but don't connect it to their long-term growth trajectory. They know their win rate but don't know if it's mathematically profitable after commissions. They have a "feel" for their risk level but haven't computed what happens after 7 consecutive losses.
This calculator connects four mathematical dimensions into one coherent picture:
🎯 TRADE panel answers: "How large should this specific trade be, and what are the exact entry/SL/TP prices?"
⚠️ RISK panel answers: "What happens when things go wrong — how many losses until I hit my daily limit, my max drawdown, and what's my expected value per trade?"
📈 GROWTH panel answers: "If I trade consistently with these parameters, where will my deposit be in 30/90/365 days — and how long to reach my target?"
📐 KELLY panel answers: "Am I betting the mathematically optimal amount — or am I over-betting (risking ruin) or under-betting (leaving growth on the table)?"
A trader who only uses the TRADE panel knows their position size but not whether their strategy has positive expected value. A trader who only uses KELLY knows the optimal bet size but not the specific position for their current trade. A trader who only uses GROWTH knows the projection but not whether the underlying math is sound. All four together give you the complete picture: "Is my strategy profitable? Am I sizing correctly? What's the worst case? And where does this lead?"
🔍 WHAT MAKES IT ORIGINAL
There is no other indicator on PulseWire that combines all four of these mathematical models — position sizing, risk stress testing, compound growth simulation, and Kelly Criterion — into a single, real-time, interactive dashboard. Each panel alone would be a useful tool. Together, they create something that doesn't exist elsewhere on the platform.
🎯 PANEL 1 — TRADE (Position Sizing + Targets)
This panel calculates the exact position size for your trade based on your deposit, risk percentage, stop loss distance, leverage, and commissions.
Core formula:
positionSize = riskAmount / (slDistance% + commissionBothSides)
Where:
— riskAmount = deposit × riskPerTrade%
— slDistance% = slPercent × (1 + slippage%) — slippage is added to the stop distance for realistic sizing
— commissionBothSides = commission% × 2 (open + close)
This formula ensures that if your stop loss is hit, you lose exactly riskAmount — not more, not less — after accounting for both slippage and round-trip commission.
What you see:
— Direction (Long / Short)
— Entry Price (manual or auto from chart)
— Stop Loss price (calculated from entry ± SL%)
— 💰 Position Size in USD — the headline number
— Margin Required (if leverage > 1)
— Quantity (units/coins/shares)
— 🔴 Risk (loss) in USD and % of deposit
— 🟢 Profit at TP — in USD, % of deposit, and net R:R after commission
— TP Price level
— Commission cost in USD
— Liquidation price (for leveraged positions)
— ⚠️ Insufficient margin warning (if position exceeds deposit)
Multi Take-Profit mode:
When enabled, the position is split across 2 or 3 TP levels with configurable volume allocation:
— TP1 at R:R 1.0 with 50% of position → locks partial profit early
— TP2 at R:R 2.0 with 30% → captures the main move
— TP3 at R:R 3.0 with 20% (if 3 TPs) → runner for extended moves
Each TP shows: profit in USD, target price. The panel also computes:
— Total blended profit across all TPs
— Net R:R (blended, after commissions)
— Breakeven price after TP1 — the price where your remaining position becomes zero-loss after banking TP1 profit. This is critical: after TP1, you move your stop to this price — the trade can no longer lose money.
Example:
Deposit: $10,000. Risk: 1% ($100). SL: 2%. Commission: 0.04%.
Position = $100 / (0.02 + 0.0008) = $4,808.
If BTC at $100,000 → SL at $98,000, TP1 at $102,000.
If stopped out → you lose exactly $100 (1% of deposit).
If TP1 hit → you gain ~$96 (after commission).
⚠️ PANEL 2 — RISK (Stress Testing + Expected Value)
This panel answers: "What happens when I have a losing streak, and is my strategy mathematically profitable?"
Daily risk limit:
maxLosingDaily = floor(dailyRiskLimit% / riskPerTrade%)
Example: 3% daily limit, 1% per trade → you stop after 3 losses in a day.
Max drawdown limit:
maxLosingTotal = floor(maxDrawdown% / riskPerTrade%)
Example: 20% max DD, 1% per trade → 20 consecutive losses to hit max DD.
Stress test — losing streaks:
The panel computes what happens after 5, 7, and 10 consecutive losses:
— depositAfterN = deposit × (1 − riskPerTrade%)^N
— drawdownAfterN = (1 − (1 − riskPerTrade%)^N) × 100%
— probabilityOfN = (1 − winrate%)^N × 100%
Example: $10,000 deposit, 1% risk, 55% winrate:
— 5 losses: −4.9% DD ($9,510), probability 1.85%
— 7 losses: −6.8% DD ($9,321), probability 0.37%
— 10 losses: −9.6% DD ($9,044), probability 0.03%
This tells you: a 5-loss streak WILL happen (1.85% probability over hundreds of trades). A 10-loss streak is extremely rare (0.03%). Your risk% must be sized so that even the realistic worst case doesn't blow your account.
Expected Value (EV):
EV per trade = winrate × riskAmount × avgR:R − (1 − winrate) × riskAmount − commission
This is the single most important number in trading. If EV > 0, your strategy makes money over time. If EV < 0, no amount of position sizing saves you.
The panel shows:
— 📈 EV per trade in USD (highlighted — this is the headline metric)
— EV per 100 trades
— Break-even winrate WITH commission — the minimum winrate needed to be profitable at your R:R, accounting for commission drag
— Your actual WR and R:R for comparison
Break-even winrate formula (with commission):
beWinrate = (1 + commissionCost / riskAmount) / (avgR:R + 1)
This is more accurate than the standard 1/(R:R+1) because it accounts for commission reducing your net edge.
📈 PANEL 3 — GROWTH (Deposit Projection + Scenarios)
This is the unique deposit growth simulator — it projects where your deposit will be after N days of consistent trading, using either compound (reinvest profits) or simple (fixed risk from initial deposit) growth.
Compound growth formula:
EV per trade as % = winrate × (risk% × R:R) − (1 − winrate) × risk%
totalTrades = tradesPerDay × projectionDays
finalDeposit = deposit × (1 + evPerTrade%)^totalTrades
Simple growth formula:
finalDeposit = deposit + deposit × evPerTrade% × totalTrades
The difference is massive. Compound growth reinvests profits — each winning trade increases the base for the next trade. Simple growth always risks a fixed amount from the initial deposit.
Example — compound vs simple:
$1,000 deposit, 55% WR, 1:2 R:R, 1% risk, 3 trades/day, 30 days:
— Simple: $1,000 + $1,000 × 0.65% × 90 = $1,585
— Compound: $1,000 × (1.0065)^90 = $1,795
Over 90 days: $1,585 vs $1,795. Over 365 days the gap becomes enormous. This is why compound growth (reinvesting profits) is the key to deposit acceleration.
Three scenarios:
— 🟢 Optimistic: your winrate + 10% (what happens if you're having a great month)
— 🟡 Realistic: your actual parameters
— 🔴 Pessimistic: your winrate − 10% (what happens during a drawdown period)
This gives you a range, not a single number. If even the pessimistic scenario is positive, your strategy is robust.
Goal milestones:
— Days to 2× deposit (double your money)
— Days to 3× deposit
— Days to custom target ($5,000, $10,000, etc.)
Formula: daysToTarget = log(target / deposit) / (log(1 + evPerTrade%) × tradesPerDay)
Risk metrics:
— Max estimated drawdown: based on expected worst losing streak × risk%
— Ruin probability: the probability of losing your entire bankroll at your current risk level
Ruin probability formula:
edge = winrate × R:R − (1 − winrate)
bankrollUnits = floor(100 / risk%)
ruinProb = ((1 − winrate) / (winrate × R:R))^bankrollUnits
If edge ≤ 0, ruin probability is effectively 100%. If edge > 0, ruin probability decreases exponentially with more bankroll units (lower risk%).
Presets for quick scenarios:
— Beginner: 45% WR, 1:2 R:R, 1% risk — conservative starting point
— Moderate: 55% WR, 1:2 R:R, 2% risk — typical intermediate trader
— Aggressive: 50% WR, 1:3 R:R, 3% risk — higher risk, needs discipline
— Custom: uses your exact My Strategy values
📐 PANEL 4 — KELLY CRITERION (Optimal Bet Sizing)
The Kelly Criterion is the mathematically optimal percentage of your bankroll to risk on each bet, given your edge. It maximizes the long-term growth rate of your account.
Kelly formula:
edge = winrate × avgR:R − (1 − winrate)
kellyPercent = edge / avgR:R
If edge ≤ 0 → Kelly = 0% (no edge, don't trade). If edge > 0 → Kelly tells you the maximum you should risk.
What the panel shows:
— Your winrate and avg R:R
— Break-even winrate (with commission)
— 📐 Edge per $1 risked — your mathematical advantage. If +$0.15, every $1 risked returns $1.15 on average.
— Full Kelly % — the theoretical maximum. Most traders should NOT use this — it's too aggressive.
— Half Kelly ✦ — the recommended practical value. Reduces variance by ~75% while giving up only ~25% of growth.
— Quarter Kelly — ultra-conservative, minimal variance.
— Your current risk % — so you can compare
— Status: 🟢 Optimal (between half and full Kelly), 🟡 Conservative (below half), 🔴 Over-bet (above full Kelly), 🚨 >2× Kelly (danger zone)
Growth rate comparison:
— Growth rate at Kelly %: the compound growth rate per trade at the optimal bet size
— Growth rate at your %: your actual compound growth rate per trade
Formula: growthRate = winrate × log(1 + risk% × R:R) + (1 − winrate) × log(1 − risk%)
If your rate is close to the Kelly rate, you're near-optimal. If it's much lower, you're leaving growth on the table. If it's negative (possible when over-betting!), you're actually losing money despite having a positive edge — the over-betting destroys the compounding.
Why this matters:
A trader with a 55% WR and 1:2 R:R has an edge. Kelly says risk ~4.6%. But if that trader risks 10% per trade (2× Kelly), their actual growth rate can become negative — they go broke despite having a winning strategy. This is the most counterintuitive result in trading mathematics: over-betting a winning system turns it into a losing system . The Kelly panel prevents this.
📖 HOW TO USE — STEP BY STEP
Step 1 — Enter your strategy parameters (My Strategy section):
— Deposit: your actual account balance in USD
— Risk per Trade: how much you risk per trade (start with 1% if unsure)
— Winrate: your historical win rate (be honest — check your journal)
— Average R:R: your average reward-to-risk on winning trades
— Trades per Day: how many trades you typically take
— Leverage: 1 for spot, or your futures leverage
— Commission: your exchange fee per side (Binance Futures taker: 0.04%)
Step 2 — Set up your current trade (Trade Setup section):
— Direction: Long or Short
— Stop Loss %: how far your SL is from entry
— Risk:Reward: your target R:R for this trade
— Entry Price: manual or auto from chart
Step 3 — Read the TRADE panel:
— The 💰 Position Size number is your order size in USD
— If using leverage, check Margin Required doesn't exceed your deposit
— Note the SL and TP prices — set these in your exchange
Step 4 — Check the RISK panel:
— Is your EV per trade positive? If not, your strategy loses money long-term
— Is your winrate above the break-even? If not, improve your R:R
— Check the stress test: can your deposit survive 7 losses in a row?
— If the risk badge shows 🚨 DANGER, reduce your risk% or leverage
Step 5 — Review the GROWTH panel:
— The projected deposit shows where you'll be in 30 days
— Check the pessimistic scenario — is it still above your starting deposit?
— Note the days to 2× — this is your compound growth timeline
— If ruin probability > 5%, your risk is too high
Step 6 — Optimize with KELLY panel:
— Compare your risk% to Half Kelly — this is the recommended level
— If Status shows 🔴 Over-bet, reduce your risk%
— If Status shows 🟡 Conservative, you could increase (but don't have to)
— Check Growth Rate at Your % — is it positive? Is it close to Kelly's rate?
🎯 PRACTICAL EXAMPLES
Example 1 — Conservative Spot Trader:
Deposit $5,000, Risk 1%, WR 55%, R:R 1:2, 2 trades/day, No leverage, Commission 0.1%
— Position: ~$2,500 per trade. Risk: $50.
— EV: +$5.60 per trade. Positive — strategy is profitable.
— 30-day projection (compound): $5,000 → $5,705 (+14.1%)
— Days to double: ~98 days
— Kelly: 4.6%. Your 1% = conservative. Status: 🟡
Example 2 — Crypto Futures Scalper:
Deposit $1,000, Risk 2%, WR 50%, R:R 1:3, 5 trades/day, Leverage 10x, Commission 0.04%
— Position: ~$10,000 per trade. Margin: $1,000. Risk: $20.
— EV: +$10.40 per trade. Strong positive edge.
— 30-day projection (compound): $1,000 → $4,680 (+368%)
— Days to double: ~14 days
— Kelly: 8.3%. Your 2% = well below Kelly. Room to grow.
— ⚠️ But 7-loss streak probability: 0.78%. DD: −13.2%. Manageable.
Example 3 — Why Over-Betting Kills:
Same as Example 2, but Risk 15% (almost 2× Kelly):
— EV per trade still positive (+$78)
— BUT growth rate per trade: NEGATIVE (−0.3%)
— 30-day projection: $1,000 → $620 (−38%)
— Kelly Status: 🚨 >2× Kelly
— Despite winning 50% with 1:3 R:R, you LOSE money because over-betting destroys compounding.
⚙️ KEY SETTINGS REFERENCE
⚙️ My Strategy:
— Deposit : account balance in USD
— Risk per Trade (default 1%): % of deposit risked per trade
— Winrate (default 55%): historical win rate
— Average R:R (default 2.0): average reward-to-risk on wins
— Trades per Day (default 3): daily trade count
— Leverage (default 1): 1 = spot, >1 = futures
— Commission (default 0.04%): exchange fee per side
🎯 Trade Setup:
— Direction : Long / Short
— Stop Loss % (default 1%): SL distance from entry
— Risk:Reward (default 2.0): target R:R
— Slippage (default 0.05%): expected execution slippage
— Entry Price : Manual or Auto (chart price)
🎯 Multi Take-Profit:
— Enable Multi TP (default Off): split into 2–3 targets
— R:R for TP1/TP2/TP3 (default 1.0/2.0/3.0)
— Volume allocation (default 50%/30%/20%)
📈 Growth Projection:
— Preset : Beginner / Moderate / Aggressive / Custom
— Projection Period (default 30 days)
— Compound (default On): reinvest profits
— Target Deposit (default 0 = off): goal amount
— Max Daily Risk (default 3%): daily loss limit
— Max Drawdown (default 20%): total DD limit
🎨 Visual:
— Font Size: Tiny / Small / Normal / Large
— Auto / Dark / Light theme
⚠️ IMPORTANT NOTES
— 📊 This is a calculator, not a signal generator. It does not produce buy/sell signals. It computes the mathematical framework for your trading decisions — position sizing, risk limits, growth projections, and optimal bet sizing. The math is universal and applies to any strategy.
— 📐 All calculations are deterministic — they depend only on your input parameters, not on price data. The dashboard updates in real-time when you change any input.
— ⚖️ The growth projection assumes consistent strategy parameters over the projection period. Real trading involves varying win rates, R:R ratios, and market conditions. The three scenarios (optimistic/realistic/pessimistic) partially address this by showing a range.
— 📏 The Kelly Criterion assumes known, fixed probabilities . In practice, your winrate and R:R fluctuate. This is why Half Kelly (not Full Kelly) is recommended — it accounts for parameter uncertainty.
— 💰 Commission is calculated as round-trip (both sides) and deducted from both profit calculations and expected value. This provides realistic net returns.
— 📊 The break-even winrate calculation includes commission drag — it's higher than the simplified 1/(R:R+1) formula because commission erodes your edge.
— 🔄 The compound growth formula uses logarithmic overflow protection — if the projected growth exceeds exp(23) ≈ 10 billion ×, it displays "∞" instead of crashing.
— 🛠️ Works on any chart, any instrument, any timeframe . The calculator is price-independent — it uses your manual inputs. "Auto" entry price mode uses the current chart close for convenience.
— 🌐 Useful for all markets : stocks (set leverage = 1, commission = 0.1%), forex (adjust for pip-based SL), crypto spot (leverage = 1), crypto futures (set your leverage), indices, commodities. Indicator

Advanced Fundamental & Technical DashboardAre you tired of constantly switching tabs to check a company's fundamental data?
The Advanced Fundamental Dashboard is a clean, fully customizable overlay that displays the most critical financial metrics and ratios directly on your chart. Designed for investors and swing traders, this script provides a quick, color-coded snapshot of a company's financial health and its current position relative to historical price extremes.
📊 Key Metrics Included:
Market Capitalization
Valuation Ratios: P/E Ratio (Price-to-Earnings) & P/S Ratio (Price-to-Sales)
Revenue 1Y Growth: Automatically calculates the 1-year trailing revenue growth.
Core Financials: EBITDA, Free Cash Flow, Total Debt, and Total Equity.
Dividend Yield: Smartly handles missing data (displays 0.00% instead of annoying "N/A" errors for non-dividend paying stocks).
Distance to ATH & ATL: Shows exactly how far the current price is from its All-Time High and All-Time Low in percentage.
✨ Smart Features & Customization:
Dynamic Coloring: Positive values and growth are automatically highlighted in green, while negative values and drawdowns are highlighted in red.
Clean UI: Gracefully handles missing data from the broker feed (e.g., showing "-" instead of script-breaking errors).
Fully Customizable: Don't like the position or the colors? Use the script settings (gear icon) to change the table's position, text size, background color, and text colors to perfectly match your chart theme (Light or Dark mode).
💡 Pro-Tip for ATH / ATL:
To get the most accurate "Distance to ATH/ATL" readings, make sure to zoom out to a Weekly (1W) or Monthly (1M) timeframe once, so PulseWire can load the maximum amount of historical price data into the script's memory. Indicator

Indicator

Historical Annual Avg Growth Lines + 1-Year ProjectionThis script creates an overlay indicator on your PulseWire chart that visualizes the historical average annual growth rate of the selected instrument (e.g., TSLA) in a specific way. Here's a step-by-step summary of what it represents and how it works:
Overall Purpose
It calculates the average annual percentage gain (arithmetic mean) across the instrument's entire trading history, using non-overlapping periods of 252 trading days each (approximating one year, excluding weekends/holidays).
It then draws horizontal green lines on the chart for each complete "year" segment, showing a projected "fair value" price level for that year based on the overall average growth rate.
This helps you compare actual historical price action against what the price "would have been" if it had grown steadily at the stock's long-term average annual rate. Lines above actual prices suggest periods where growth exceeded the average (potentially overvalued in hindsight), while lines below suggest underperformance (potentially undervalued).
The calculation excludes the most recent incomplete year (any bars beyond the last full 252-day segment), ensuring only fully realized historical periods are used.
Key Calculations
Identifying Complete Years: It divides the chart's data from the first trading day (bar_index 0) into segments of exactly 252 bars each. For example:
Year 1: Bars 0 to 251
Year 2: Bars 252 to 503
And so on, up to the last full segment before the current bar.
If the total bars aren't a perfect multiple of 252, the partial current year is ignored.
Average Annual % Gain: For each complete year segment:
It computes the % gain as (end_price - start_price) / start_price.
Sums these % gains across all years and divides by the number of years to get the overall average (e.g., if TSLA averaged 42% per year historically, that's the value used).
Projected Price Lines: For each year segment:
Takes the starting price of that year.
Applies the overall average % gain to project a "target" end-of-year price: start_price * (1 + average_annual_gain).
Draws a horizontal line at that projected price level, spanning only the bars of that specific year (e.g., a flat green line covering 252 bars, positioned above or below the actual price action for visual comparison).
Visual Representation
Horizontal Lines: Each green line is flat and covers one historical year block on the chart. Earlier years (left side) will have lower projected prices (reflecting lower starting prices), while later years (right side) will have higher ones as the base price compounds over time—but each is independent and based on that year's start.
No Smoothing or Rolling: Unlike a moving average, these are static historical segments (non-overlapping), recalculated only on the last bar for efficiency.
Example on TSLA: Assuming TSLA's long-term average annual gain is ~42% (based on its history since 2010 IPO), the line for Year 1 would be at * 1.42, spanning the first 252 bars. Year 2 would start from the actual price at bar 252 and project * 1.42, and so on. If lines are consistently above actual prices in recent years, it might indicate recent growth slowing relative to historical averages.
Forward Projection (1 Year Out)
The script also extends a dashed orange horizontal line to the right of the current bar, projecting the price one year into the future based on the same historical average annual growth rate.
It starts from the end price of the last complete historical year as the base.
Applies the average % gain once more to estimate the "target" price after another 252 trading days (e.g., base_price * (1 + average_annual_gain)).
The line is dashed and orange for distinction, extending approximately 252 bars to the right (scroll or zoom right to view the full projection). This provides a visual guide for where the price "might" trend if growth continues at the historical average, helping with long-term investment planning like setting targets or assessing potential upside. Indicator

Indicator
