TP/SL Percentage & RR Visual ToolThis tool is designed to help traders visually and statistically assess their trade setup by calculating Stop Loss (SL), Take Profit (TP), and Risk-to-Reward (RR) based on percentage inputs from the current price.
🔧 How It Works:
Uses the current candle’s close price as your entry.
Calculates TP and SL as percentage-based levels (e.g., 1% SL, 1.5% TP).
Displays horizontal lines and labels on the chart for TP and SL (only on the latest candle to reduce clutter).
Shows a compact table in the top-right corner with all key values:
Entry Price
Current Price
TP Price (+%)
SL Price (-%)
TP Distance from current price
RR Ratio (e.g., 1:1.5)
💡 Use Cases:
Quickly validate if a trade setup meets your desired RR profile (e.g., 1:2).
Perfect for scalpers, swing traders, and position traders who rely on structured risk management.
Combine with your entry signal strategy to visualize targets and stops without manual calculations.
⚙️ Inputs:
Stop Loss % – Sets how far your SL is from the entry.
Take Profit % – Sets how far your TP is from the entry.
Portfolio management
Metatrader CalculatorThe “ Metatrader Calculator ” indicator calculates the position size, risk, and potential gain of a trade, taking into account the account balance, risk percentage, entry price, stop loss price, and risk/reward ratio. It supports the XAUUSD, XAGUSD, and BTCUSD pairs, automatically calculating the position size (in lots) based on these parameters. The calculation is displayed in a table on the chart, showing the lot size, loss in dollars, and potential gain based on the defined risk.
Dynamic Zone Risk Manager [Algo Seeker]Introduction
The Algo Seeker: Dynamic Zone Risk Manager excels in both ranging and trending market conditions. It merges two critical trading components: a zone identification system that allows traders to anticipate price movement within structured ranges and a dynamic risk assessment table that optimizes position sizing based on account parameters and zone-specific characteristics, while also calculating trade-specific risk and reward.
For traders struggling with consistent risk management and identifying high-probability zones, particularly in challenging ranging market conditions, this tool provides a structured framework that enhances precision in trading decisions and capital allocation — addressing two of the most common challenges in trading.
🟠 Unique Features & Trading Benefits
Advanced Zone Structuring:
🟢 The indicator adapts to different trading styles through Scalp, Swing, and Investor modes. Scalp mode generates tight, precise zones optimized for intraday price movements and quick trades completed within minutes or hours. Swing mode creates intermediate zones calibrated for positions held for the entire day or a few weeks, providing optimal zone structures for medium-term trading approaches. Investor mode establishes broader zones designed specifically for positions spanning a few weeks to a few months, identifying major support and resistance levels for extended holding periods.
🟢 These zones are particularly useful during ranging markets. They define clear price ranges within which movement may oscillate based on the selected trading horizon. Such clarity helps traders anticipate potential bounce areas and manage trades more effectively, even when the market lacks a clear directional trend.
🟢 The system transforms static price levels into comprehensive trading zones with clearly defined boundaries. The multi-dimensional architecture creates actionable entry, exit, and management levels that remain relevant across different market conditions.
Unique Risk Management:
🟢 A dynamic risk table that calculates position sizing based on the trader's actual account size. When traders select Scalp, Swing, or Investor mode, the table automatically computes the optimal capital allocation specifically for that mode and the current zone.
🟢 The table provides exact dollar amounts for both risk and potential reward based on current price position within the zone. If price is already moving through a zone, the table dynamically updates to show how much of the potential reward remains available.
🟢 This precise risk management system gives traders a clear, quantified understanding of exactly how much capital to allocate per trade, the specific dollar amount at risk, and the remaining profit potential—all updating in real-time as price moves through the zones.
Dynamic Cost Basis Analysis:
🟢 Continuously calculates optimal midpoints within each zone, creating additional precision pivot points that traditional tools can lack. These dynamic reference points enhance trade accuracy in ranging markets while providing essential data points for the integrated risk management calculations.
🟠 The Power of Integration: Zones Meet Risk Management
The true power of the Algo Seeker: Dynamic Zone Risk Manager emerges when these components work together as a unified system. The trader-selected strategy zones and dynamic risk table create a complete trading ecosystem that addresses the three critical elements of successful trading:
1. Precision Entry Points: Zone boundaries provide clear entry thresholds optimized for your selected trading mode (Scalp, Swing, or Investor), eliminating guesswork around optimal trade initiation points.
2. Disciplined Risk Control: The risk table's exact dollar calculations remove emotional decision-making from position sizing and stop placement, creating a consistent risk approach regardless of market volatility.
3. Strategic Exit Management: As price moves through zones, both visual cues and quantified metrics guide intelligent profit-taking decisions, preventing the common mistake of exiting too early or holding too long.
This synchronized framework transforms theoretical analysis into practical execution, giving traders a complete toolset for managing the entire lifecycle of each trade with precision and confidence.
🟠 Additional Algo Benefits
Psychological Trading Edge:
The Algo Seeker: Dynamic Zone Risk Manager addresses the most challenging aspect of trading—emotional decision-making. By transforming complex risk/reward calculations into clear, quantified metrics, the system eliminates decision paralysis and reactionary trading. Traders gain immediate clarity during volatile conditions through the visual integration of precise zones and risk parameters. This psychological framework cultivates discipline and confidence when market noise typically triggers impulsive decisions, allowing for consistent execution even during challenging market environments.
Efficiency and Time Value:
The system delivers exceptional time efficiency by eliminating the need for manual risk calculations, zone identification, and position sizing. What typically requires multiple tools and extensive spreadsheet calculations is seamlessly integrated into a unified interface. Traders receive immediate, actionable insights without the cognitive burden of juggling separate indicators. This allows professionals to focus on strategic decisions rather than technical calculations.
Advanced User Customization:
Unlike one-size-fits-all indicators, the Algo Seeker: Dynamic Zone Risk Manager adapts to individual trading methodologies. The system accommodates personalized account parameters and allocates capital differently based on three distinct trading modes—scalping, swing trading, and investing. This flexibility allows professional traders to implement their unique strategy while maintaining precise risk control across different positions and time horizons. The customizable table positioning and color schemes further enhance workflow integration for diverse trading environments.
🟠 How to Use
Initial Setup
1. Lookback Parameter: The Lookback Period determines which candle data the Dynamic Zone Risk Manager uses to establish trading zones:
🟢Lookback = 1 (Default): Uses the most recent closed candle to calculate zones. This provides stable analysis based on completed price action and is recommended for most trading scenarios.
🟢Lookback = 0: Uses the current, still-forming candle. This offers more immediate responsiveness, but zones may change as the candle develops. For consistent zone analysis, Lookback = 1 typically offers a better foundation.
2. Configure Account Parameters: Input your total trading capital in the settings panel to customize risk calculations specific to your account size.
3. Select Trading Mode: Choose between Scalp, Swing, or Investor modes based on your preferred trade style:
🟢Scalp: For intraday movements (minutes to hours)
🟢Swing: For medium-term positions (days to weeks)
🟢 Investor: For longer-term positions (weeks to months)
4. Account Parameters Setup: The risk management component requires your account size to provide accurate position sizing calculations.
🟢Total Account Size: Enter your total trading capital in the "Total Account Size ($)" input. All risk calculations are based on this value.
🟢Trading Allocation Percentages: The system allows you to divide your capital across three trading modes.
1. Scalp Allocation (%): Percentage of capital reserved for short-term trades
2. Swing Allocation (%): Percentage of capital for medium-term positions
3. Invest Allocation (%): Percentage of capital for longer-term investments
These percentages can be customized to match your personal trading strategy and risk tolerance.
Margin Multiplier: Adjust the margin multiplier value based on your broker's requirements and your preferred leverage.
The system uses these parameters to calculate appropriate position sizes for each trading mode, ensuring your risk exposure remains aligned with your capital management plan.
5.Visual Customization: Adjust color schemes and table positions to optimize for your workspace layout and visual preferences.
🟠 Risk Table Explanation
The dynamic risk tables provide real-time position sizing and risk metrics as price moves through different zones:
1. Zone Column: Displays the current zone where price is located.
2. Zone Size: Shows the total price range of the current zone.
3. Trade Type: Indicates the trading style (Scalp, Swing, or Invest).
4. Shares: Displays the calculated position size (number of shares) based on your account parameters and the current zone.
5. Risk($): Shows the approximate dollar amount at risk if the trade moves against you within the zone.
6. Reward($): Displays the potential dollar return if price moves completely through the zone in your favor.
7. Left: Indicates how much potential movement remains within the current zone based on the latest price.
The table updates dynamically as price moves, giving you real-time risk/reward information. Each trading style is displayed separately, allowing you to compare potential position sizes across different trade modes while maintaining consistent risk management.
🟠 Strategic Execution
Strategy Usage Example
The Algo Seeker: Dynamic Zone Risk Manager provides a complete framework for precise trading decisions. Here's how you might leverage its power:
1. Zone-Based Trading: The indicator identifies key zones and levels that serve as powerful pivot points. These are not arbitrary levels but mathematically derived zones where price is likely to react. Use these zones directly for your trading decisions.
2. Precision Entries: For long positions, enter near the lower boundary of a zone with targets at the upper boundary. For shorts, enter near the upper boundary with targets at the lower boundary. These levels identify potential entry points based on the underlying market structure.
3. Risk Management: The zone, level, or cost basis below your entry (for longs) or above your entry (for shorts) can serve as logical places to set stop losses, helping you define your risk on each trade.
4. Position Sizing Precision: Use the exact share/contract quantities displayed in the risk table. This eliminates guesswork in position sizing and provides both risk and profit calculations that align perfectly with your capital management strategy.
5. Strategic Exits: Take profits at the target zone boundaries identified by the indicator. These levels represent mathematical points where price may encounter resistance or support, providing potential exit opportunities.
6. Advanced Strategy Options:
🟢Consider taking partial profits at cost basis (midpoint) levels
🟢Trade from zone to zone using the defined boundaries
🟢Scale in or out at specific zone transitions
🟢Set trailing stops at subsequent zone boundaries as price progresses
The strength of this indicator lies in its ability to provide all the critical decision points needed for a complete trade - from entry to exit, with precise position sizing - all derived from its sophisticated algorithmic analysis rather than subjective interpretation.
🟠 Alert Configuration
1. Zone Crossovers: Set alerts for when price transitions between key zones.
2. Cost Basis Interactions: Configure notifications for when price approaches optimal entry points.
The Algo Seeker Wizard Ultra Risk represents years of development and refinement in professional trading environments. Its integration of sophisticated zone identification with precise risk management creates a comprehensive framework that transforms theoretical market analysis into actionable trading decisions with quantified risk parameters.
CME Price LimitCalculates the CME Price Limit
The reference price is obtained from the previous day's closing settlement price
(data pulled from the asset's daily chart with settlement enabled)
Percentage limit can be modified in settings
Buffer can be enabled (for example, 2% buffer on a 7% limit, so a line gets drawn at 5% too)
Alert can be enabled for price crossing a certain percentage from reference on the day
You can choose to plot the historical lines on every day, or the current day only
The reference price output can be found in the data window, or in the indicator status line if enabled in the settings.
Before placing real trades with this, you should compare the indicator's reference price to what's shown on CME's website, to double check that TradingView's data matches for your contract.
www.cmegroup.com
RS++ High Beta Majors Allocation | viResearchRS++ High Beta Majors Allocation | viResearch
Conceptual Foundation and Innovation
The "RS++ High Beta Majors Allocation" is a next-generation portfolio rotation algorithm designed to capture alpha from high-volatility (high-beta) crypto assets. Building on the RS+ framework, this strategy expands the asset pool beyond BTC, ETH, and SOL to include newer and more volatile contenders like SUI and XRP. The goal is to rotate dynamically among these five majors—allocating to the strongest trending asset while minimizing exposure during broad-market weakness.
The strategy introduces enhanced comparative scoring using a multi-layered relative strength matrix that accounts for cross-asset momentum in real-time. Combined with a regime-based trend filter, it adapts not only to market leadership but also to prevailing risk conditions, significantly improving capital efficiency over traditional buy-and-hold strategies.
Technical Composition and Calculation
At the heart of the RS++ model lies a sophisticated five-asset ratio matrix. Each asset is evaluated against the others using relative price ratios, and each pair is scored through a hybrid strength model based on universal trend filters and statistical thresholds.
Expanded Universe: The script evaluates BTC, ETH, SOL, SUI, and XRP—each chosen for their liquidity and volatility profile, enhancing the potential for outperformance.
Relative Strength Matrix: A 5x5 matrix compares all assets against one another to determine momentum dominance. The asset with the highest cumulative score is considered the dominant major.
Trend Regime Filter: Before allocation, both the market regime (via BTC or a custom source) and the individual asset must pass trend confirmation to qualify for inclusion, reducing whipsaw exposure.
Equity Tracking: A real-time system equity line tracks portfolio performance from a custom user-defined start date.
Drawdown Measurement: Maximum drawdown is computed in real-time to assess risk exposure.
Performance Metrics
The script measures key quantitative metrics to evaluate performance robustness:
Max Drawdown: Assesses capital risk and largest equity dip from peak to trough.
Sharpe/Sortino/Omega Ratios (optional in previous versions): Can be adapted for future inclusion.
ROC-Based Returns: Allocation logic and equity growth are tied to ROC (rate of change), making it highly responsive to price action.
User Interface and Features
This version introduces user-centric customization and quality-of-life improvements:
Asset Toggle via Tickers: Simply switch any ticker to "USDT" to exclude it from the rotation universe.
Equity Chart Overlay: Real-time equity plotted with color-coded trend backgrounds for easy interpretation of active holdings.
Dominant Asset Panel: A dashboard displays the currently allocated asset and scores of all assets for comparative insights.
Usage Recommendation: The script includes an embedded suggestion to pair this strategy with the Crypto Market Confidence Period indicator for even better macro-filtering.
Timeframe Guardrail: A soft enforcement feature suggests usage on the 1D timeframe for optimal accuracy.
Practical Applications
This strategy is ideal for traders who prefer a tactical, risk-managed approach to high-beta crypto portfolios. Use cases include:
Active Rotation Management: Switches capital between the strongest trending assets to capture momentum across cycles.
Macro Regime Sensitivity: The trend filter avoids allocation during weak macro trends, moving to cash and preserving equity.
High-Volatility Environments: Particularly effective in bull phases or during sector rotations where traditional assets underperform.
Strategic Value and Advantages
The RS++ script blends alpha-generation with institutional-level risk filtering, making it a powerful tool for active portfolio managers. The expanded universe allows for exposure to emerging market leaders while the scoring and filtering mechanism ensures trades are made with precision. Real-time equity visualization and intuitive alerts help traders stay aligned with system output without constant screen-watching.
Summary and Usage Tips
The "RS++ High Beta Majors Allocation" script offers a versatile and powerful method for crypto portfolio allocation with an emphasis on dynamic strength, risk control, and adaptability. Traders are encouraged to:
Use the recommended 1D timeframe for stability.
Pair the strategy with macro filters like the Crypto Market Confidence Period.
As always, backtest thoroughly and remember that no model guarantees future performance. Use this tool as part of a broader risk-managed trading framework.
IBAC Strategy - ZygoraIBAC - Intrinsic Binary Averaging based Contrarian
A contrarian scalping strategy in the futures market, designed to stabilize market efficiency by capitalizing on price reversals. The strategy has no stop loss, instead employing a cascading approach—adding to the position size each time the price moves in the wrong direction—and closes the full position when the target profit is reached. Without delving into intricate details, the strategy adheres to the following basic rules:
Position sizing is determined by a customized indicator based on cumulative reversal probability, which also contributes to identifying the signal’s direction.
Direction is determined by the Moving Average: price above the Moving Average signals a Short position, while price below it signals a Long position.
The threshold for entries and exits is adjusted based on the range between extremes (highest high minus lowest low) over the past 100 historical bars.
The next limit entry is placed at a distance equal to the threshold length below (for Long) or above (for Short) the current average price.
The next target profit is set at a distance equal to the threshold length above (for Long) or below (for Short) the current average price.
A signal is triggered when there is a sudden price movement detected by the RSI (Relative Strength Index).
When a signal is identified, the strategy starts with a risk-reward ratio (RR) of 1:1. However, the RR worsens as the cascading steps—referred to as inventory I—increase, because the average entry price shifts unfavorably with each new position added. To mitigate the risk of liquidation, the strategy aims to hold a smaller inventory amount over time. This is achieved by using a multiple threshold multiplier: when a specified inventory limit is reached, the threshold for the next entry increases, and the threshold for the next target profit decreases. As a result, with higher inventory levels, the strategy accepts a lower RR but increases the likelihood of hitting the target profit.
The target profit is always set above the average entry price (for Long) or below it (for Short), ensuring that the strategy eventually closes at a profit. This leads to a 100% win rate but comes with relatively high drawdowns due to the absence of a stop loss and the cascading nature of the positions. The strategy performs best in a consolidation market in 1 minute timeframe, where price tends to oscillate within a range, allowing the contrarian approach to capitalize on reversals. The strategy’s name is derived from its customized indicator for position sizing, which leverages cumulative reversal probability to optimize position sizes and assist in determining the signal’s direction.
Portfolio Monitor - DolphinTradeBot1️⃣ Overview
▪️This indicator unifies the value of all your investments—whether stocks, currencies, or cryptocurrencies—in your chosen currency. This tool not only provides a clear snapshot of your overall portfolio performance but also highlights the individual growth of each asset with intuitive visualizations and an easy-to-understand performance report.
2️⃣ What sets this indicator apart
▪️is its ability to convert values from various currency pairs into any currency you choose. This means you can monitor your portfolio's performance against any currency pair you prefer, offering a flexible and comprehensive view of your investments.
3️⃣ How Is It Work ?
🔍The indicator can be analyzed under two main categories: visual representations and tables.
1- Visual representations ;
The indicator includes three different types of lines:
1. 1 - Reference Line → This represents the cost of all assets we hold, based on the selected date.
1. 2 - Total Assets Line → Displays the real-time value of all assets in our possession, including cash value, in the selected trading pair.
The area between the reference line is filled with green and red. The section above the reference line is represented in green, while the section below is shown in red.
1. 3 - Performance Lines → These visualize the performance of the assets, starting from the reference line and taking into account their weights in the portfolio. (Note: The lines are scaled for visualization purposes, so their absolute values should not be considered.)
"The names of the lines are shown in the image below."⤵️
2- Tables
The indicator includes three different types of tables:
2. 1 - Analysis Table : It provides a superficial overview of wallet statistics and values.
▪️TOTAL ASSETS → The current equivalent of all assets in the target currency
▪️CASH VALUE → The current value of the amount "Cash Value", in the target currency.
▪️PORTFOLIO VALUE → The total value of assets excluding Cash, in the target currency.
▪️POSTFOLIO COST → The cost of assets excluding Cash, in the target currency.
▪️PORTFOLIO ABSOLUTE RETURN → It shows the profit or loss relative to the cost of assets
▪️PORTFOLIO RETURN % →It shows the profit or loss relative to the cost of assets on a percentage basis
2. 2 - Performance Table : It displays the names of assets excluding Cash and their profit amounts, sorted from highest to lowest profit. If "Show as Percentage" is selected in the settings, it shows the percentage profit or loss relative to the cost. Profits are represented in green, while losses are represented in red.
"You can see the visual showing the tables below"⤵️
4️⃣How to Use ?
1- Choose the date on which the visualization will begin (📌The start date only affects the exchange rate used for calculating the reference line in the target currency.)
2- If you have cash holdings, enter the amount and specify the currency.
3- Select the currency in which your portfolio value will be displayed.(Default value is USD)
4- To set up your portfolio;
SYMBOLS - QUANTITY - PURCHASE PRICE
Enter the symbols of your assets - the number of units you hold - and their cost levels.
5- If you have cash, be sure to include your cash balance. If you also hold other currencies, enter them as separate assets with their corresponding quantities and purchase prices.
6- If you want to see the percentage returns of the assets in the performance table relative to their cost, select the "Show as Percent" option.
7- If you want to see the performance visuals of the assets, click on the "Show Asset Performance" option.
You can find an image of the settings section where the numbers above are used as references below.⤵️
📌 NOTE → By default, a few assets and their values have been pre-added in the initial settings. This is to ensure that you don’t see an empty screen when adding the indicator to the chart. Please remember to enter your own assets and values. The default settings are only provided as an example.
Nasan Risk Score & Postion Size Estimator** THE RISK SCORE AND POSITION SIZE WILL ONLY BE CALCUTAED ON DIALY TIMEFRAME NOT IN OTHER TIMEFRAMES.
The typically accepted generic rule for risk management is not to risk more than 1% - 2 % of the capital in any given trade. It has its own basis however it does not take into account the stocks historic & current performance and does not consider the traders performance metrics (like win rate, profit ratio).
The Nasan Risk Score & Position size calculator takes into account all the listed parameters into account and estimates a Risk %. The position size is calculated using the estimated risk % , current ATR and a dynamically adjusted ATR multiple (ATR multiple is adjusted based on true range's volatility and stocks relative performance).
It follows a series of calculations:
Unadjusted Nasan Risk Score = (Min Risk)^a + b*
Min Risk = ( 5 year weighted avg Annual Stock Return - 5 year weighted avg Annual Bench Return) / 5 year weighted avg Annual Max ATR%
Max Risk = ( 5 year weighted avg Annual Stock Return - 5 year weighted avg Annual Bench Return) / 5 year weighted avg Annual Min ATR%
The min and max return is calculated based on stocks excess return in comparison to the Benchmark return and adjusted for volatility of the stock.
When a stock underperforms the benchmark, the default is, it does not calculate a position size , however if we opt it to calculate it will use 1% for Min Risk% and 2% for Max Risk% but all the other calculations and scaling remain the same.
Rationale:
Stocks outperforming their benchmark with lower volatility (ATR%) score higher.
A stock with high returns but excessive volatility gets penalized.
This ensures volatility-adjusted performance is emphasized rather than absolute returns.
Depending on the risk preference aggressive or conservative
Aggressive Risk Scaling: a = max (m, n) and b = min (m, n)
Conservative Scaling: a = min (m, n) and b = max (m, n)
where n = traders win % /100 and m = 1 - (1/ (1+ profit ratio))
A default of 50% is used for win factor and 1.5 for profit ratio.
Aggressive risk scaling increases exposure when the strategy's strongest factor is favorable.
Conservative risk scaling ensures more stable risk levels by focusing on the weaker factor.
The Unadjusted Nasan risk is score is further refined based on a tolerance factor which is based on the stocks maximum annual drawdown and the trader's maximum draw down tolerance.
Tolerance = /100
The correction factor (Tolerance) adjusts the risk score based on downside risk. Here's how it works conceptually:
The formula calculates how much the stock's actual drawdown exceeds your acceptable limit.
If stocks maximum Annual drawdown is smaller than Trader's maximum acceptable drawdown % , this results in a positive correction factor (indicating the drawdown is within your acceptable range and increases the unadjusted score.
If stocks maximum Annual drawdown exceeds Trader's maximum acceptable drawdown %, the correction factor will decrease (indicating that the downside risk is greater than what you are comfortable with, so it will adjust the risk exposure).
Once the Risk Score (numerically equal to Risk %) The position size is calculated based on the current market conditions.
Nasan Risk Score (Risk%) = Unadjusted Nasan Risk Score * Tolerance.
Position Size = (Capital * Risk% )/ ATR-Multiplier * ATR
The ATR Multiplier is dynamically adjusted based on the stocks recent relative performance and the variability of the true range itself. It would range between 1 - 3.5.
The multiplier widens when conditions are not favorable decreasing the position size and increases position size when conditions are favorable.
This Calculation /Estimate Does not give you a very different result than the arbitrary 1% - 2%. However it does fine tune the % based on sock performance, traders performance and tolerance level.
Trade Ladder Pro: Compounding & Risk ManagerTrade Ladder Pro: Compounding & Risk Manager
Inspired by the popular $20 to $52,000 trading challenge, this tool is designed to help you scale your trading account using systematic compounding and enhanced risk management techniques. Whether you’re aiming for disciplined growth or fine-tuning your risk/reward, Trade Ladder Pro offers a flexible approach to visualizing your trade levels.
How to Use:
Inputs:
Compounding Mode:
Set your starting balance, final balance goal, number of trades, and current trade level. You can move to the next trade after a successful trade in settings. The entries are not signals. They are there to help manage risk.
The script calculates the necessary compounding factor to grow your balance across the defined trades.
Risk Management Mode:
In addition to the above, specify a risk percentage and risk/reward ratio.
Input an entry price (or leave it at 0 to use the current price) to automatically compute the stop loss and take profit levels.
Display Options:
Choose the table’s position on the chart (e.g., Top Right, Top Left, Bottom Right, Bottom Left).
Pick between a vertical or horizontal layout for a display that suits your workflow.
Results:
The table will display the trade level, starting balance, risk amount, entry price, take profit, and (if in Risk Management mode) stop loss along with the projected ending balance.
Community & Feedback:
Your feedback is invaluable! Please share any tips or report any errors you encounter so we can continue to improve this tool. Happy trading!
Smart % Levels📈 Smart % Levels – Visualize Significant Percentage Moves
What it does:
This indicator plots horizontal levels based on a percentage change from the previous day's close (or open, if selected). It allows traders to visualize price movements relative to meaningful thresholds like ±1%, ±2%, etc.
What makes it different:
Unlike other level indicators, Smart % Levels only displays the relevant levels based on current price action. This avoids clutter by showing only the levels that are being approached or crossed by the current price. It's a clean and dynamic way to visualize key price zones for intraday analysis.
How it works:
- Select between using the previous day's Close or Open as the reference
- Choose the percentage spacing between levels (e.g., 1%, 0.5%, etc.)
- Enable optional labels to see the exact percentage of each level
- Automatically filters levels to only show those between yesterday's price and today's current price
- Includes customization for colors, line styles, widths, and opacity
Best for:
Day traders and scalpers who want a quick, clean view of how far the current price has moved from yesterday’s reference, without being overwhelmed by unnecessary lines.
Extra notes:
- The levels are recalculated each day at the market open
- All graphics reset at the start of each session to maintain clarity
- This script avoids repainting by only plotting levels relative to available historical data (no lookahead)
This tool is for informational purposes only and should not be considered as financial advice. Always do your own research before making trading decisions.
Cartera SuperTrends v4 PublicDescription
This script creates a screener with a list of ETFs ordered by their average ROC in three different periods representing 4, 6 and 8 months by default. The ETF
BIL
is always included as a reference.
The previous average ROC value shows the calculation using the closing price from last month.
The current average ROC value shows the calculation using the current price.
The previous average column background color represents if the ETF average ROC is positive or negative.
The current average column background color represents if the ETF average ROC is positive or negative.
The current average column letters color represents if the current ETF average ROC is improving or not from the previous month.
Changes from V2 to V3
Added the option to make the calculation monthly, weekly or daily
Changes from V3 to V4
Adding up to 25 symbols
Highlight the number of tickers selected
Highlight the sorted column
Complete refactor of the code using a matrix of arrays
Options
The options available are:
Make the calculation monthly, weekly or daily
Adjust Data for Dividends
Manual calculation instead of using ta.roc function
Sort table
Sort table by the previous average ROC or the current average ROC
Number of tickers selected to highlight
First Period in months, weeks or days
Second Period in months, weeks or days
Third Period in months, weeks or days
Select the assets (max 25)
Usage
Just add the indicator to your favorite indicators and then add it to your chart.
Trading Capital Management for Option SellingTrading Capital Management for Option Selling
This Pine Script indicator helps manage trading capital allocation for option selling strategies based on price percentile ranking. It provides dynamic allocation recommendations for index options (NIFTY and BANKNIFTY) and individual stock positions.
Key Features:
- Dynamic buying power (BP) allocation based on close price percentile
- Flexible index allocation between NIFTY and BANKNIFTY
- Automated calculation of recommended number of stock positions
- Risk management through position size limits
- Real-time INDIA VIX monitoring
Main Parameters:
1. Window Length: Period for percentile calculation (default: 252 days)
2. Thresholds: Low (30%) and High (70%) percentile thresholds
3. Capital Settings:
- Trading Capital: Total capital available
- Max BP% per Stock: Maximum allocation per stock position
4. Buying Power Range:
- Low Percentile BP%: Base BP usage at low percentile
- High Percentile BP%: Maximum BP usage at high percentile
5. Index Allocation:
- NIFTY/BANKNIFTY split ratio
- Minimum and maximum allocation thresholds
Display:
The indicator shows two tables:
1. Common Metrics:
- Total BP Usage with percentage
- Current INDIA VIX value
- Current Close Price Percentile
2. Capital Allocation:
- Index-wise BP allocation (NIFTY and BANKNIFTY)
- Stock allocation pool
- Recommended number of stock positions with BP per stock
Usage:
This indicator helps traders:
1. Scale positions based on market conditions using price percentile
2. Maintain balanced exposure between indices and stocks
3. Optimize capital utilization while managing risk
4. Adjust position sizing dynamically with market volatility
Majors Sync | QuantEdgeBIntroducing MajorsSyn c by QuantEdgeB
🔹 Overview
🚀 Dynamic Rotation System for BTC, ETH & SOL
MajorsSync is a powerful, rotation-based strategy designed to systematically identify the leading cryptocurrency among the top three majors: Bitcoin (BTC), Ethereum (ETH), and Solana (SOL).
By analyzing inter-market strength, pairwise trend dominance, and individual trend quality, MajorsSync dynamically shifts exposure toward the asset with the highest potential for outperformance, while de-risking during unfavorable conditions.
✨ Core Objective
📌 To allocate capital to the strongest-performing major—BTC, ETH, or SOL—while avoiding underperformers and unnecessary exposure during uncertain market phases.
🧠 How It Works
Majors Sync uses a multi-tiered decision structure:
🔹 1. Individual Asset Trend Evaluation
Each asset is scored using a Trend Performance Index (TPI). These are proprietary models capturing medium-term momentum and structure for:
• BTC
• ETH
• SOL
🔹 2. Pairwise Relative Strength Matrix
Compute TPI values between the asset pairs:
• ETHBTC → Is ETH stronger than BTC?
• SOLETH → Is SOL stronger than ETH?
• SOLBTC → Is SOL stronger than BTC?
These relative TPI readings help construct a score matrix to rank assets 0–2.
🔹 3. Signal Confirmation
Only when the top-ranked asset has a positive TPI, a Long signal is triggered on that asset.
Otherwise, if no asset meets the threshold, the system remains in Cash/Neutral mode to protect capital.
🧮 Capital Allocation Logic
📊 Allocation always rotates to:
• ✅ The strongest asset with a positive trend
• 🛑 Otherwise, goes neutral/cash (no trade)
This ensures capital is placed in high-probability zones only.
💼 Equity System
🧮 An internal equity engine simulates dynamic capital rotation by reallocating to the top-performing major (BTC, ETH, or SOL) at each bar. This allows for transparent tracking of historical strategy performance.
• 💡 If BTC is the top asset → System follows BTC's price change
• 💡 If ETH becomes dominant → It reallocates to ETH
• 💡 If SOL takes over → Position shifts to SOL
• 📉 No asset qualified? → Strategy holds cash
You also get a Buy & Hold BTC benchmark for direct comparison.
⚠️ This simulation reflects past behavior and is not indicative of future results.
📊 Dashboard & Visuals
The built-in dashboard table displays:
• 🧠 Asset Trends (BTC, ETH, SOL)
• 🧩 Matrix values (e.g., ETH vs BTC, SOL vs ETH)
• 🏁 Final Signal Output (which asset is selected)
• 🔁 Real-time Strategy Equity vs Buy & Hold
💪 Why It Works
Majors Sync blends:
• ✅ Inter-market structure (pairwise dominance)
• ✅ Intra-asset momentum (standalone TPI)
• ✅ Position filtering (only acts on positive signals)
• ✅ Capital efficiency (rotates rather than overtrades)
This design reduces drawdowns, avoids stagnation, and seeks to capture medium-term leadership shifts among the top crypto majors.
📊 MajorSync Backtest Metrics
🔹 Sharpe Ratio
Shows the risk-adjusted return by comparing the strategy's return to its overall volatility. Higher is better — it means you're getting more reward per unit of risk.
🔹 Sortino Ratio
Similar to Sharpe, but focuses only on downside volatility (the bad kind). This makes it a better reflection of how the system handles losses specifically.
🔹 Omega Ratio (Ω)
Measures how often the system generates profitable returns versus unprofitable ones. A value above 1 means it wins more than it loses — and the higher it goes, the better.
🔹 Equity Max Drawdown (Eq.Max DD)
This is the deepest decline from peak equity during the test. Lower drawdown means less risk of big losses.
📌 Disclaimer: Backtest results are based on historical data and past market behavior. Performance is not indicative of future results and should not be considered financial advice. Always conduct your own backtests and research before making any investment decisions. 🚀
🚀 Key Benefits
✔️ Trend-Following + Relative Strength Hybrid
✔️ Rotational Capital Efficiency
✔️ De-risking in Weak Conditions
✔️ Optimized for Swing and Medium-Term Positioning
✔️ Visual Clarity + Smart Allocation
🔧 Settings Overview
• Color Mode – Switch visual palette for the base Trend
• Trend Color – Toggle trend-based bar coloring
• Enable Backtest Table – Show historical performance metrics
• Start Date – Control backtest window
🏁 Conclusion
Majors Sync is your intelligent rotation engine for crypto majors.
Instead of guessing which coin to hold, let the system rotate for you—objectively, consistently, and visually.
📈 Be in BTC when it leads. Switch to ETH or SOL when strength shifts. Sit in cash when needed.
📌 Master the market with precision and confidence | QuantEdgeB
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
All Forex Sessions (SAST Accurate) + LabelsFor traders in South Africa
Uses timestamp("Africa/Johannesburg", ...) — this locks the session window to true SAST time
The session now perfectly aligns from 14:00 to 18:00 local time no matter what time zone your TradingView chart is in
Also shows start and end vertical lines only when the session opens and closes
GTC Breakout ScannerIntroducing the GTC Breakout Scanner – Your Ultimate Market Radar!
Stay ahead of market moves with the GTC Breakout Scanner, a powerful TradingView indicator designed to detect momentum shifts, identify breakouts, and optimize your entries and exits like never before.
🔹 Multi-Coin Screener – Get real-time rate-of-change (ROC) alerts across multiple assets in one view.
🔹 AI-Enhanced Analysis – Adaptive K-means clustering fine-tunes overbought and oversold levels dynamically.
🔹 Precision Alerts – Detect bullish and bearish breakouts with customizable thresholds.
🔹 Over-Extended Integration – Visualize price movements with dynamic upper and lower bands for added confirmation.
Whether you're a scalper, swing trader, or long-term investor, the GTC Breakout Scanner empowers you with instant insights to catch high probability opportunities before the crowd.
🚀 Upgrade your trading strategy today with the GTC Breakout Scanner! 🚀
The GTC Breakout Scanner indicator is ideal for traders who rely on momentum, trend shifts, and volatility-based strategies. Here are the key types of traders who would benefit the most:
🔥 1. Momentum Traders
The indicator tracks the Rate of Change (ROC) and alerts when an asset’s price momentum is shifting.
Traders looking for explosive price movements can spot early bullish or bearish signals before major trends develop.
⚡ 2. Swing Traders
The scanner tracks multiple cryptocurrencies and flags high-probability reversals based on historical price action.
The adjustable overbought/oversold zones adapt dynamically using K-means clustering, making it useful for precision entry and exit points.
🚀 3. Trend-Following Traders
The inclusion of Bollinger Bands with dynamic thresholds allows traders to identify trend continuation or breakdowns.
The adaptive OB/OS levels help in recognizing trend exhaustion or potential breakout setups.
🎯 4. Mean Reversion Traders
Traders who capitalize on price deviations from the mean will benefit from the indicator’s multi-timeframe analysis and ability to detect extreme price movements.
Alerts on overbought/oversold conditions help traders enter at ideal pullback levels.
⏳ 5. Crypto Scalpers & Day Traders
The bullish and bearish momentum shifts make it a great tool for short-term traders looking to capitalize on fast moves.
The multi-coin screener lets traders monitor several assets at once, ensuring they don’t miss high-volatility setups.
This indicator is a powerful all-in-one scanner that helps traders spot momentum shifts, trend reversals, and breakout opportunities across multiple cryptocurrencies. Whether you're a swing trader, trend follower, scalper, or momentum trader, the GTC Breakout Scanner indicator provides precision market insights. 🚀🔥
⚠️ Disclaimer:
The GTC Breakout Scanner is a powerful tool designed to enhance your market analysis by providing real-time insights on market shifts. However, it is not a replacement for comprehensive market analysis or prudent risk management. Always combine this tool with thorough research, technical analysis, and a well-structured trading plan. Past performance is not indicative of future results. Trade responsibly.
Minimalist Trading Plan ChecklistMinimalist Trading Plan Checklist
A clean, customizable indicator to monitor your trading plan.
Features:
Checklist: Monitor bias, narrative, context, entry.
Timeframes: Set or leave blank (❌).
Risk-Reward Ratio: Display in a neat box.
News Checkbox: Toggle for high-impact events.
Customizable: Adjust colors and layout.
Stay organized and focused on your strategy with this minimalist tool.
Short and sweet! Let me know if you need further tweaks. 😊
Avg.ROC TableThis indicator calculates the average Rate of Change (ROC) for up to 30 user-selected assets over a specified number of candles. It then ranks the assets—assigning rank 1 to the asset with the highest average ROC (strongest momentum) and rank 30 to the asset with the lowest. The results are displayed in a clean, easy-to-read table split into two stacks of 15 assets each, allowing you to quickly see which assets are performing best.
Psychological LineThe Psychological Line (PL) Indicator is a sentiment-based oscillator that measures the market's psychological strength by comparing the number of up-closing bars to the total number of bars over a specified period. It provides insight into market sentiment, helping traders identify overbought or oversold conditions, trend strength, and potential reversals.
Description for Your Public Release (TradingView/NinjaTrader)
Indicator Name: Psychological Line (PL)
Category: Oscillator / Market Sentiment
What It Does:
The Psychological Line calculates the percentage of bars closing higher than the previous bar over a defined period.
It ranges between 0% and 100%, where values above 70% suggest overbought conditions, and values below 30% indicate oversold conditions.
It helps traders identify trend strength and possible reversal points when combined with other indicators like moving averages or volume analysis.
How to Use It:
Overbought & Oversold Levels: A high PL value (e.g., above 70) suggests bullish exhaustion, while a low value (below 30) signals bearish exhaustion.
Trend Confirmation: When PL moves in the direction of price trends, it confirms market momentum.
Divergence Signals: If price makes a new high, but PL does not, it can indicate a weakening trend (bearish divergence) and vice versa for bullish divergence.
Customization:
Adjustable lookback period for sensitivity tuning.
Optional smoothing (e.g., moving average) for noise reduction.
Best Used For:
Short-term intraday trading to identify extreme market conditions.
Swing trading for catching momentum shifts.
Confluence trading when combined with trend-following indicators.
Binance Leveraged Liquidations ApproximationBinance Leveraged Liquidations Approximation (BLLA)
The Binance Leveraged Liquidations Approximation (BLLA) indicator is a tool designed to estimate liquidation levels for leveraged trading on Binance. It calculates the approximate prices at which liquidations could occur for long and short positions, based on the entry price and leverage levels selected by the user.
Key Features:
Liquidation Level Calculation:
Estimates liquidation prices for multiple leverage levels (e.g., 20x, 10x, 5x, etc.).
Supports both long and short positions.
Customization:
Allows the user to manually input the entry price or automatically calculate it as the midpoint between the low and high of a defined period.
Leverage levels are configurable, enabling the indicator to adapt to different trading strategies.
Clear Visualization:
Displays liquidation levels directly on the chart, with labels indicating the corresponding leverage.
Uses distinct colors for long positions (yellow) and short positions (blue).
Recommended Use:
Risk Management: Helps identify liquidation levels to adjust stop-loss orders and manage risk in leveraged trading.
Market Analysis: Provides a quick overview of key levels where significant price movements might occur due to mass liquidations.
Settings:
Entry Price: Enter manually or leave at 0.0 to calculate automatically.
Leverage: Configure desired leverage levels (e.g., 20x, 10x, 5x, etc.).
Transparency and Display: Adjust the transparency of the lines and the number of bars displayed.
Quick Instructions:
Add the indicator to your chart.
Enter the entry price or leave it at 0.0 to calculate automatically.
Configure leverage levels according to your strategy.
Observe liquidation levels on the chart and use them to manage your risk.
Note:
This indicator is an approximation and does not guarantee absolute accuracy of liquidation levels, as these may vary depending on market conditions and exchange policies.
The Investment Clock Orbital GraphThe Investment Clock Orbital Graph is an advanced visualization tool designed to help traders and investors track economic cycles using a dynamic scatter plot of GDP growth vs. CPI inflation rates.
This indicator is a fusion of two powerful TradingView indicators:
LuxAlgo ’s Relative Strength Scatter Plot – A robust scatter plot for tracking relative strength.
The Investment Clock Indicator – A cycle-based approach to market rotation. This indicator contains more information regarding The Investment Clock.
By combining these approaches, the Investment Clock Orbital Graph enables traders to visualize economic momentum and inflationary trends in a unique, orbital-style scatter plot.
Key Features & Improvements
Orbital Graph Representation – Displays GDP growth and CPI inflation as a dynamic, evolving scatter plot, showing how the economy moves through different phases.
Quadrant-Based Market Regimes – Identifies four key economic phases:
1)🔥 Overheating (High Growth, High Inflation)
2)📉 Stagflation (Low Growth, High Inflation)
3)🤒 Recovery (High Growth, Low Inflation)
4)🎈 Reflation (Low Growth, Low Inflation)
Data-Driven Analysis – Utilizes FRED (Federal Reserve Economic Data) for accurate real-world GDP & CPI data.
Trailing Path of Economic Evolution – Tracks historical economic cycles over time to show momentum and cyclical movements.
Customizable Parameters – Set sustainable GDP growth and inflation thresholds, adjust trail length, and fine-tune scatter plot resolution.
Auto-Labeled Quadrants & Revised Accurate Market Guidance – Each quadrant includes newly updated tooltips and annotations (like ETF suggestions) to help traders make informed decisions.
Live Macro Forecasting Tool – Helps traders anticipate future market conditions, rate hikes/cuts, and sector rotations.
How to Use for Trading Decisions
The Investment Clock Orbital Graph helps traders and macro investors by identifying market phases and providing insights into asset class performance during different economic conditions.
📌 Step 1: Identify the Current Quadrant
Locate the most recent point on the orbital graph to see if the economy is in Overheating, Stagflation, Recovery, or Reflation.
📌 Step 2: Forecast Market Trends
The trajectory of the points can predict upcoming economic shifts:
Overheating → Stagflation ➡️ Expect economic slowdowns, bearish stock markets.
Stagflation → Reflation ➡️ Interest rate cuts likely, bonds and defensive stocks perform well.
Reflation → Recovery ➡️ Risk-on rally, technology and cyclicals perform best.
Recovery → Overheating ➡️ Commodities surge, inflation rises, and central banks intervene.
📌 Step 3: Align Trading & Investing Strategies
🔥 Overheating – Favor commodities & energy (Oil, Industrial Stocks, Materials).
📉 Stagflation – Favor defensive assets (Cash, Utilities, Healthcare).
🤒 Recovery – Favor growth stocks (Technology, Consumer Discretionary).
🎈 Reflation – Favor bonds, value stocks, and financials.
📌 Step 4: Monitor Trends Over Time
The indicator visualizes economic movement over multiple months, allowing traders to confirm long-term trends vs. short-term noise.
The Investment Clock Orbital Graph is an essential macro trading tool, providing a real-time visualization of economic conditions. By tracking GDP growth vs. CPI inflation, traders and investors can align their portfolios with major macroeconomic shifts, predict sector rotations, and anticipate central bank policy changes.
Democratic MultiAsset Strategy [BerlinCode42]Happy Trade,
Intro
Included Trade Concept
Included Indicators and Compare-Functions
Usage and Example
Settings Menu
Declaration for Tradingview House Rules on Script Publishing
Disclaimer
Conclusion
1. Intro
This is the first multi-asset strategy available on TradingView—a market breadth multi-asset trading strategy with integrated webhooks, backtesting capabilities, and essential strategy components like Take Profit, Stop Loss, Trailing, Hedging, Time & Session Filters, and Alerts.
How It Trades? At the start of each new bar, one asset from a set of eight is selected to go long or short. As long there is available cash and the selected asset meets the minimum criteria.
The selection process works through a voting system, similar to a democracy. Each asset is evaluated using up to five indicators that the user can choose. The asset with the highest overall voting score is picked for the trade. If no asset meets all criteria, no trade is executed, and the cash reserve remains untouched for future opportunities.
How to Set Up This Market Breadth Strategy:
Choose eight assets from the same market (e.g., cryptos or big tech stocks).
Select one to five indicators for the voting system.
Refine the strategy by adjusting Take Profit, Stop Loss, Hedging, Trailing, and Filters.
2. Voting as the included Trade Concept
The world of financial trading is filled with both risks and opportunities, and the key challenge is to identify the right opportunities, manage risks, and do both right on time.
There are countless indicators designed to spot opportunities and filter out risks, but no indicator is perfect—they only work statistically, hitting the right signals more often than the wrong ones.
The goal of this strategy is to increase the accuracy of these Indicators by:
Supervising a larger number of assets
Filtering out less promising opportunities
This is achieved through a voting system that compares indicator values across eight different assets. It doesn't just compare long trades—it also evaluates long vs. short positions to identify the most promising trade.
Why focus on one asset class? While you can randomly select assets from different asset classes, doing so prevents the algorithm from identifying the strongest asset within a single class. Think about, within one asset class there is often a major trend whereby different asset classes has not really such behavior.
And, you don’t necessarily need trading in multiple classes—this algorithm is designed to generate profits in both bullish and bearish markets. So when ever an asset class rise or fall the voting system ensure to jump on the strongest asset. So this focusing on one asset class is an integral part of this strategy. This all leads to more stable and robust trading results compared to handling each asset separately.
3. Included Indicators and Compare-Functions
You can choose from 17 different indicators, each offering different types of signals:
Some provide a directional signal
Some offer a simple on/off signal
Some provide both
Available Indicators: RSI, Stochastic RSI, MFI, Price, Volume, Volume Oscillator, Pressure, Bilson Gann Trend, Confluence, TDI, SMA, EMA, WMA, HMA, VWAP, ZLMA, T3MA
However, these indicators alone do not generate trade signals. To do so, they must be compared with thresholds or other indicators using specific comparison functions.
Example – RSI as a Trade Signal. The RSI provides a value between 0 and 100. A common interpretation is:
RSI over 80 → Signal to go short or exit a long trade
RSI under 20 → Signal to go long or exit a short trade
Here, two comparison functions and two thresholds are used to determine trade signals.
Below is the full set of available comparison functions, where: I represents the indicator’s value and A represents the comparator’s value.
I < A if I smaller A then trade signal
I > A if I bigger A then trade signal
I = A if I equal to A then trade signal
I != A if I not equal to A then trade signal
A <> B if I bigger A and I smaller B then trade signal
A >< B if I smaller A then long trade signal or if I bigger B then short trade signal
Image 1
In Image 1, you can see one of five input sections, where you define an indicator along with its function, comparator, and constants. For our RSI example, we select:
Indicator: RSI
Function: >< (greater/less than)
Comparator: Constant
Constants: A = 20, B = 80
With these settings a go short signal is triggered when RSI crosses above 80. And a go long signal is triggered when RSI crosses below 20.
Relative Strength Indicator: The RSI from the public TradingView library provides a directional trade signal. You can adjust the price source and period length in the indicator settings.
Stochastic Relative Strength Indicator: As above the Stoch RSI offers a trade signal with direction. It is calculated out of the RSI, the stochastic derivation and the SMA from the Tradingview library. You can set the in-going price source and the period length for the RSI, for the Stochastic Derivation and for the SMA as blurring in the Indicator settings section.
Money Flow Indicator: As above the MFI from the public Tradingview library offers a trade signal with direction. You can set the in-going price source and the period length in the Indicator settings section.
Price: The Price as Indicator is as simple as it can be. You can chose Open, High, Low or Close or combinations of them like HLC3 or even you can import an external Indicator. The absolute price or value can later be used to generate a trade signals when certain constant thresholds or other indicators signals are crossed.
Volume: Similar as above the Volume as Indicator offers the average volume as absolute value. You can set the period length for the smoothing and you can chose where it is presented in the base currency $ or is the other. For example the trade pair BTCUSD you can chose to present the value in $ or in BTC.
Volume Oscillator: The Volume Oscillator Indicator offers a value in the range of . Whereby a value close to 0 means that the volume is very low. A value around 1 means the volume is same high as before and Values higher as 1 means the volume is bigger then before. You can set the period length for the smoothing and you can chose where it is presented in the base currency $ or is the other. For example the trade pair BTCUSD you can chose to present the value in $ or in BTC.
Pressure Indicator: The Pressure is an adapted version of LazyBear's script (Squeeze Momentum Indicator) Pressure is a Filter that highlight bars before a bigger price move in any direction. The result are integer numbers between 0 and 4 whereby 0 means no bigger price move excepted, while 4 means huge price move expected. You can set the in-going price source and the period length in the Indicator settings section.
Bilson Gann Trend: The Bilson Gann Trend Indicator is a specific re-implementation of the widely known Bilson Gann Count Algorithm to detect Highs and Lows. On base of the last four Highs and Lows a trend direction can be calculated. It is based on 2 rules to confirm a local pivot candidate. When a local pivot candidate is confirmed, let it be a High then it looks for Lows to confirm. The result range is whereby -1 means down trend, 1 means uptrend and 0 sideways.
Confluence: The Confluence Indicator is a simplified version of Dale Legan's "Confluence" indicator written by Gary Fritz. It uses five SMAs with different periods lengths. Whereby the faster SMA get compared with the (slower) SMA with the next higher period lengths. Is the faster SMA smaller then the slower SMA then -1, otherwise +1. This is done with all SMAs and the final sum range between . Whereby values around 0 means price is going side way, Crossing under 0 means trend change from bull to bear. Is the value>2 means a strong bull trend and <-2 a strong bear trend.
Trades Dynamic Index: The TDI is an adapted version from the "Traders Dynamic Index" of LazyBear. The range of the result is whereby 2 means Top goShort, -2 means Bottom goLong, 0 is neutral, 1 is up trend, -1 is down trend.
Simple Moving Average: The SMA is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
Exponential Moving Average: The EMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
Weighted Moving Average: The WMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
Hull Moving Average: HMA as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
Volume Weighted Average Price: The VWAP as above is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source in the Indicator settings section.
Zero Lag Moving Average: The ZLMA by John Ehlers and Ric Way describe in their paper: www.mesasoftware.com
As the other moving averages you can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source and the period length in the Indicator settings section.
T3 Moving Average: The T3MA is the one from the Tradingview library. You can compare it with the last close price or any other moving average indicator to indicate up and down trends. You can set the in-going price source, the period length and a factor in the Indicator settings section. Keep this factor at 1 and the T3MA swing in the same range as the input. Bigger 1 and it swings over. Factors close to 0 and the T3MA becomes a center line.
All MA's following the price. The function to compare any MA Indicators would be < or > to generate a trade direction. An example follows in the next section.
4. Example and Usage
In this section, you see how to set up the strategy using a simple example. This example was intentionally chosen at random and has not undergone any iterations to refine the trade results.
We use the RSI as the trade signal indicator and apply a filter using a combination of two moving averages (MAs). The faster MA is an EMA, while the slower MA is an SMA. By comparing these two MAs, we determine a trend direction. If the faster MA is above the slower MA the trend is upwards etc. This trend direction can then be used for filtering trades.
The strategy follows these rules:
If the RSI is below 20, a buy signal is generated.
If the RSI is above 80, a sell signal is generated.
However, this RSI trade signal is filtered so that a trade is only given the maximum voting weight if the RSI trade direction aligns with the trend direction determined by the MA filter.
So first, you need to add your chosen assets or simply keep the default ones. In Image 2, you can see one of the eight asset input sections.
Image 2
This strategy offers some general trade settings that apply equally to all assets and some asset-specific settings. This distinction is necessary because some assets have higher volatility than others, requiring asset-specific Take Profit and Stop Loss levels.
Once you have made your selections, proceed to the Indicators and Compare Functions for the voting. Image 3 shows an example of this setup.
Image 3
Later on go to the Indicator specific settings shown in Image 4 to refine the trade results.
Image 4
For refine the trade results take also a look on the result summary table, development of capital plot, on the list of closed and open trades and screener table shown in Image 5.
Image 5
To locate any trade for any asset in the chronological and scroll-able trade list, each trade is marked with a label:
An opening label displaying the trade direction, ticker ID, trade number, invested amount, and remaining cash reserves.
A closing label showing the closing reason, ticker ID, trade number, trade profit (%), trade revenue ($), and updated cash reserves.
Additionally: a green line marks each Take Profit level. An orange line indicates the (trailing) Stop Loss.
The summary table in the bottom-left corner provides insights into how effective the trade strategy is. By analyzing the trade list, you can identify trades that should be avoided.
To find those bad trades on the chart, use the trade number or timestamp. With replay mode, you can go back in time to review a specific trade in detail.
Image 6
In Image 6, you can see an example where replay mode and the start time filter are used to display specific trades within a narrow time range. By identifying a large number of bad trades, you may recognize patterns and formulate conditions to avoid them in the future.
This is the backtesting tool that allows you to develop and refine your trading strategy continuously. With each iteration—from general adjustments to detailed optimizations—you can use these tools to improve your strategy. You can:
Add other indicators with trade signals and direction
Add more indicators signals as filter
Adjust the settings of your indicators to optimize results
Configure key strategy settings, such as Time and Session Filters, Stop Loss, Take Profit, and more
By doing so, you can identify a profitable strategy and its optimal settings.
5. Settings Menu
In the settings menu you will find the following high-lighted sections. Most of the settings have a i mark on their right side. Move over it with the cursor to read specific explanation.
Backtest Results: Here you can decide about visibility of the trade list, of the Screener Table and of the Results Summary. And the colors for bullish, side ways, bearish and no signal. Go above and see Image 5.
Time Filter: You can set a Start time or deactivate it by leave it unhooked. The same with End Time and Duration Days . Duration Days can also count from End time in case you deactivate Start time.
Session Filter: Here, you can chose to activate trading on a weekly basis, specifying which days of the week trading is allowed and which are excluded. Additionally, you can configure trading on a daily basis, setting the start and end times for when trades are permitted. If activated, no new trades will be initiated outside the defined times and sessions.
Trade Logic: Here you can set an extra time frame for all indicators. You can enable Longs or Shorts or both trades.
The min Criteria percentage setting defines the minimum number of voices an asset has to get to be traded. So if you set this to 50% or less also weak winners of the voting get traded while 100% means that the winner of the voting has to get all possible voices.
Additionally, you have the option to delay entry signals. This feature is particularly useful when trade signals exhibit noise and require smoothing.
Enable Trailing Stop and force the strategy to trade only at bar closing. Other-ways the strategy trade intrabar, so when ever a voting present an asset to trade, it will send the alert and the webhooks.
The Hedging is basic as shown in the following Image 7 and serves as a catch if price moves fast in the wrong direction. You can activate a hedging mechanism, which opens a trade in the opposite direction if the price moves x% against the entry price. If both the Stop Loss and Hedging are triggered within the same bar, the hedging action will always take precedence.
Image 6
Indicators to use for Trade Signal Generating: Here you chose the Indicators and their Compare Function for the Voting . Any activated asset will get their indicator valuation which get compared over all assets. The asset with the highest valuation is elected for the trade as long free cash is present and as long the minimum criteria are met.
The Screener Table will show all indicators results of the last bar of all assets. Those indicator values which met the threshold get a background color to high light it. Green for bullish, red for bearish and orange for trade signals without direction. If you chose an Indicator here but without any compare function it will show also their results but with just gray background.
Indicator Settings: here you can setup the indicator specific settings. for deeper insights see 3. Included Indicators and Compare-Functions .
Assets, TP & SL Settings: Asset specific settings. Chose here the TickerID of all Assets you wanna trade. Take Profit 1&2 set the target prices of any trade in relation to the entry price. The Take Profit 1 exit a part of the position defined by the quantity value. Stop Loss set the price to step out when a trade goes the wrong direction.
Invest Settings: Here, you can set the initial amount of cash to start with. The Quantity Percentage determines how much of the available cash is allocated to each trade, while the Fee percentage specifies the trading fee applied to both opening and closing positions.
Webhooks: Here, you configure the License ID and the Comment . This is particularly useful if you plan to use multiple instances of the script, ensuring the webhooks target the correct positions. The Take Profit and Stop Loss values are displayed as prices.
6. Declaration for Tradingview House Rules on Script Publishing
The unique feature of this Democratic Multi-Asset Strategy is its ability to trade multiple assets simultaneously. Equipped with a set of different standard Indicators, it's new democratic Voting System does more robust trading decisions compared to single-asset. Interchangeable Indicators and customizable strategy settings allowing for a wide range of trading strategies.
This script is closed-source and invite-only to support and compensate for over a year of development work. Unlike other single asset strategies, this one cannot use TradingView's strategy functions. Instead, it is designed as an indicator.
7. Disclaimer
Trading is risky, and traders do lose money, eventually all. This script is for informational and educational purposes only. All content should be considered hypothetical, selected post-factum and is not to be construed as financial advice. Decisions to buy, sell, hold, or trade in securities, commodities, and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results. Using this script on your own risk. This script may have bugs and I declare don't be responsible for any losses.
8. Conclusion
Now it’s your turn! Chose an asset class and pick 8 of them and chose some indicators to see the trading results of this democratic voting system. Refine your multi-asset strategy to favorable settings. Once you find a promising configuration, you can set up alerts to send webhooks directly. Configure all parameters, test and validate them in paper trading, and if results align with your expectations, you even can deploy this script as your trading bit.
Cheers
Risk ManagementRisk Management Script Description
What it does
This Pine Script indicator offers comprehensive risk management tools for traders on TradingView. The script helps users plan and visualize their trades with precise risk parameters, focusing on protecting capital while optimizing position sizes.
Key Features
Dual Calculation Modes:
Dynamic Margin: Calculates the optimal margin required when using a fixed leverage
Dynamic Leverage: Automatically adjusts leverage to limit risk exposure to the specified amount
Visual Trade Planning:
Displays rectangular zones for entry, stop loss, and take profit levels
Clear labels showing price points and trade direction (Long/Short)
Customizable visual settings (colors, transparency, label visibility)
Advanced Risk Calculations:
Precise position sizing based on your maximum risk tolerance
Automatic calculation of optimal contracts/position size
Includes trading fees in all calculations for real-world accuracy
Risk/Reward ratio visualization and management
Comprehensive Dashboard:
Interactive table displaying all critical trade parameters
Shows Entry Price, Target, Stop Loss with calculated ROI percentages
Displays Leverage, Margin requirements, and Maximum Loss
Liquidation warnings to prevent account blow-ups
Customizable appearance (position, light/dark theme)
Why It's Valuable for Risk Management
Capital Preservation: By defining your maximum acceptable loss upfront, the script ensures you never risk more than planned
Emotion-Free Trading: Pre-planned position sizes and take-profit levels help remove emotional decision-making during active trades
Realistic Calculations: Incorporates trading fees into all calculations, providing accurate profit/loss projections
Liquidation Prevention: Alerts you when your settings might lead to liquidation risk, helping avoid catastrophic losses
Holistic Approach: Manages all aspects of risk: position size, leverage, margin requirements, and risk/reward ratios
Flexibility: Works with any trading strategy or timeframe, providing consistent risk management across different market conditions
Visual Clarity: Makes complex risk calculations easy to understand through clear visual representation
This script is ideal for both novice traders learning proper risk management and experienced traders seeking to optimize their position sizing and risk parameters in a systematic way.
ARSI | QuantumResearch🚀 Adaptative RSI (ARSI) | QuantumResearch 🚀
The Adaptative RSI (ARSI) is an advanced momentum-based oscillator that enhances traditional RSI analysis by incorporating a dynamic smoothing factor and adaptive thresholding. This innovative approach allows the indicator to dynamically adjust to changing market conditions, reducing lag and improving responsiveness to trend shifts.
🔍 Why ARSI?
Unlike conventional RSI, ARSI dynamically adapts its smoothing factor based on market volatility. This allows for better trend identification, earlier entries, and improved exits—all without unnecessary noise.
🔗 Key Features:
✅ Adaptative RSI Calculation – The smoothing factor automatically adjusts based on RSI’s distance from equilibrium.
✅ Dynamic Threshold Mechanism – Uses standard deviation-based adaptive bands to define overbought/oversold levels dynamically.
✅ Trend Detection & Confirmation – ARSI reacts quickly to trend shifts, helping traders catch early moves and avoid unnecessary drawdowns.
✅ Customizable Visuals – Multiple color schemes and visual overlays to match different trading styles.
✅ Alerts for Trend Reversals – Stay ahead with real-time alerts for bullish and bearish trend shifts.
📊 How ARSI Helps in Trading
📈 Catch Early Trends – The oscillator helps identify breakouts before they become obvious, allowing for early positioning in emerging trends.
📉 Avoid Drawdowns – The indicator signals early exits, helping to protect capital before major market sell-offs.
📊 Enhance Confirmation – Can be used alongside other momentum indicators for better trade validation.
📊 Real-World Application of ARSI
🟢 ETH: Avoiding a 50% Drawdown
🔹 This ETH chart demonstrates how ARSI signaled an early exit, preventing a massive drawdown of nearly 50%.
🟢 SOL: Identifying Early Trends
🔹 ARSI caught early bullish momentum on SOL, allowing traders to enter the uptrend before the major rally.
🟢 BTC: Exit Before the COVID Crash
🔹 ARSI issued a timely exit before the COVID crash, helping traders avoid a massive market collapse.
🟢 TOTAL: Early Exit Before a Major Market Drop
🔹 The indicator provided a clear warning signal before the market downturn, allowing risk mitigation.
🟢 DOGE: Trend Continuation Confirmation
🔹 ARSI successfully confirmed trend continuation on DOGE, keeping traders aligned with the market move.
⚠️ Disclaimer
The content provided is for informational and educational purposes only. Nothing contained within should be considered financial, investment, legal, or other professional advice. Past performance does not guarantee future results. Trading cryptocurrencies involves substantial risk of loss and is not suitable for every investor.
🔥 Enhance your trading with the Adaptive RSI (ARSI) | QuantumResearch – Stay ahead of the trend! 🚀