OPEN-SOURCE SCRIPT
Actualizado X-Day Capital Efficiency Score

This indicator helps identify the Most Profitable Movers for Your fixed Capital (ie, which assets offer the best average intraday profit potential for a fixed capital).
Unlike traditional volatility indicators (like ATR or % change), this script calculates how much real dollar profit you could have made each day over a custom lookback period — assuming you deployed your full capital into that ticker daily.
How it works:
Calculates the daily intraday range (high − low)
Filters for clean candles (where body > 60% of the candle range)
Assumes you invested the full amount of capital ($100K set as default) on each valid day
Computes an average daily profit score based on price action over the selected period (default set to 20 days)
Plots the score in dollars — higher = more efficient use of capital
Why It’s Useful:
Compare tickers based on real dollar return potential — not just % volatility
Spot low-priced, high-volatility stocks that are better suited for intraday or momentum trading
Inputs:
Capital ($): Amount you're hypothetically deploying (e.g., 100,000)
Look Back Period: Number of past days to average over (e.g., 20)
Unlike traditional volatility indicators (like ATR or % change), this script calculates how much real dollar profit you could have made each day over a custom lookback period — assuming you deployed your full capital into that ticker daily.
How it works:
Calculates the daily intraday range (high − low)
Filters for clean candles (where body > 60% of the candle range)
Assumes you invested the full amount of capital ($100K set as default) on each valid day
Computes an average daily profit score based on price action over the selected period (default set to 20 days)
Plots the score in dollars — higher = more efficient use of capital
Why It’s Useful:
Compare tickers based on real dollar return potential — not just % volatility
Spot low-priced, high-volatility stocks that are better suited for intraday or momentum trading
Inputs:
Capital ($): Amount you're hypothetically deploying (e.g., 100,000)
Look Back Period: Number of past days to average over (e.g., 20)
Notas de prensa
**Capital Efficiency Pro — Adaptive_Updated**This indicator helps traders quickly find symbols with the highest movement potential relative to their available capital per trade.
### What it does
- **Capital Efficiency Score (CapEff)**: Measures the average dollar movement per trade based on your set capital amount, counting only high-quality candles where the body is large relative to the total range.
- **CapEff SMA (blue line)**: Smooths the Capital Efficiency score for easier trend spotting.
- **Static Minimum Threshold (black line)**: Your baseline efficiency requirement — for example, if set to $2,000, that’s the “zero line” you’re comparing against. Blue shading appears when CapEff exceeds this level.
- **Adaptive Minimum Threshold (teal line)**: Optional feature that adjusts the minimum requirement based on market volatility (using VIX and/or SPY ATR%).
- **Adjusted CapEff (optional)**: Weights results toward liquid, consistent movers while penalizing excessive volatility.
- **Alerts**: Fires when CapEff meets or exceeds your chosen thresholds for easy watchlist scanning.
### How to use
1. **Set Capital per Trade** to your typical position size.
2. **Adjust Lookback Period** to control how many bars are analyzed.
3. **Choose Min Body/Range Ratio** to ignore small-bodied candles.
4. **Set Min Capital Efficiency ($)** to your personal movement requirement (this acts as the zero line).
5. Enable/disable **Adaptive Threshold** to account for changing market conditions.
6. Add **alerts** to watchlists for automatic daily symbol filtering.
**Best for**: Traders with a fixed budget per position who want to focus on symbols offering the highest potential return per trade.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.