JYL Trend Pro V1.0 BETANASDAQ:TSLA
JYL Trend Pro V1.0 is a ruleābased trendāfollowing strategy built on a proprietary smoothed price engine.
It focuses on clear trend states and position management rather than classic indicators, and can be used on both long and short side depending on the userās settings.
Three Signal Modes
1. Stable Mode
Stable mode is the āclassicā version of the system.
It reacts only when the trend state clearly flips, and then manages the position with simple rules:
First strong bullish state ā open / add to long
First strong bearish state ā open / add to short
When the trend weakens but does not fully reverse, the strategy can reduce position size (partial exit)
When the trend flips in the opposite direction, the strategy fully exits the existing position
This mode is designed for traders who prefer fewer signals and smoother equity curves.
2. Impulsive Mode
Impulsive mode keeps the same core logic, but allows the strategy to react earlier and manage exits more actively:
Opportunistic early entries around strong moves
Protective āearly stopā logic for those aggressive entries
Segmentābased partial exits after extended bullish or bearish runs
Fast full exits when momentum fades quickly or the trend flips
This mode is aimed at users who accept more trade frequency in exchange for faster reactions.
3. IMP+ Mode (Impulsive Plus)
IMP+ is the advanced version of Impulsive mode. It keeps all core behavior and adds extra controls for powerāusers:
Adjustable presets for how early the system can enter a move
Adjustable presets for how quickly early entries are cut if they fail
Smarter addāons after a bullish / bearish segment, so adds can occur either at the next strong signal or on a āpullbackātypeā bar inside the ongoing trend
Flexible multiālevel partialāexit packages after a strong run
Additional āemergency exitā logic that can flatten positions when price opens too close to the previous bar after a strong trend segment
All of these options are exposed as presets in the Inputs tab, so users can experiment without touching code.
Signals & Usage
The strategy prints clear labels on the chart:
LONG / SHORT ā open or add to position
REDUCE SIZE ā partial profitātaking or risk reduction
SELL LONG / SHORT COVER ā full exit of long / short positions
A tradeādirection filter lets you run the system as longāonly, shortāonly, or long & short.
This script is provided for educational and research purposes only.
It is not financial advice and does not guarantee any future performance. Always test on a demo account, adjust risk to your own situation, and consult your broker or advisor before trading live.
Internally, this strategy is based on the private JYL Trend Pro rule set and riskāmanagement framework.
Search in scripts for "bear"
Adaptive Averaging Concept [NeuraAlgo]Adaptive Averaging Concept
A Quant-Engineered Dynamic Position Sizing & Optimization Framework
Adaptive Averaging Concept⢠is a next-generation, research-driven trading framework that combines multistage entries, ATR-based intelligent scaling, real-time sentiment filtering, and a fully automated optimization engine.
It is designed for traders who want precision execution, adaptive risk control, and an architecture capable of learning from market structure.
š¹ Core Concept
Unlike traditional averaging or DCA methods, this engine uses Adaptive Averaging ā a controlled, mathematically tuned accumulation system that adjusts entries based on volatility, trend conditions, and signal confidence.
Each additional entry intelligently recalculates average price and updates a volatility-sensitive dynamic Take Profit.
š¹ Main Features
1. Intelligent Multi-Stage Entry System
Initial entries triggered by SMA crossover, rising volume, or Always-On mode
Secondary entries triggered only when price retraces by a volatility-adjusted threshold
Every added position recalculates:
Total quantities
Capital distribution
Average price
Adaptive Take Profit (ATR-based)
2. Adaptive Risk & Position Management
ATR-driven take-profit using Exit Sensitivity
ATR-driven add-entry logic using Exit Tuner
Dynamic or Fixed lot sizing
Capital-per-entry control
Automatic minimum lot protection
3. High-Level Market Filters
Trend Filter
A volatility-normalized EMA slope filter that identifies:
1.Bullish trend
2.Bearish trend
3.Neutral trend
Sentiment Cloud Filter
A structural sentiment engine analyzing:
1.Micro-gaps
2.Bull and bear pressure
3.Range compression
4.Market regime bias
Trades only execute when filters align with your directional bias.
4. NeuraAlgo Optimization Engine
The strategy includes a built-in optimizer allowing you to test & tune with no loops and no external computation.
You can automatically optimize:
Smooth Period (ATR)
Exit Sensitivity
Exit Tuner
SMA Period
Trend Filter Length
Trend Filter Smooth
Sentiment Cloud Period
Optimization Goals:
Maximize Winrate
Maximize Net Profits
This allows the strategy to self-configure based on live market conditions.
Here, the optimization is finally complete.
š¹ Summary
Adaptive Averaging Concept⢠is not a simple indicator or basic DCA script.
It is a complete quant-grade execution engine capable of dynamically adjusting its behavior to volatility, price structure, trend strength, and sentiment.
Engineered for traders who demand:
High-precision entry logic
Adaptive position sizing
Volatility-calibrated exits
Smart accumulation
Built-in optimization
Professional-grade backtesting
It is a powerful framework suitable for swing traders, intraday traders, and automated system developers.
Gemini Wyckoff Trend SystemStrategy Name: Gemini Wyckoff-Trend System
1. Core Design Philosophy
This strategy fuses Wyckoff Theory (specifically the "Law of Effort vs. Result") with classic Trend Following principles. Its primary goal is not to catch every minor fluctuation, but to filter out 80% of market noise and fakeouts, ensuring that you only pull the trigger when "Smart Money" enters the market with genuine volume.
It operates on a strict "3-Dimension Verification" logic:
Trend (Context): Never trade against the macro trend.
Structure (Price Action): Identify accumulation zones and wait for the breakout.
Volume (Effort): Require massive volume confirmation to validate the move.
2. The 3-Filter System
Filter 1: The Trend Filter (EMA 200)
Rule: The strategy only looks for Long setups when the price is ABOVE the 200-period Exponential Moving Average (EMA).
Purpose: To strictly prevent "catching falling knives" or counter-trend trading during a bear market.
Filter 2: The Structure Filter (Donchian Channel)
Rule: The script automatically identifies the highest high of the past 20 bars to define the "Accumulation Box." A signal is only possible if the price closes above this resistance level.
Wyckoff Term: This represents "Jumping the Creek" (JTC)āsignaling that price is leaving the trading range.
Filter 3: The Volume Filter (RVOL > 1.5)
Rule: The breakout bar must have a volume that is at least 1.5x higher than the average volume of the past 20 bars.
Purpose: To eliminate "Upthrusts" (Fake Breakouts). If price breaks out on low volume, the system ignores it.
3. Visual Guide
Once loaded, here is how to read the chart:
š Orange Line (EMA 200): The Bull/Bear divider. If price is below this line, stay in cash.
š«ļø Grey Zone: The "No-Trade Zone" (Accumulation/Consolidation). Do not trade while price is inside this box.
š¢ Lime Green Bar: The Entry Signal. This indicates a valid breakout confirmed by high volume (Smart Money entry).
šŖ Red Step Line: Your Trailing Stop (ATR-based). As long as you hold a position, watch this line. If price closes below it, exit immediately.
š Dashboard (Top Right): Monitors market "Heat." If RVOL is Green, volume is significant.
4. Best Practices
Ideal For: Traders who struggle with over-trading or FOMO. This script enforces patience and discipline.
Timeframe: Recommended for 4-Hour (4H) or Daily (1D) charts to catch major crypto trends (e.g., Bitcoin main waves).
Asset Class: Crypto, Stocks, or any asset with high volume liquidity.
5. Risk Warning
This strategy includes a built-in ATR Volatility Stop. The stop-loss level adjusts dynamically based on market volatility. Please adhere strictly to the stop-loss signals to protect your capital.
QQQ Quant Power STRATEGY v13.3 (Ribbon + TQQQ Specs)1. The Quant Engine (Data Processing)
Weighted Scoring: It assigns specific weights to stocks (e.g., NVDA gets 8.5% weight, TXN gets 1.0%).
Z-Score Pressure: It calculates how "unusual" the current buying/selling pressure is compared to the average (Standard Deviation).
Alignment Bonus: It boosts the "Conviction Score" if Mega Caps (Top 8) and Large Caps (Next 12) are moving in the same direction.
2. The Dashboard (Mission Control)
The dashboard gives you an X-Ray view of the market:
Main Status: Tells you if the market is BULLISH, BEARISH, or CHOP (Sit Out).
Conviction %: A probability score (0-99%). Higher = Safer trade.
Breadth: Counts how many of the top 20 stocks are above their EMA.
Chop Logic: If Breadth is mixed (between 6 and 14 stocks above EMA), it declares "CHOP" and blocks trades.
Mega/Large Net: Shows the net buying/selling pressure for each group.
3. Visuals
Pressure Line: The line on the chart isn't just a Moving Average; it's the Net Pressure of the 20 stocks pushing price up or down.
Conviction Ribbon: The squares at the bottom of the screen.
š© Green: High Probability Long (>77%).
š„ Red: High Probability Short (>77%).
⬠Gray: Low Conviction / Holding.
4. Strategy Logic (Automated Trading)
Entry: Enters when the "Basket" of stocks is aligned (Bull/Bear Pressure) AND the Conviction Score is high (>77%).
Exit: Closes the trade if Conviction drops (Signal fades) or hits a Hard Stop Loss.
Time Filters: Includes strict trading windows (e.g., No trading during lunch 12-1pm, closes all positions on Friday).
Summary
This is a Market Breadth & Momentum Strategy. It assumes that QQQ cannot sustain a trend unless its underlying components (NVDA, AAPL, etc.) are pushing it. It filters out "fake moves" where QQQ moves but the components don't support it.
Logic Flow Signals & Backtest [bercutiatia]To understand the advanced logic of the tool, it is essential that you carefully read each topic and check the visual examples in this presentation.
--
Who is the Logic Flow Signals & Backtest tool recommended for?
Ideal for traders looking to increase the reliability and level of their operations. Recommended for those who want to create rigorous confluences, validate strategies with backtesting, and transform emotional management into systematic and measurable processes.
How can the Logic Flow Signals & Backtest tool help me?
High-confidence signals! You combine TradingView indicators and create a single robust signal, eliminating the frustration of having to spend hours in front of the chart and still clicking at the wrong time. This ensures that your entry is validated by logic, not emotional impulse.
--
Logic Flow Signals & Backtest is a versatile and powerful tool designed to test and validate your trading ideas with indicators from the TradingView community.
Extreme flexibility: Allows you to combine indicators available on TradingView (EMAs, RSI, MACD, SMC, etc.) to create custom entry and exit logics.
Sequential Logic: Goes far beyond simple crossovers. You can define rules where signal A must occur before signal B ā and, if desired, before signal C or D ā to validate an entry. Add time, order, and context filters, creating truly intelligent sequential logic that generates a single final alert only when all conditions align.
With Stages (Stage 1, Stage 2, etc.), your entries follow the exact sequence you define. And the best part: you no longer need to spend hours in front of the chart waiting for confluences. Simply set up your stages once, create an alert in TradingView, and the system will automatically notify you when the ideal combination of signals occurs.
Sequence Invalidation: Offers the option to define conditions that, if they occur, immediately cancel an ongoing entry sequence, helping to avoid entries in unfavorable scenarios.
Explaining the first image example (chart below):
LONG INDICATOR 1 (Stage 1): The market confirms a change in character (CHoCH Bullish). The system enters an alert state awaiting the confluence of the next indicators.
LONG INDICATOR 2 and 3 (Stage 2): Entry is only released when the SMA17 crosses above the SMA72 (indicator 2), but with one condition: The SMA72 must be ABOVE the SMA305 (indicator 3); Without this alignment of indicator 3, the signal of indicator 2 does not occur.
LONG INDICATOR 4 (Invalidation Rule): If at any point in the sequence the SMA72 crosses below the SMA305, the setup is immediately canceled and no entry signal is generated. The sequence restarts with indicator 1.
EXIT LONG (Hybrid Exit TP + SIGNAL): The trade seeks a TP target of 1000 ticks, but has a technical "Trailing Stop": if the trend reverses (Exit Long Indicator 1 = SMA72 crosses below the SMA305) before the target, the position is closed to protect capital.
SHORT INDICATOR 1 (Stage 1): Identification of weakness in the market with a Bearish CHoCH.
SHORT INDICATOR 2 and 3 (Stage 2): Entry is only released when the SMA17 crosses below the SMA72 (indicator 2), but with a strict condition: The SMA72 must be BELOW the SMA305 (indicator 3); Without this STATE of indicator 3, the signal from indicator 2 does not occur.
SHORT INDICATOR 4 (Invalidation Rule): If at any point in the sequence the SMA72 crosses above the SMA305, the setup is immediately canceled and no entry signal is generated. The sequence starts again with indicator 1.
EXIT SHORT (Hybrid Exit TP + SIGNAL): The trade seeks a target of 1000 ticks, but has a technical "Trailing Stop": if the downtrend reverses (Exit Short Indicator 1 = SMA72 crosses above the SMA305) before the target, the position is closed to protect capital.
In this strategy, we use the external indicators: Multiple MTF MA and Smart Money Concepts (Advanced)
--
Stage Duration: In STAGE DURATION , you control the maximum time (in candles) allowed for each transition between stages to occur. If the time limit expires before the next stage is reached, the sequence is reset. Keep it at 0 to disable the time limit.
The "Stage Duration" function is available in four separate blocks on the settings panel:
- LONG - STAGE DURATION: Controls the time limit (in candles) between Long entry stages (for example from Stage 1 to Stage 2).
- LONG EXIT - STAGE DURATION: Controls the time limit between Long exit stages.
- SHORT - STAGE DURATION: Controls the time limit between Short entry stages.
- SHORT EXIT - STAGE DURATION: Controls the time limit between Short exit stages.
Explaining the second image example (chart below):
Stage 1 (INDICATOR 1): New Fair Value Gap (FVG) Bullish Confirmed.
- Meaning: The move starts with a bullish FVG (Fair Value Gap), indicating a confirmed imbalance where buyers were much more aggressive than sellers.
Stage 2 (INDICATOR 2): EMA10 crossing above the EMA50.
- Meaning: Immediately after the FVG trigger, the fast moving average (10 periods) crosses the intermediate moving average (50 periods). This confirms that the initial FVG impulse was not an isolated event but the beginning of a short-term trend.
Stage 3: In this final stage, we require two simultaneous confirmations to validate the entry:
- INDICATOR 3: The EMA10 crosses above the EMA100, indicating that the movement has enough strength to break through larger barriers.
- INDICATOR 4: The RSI must be above its own moving average (SMA14). This ensures the asset is gaining momentum at the exact moment the averages are broken, avoiding entries in "tired" markets.
Stage Duration: The most important feature of this setup is the restricted time window.
- Rule: From Stage 1 to 2, and from Stage 2 to 3, the maximum interval to accept confluences is only 3 candles.
- Why this is vital? If the market took 20 candles to align these conditions, it would indicate weakness or indecision. By demanding that everything happens within a maximum of 3 candles per step, the setup filters only the moves where buying pressure is urgent and aggressive, increasing the probability of an explosive move in favor of the trade.
Asymmetric Risk Management: To complement a high-probability and high-pressure setup, we use aggressive risk management:
- Stop Loss (Technical/Short): 200 Ticks. If the buying pressure fails quickly, we exit early with a small loss.
- Take Profit (Long Target): 1000 Ticks. We aim to ride the impulse "leg" that the setup identified.
- Risk/Reward: 5:1. This means a single winning trade covers five losing trades, making the strategy mathematically viable in the long term.
In this strategy, we use the external indicators: Multiple MTF MA , Smart Money Concepts (Advanced) and Relative Strength Index (RSI) .
--
Multiple Operating Modes
It is not limited to sequences. It can operate by confluence (where all signals must be valid at the same time), by single trigger (only one signal is required), or by "OR" logic (any one of the defined signals).
- If you use only Stage 1 in more than one indicator session, the entry will only occur if all enabled conditions are true simultaneously.
- Any condition defined as OR can trigger the entry by itself.
- If only one condition block is enabled, the single indicator will function as a simple signal.
Multiple and Simultaneous Exits
It allows for the configuration of exits by both indicators and TP/SL targets. The strategy will close the trade as soon as any of these conditions are met first (indicator signal, profit target, or loss limit
Integrated Risk Management
It includes Stop Loss and Take Profit exits by percentage and ticks, which are easy to configure and essential for risk management. The strategy calculates the exact TP and SL prices based on your entry price and monitors the market on every tick.
Explaining the Third Image Example (Chart Below)
The move was validated by a 4-step logical sequence (Stage 1) and managed by a hybrid exit system.
Short Indicator 1, 2, and 3: The price (Close) crossed below the SMA200, SMA72, and SMA17 averages simultaneously.
- What this means: When a single candle has the strength to break below the short-term (17), mid-term (72), and long-term (200) averages, it indicates a high probability for the price to seek lower levels.
To reinforce Indicators 1 through 3, we added an extra layer of confirmation.
Short Indicator 4: The Positive Volume Index (PVI) needed to be below its own long-term average (EMA300).
- Why this is important: PVI below the average confirms that selling volume is dominant, validating that the break of the averages was not just noise.
Triple Exit Management (Maximum Security)
The great advantage of this tool is the ability to manage risk dynamically. In this trade, we configured three simultaneous exit conditions, where the first one to be met closes the position:
1. Financial Target (TP): A fixed Take Profit of 15%.
2. Exit Short Indicator 1 (Technical Exit 1): If the average (SMA72) crosses above the average (SMA200), the trade is closed.
3. Exit Short Indicator 2 (Technical Exit 2): If the PVI crosses above the EMA300, indicating an entry of buying strength, the trade is closed.
"OR" Logic: The tool monitors these conditions in real-time. Whichever occurs first triggers the exit, ensuring you lock in profit (TP) or protect your capital at the first sign from the indicators.
In this strategy, we use the external indicators: Multiple MTF MA and Positive Volume Index .
--
Reversal Mode (Stop and Reverse)
The Reversal Mode (Stop and Reverse) allows a new signal in the opposite direction (e.g., a SELL signal) to automatically close an existing position (e.g., BUY) and open a new one (sell). This "stop and reverse" function can be enabled or disabled in the settings, giving you full control over whether the strategy should only exit (awaiting a new signal) or immediately reverse the position.
Explaining the Fourth Image Example (Chart Below)
In this example, we demonstrate a setup focused on capturing every market "flip," keeping the trader positioned 100% of the time ("Always-in"), a technique widely used in automation.
- Long Entry: Occurs immediately upon confirming a bullish change of character (New CHoCH Bullish).
- Short Entry: Occurs immediately upon confirming a bearish change of character (New CHoCH Bearish).
- Exit (The Differentiator): We are not using fixed TP or SL here. The exit is triggered by Automatic Reversal.
The Power of "Exit by Opposite Signal"
Notice the labels on the chart: "Close Short" followed immediately by a "Long." This happens because the Allow Reversal function is enabled in the tool's settings.
When the market generates a buy signal, the tool understands that the sell thesis has been invalidated. It simultaneously sends an order to close the Short position and open a new Long position.
When to use this exit rule?
- Capturing Long Trends / Directional Movements: Ideal for volatile assets where you want to ride the trend until the market structure effectively changes.
- Operational Simplification: Eliminates the need to guess profit targets and acts as a loss limiter when the price moves against your position. The market dictates when to enter and when to exit.
Hybrid Flexibility:
The strongest point of Logic Flow is that you don't have to choose just one method. Reversal can be used in two ways:
1. Individually (as in the image): Reversal is the only form of exit. You stay in the move until the opposite signal.
2. Combined (Hybrid): You can enable Reversal and configure a safety Stop Loss + technical Take Profit (Exit Long/Short Indicator).
- Example: If the price hits your TP/SL first, you exit. If the market turns before the TP, the Reversal takes you out of the trade and generates a new trend alert.
In this strategy, we use the external indicators: Smart Money Concepts .
--
Backtesting: Far beyond creating logic and generating signals, Logic Flow Signals stands out due to its Integrated Backtest.
Backtesting serves as a reality check for the trader. It takes the strategy out of the realm of "imagination" and puts it to the test against historical data.
Here are the 4 main practical uses:
1. Verifying Feasibility (Proof of Concept): The most obvious use is to answer: "Does this idea make money?". Many strategies look visually perfect on the chart, but when you run the backtest, you discover that brokerage fees or frequent "stops" consume all the profit.
2. Knowing the "Worst-Case Scenario" (Drawdown): Maximum Drawdown: It shows you what the largest accumulated drop the strategy has ever experienced was. By identifying a Drawdown that exceeds the desired risk tolerance, the backtest allows for parameter optimization in search of a more efficient balance between risk and return.
3. Fine-Tuning (Optimization): It allows you to make changes such as: Increasing the profit target, changing the stop, removing an indicator, changing the chart timeframe, among other actions. You can test various variations instantly to find the most efficient configuration.
4. Expectation Management and Discipline: Backtesting does not eliminate fear nor guarantee that the future will repeat the past, but it serves as a reference map.
The Real Role: Aligning expectation with reality.
In the image below, you can check out how a backtest result is generated:
To understand the backtest results shown above, check the chart and the detailed operational logic below:
This operational example seeks to identify altcoins that are demonstrating an explosive decorrelation relative to Bitcoin. The logic is: we want to buy only the assets that are outperforming the market leader, precisely at the moment when speculative money (Open Interest) heavily enters the market.
For the buy signal (Long) to be triggered, three conditions must be simultaneously true (Stage 1):
Long Indicator 1 (Altcoin Strength): The asset's RSI must be above the 70 level (Overbought), indicating extremely strong bullish momentum.
Long Indicator 2 (Bitcoin Weakness): Bitcoin's RSI must be below the 50 level. This confirms that the Altcoin's rally is genuine and independent.
Long Indicator 3 (Money Flow): The Open Interest (open contracts) must be above the Extreme level of the OI DELTA indicator. This validates that new money is aggressively entering the asset to sustain the rally.
Risk Management: In this example, we configured an aggressive target to capture the altcoin volatility:
- Take Profit: 100%
- Stop Loss: 20%
- Risk/Reward: 5:1
In this strategy, we use the external indicators: RSI Crypto Strength (Asset vs BTC) and Open Interest Delta .
--
Configuring an Indicator Block
Each block (BUY INDICATOR 1, BUY INDICATOR 2, ...) allows you to define a complete condition.
- Enable (Activate): Simply turns this indicator block on or off.
- Source A: The first value you want to analyze.
example: The Closing Price (Close), Opening Price (Open), or another TradingView indicator.
- Condition: How 'Source A' will be compared.
example: Crossover/Crossunder, Greater Than, Less Than, Cross Up.
- Comparison Type: The option that defines whether you will compare 'Source A' with a fixed number or with another indicator.
- Fixed Value: Used if you selected "Fixed Value".
example: For an RSI greater than 70 condition, Source A would be the RSI, the Condition would be Greater Than, and the Fixed Value would be 70.
- Source B: Used if you selected "Source B".
example: For a condition where the EMA10 crosses above the EMA200, Source A would be the EMA10, the Condition would be 'Cross Up', and Source B would be the EMA200.
--
Configurable Alert Signals
Configurable Alert Signals: The tool allows for the creation of fully customized alerts for different types of events, such as entries, signal-based exits, take profit, and stop loss. These alerts can be used for both strategy automation and manual, real-time notifications.
The message field is highly flexible: it accepts dynamic placeholders, JSON structure, UUID identifiers, or any custom text, allowing integration with other external tools and systems via webhook.
Configuring Your Messages:
- LONG/SHORT - ALERTS: Defines the message for new entries.
- LONG/SHORT INDICATOR EXIT - ALERTS: Defines the message for signal-based exits (e.g., moving average cross).
- REVERSAL - ALERTS: Defines the message for when a position is closed by an opposite signal (stop-and-reverse).
- LONG/SHORT TP/SL EXIT - ALERTS: Defines the message for exits triggered by take profit (TP) or stop loss (SL), via percentage or ticks.
A Single Alert to Control Everything
You don't need to create separate alerts for "Buy," "Sell," or "Exits." On a single screen, you can create strategies by defining entries, signal-based exits, profit targets, or stop limits.
Alert Times (Operating Window)
In the Alert Times section, you can define a specific time (and time zone) for the strategy to generate entry or exit signals.
--
To create your alert, simply follow these steps:
- Condition: Select the script name: "Logic Flow Signals & Backtest".
- Message: Insert only the placeholder: {{strategy.order.alert_message}}
Once this single alert is active, it will "listen" to all orders executed by the strategy.
This means you can have your Long-Term, Short-Term, Signal-Based Exits, and TP/SL strategies active simultaneously. When any of these events are plotted on the chart, the script will send the customized message (which you wrote in the fields) to your single alert.
--
Advanced period filters: Allow you to test the strategy in specific date ranges, over the last X days, or over the last X bars, facilitating performance analysis in different market environments.
--
Status Panel: Displays a clear summary of all active rules and settings directly on the chart, facilitating the visualization and confirmation of the running logic.
Additionally, it has a settings box where you can activate or deactivate the panel, choose its position (such as at the bottom or side), and adjust its size.
--
The Thumbnail strategy uses the following external indicators: Multiple MTF MA and Breakout Finder .
--
Final Considerations:
The Logic Flow Signals & Backtest tool is a versatile and powerful system, designed to test and apply trading ideas based on multiple indicators from TradingView.
Its differential is being a customization environment: the script does not have integrated graphical indicators, as the objective is precisely to allow the user to combine and integrate multiple existing indicators in the TradingView community to build unique entry and exit logics.
It offers flexibility and precision, but the true value emerges when the trader integrates the tool into a consistent trading plan, with efficient risk management (Stop Loss and Take Profit), leverage control, and a professional mindset.
Important: Risk of Repainting (Unstable Data): Avoid indicators that 'repaint' (those that change their values āāin past bars after the closing of new candles). The backtest will be invalidated, and the actual performance of the strategy will fail.
Legal Warning and Didactic Purpose:
It is fundamental to understand that all visual examples, charts, and texts contained in this description do not constitute financial advice, buy or sell recommendations, nor a promise of easy or guaranteed gains.
This is an advanced support tool, not an automatic profit system. Use the integrated backtesting to evaluate the historical behavior of strategies before real execution and understand how different market conditions impact your results. The sole purpose of this material is to demonstrate the logical and execution capacity of the script, serving as a didactic guide for you to test and validate your own ideas.
Conclusion and Risk Warning:
Success in financial markets comes not only from a set of charting indicators, but from the trader's understanding, practice, and discipline. Our objective is to provide a robust, customizable, and intuitive solution, created to enhance your technical analysis and broaden your strategic vision, without replacing critical thinking and conscious decision-making.
Finally, remember: past results do not guarantee future performance. The real differentiator lies in continuous learning, testing, and evolution.
TrendSightš TrendSight ā The All-in-One Multi-Timeframe Trend Engine
Key Features & Logic
Multi-Timeframe Trend Confirmation:
Entries are filtered by confirming bullish/bearish alignment across three distinct Supertrend timeframes (e.g., 5-min, 15-min, 45-min, etc.), combined with an EMA and volatility filter, to ensure high-conviction trades that's a powerful combination! Designing the entire strategy around the 15-minute timeframe (M15) and focusing on high-volatility coins maximizes the strategy's effectiveness .
Guaranteed Single-Entry per Signal:
The strategy uses a powerful manual flag and counter system to ensure trades fire only once when a new signal begins. It absolutely prevents immediate re-entry if the signal remains true, waiting instead for the entire trend condition to reset to false.
Dynamic Trailing Stop Loss:
The Stop Loss is set to a moving Supertrend line (current_supertrend), ensuring tight risk management that trails the price as the trade moves into profit.Guaranteed Take Profit (4% Run-up): Uses a precise Limit Order via strategy.exit() to capture profits instantly at a 4% run-up. This ensures accurate profit capture, even on sudden spikes (wicks).
Automated Risk Management:
Position size is dynamically calculated based on a fixed risk percentage (default 2% of equity) relative to the distance to the trailing stop.
š„ Core Components
1. Adaptive Multi-Timeframe SuperTrend Dashboard
The backbone of mTrendSight is a fully customizable SuperTrend system, enhanced with a multi-timeframe confirmation table displaying ST direction & value.
This compact āTrend Dashboardā provides instant clarity on higher-timeframe direction, trend strength, and market bias.
2. Dynamic Support & Resistance Channels
Automatically detects the strongest support/resistance zones using pivot clustering.
Key Features:
Clustered S/R Channels instead of thin lines
Adaptive width based on recent swings
Breakout markers (optional) for continuation signals
Helps identify structural zones, retest areas, and liquidity pockets
3. Multi-Timeframe Color-Coded EMAs
Plot up to three EMAs, each optionally pulled from a higher timeframe.
Benefits:
Instant visual trend alignment
Bullish/Bearish dynamic color shifts
Precision EMA value table for trade planning
Works perfectly with ST & RSI for multi-layer confirmation
4. Linear Regression Trend Channel
A statistically driven trend channel that measures the most probable path of price action.
Highlights:
Uses Pearsonās R to determine trend reliability
Provides a Confidence Level to judge whether trend slope is credible
Ideal for determining over-extension and mean-reversion zones
5. ATR Volatility Analyzer
A lightweight but powerful volatility classifier using ATR.
Features:
Detects High, Low, or Normal volatility
Clean table display
Helps filter entries during low-energy markets
Strengthens trend-following filters when volatility expands
6. RSI Momentum & Trend Classifier
A significantly improved RSI with multi-layer smoothing and structure-based classification.
Provides:
Bullish / Bearish / Neutral momentum states
Short-term momentum vs long-term RSI trend
Perfect for early trend shifts, pullback entries, and momentum confirmation
āļø How the Strategy Works (Execution Logic)
š Multi-Timeframe Supertrend + EMA + Volatility Confirmation
Entries are only triggered when:
Multiple Supertrend timeframes align (e.g., 5m + 15m + 45m)
EMA direction aligns with the trend
Volatility conditions (ATR filter) is not Low allow high-probability moves
This ensures strong directional confluence before every trade.
š Guaranteed Single-Entry Logic
The strategy uses a flag + counter system to ensure:
Only one entry is allowed per trend signal
Re-entries do not happen until the entire trend condition resets
The Strategy Tester remains clean, without duplicate overlapping trades
This eliminates revenge trades, repeated fills, and choppy overtrading.
š Dynamic Supertrend Trailing Stop
Stop Loss is anchored to current Supertrend value, creating:
Automatic trailing
Tight downside control
Protection against deep pullbacks
High responsiveness during volatility expansions
š Precision Take-Profit (4% Run-Up Capture)
A dedicated global exit block ensures:
Take Profit triggers exactly at 4% price run-up
Uses strategy.exit() with limit orders to catch spikes (wicks)
Works consistently on all timeframes & assets
š Automated Position Sizing (2% Risk Default)
Position size is dynamically calculated based on:
Account Equity
Distance to trailing stop
Configured risk %
This enforces proper risk management without manual adjustments.
š How to Interpret Results
Reliable Exits: All exits are globally managed, so stops and take profits trigger accurately on every bar.
Clean Trade History: Because of single-entry logic, backtests show one trade per valid signal.
Consistency: Multi-timeframe logic ensures only high-quality, structured trades.
Adaptive Trend Navigator [ATH Filter & Risk Engine]Description:
This strategy implements a systematic Trend Following approach designed to capture major moves while actively protecting capital during severe bear markets. It combines a classic Moving Average "Fan" logic with two advanced risk management layers: a 4-Stage Dynamic Stop Loss and a macro-economic "Circuit Breaker" filter.
Core Concepts:
1. Trend Identification (Entry Logic) The script uses a cascade of Simple Moving Averages (SMA 25, 50, 100, 200) to identify the maturity of a trend.
Entries are triggered by specific crossovers (e.g., SMA 25 crossing SMA 50) or by breaking above the previous trade's high ("High-Water Mark" Re-Entry).
2. The "Circuit Breaker" (Crash Protection) To prevent trading during historical market collapses (like 2000 or 2008), the strategy monitors the Nasdaq 100 (QQQ) as a global benchmark:
Normal Regime: If the market is within 20% of its All-Time High, the strategy operates normally.
Crisis Regime: If the QQQ falls more than 20% from its ATH, the "Circuit Breaker" activates (Visualized by a Red Background).
Recovery Rule: In a Crisis Regime, new long positions are blocked unless the QQQ reclaims its SMA 200. This filters out "bull traps" in secular bear markets.
3. 4-Stage Risk Engine (Exit Logic) Once in a trade, the risk management adapts to the position's performance:
Stage 1: Fixed initial Stop Loss (default 10%) for breathing room.
Stage 2: Moves to Break-Even area once the price rises 12%.
Stage 3: Tightens to a trailing stop (8%) after 25% profit.
Stage 4: Maximizes gains with a tight trailing stop (5%) during parabolic moves (>40% profit).
Visual Guide:
SMAs: 25/50/100/200 period lines for trend visualization.
Red Background: Indicates the "Crisis Regime" where trading is halted due to broad market weakness.
Blue Background: Indicates a "Recovery Phase" (Crisis is active, but market is above SMA 200).
Red Line: Shows the dynamic Stop Loss level for active positions.
Settings: All parameters (SMA lengths, Drawdown threshold, Risk Stages) are fully customizable. The QQQ benchmark ticker can also be changed to SPY or other indices depending on the asset class traded.
Mean-Reversion with CooldownThis strategy requires no indicators or fundamental analysis. It is designed for longer-term positions and works especially well on unleveraged instruments with strong long-term upward trends, such as precious metals. Feel free to experiment with different timeframes ā Iāve found that 1-hour charts work particularly well for cryptocurrencies.
The idea is to filter out ongoing bear phases as effectively as possible and capitalize on long-term bull runs.
The script implements an idea that came to me in a state of complete sleep deprivation: open a random long position with a fixed take-profit (TP) and a tight stop-loss (SL).
If the TP is hit ā great, we simply try again.
If the SL is triggered ā too bad, we pause for a while and then try again.
## Cooldown (Waiting) Mechanism
The waiting mechanism is simple: the more consecutive SL hits we get, the longer we wait before opening the next trade. The waiting time is measured in closed candles, and thus depends on the timeframe you are using.
## Two cooldown calculation modes are currently supported:
### 1. FIBONACCI
The cooldown follows the Fibonacci sequence, based on the number of consecutive losses:
1st loss ā wait 1 bar
2nd loss ā wait 1 bar
3rd loss ā wait 2 or 3 bars (depending on definition)
4th loss ā wait 3 or 5 bars
etc.
### 2. POWER OF TWO
The cooldown increases exponentially:
1st loss ā wait 2 bars
2nd loss ā wait 4 bars
3rd loss ā wait 8 bars
4th loss ā wait 16 bars
and so on, using the formula 2āæ.
## Configurable Parameters
### Cooldown Pause Calculation
The settings allow you to define the SL and TP as percentages of the position value.
The "Cooldown Pause Calculation" option determines how the next cooldown duration is computed after a losing trade.
The system keeps track of how many consecutive losses have occurred since the last profitable trade. That counter is then used to compute how many bars we must wait before opening the next position.
### Maximum Cooldown
The "Max Cooldown Candles" setting defines the maximum number of bars we are allowed to wait before placing a new trade. This prevents the strategy from ālocking itself outā for too long and mitigates the fear of missing out (FOMO).
Once the cooldown duration reaches this maximum, the system essentially wraps around and starts the progression again. In the script, this is handled using a simple modulo operation based on the chosen maximum.
Trend Breakout & Ratchet Stop System [Market Filter]Description:
This strategy implements a robust trend-following system designed to capture momentum moves while strictly managing downside risk through a multi-stage "Ratchet" exit mechanism and broad market filters.
It is designed for swing traders who want to align individual stock entries with the overall market direction.
How it works:
1. Market Regime Filters (The "Safety Check") Before taking any position, the strategy checks the health of the broader market to avoid "catching falling knives."
Broad Market Filter: By default, it checks NASDAQ:QQQ (adjustable). If the benchmark is trading below its SMA 200, the strategy assumes a Bear Market and suppresses all new long entries.
Volatility Filter (VIX): Uses CBOE:VIX to gauge fear. If the VIX is above a specific threshold (Default: 32), entries are paused, and existing positions can optionally be closed to preserve capital.
2. Entry Logic Entries are based on Momentum and Trend confirmation. A position is opened if filters are clear AND one of the following occurs:
Golden Cross: SMA 25 crosses over SMA 50.
SMA Breakouts: A "Three-Bar-Break" logic confirms a breakout above the SMA 50, 100, or 200 (price must establish itself above the moving average).
3. The "Ratchet" Exit System The exit logic evolves as the trade progresses, tightening risk like a ratchet:
Stage 0 (Initial Risk): Starts with a standard percentage Stop Loss from the entry price.
Stage 1 (Breakeven/Lock): Once the price rises by Profit Step 1 (e.g., +10%), the Stop Loss jumps to a tighter level and locks there. This secures the initial move.
Stage 2 (Trailing Mode): If the price continues to rise to Profit Step 2 (e.g., +15%), the Stop Loss converts into a dynamic Trailing Stop relative to the Highest High. This allows the trade to run as long as the trend persists.
Additional Exits:
Dead Cross: Closes position if SMA 25 crosses under SMA 50.
VIX Panic: Emergency exit if volatility spikes above the threshold.
Settings & Customization:
SMAs: Adjustable lengths for all Moving Averages.
Filters: Toggle Market/VIX filters on/off and choose your benchmark ticker (e.g., SPY or QQQ).
Risk Management: Fully customizable percentages for the Ratchet steps (Initial SL, Stage 1 Trigger, Trailing distance).
NQ2K SSS# Intelligent Trend Identification
**Adaptive Channels**: Utilizes dynamically adjusted volatility channels that automatically optimize parameters based on market volatility
**Bull-Bear Judgment**: Monitors trend direction changes in real-time, accurately capturing bull-to-bear conversion opportunities
**Signal Confirmation**: Multiple condition verification ensures the reliability of trading signals
# ā° Precise Timing Control
**Scheduled Execution**: Built-in intelligent timing trading system that automatically executes during optimal periods
**Cross-day Processing**: Comprehensive handling of overnight positions and cross-trading day logic
**Time Filtering**: Customizable trading time windows to focus on high-probability periods
# š”ļø Strict Risk Control System
**Automatic Stop Loss**: Risk control mechanism based on fixed percentage
**Position Management**: Zero pyramiding strategy, strictly controlling single exposure risk
**Real-time Monitoring**: Continuous tracking of position status, timely execution of risk control measures
# š Professional Visualization
**Trend Visualization**: Clearly displays current trend direction and strength
**Signal Marking**: Intuitive buy/sell point markers and trend conversion prompts
**Candlestick Coloring**: Real-time candlestick color changes reflect bull-bear power comparison
# Applicable Markets
**Main Products**: Stock index futures, commodity futures, forex, and other products with moderate volatility
**Time Frames**: Suitable for multiple time periods, recommended for daily or 4-hour charts
**Market Conditions**: Particularly suitable for markets with clear trends and moderate volatility
# Strategy Advantages
**Clear Rules**: All trading logic is fully quantified, avoiding subjective judgment interference
**Strong Adaptability**: Dynamic parameter adjustment mechanism adapts to different market environments
**Rigorous Execution**: Strict timing control and risk management system
**Intuitive and Easy to Use**: Clear chart displays and signal prompts for easy monitoring and decision-making
Mustang Algo - Momentum Trend Zone Backtestš MUSTANG ALGO - Momentum Trend Zone Strategy
A complete trading system combining MACD momentum analysis with visual trend zones, full backtesting capabilities, and advanced risk management tools.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ OVERVIEW
Mustang Algo transforms traditional MACD analysis into a powerful visual trading system. It instantly identifies market bias through colored background zones and provides clear entry/exit signals with customizable stop loss and take profit management.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ KEY FEATURES
ā
Visual Trend Zones (Green = Bullish | Red = Bearish)
ā
Clear Buy/Sell Triangles on Chart
ā
Full Backtesting Engine
ā
Multiple Stop Loss Types
ā
Multiple Take Profit Types
ā
Trailing Stop Option
ā
Time Filter for Backtesting
ā
Real-time Info Panel
ā
Customizable Alerts
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ HOW IT WORKS
The strategy uses a smoothed MACD system to detect trend changes:
- MACD Line (White): Fast EMA minus Slow EMA - shows raw momentum
- Signal Line (Yellow): EMA of MACD - shows smoothed trend direction
- Trend Zone: Changes when the smoothed signal line crosses zero
- Entry Signals: Generated at zone transitions
When the trend line crosses above zero ā GREEN zone ā BUY signal šŗ
When the trend line crosses below zero ā RED zone ā SELL signal š»
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ STOP LOSS OPTIONS
š Percentage: Fixed percentage from entry price
š ATR-Based: Dynamic SL based on market volatility
š Fixed Points: Set number of points/pips
š Swing Low/High: Uses recent swing levels as stops
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ TAKE PROFIT OPTIONS
šÆ Percentage: Fixed percentage target
šÆ ATR-Based: Dynamic TP based on volatility
šÆ Fixed Points: Set number of points/pips
šÆ Risk Reward: Automatic TP based on R:R ratio (e.g., 2:1, 3:1)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ TRAILING STOP
š Percentage-Based: Trail by a fixed percentage
š ATR-Based: Trail using ATR multiplier for dynamic adjustment
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ SETTINGS
MACD Parameters:
- Fast Length (default: 12)
- Slow Length (default: 26)
- Signal Length (default: 9)
- Trend Smoothing (default: 5)
Risk Management:
- Enable/Disable Stop Loss
- Enable/Disable Take Profit
- Enable/Disable Trailing Stop
- Customize all SL/TP parameters
Visual Options:
- Show/Hide Buy/Sell Triangles
- Show/Hide SL/TP Lines
- Show/Hide Labels
Time Filter:
- Set Start Date for backtest
- Set End Date for backtest
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ SIGNALS EXPLAINED
š¢ GREEN TRIANGLE (Below Bar):
Bullish zone detected - Consider LONG entry
š“ RED TRIANGLE (Above Bar):
Bearish zone detected - Consider SHORT entry
š¢ GREEN BACKGROUND:
Currently in bullish trend zone
š“ RED BACKGROUND:
Currently in bearish trend zone
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ INFO PANEL
The real-time info panel (top right) displays:
- Current Trend Zone status
- MACD value
- Signal Line value
- Active SL Type
- Active TP Type
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ ALERTS
Set up alerts for:
š Buy Signals: "š Mustang Algo: BUY Signal on {ticker} at {price}"
š Sell Signals: "š Mustang Algo: SELL Signal on {ticker} at {price}"
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ BEST PRACTICES
1. Use higher timeframes (1H, 4H, Daily) for more reliable signals
2. Combine with price action and support/resistance levels
3. Adjust ATR multipliers based on asset volatility
4. Use Risk Reward ratio for consistent risk management
5. Backtest on your preferred asset before live trading
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ RECOMMENDED TIMEFRAMES
ā±ļø Scalping: 5M, 15M (more signals, more noise)
ā±ļø Day Trading: 1H, 4H (balanced signals)
ā±ļø Swing Trading: Daily, Weekly (fewer but stronger signals)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¹ MARKETS
Works on all markets:
š Forex
š Crypto
š Stocks
š Indices
š Commodities
š Futures
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š RIDE THE TREND WITH MUSTANG ALGO!
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ļø DISCLAIMER
This indicator/strategy is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always use proper risk management, do your own research, and consider consulting a financial advisor before making any trading decisions. Use at your own risk.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š VERSION HISTORY
v1.0 - Initial Release
- MACD-based trend detection
- Visual trend zones
- Multiple SL/TP options
- Full backtesting support
- Trailing stop functionality
- Time filter
- Info panel
- Alert system
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¬ FEEDBACK
If you find this strategy useful, please leave a comment or suggestion!
Your feedback helps improve future updates.
š Happy Trading!
HMA+RVOL Strategy Hariss 369The Hull Moving Average (HMA) is a smooth, fast, and highly responsive moving average created by Alan Hull. It reduces lag significantly while still maintaining smoothness, making it one of the most popular tools for trend detection and entries. It is widely used for trend filter. Hull Moving Average(HMA) with RVOL strengthens the trend as volume is prime factor of price movement.
Trading with HMA: Simple method is buy when price closes above HMA , stop less below the low of last candle and target is 1.5 or 2 times of stop loss. The reverse is for sell. The HMA automatically turns to green on bull trend and red on bear trend for better visual confirmation.
Adding RVOL to HMA is better method of trading. Buy signal is initiated when price closes above HMA and RVOL is greater than 1.2. Sell signal is initiated when price closes below 89 HMA and rovl is greater than 1.2. One can change the value of RVOL according to trading style and type asset being traded.
It is a back tested strategy.
DEMA ATR Strategy [PrimeAutomation]⯠OVERVIEW
The DEMA ATR Strategy combines trend-following logic with adaptive volatility filters to identify strong momentum phases and manage trades dynamically.
It uses a Double Exponential Moving Average (DEMA) anchored to ATR volatility bands, creating a self-adjusting trend baseline.
When the adjusted DEMA shifts direction, the strategy enters positions and scales out profit in phases based on ATR-driven targets.
This system adapts to volatility, filters noise, and seeks sustained directional moves.
⯠KEY FEATURES
DEMA-Volatility Hybrid Filter
Uses Double EMA with ATR expansion/compression logic to form a dynamic trend baseline.
Directional Shift Entries
Entries occur when the adjusted DEMA flips trend (bullish crossover or bearish crossunder vs its past value).
Noise Reduction Mechanism
ATR range caps extreme moves and prevents false flips during choppy volatility spikes.
Multi-Level Take Profits
Targets scale out positions at 1Ć, 2Ć, and 3Ć ATR multiples in the trade direction.
Volatility-Adaptive Targets
ATR multiplier ensures profit targets expand/contract based on market conditions.
Single-Direction Exposure
No pyramiding; the strategy flips position only when trend shifts.
Automated Trade Finalization
When all profit targets trigger, the position is fully closed.
⯠STRATEGY LOGIC
Trend Direction:
DEMA baseline is modified using ATR upper/lower envelopes.
⢠If the adjusted DEMA rises above previous value ā Bullish
⢠If it falls below previous value ā Bearish
Entry Rules:
⢠Enter Long when bullish shift occurs and no long position exists
⢠Enter Short when bearish shift occurs and no short position exists
Take Profit Logic:
3 partial exits for each trade based on ATR:
⢠TP1 = ±1à ATR
⢠TP2 = ±2à ATR
⢠TP3 = ±3à ATR
Profit distribution: 30% / 30% / 40%
Exit Conditions:
⢠Exit when all TPs hit (full scale-out if sum of all TPs 100%)
⢠Opposite trend signal closes current trade and opens new one
⯠WHEN TO USE
Trending environments
Mediumāhigh volatility phases
Swing trading and intraday trend plays
Markets that respect momentum continuation (crypto, indices, FX majors)
⯠CONCLUSION
This strategy blends DEMA trend recognition with ATR-based volatility adaptation to generate cleaner directional entries and structured take-profit exits. It is designed to capture momentum phases while avoiding noise-driven false signals, delivering a disciplined and scalable trend-following approach.
Simplified WMA Ribbon Ā· Majority Rule StrategyThis strategy is a simplified WMA-ribbon āmajority ruleā system. It compares five fast WMAs (10ā30) with five slow WMAs (70ā90) and counts how many bullish or bearish pairs are strongly separated by a small ε-buffer. A long (short) position is opened only when a bullish (bearish) majority is reached and closed when that majority weakens or an opposite majority appears. Position size is calculated from a fixed USD amount and leverage, candles are colored by current position, and a mini dashboard shows the number of bullish/bearish pairs and the current status (LONG / SHORT / FLAT).
Hash Supertrend [Hash Capital Research]Hash Supertrend Strategy by Hash Capital Research
Overview
Hash Supertrend is a professional-grade trend-following strategy that combines the proven Supertrend indicator with institutional visual design and flexible time filtering.
The strategy uses ATR-based volatility bands to identify trend direction and executes position reversals when the trend flips.This implementation features a distinctive fluorescent color system with customizable glow effects, making trend changes immediately visible while maintaining the clean, professional aesthetic expected in quantitative trading environments.
Entry Signals:
Long Entry: Price crosses above the Supertrend line (trend flips bullish)
Short Entry: Price crosses below the Supertrend line (trend flips bearish)
Controls the lookback period for volatility calculation
Lower values (7-10): More sensitive to price changes, generates more signals
Higher values (12-14): Smoother response, fewer signals but potentially delayed entries
Recommended range: 7-14 depending on market volatility
Factor (Default: 3.0)
Restricts trading to specific hours
Useful for avoiding low-liquidity sessions, overnight gaps, or known choppy periods
When disabled, strategy trades 24/7
Start Hour (Default: 9) & Start Minute (Default: 30)
Define when the trading session begins
Uses exchange timezone in 24-hour format
Example: 9:30 = 9:30 AM
End Hour (Default: 16) & End Minute (Default: 0)
Controls the vibrancy of the fluorescent color system
1-3: Subtle, muted colors
4-6: Balanced, moderate saturation
7-10: Bright, highly saturated fluorescent appearance
Affects both the Supertrend line and trend zones
Glow Effect (Default: On)
Adds luminous halo around the Supertrend line
Creates a multi-layered visual with depth
Particularly effective during strong trends
Glow Intensity (Default: 5.0)
Displays tiny fluorescent dots at entry points
Green dot below bar: Long entry
Red dot above bar: Short entry
Provides clear visual confirmation of executed trades
Show Trend Zone (Default: On)
Strong trending markets (2020-style bull runs, sustained bear markets)
Markets with clear directional bias
Instruments with consistent volatility patterns
Timeframes: 15m to Daily (optimal on 1H-4H)
Challenging Conditions:
Choppy, range-bound markets
Low volatility consolidation periods
Highly news-driven instruments with frequent gaps
Very low timeframes (1m-5m) prone to noise
Recommended AssetsCryptocurrency:
AlosAlgo V2 (BETA)ā V2 BETA ā
V2 ā 2025-11-21 (Update)
⢠Rebuilt the core signal engine to remove repainting ā higher-timeframe Heikin Ashi / Renko now use confirmed bars only for more stable signals & alerts.
⢠Added Trend Filter MA so longs are only taken above the MA and shorts only below (optional).
⢠Added MACD momentum filter and Price Action filter (Higher Low for longs, Lower High for shorts) to cut a lot of chop.
⢠Introduced a loss-streak ācircuit breakerā ā after X consecutive losing trades the strategy pauses for a set number of bars.
⢠New TP/SL engine with 2 modes: ATR-based or Fixed % moves, with 4 staged TPs plus an optional runner and break-even SL after TP2.
⢠Cleaned up TP/SL lines & labels so levels are fixed per trade and easier to read.
⢠General refactor for more realistic backtests, better live behaviour and easier parameter tuning compared to V1.
ABOUT
AlosAlgo V2 is a multi-timeframe trend + momentum strategy designed for BTC and other high-liquidity markets. It takes directional bias from a higher timeframe, then filters that bias with volatility, momentum and simple price-action structure before it ever opens a trade.
Purely rule-based, no AI / Bayesian / ML.
Core idea
ā Use higher-timeframe structure for direction.
ā Only trade when trend, momentum and basic price action agree.
ā Manage exits with multiple TPs, an optional runner and a hard SL so risk is defined from the start.
Setups
Two main engines:
⢠Open/Close ā Higher-timeframe Heikin Ashi body direction (close vs open) as the core trend signal.
⢠Renko ā ATR-based Renko feed with EMA cross (fast vs slow) as the core trend signal.
Classic sideways filters (ATR + RSI) can be layered on top if you want to only trade in trending or ranging conditions.
Filters added in V2
⢠Trend Filter MA ā Longs only above the MA, shorts only below (length configurable).
⢠Momentum Filter ā Optional MACD filter; only takes longs when MACD is bullish and shorts when MACD is bearish.
⢠Price Action Filter ā Optional HL/LH logic using pivots: longs after a Higher Low, shorts after a Lower High.
⢠Loss-Streak Circuit Breaker ā After N losing trades in a row, the strategy pauses entries for a set number of bars to avoid bad regimes / tilt.
Risk & exits
Two TP/SL modes:
⢠ATR mode ā SL and TP1āTP4 based on ATR at entry (stopFactor / profitFactor).
⢠Fixed % mode ā SL and TP1āTP4 defined as % moves from entry.
On entry the strategy:
⢠Opens a single position.
⢠Places 4 staged TPs (TP1āTP4) with user-defined % sizing.
⢠Optionally leaves a ārunnerā managed only by SL and trend changes.
⢠Can move SL to break-even automatically after TP2 (toggle).
All TP/SL levels are locked at entry and drawn on the chart with labels so you can see exactly what the trade is trying to do.
Non-repainting behaviour
V2 is refactored to avoid the repainting behaviour that V1 used. Higher-timeframe and Renko data are taken from confirmed bars only, and entries are based on state (e.g. > / <) instead of repaint-prone crosses. Backtests are much closer to what youāll see live, and alerts line up with executed trades more reliably.
How to use (suggested defaults)
⢠Setup: Open/Close
⢠TPSType: Fixed %
⢠Trend Filter: ON
⢠Momentum Filter: ON
⢠Price Action Filter: ON
⢠Sideways Filter: No Filtering
Then tweak TP/SL distances and filters per asset + timeframe, and forward-test before sizing up.
Disclaimer
This is not financial advice, not a guarantee of profit and not a āset and forgetā money printer. Always forward-test, paper trade and tune risk before using real capital or automation. Markets change ā this is a tool, not a promise.
LSI Pro - Enhanced Sweep Lines + Trading StrategyThis is a very powerful and sensitive indicator, it embrace the institutional sweep, signaling the high volumes area with the liquidity areas and levels with bear or bull confirmations.
and more ...
It works very good with most instruments such crypto - forex and stocks.
write me to get access.
VIX Counter-Trend StrategyVIX Panic Index VOO Bottom-Fishing Strategy
š Strategy Overview
This strategy utilizes the VIX (Volatility Index) as a market sentiment indicator to help investors rationally enter positions during periods of extreme market panic, using objective technical signals to avoid emotional decision-making. It is designed to capture rebound opportunities in VOO (or other US equity ETFs) following panic-driven selloffs.
šÆ Entry and Exit Conditions
Entry Conditions (both must be met):
VIX reaches or exceeds the set threshold (default 25, adjustable)
VIX death crosses below its moving average (default 5-day MA), confirming panic sentiment is beginning to recede
Exit Conditions (three modes available):
Holding Period Mode: Exit after holding for the set number of days (default 100 days)
VIX Decline Mode: Exit when VIX falls below the set threshold (default 20)
Either Condition Mode: Exit when either condition is met
ā ļø Important Warnings
Not Suitable for Leveraged ETF Bottom-Fishing: VIX reflects market volatility. Using leveraged ETFs (such as TQQQ, SOXL) increases risk due to decay effects and greater volatility, potentially causing larger losses during panic periods.
Bear Market Inaccuracy Risk: This strategy assumes markets will rebound from panic. However, during prolonged bear markets or systemic risks (such as the 2008 financial crisis or 2022 rate hike cycle), VIX may remain elevated for extended periods, triggering multiple buy signals while prices continue declining, rendering the strategy ineffective.
Recommended to Combine with Market Trend Analysis: Works better in bull market conditions. In bear markets, consider raising VIX thresholds or suspending use.
For Reference Only, Not Investment Advice: Historical performance does not guarantee future results. Please use cautiously according to your personal risk tolerance.
VIX ęę
ęęø VOO ęåŗēē„
š ēē„ē®ē
ę¬ēē„å©ēØ VIX ęę
ęęøä½ēŗåøå “ę
ē·ęęØļ¼å¹«å©ęč³äŗŗåØåøå “愵度ęę
ęēę§é²å “ęåŗļ¼äø¦éé客č§ēęč”čØčéæå
ę
ē·åęä½ćé©åēØę¼ęę VOOļ¼ęå
¶ä»ē¾č” ETFļ¼åØęę
ę§äøč·å¾ēåå½ę©ęć
šÆ é²åŗå “ę¢ä»¶
é²å “ę¢ä»¶ļ¼åę滿足ļ¼ļ¼
VIX ęęøéå°čØå®é檻仄äøļ¼é čØ 25ļ¼åÆčŖæę“ļ¼
VIX ę»äŗ”äŗ¤åå
¶åē·ļ¼é čØ 5 ę„åē·ļ¼ļ¼ē¢ŗčŖęę
ę
ē·éå§åč½
åŗå “ę¢ä»¶ļ¼äøēØ®ęØ”å¼åÆéøļ¼ļ¼
ęę天ęøęØ”å¼ļ¼ęęéå°čØå®å¤©ęøå¾åŗå “ļ¼é čØ 100 天ļ¼
VIX åč½ęØ”å¼ļ¼VIX éč³čØå®é檻仄äøęåŗå “ļ¼é čØ 20ļ¼
å
©č
ēåÆęØ”å¼ļ¼ä»»äøę¢ä»¶ę»æč¶³å³åŗå “
ā ļø éč¦č¦čŖ
äøé©åę§ę”æå ETF ęåŗļ¼VIX åę ēęÆåøå “ę³¢ååŗ¦ļ¼ä½æēØę§ę”æ ETFļ¼å¦ TQQQćSOXLļ¼ęå ēŗč”°ęøęęåę“大波åčå¢å 風éŖļ¼åÆč½åØęę
ęéé ęę“大č§ęć
空é åøå “失ęŗé¢ØéŖļ¼ę¬ēē„åčØåøå “ęå¾ęę
äøåå½ļ¼ä½åØé·ę空é ę系統ę§é¢ØéŖļ¼å¦ 2008 éčå±ę©ć2022 åęÆå¾Ŗē°ļ¼äøļ¼VIX åÆč½é·ęčę¼é«ęŖļ¼å¤ę¬”č§øē¼č²·å
„čØčå»ęēŗäøč·ļ¼å°č“ēē„失ęć
建č°ęé
大ē¤č¶Øå¢å¤ę·ļ¼åØå¤é ę ¼å±äøä½æēØęęč¼ä½³ļ¼ē©ŗé ę ¼å±å»ŗč°ęé« VIX éęŖ»ęę«å使ēØć
å
ä¾åčļ¼éęč³å»ŗč°ļ¼ę·å²ēø¾ęäøä»£č”ØęŖä¾č”Øē¾ļ¼č«ä¾å人風éŖęæå度謹ę
使ēØć
SP500 Session Gap Fade StrategySummary in one paragraph
SPX Session Gap Fade is an intraday gap fade strategy for index futures, designed around regular cash sessions on five minute charts. It helps you participate only when there is a full overnight or pre session gap and a valid intraday session window, instead of trading every open. The original part is the gap distance engine which anchors both stop and optional target to the previous session reference close at a configurable flat time, so every tradeās risk scales with the actual gap size rather than a fixed tick stop.
Scope and intent
⢠Markets. Primarily index futures such as ES, NQ, YM, and liquid index CFDs that exhibit overnight gaps and regular cash hours.
⢠Timeframes. Intraday timeframes from one minute to fifteen minutes. Default usage is five minute bars.
⢠Default demo used in the publication. Symbol CME:ES1! on a five minute chart.
⢠Purpose. Provide a simple, transparent way to trade opening gaps with a session anchored risk model and forced flat exit so you are not holding into the last part of the session.
⢠Limits. This is a strategy. Orders are simulated on standard candles only.
Originality and usefulness
⢠Unique concept or fusion. The core novelty is the combination of a strict āfull gapā entry condition with a session anchored reference close and a gap distance based TP and SL engine. The stop and optional target are symmetric multiples of the actual gap distance from the previous sessionās flat close, rather than fixed ticks.
⢠Failure mode it addresses. Fixed sized stops do not scale when gaps are unusually small or unusually large, which can either under risk or over risk the account. The session flat logic also reduces the chance of holding residual positions into late session liquidity and news.
⢠Testability. All key pieces are explicit in the Inputs: session window, minutes before session end, whether to use gap exits, whether TP or SL are active, and whether to allow candle based closes and forced flat. You can toggle each component and see how it changes entries and exits.
⢠Portable yardstick. The main unit is the absolute price gap between the entry bar open and the previous session reference close. tp_mult and sl_mult are multiples of that gap, which makes the risk model portable across contracts and volatility regimes.
Method overview in plain language
The strategy first defines a trading session using exchange time, for example 08:30 to 15:30 for ES day hours. It also defines a āflatā time a fixed number of minutes before session end. At the flat bar, any open position is closed and the barās close price is stored as the reference close for the next session. Inside the session, the strategy looks for a full gap bar relative to the prior bar: a gap down where todayās high is below yesterdayās low, or a gap up where todayās low is above yesterdayās high. A full gap down generates a long entry; a full gap up generates a short entry. If the gap risk engine is enabled and a valid reference close exists, the strategy measures the distance between the entry bar open and that reference close. It then sets a stop and optional target as configurable multiples of that gap distance and manages them with strategy.exit. Additional exits can be triggered by a candle color flip or by the forced flat time.
Base measures
⢠Range basis. The main unit is the absolute difference between the current entry bar open and the stored reference close from the previous session flat bar. That value is used as a āgap unitā and scaled by tp_mult and sl_mult to build the target and stop.
Components
⢠Component one: Gap Direction. Detects full gap up or full gap down by comparing the current high and low to the previous barās high and low. Gap down signals a long fade, gap up signals a short fade. There is no smoothing; it is a strict structural condition.
⢠Component two: Session Window. Only allows entries when the current time is within the configured session window. It also defines a flat time before the session end where positions are forced flat and the reference close is updated.
⢠Component three: Gap Distance Risk Engine. Computes the absolute distance between the entry open and the stored reference close. The stop and optional target are placed as entry ± gap_distance à multiplier so that risk scales with gap size.
⢠Optional component: Candle Exit. If enabled, a bullish bar closes short positions and a bearish bar closes long positions, which can shorten holding time when price reverses quickly inside the session.
⢠Session windows. Session logic uses the exchange time of the chart symbol. When changing symbols or venues, verify that the session time string still matches the new instrumentās cash hours.
Fusion rule
All gates are hard conditions rather than weighted scores. A trade can only open if the session window is active and the full gap condition is true. The gap distance engine only activates if a valid reference close exists and use_gap_risk is on. TP and SL are controlled by separate booleans so you can use SL only, TP only, or both. Long and short are symmetric by construction: long trades fade full gap downs, short trades fade full gap ups with mirrored TP and SL logic.
Signal rule
⢠Long entry. Inside the active session, when the current bar shows a full gap down relative to the previous bar (current high below prior low), the strategy opens a long position. If the gap risk engine is active, it places a gap based stop below the entry and an optional target above it.
⢠Short entry. Inside the active session, when the current bar shows a full gap up relative to the previous bar (current low above prior high), the strategy opens a short position. If the gap risk engine is active, it places a gap based stop above the entry and an optional target below it.
⢠Forced flat. At the configured flat time before session end, any open position is closed and the close price of that bar becomes the new reference close for the following session.
⢠Candle based exit. If enabled, a bearish bar closes longs, and a bullish bar closes shorts, regardless of where TP or SL sit, as long as a position is open.
What you will see on the chart
⢠Markers on entry bars. Standard strategy entry markers labeled ālongā and āshortā on the gap bars where trades open.
⢠Exit markers. Standard exit markers on bars where either the gap stop or target are hit, or where a candle exit or forced flat close occurs. Exit IDs ālong_gapā and āshort_gapā label gap based exits.
⢠Reference levels. Horizontal lines for the current long TP, long SL, short TP, and short SL while a position is open and the gap engine is enabled. They update when a new trade opens and disappear when flat.
⢠Session background. This version does not add background shading for the session; session logic runs internally based on time.
⢠No on chart table. All decisions are visible through orders and exit levels. Use the Strategy Tester for performance metrics.
Inputs with guidance
Session Settings
⢠Trading session (sess). Session window in exchange time. Typical value uses the regular cash session for each contract, for example ā0830-1530ā for ES. Adjust if your broker or symbol uses different hours.
⢠Minutes before session end to force exit (flat_before_min). Minutes before the session end where positions are forced flat and the reference close is stored. Typical range is 15 to 120. Raising it closes trades earlier in the day; lowering it allows trades later in the session.
Gap Risk
⢠Enable gap based TP/SL (use_gap_risk). Master switch for the gap distance exit engine. Turning it off keeps entries and forced flat logic but removes automatic TP and SL placement.
⢠Use TP limit from gap (use_gap_tp). Enables gap based profit targets. Typical values are true for structured exits or false if you want to manage exits manually and only keep a stop.
⢠Use SL stop from gap (use_gap_sl). Enables gap based stop losses. This should normally remain true so that each trade has a defined initial risk in ticks.
⢠TP multiplier of gap distance (tp_mult). Multiplier applied to the gap distance for the target. Typical range is 0.5 to 2.0. Raising it places the target further away and reduces hit frequency.
⢠SL multiplier of gap distance (sl_mult). Multiplier applied to the gap distance for the stop. Typical range is 0.5 to 2.0. Raising it widens the stop and increases risk per trade; lowering it tightens the stop and may increase the number of small losses.
Exit Controls
⢠Exit with candle logic (use_candle_exit). If true, closes shorts on bullish candles and longs on bearish candles. Useful when you want to react to intraday reversal bars even if TP or SL have not been reached.
⢠Force flat before session end (use_forced_flat). If true, guarantees you are flat by the configured flat time and updates the reference close. Turn this off only if you understand the impact on overnight risk.
Filters
There is no separate trend or volatility filter in this version. All trades depend on the presence of a full gap bar inside the session. If you need extra filtering such as ATR, volume, or higher timeframe bias, they should be added explicitly and documented in your own fork.
Usage recipes
Intraday conservative gap fade
⢠Timeframe. Five minute chart on ES regular session.
⢠Gap risk. use_gap_risk = true, use_gap_tp = true, use_gap_sl = true.
⢠Multipliers. tp_mult around 0.7 to 1.0 and sl_mult around 1.0.
⢠Exits. use_candle_exit = false, use_forced_flat = true. Focus on the structured TP and SL around the gap.
Intraday aggressive gap fade
⢠Timeframe. Five minute chart.
⢠Gap risk. use_gap_risk = true, use_gap_tp = false, use_gap_sl = true.
⢠Multipliers. sl_mult around 0.7 to 1.0.
⢠Exits. use_candle_exit = true, use_forced_flat = true. Entries fade full gaps, stops are tight, and candle color flips flatten trades early.
Higher timeframe gap tests
⢠Timeframe. Fifteen minute or sixty minute charts on instruments with regular gaps.
⢠Gap risk. Keep use_gap_risk = true. Consider slightly higher sl_mult if gaps are structurally wider on the higher timeframe.
⢠Note. Expect fewer trades and be careful with sample size; multi year data is recommended.
Properties visible in this publication
⢠On average our risk for each position over the last 200 trades is 0.4% with a max intraday loss of 1.5% of the total equity in this case of 100k $ with 1 contract ES. For other assets, recalculations and customizations has to be applied.
⢠Initial capital. 100 000.
⢠Base currency. USD.
⢠Default order size method. Fixed with size 1 contract.
⢠Pyramiding. 0.
⢠Commission. Flat 2 USD per order in the Strategy Tester Properties. (2$ buying + 2$selling)
⢠Slippage. One tick in the Strategy Tester Properties.
⢠Process orders on close. ON.
Realism and responsible publication
⢠No performance claims are made. Past results do not guarantee future outcomes.
⢠Costs use a realistic flat commission and one tick of slippage per trade for ES class futures.
⢠Default sizing with one contract on a 100 000 reference account targets modest per trade risk. In practice, extreme slippage or gap through events can exceed this, so treat the one and a half percent risk target as a design goal, not a guarantee.
⢠All orders are simulated on standard candles. Shapes can move while a bar is forming and settle on bar close.
Honest limitations and failure modes
⢠Economic releases, thin liquidity, and limit conditions can break the assumptions behind the simple gap model and lead to slippage or skipped fills.
⢠Symbols with very frequent or very large gaps may require adjusted multipliers or alternative risk handling, especially in high volatility regimes.
⢠Very quiet periods without clean gaps will produce few or no trades. This is expected behavior, not a bug.
⢠Session windows follow the exchange time of the chart. Always confirm that the configured session matches the symbol.
⢠When both the stop and target lie inside the same barās range, the TradingView engine decides which is hit first based on its internal intrabar assumptions. Without bar magnifier, tie handling is approximate.
Legal
Education and research only. This strategy is not investment advice. You remain responsible for all trading decisions. Always test on historical data and in simulation with realistic costs before considering any live use.
Quasimodo Pattern Strategy Back Test [TradingFinder] QM Tradingšµ Introduction
The QM pattern, also known as the Quasimodo pattern, is one of the popular patterns in price action, and it is often used by technical analysts. The QM pattern is used to identify trend reversals and provides a very good risk-to-reward ratio. One of the advantages of the QM pattern is its high frequency and visibility in charts.
Additionally, due to its strength, it is highly profitable, and as mentioned, its risk-to-reward ratio is very good. The QM pattern is highly popular among traders in supply and demand, and traders also use this pattern.
The Price Action QM pattern, like other Price Action patterns, has two types: Bullish QM and Bearish QM patterns. To identify this pattern, you need to be familiar with its types to recognize it.
šµ Identifying the QM Pattern
š£ Bullish QM
In the bullish QM pattern, as you can see in the image below, an LL and HH are formed. As you can see, the neckline is marked as a dashed line. When the price reaches this range, it will start its upward movement.
š£ Bearish QM
The Price Action QM pattern also has a bearish pattern. As you can see in the image below, initially, an HH and LL are formed. The neckline in this image is the dashed line, and when the LL is formed, the price reaches this neckline. However, it cannot pass it, and the downward trend resumes.
šµ How to Use
The Quasimodo pattern is one of the clearest structures used to identify market reversals. It is built around the concept of a structural break followed by a pullback into an area of trapped liquidity. Instead of relying on lagging indicators, this pattern focuses purely on price action and how the market reacts after exhausting one side of liquidity. When understood correctly, it provides traders with precise entry points at the transition between trend phases.
š£ Bullish Quasimodo
A bullish Quasimodo forms after a clear downtrend when sellers start losing control. The market continues to make lower lows until a sudden higher high appears, signaling that buyers are entering with strength. Price then pulls back to retest the previous low, creating what is known as the Quasimodo low.
This area often becomes the final trap for sellers before the market shifts upward. A visible rejection or displacement from this zone confirms bullish momentum. Traders usually place entries near this level, stops below the low, and targets at previous highs or the next resistance zone. Combining the setup with demand zones or Fair Value Gaps increases its accuracy.
š£ Bearish Quasimodo
A bearish Quasimodo forms near the top of an uptrend when buyers begin to lose strength. The market continues to make higher highs until a sudden lower low breaks the bullish structure, showing that selling pressure is entering the market. Price then retraces upward to retest the previous high, forming the Quasimodo high, where breakout buyers are often trapped.
Once rejection appears at this level, it indicates a likely reversal. Traders can enter short near this area, with stop-losses placed above the high and targets near the next support or previous lows. The setup gains more reliability when aligned with supply zones, SMT divergence, or bearish Fair Value Gaps.
šµ Setting
Pivot Period : You can use this parameter to use your desired period to identify the QM pattern. By default, this parameter is set to the number 5.
Take Profit Mode : You can choose your desired Take Profit in three ways. Based on the logic of the QM strategy, you can select two Take Profit levels, TP1 and TP2. You can also choose your take profit based on the Reward to Risk ratio. You must enter your desired R/R in the Reward to Risk Ratio parameter.
Stop Loss Refine : The loss limit of the QM strategy is based on its logic on the Head pattern. You can refine it using the ATR Refine option to prevent Stop Hunt. You can enter your desired coefficient in the Stop Loss ATR Adjustment Coefficient parameter.
Reward to Risk Ratio : If you set Take Profit Mode to R/R, you must enter your desired R/R here. For example, if your loss limit is 10 pips and you set R/R to 2, your take profit will be reached when the price is 20 pips away from your entry point.
Stop Loss ATR Adjustment Coefficient : If you set Stop Loss Refine to ATR Refine, you must adjust your loss limit coefficient here. For example, if your buy position's loss limit is at the price of 1000, and your ATR is 10, if you set Stop Loss ATR Adjustment Coefficient to 2, your loss limit will be at the price of 980.
Entry Level Validity : Determines how long the Entry level remains valid. The higher the level, the longer the entry level will remain valid. By default it is 2 and it can be set between 2 and 15.
šµ Results
The following examples show the backtest results of the Quasimodo (QM) strategy in action. Each image is based on specific settings for the symbol, timeframe, and input parameters, illustrating how the QM logic can generate signals under different market conditions. The detailed configuration for each backtest is also displayed on the image.
ā Important Note : Even with identical settings and the same symbol, results may vary slightly across different brokers due to data feed variations and pricing differences.
Default Properties of Backtests :
OANDA:XAUUSD | TimeFrame: 5min | Duration: 1 Year :
BINANCE:BTCUSD | TimeFrame: 5min | Duration: 1 Year :
CAPITALCOM:US30 | TimeFrame: 5min | Duration: 1 Year :
NASDAQ:QQQ | TimeFrame: 5min | Duration: 5 Year :
OANDA:EURUSD | TimeFrame: 5min | Duration: 5 Year :
PEPPERSTONE:US500 | TimeFrame: 5min | Duration: 5 Year :
QQQ TimingThis is a trend-following position trading strategy designed for the QQQ and the leveraged ETF QLD (ProShares Ultra QQQ). The primary goal is to capture multi-month holds for maximal profit.
Key Instruments & Performance
The strategy performs best with QLD, which yields far superior results compared to QQQ.
TQQQ (triple-leveraged) results in higher drawdowns and is not the optimal choice.
Important: The system is not intended for use with other indexes, individual stocks, or investments (like crypto or gold), as performance can vary widely.
Buy Signals
The strategy's signals are rooted in the S&P 500 Index (SPX), as testing showed it provides more reliable triggers than using QQQ itself.
Primary Buy Signal (Credit to IBD/Mike Webster): The SPX triggers a buy when its low closes above the 21-day Exponential Moving Average (EMA) for three consecutive days.
Refinement with Downtrend Lines: During corrective or bear periods, results and drawdowns can be significantly improved by incorporating downtrend lines. These lines connect lower highs. The strategy waits for the price to close above a drawn downtrend line before executing a buy. This refinement can modify the primary signal, either by allowing for an earlier entry or, in some cases, completely nullifying a false signal until the trend change proves itself.
Risk Management & Exit Strategy
Initial Buy Risk: A 3.7% stop loss is applied immediately upon the initial entry.
Initial Exit Rule: An exit is required if the QQQ's low drops below the 50-day Simple Moving Average (SMA).
Note: The 3.7% stop often provides protection when the initial buy occurs below the 50-day SMA. However, if QQQ is already trading above its 50-day SMA at the time of the SPX signal (indicating relative strength), historically, it has been better to use the 50-day SMA rule to give the position more room to run.
Trend Exit (Profit-Taking): To stay in a strong trend for the optimal amount of time, the long position is exited when a moving average crossover to the downside is triggered, based around the 107-day Simple Moving Average (SMA).
nOI + Funding + CVD ⢠strategynOI + Funding + CVD Strategy
Overview
This strategy is designed for cryptocurrency trading on platforms like TradingView, focusing on perpetual futures markets. It combines three key indicatorsāNormalized Open Interest (nOI), Funding Rate, and Cumulative Volume Delta (CVD)āto generate buy and sell signals for long and short positions. The strategy aims to capitalize on market imbalances, such as overextended open interest, funding rate extremes, and volume deltas, which often signal potential reversals or continuations in trending markets.
The script supports pyramiding (up to 10 positions), uses percentage-based position sizing (default 10% of equity per trade), and allows customization of trade directions (longs and shorts can be enabled/disabled independently). It includes multiple signal systems for entries, various exit mechanisms (including stop-loss, take-profit, time-based exits, and conditional closes based on indicators), a Martingale add-on system for averaging positions during drawdowns, and handling of opposite signals (ignore, close, or reverse).
This strategy is not financial advice; backtest thoroughly and use at your own risk. It requires data sources for Open Interest (OI) and Funding Rates, which are fetched via TradingView's security functions (e.g., from Binance for funding premiums).
Key Indicators
1. Normalized Open Interest (nOI)
Group: Open Interest
Purpose: Measures the relative level of open interest over a lookback window to identify overbought (high OI) or oversold (low OI) conditions, which can indicate potential exhaustion in trends.
Calculation:
Fetches OI data (close) from the symbol's standard ticker (e.g., "{symbol}_OI").
Normalizes OI within a user-defined window (default: 500 bars) using min-max scaling: (OI - min_OI) / (max_OI - min_OI) * 100.
Upper threshold (default: 70%): Signals potential short opportunities when crossed from above.
Lower threshold (default: 30%): Signals potential long opportunities when crossed from below.
Visualization: Plotted as a line (teal above upper, red below lower, gray in between). Horizontal lines at upper, mid (50%), lower, and a separator at 102%.
Notes: Handles non-crypto symbols by adjusting timeframe to daily if intraday. Errors if no OI data available.
2. Funding Rate
Group: Funding Rate
Purpose: Tracks the average funding rate (premium index) to detect market sentiment extremes. Positive funding suggests bull bias (longs pay shorts), negative suggests bear bias.
Calculation:
Fetches premium index data from Binance (e.g., "binance:{base}usdt_premium").
Supports lower timeframe aggregation (default: enabled, using 1-min TF) for smoother data.
Averages open and close premiums, clamps values, and scales/shifts for plotting (base: 150, scale: 1000x).
Upper threshold (default: 1.0%): Overheat for shorts.
Lower threshold (default: 1.0%): Overcool for longs.
Ultra level (default: 1.8%): Extreme for additional short signals.
Smoothing: Uses inverse weighted moving average (IWMA) or lower-TF aggregation to reduce noise.
Visualization: Shifted plot (green positive, red negative) with filled areas. Horizontal lines for overheat, overcool, base (0%), and ultra.
Notes: Custom ticker option for non-standard symbols.
3. Cumulative Volume Delta (CVD)
Group: CVD (Cumulative Volume Delta)
Purpose: Measures net buying/selling pressure via volume delta, normalized to identify divergences or confirmations with price.
Calculation:
Delta: +volume if close > open, -volume if close < open.
Cumulative: Rolling cumsum over a window (default: 500 bars), smoothed with EMA (default: 20).
Normalized: Scaled by absolute max in window (-1 to 1 range).
Scaled/shifted for plotting (base: 300 or 0 if anchored, scale: 120x).
Upper threshold (default: 1.0%): Over for shorts.
Lower threshold (default: 1.0%): Under for longs.
Visualization: Shifted plot (aqua positive, purple negative) with filled areas. Horizontal lines for over, under, and separator (default: 252).
Filter Options (for Signal A):
Enable filter (default: false).
Require sign match (Long ā„0, Short ā¤0).
Require extreme zones.
Require momentum (rising/falling over N bars, default: 3).
Signal Logics for Entries
Entries are triggered by buy/sell signals from multiple systems (A, B, C, D), filtered by direction toggles and entry conditions.
Signal System A: OI + Funding (with optional CVD filter)
Enabled: Default true.
Sell (Short): nOI > upper threshold, falling over N bars (default: 3), delta ā„ threshold (default: 3%), funding > overheat, and CVD filter OK.
Buy (Long): nOI < lower threshold, rising over N bars (default: 3), delta ā„ threshold (default: 3%), funding < overcool, and CVD filter OK.
Signal System B: Short - Funding Crossunder + Filters
Enabled: Default true.
Sell (Short): Funding crosses under overheat level, optional: CVD > over, nOI < upper.
Signal System C: Short - Ultra Funding
Enabled: Default false.
Sell (Short): Funding crosses ultra level (up or down, both default true).
Signal System D: Long - Funding Crossover + Filters
Enabled: Default true.
Buy (Long): Funding crosses over overcool level, optional: CVD < under, nOI > lower.
Combined: Sell if A/B/C active; Buy if A/D active.
Entry Filters
Cooldown: Optional pause between entries (default: false, 3 bars).
Max Entries: Limit pyramiding (default: true, 6 max).
Entries only if both filters pass and direction allowed.
Opposite Signal Handling
Mode: Ignore (default), Reverse (close and enter opposite), or Close (exit only).
Processed before regular entries.
Position Management
Martingale (3 Steps):
Enabled per step (default: all true).
Triggers add-ons at loss levels (defaults: 5%, 8%, 11%) by adding % to position (default: 100% each).
Resets on position close.
Break Even:
Enabled (default: true).
Activates at profit threshold (default: 5%), sets SL better by offset (default: 0.1%).
Exit Systems
Multiple exits checked in sequence.
Exit 1: SL/TP
Enabled: Separate for long/short (default: true).
SL: % from avg price (defaults: 1% long/short).
TP: % from avg price (defaults: 2% long/short).
Exit 2: Funding
Enabled: Separate for long (up) / short (down) (default: true).
Long Exit: Funding > upper exit threshold (default: 0.8%).
Short Exit: Funding < lower exit threshold (default: 0.8%).
Exit 3: nOI
Enabled: Separate for long (up) / short (down) (default: true).
Long Exit: nOI > upper exit (default: 85%).
Short Exit: nOI < lower exit (default: 15%).
Exit 4: Global SL
Enabled: Default true.
Exit: If position loss ā„ % (default: 7%).
Exit 5: Break Even (integrated in position block)
Exit 6: Time Limit
Enabled: Separate for long/short (default: true).
Exit: After N bars in trade (defaults: 30 each).
Timer updates on add-ons if enabled (default: true).
Visual Elements
Buy/Sell Labels: Small labels ("BUY"/"SELL") on bars with signals, limited to last 30.
All indicators plotted on a separate pane (overlay=false).
Usage Notes
Backtesting: Adjust parameters based on asset/timeframe. Test on historical data.
Data Requirements: Works best on crypto perps with OI and funding data.
Risk Management: Incorporates SL/TP and global SL; monitor drawdowns with Martingale.
Customization: All thresholds, enables, and scales are inputs for fine-tuning.
Version: Pine Script v6.
For questions or improvements, contact the author. Happy trading!
Strategy Builder v1.0.0 [BigBeluga]šµ OVERVIEW
The Strategy Builder combines advanced price-action logic, smart-money concepts, and volatility-adaptive momentum signals to automate high-quality entries and exits across any market. It blends trend recognition, market structure shifts, order block reactions, imbalance (FVG) signals, liquidity sweeps, candlestick confirmations, and oscillator-powered divergences into one cohesive engine.
Whether used as a full automation workflow or as a structured confirmation framework, this strategy provides a disciplined, rules-driven method to trade with logic ā not emotion.
šµ BACKTEST WINDOW CONTROL
This module allows you to restrict strategy execution to a specific historical period.
Ideal for performance isolation, regime testing, and forward-walk validation.
Limit Backtest Window
Enabling this option activates custom date filters for the backtest engine.
Start ā Define the starting date & time for backtesting
End ā Define the ending date & time for backtesting
Only trades and signals inside this window are executed
Reduces computation load on large datasets
Useful for testing specific market environments (e.g., bull cycles, crash periods, sideways regimes)
šµ SIGNAL GLOSSARY (Advanced Technical Explanation)
Traders can build long and short setups using up to 6 configurable entry conditions for each direction.
Every condition can be set as Bullish or Bearish and mapped to any signal source ā allowing deep customization
Below is the full internal logic overview of every signal available in the Strategy Builder.
Signals are based on trend models, volatility structures, liquidity logic, oscillator behavior, and market structure mapping.
Trend Signals (Low-Lag Trend Engine)
Uses a proprietary low-lag baseline + momentum gradient model to detect directional bias.
Trend Signal ā Momentum breaks above/below adaptive trend baseline.
Trend Signal+ ā Stronger trend confirmation using volatility-weighted momentum.
Trend Signal Any ā Triggers when any bullish/bearish trend signal appears.
SmartBand & Retests (Adaptive Volatility Bands)
Dynamic envelope that contracts/expands with volatility & trend strength.
SmartBand Retest ā Price retests dynamic band and rejects, confirming continuation.
ActionWave Signals (Impulse-Pullback Engine)
Tracks wave behavior, acceleration and deceleration in price.
ActionWave ā Detects directional impulse strength vs pullback weakness.
ActionWave Cross ā Momentum acceleration threshold crossed ā trend ignition.
Magnet Signals (Liquidity Gravity + Mean Reversion Bias)
Detects zones where price is being drawn due to liquidity voids or imbalance.
Magnet ā Trend and liquidity pressure align, creating directional āpull.ā
MagnetBar Low Momentum ā Low-volatility compression ā pre-breakout condition.
Flow Trend (Directional Flow State + ATR Envelope)
Higher-timeframe bias confirmation + dynamic volatility filter.
FlowTrend ā Confirms major directional bias (uptrend or downtrend).
FlowTrend Retest ā Price tests HTF flow band and rejects ā trend resume.
Voltix (Volatility Expansion Pulse)
Detects regime shift from quiet accumulation ā trending expansion.
Voltix ā Breakout volatility signature, trend acceleration trigger.
Candlestick Pattern (Algorithmic Price Action Recognition)
Auto-recognizes meaningful reversal or continuation candle formations.
Candlestick Pattern ā Confirms momentum reversal/continuation via candle logic.
OrderBlock Logic (Institutional Footprint System)
Institutional demand/supply zone tracking with mitigation logic.
Order Block Touch ā Price taps institutional zone ā reaction filter.
Order Block Break ā OB invalidation ā institutional flow shift.
Market Structure Engine (Swing Logic + Volume Confirmation)
Tracks major swing breaks and structural reversals.
BoS ā Break of Structure in trend direction (continuation bias).
ChoCh ā Change of Character ā early reversal marker.
Fair Value Gaps (Imbalance & Volume Displacement)
Identifies inefficiencies caused by rapid displacement moves.
FVG Created ā Price leaves inefficiency behind.
FVG Retest ā Price returns to rebalance inefficiency ā reaction zone.
Liquidity Events (Stop-Run & Reversal Logic)
Detects stop-hunt events and liquidity sweeps.
SFP ā Swing failure & wick sweep ā reversal confirmation.
Liquidity Created ā New equal highs/lows form liquidity pool.
Liquidity Grab ā Sweep through liquidity line followed by rejection.
Support / Resistance Break Logic
Adaptive zone recognition + momentum confirmation.
Support/Resistance Cross ā Zone decisively broken ā structural shift.
Pattern Breakouts (Market Geometry Engine)
Tracks breakout from compression & expansion formations.
Channel Break ā Channel breakout ā trend acceleration.
Wedge Break ā Break from contraction wedge ā burst of momentum.
Session Logic (Opening Range Behavior)
Session-based volatility trigger.
Session Break ā Break above/below session opening range.
Momentum / Reversal Oscillator Suite
Oscillator-driven exhaustion & reversal signals.
Nautilus Signals ā Momentum reversal signature (oscillator shift).
Nautilus Peak ā Momentum peak ā exhaustion risk.
OverSold/Overbought ā ā Extreme exhaustion zones ā reversal setup.
DipX Signals ⦠ā Dip buy / Dip sell timing, micro-reversal engine.
Advanced Divergence Engine
Momentum/price disagreement layer with multi-trigger confirmation.
Normal Divergence ā Classic divergence reversal.
Hidden Divergence ā Trend continuation divergence.
Multiple Divergence ā Multiple divergence confirmations stacked ā high confidence.
š§ Adjustable Signal Logic
Some signals in this system can be additionally refined through the strategy settings panel.
This allows traders to tune internal behavior for different market regimes, assets, and volatility conditions.
šµ LONG / SHORT EXIT CONDITIONS
This section allows you to automate exits using the same advanced market conditions available for entries.
Each exit rule consists of:
Toggle ā Enable/disable individual exit rule.
Direction Filter ā Trigger exit only if selected market bias appears (Bullish/Bearish).
Signal Type ā Choose which market event triggers the exit (same list as entry conditions).
When the active conditions are met, the strategy automatically closes the current position ā ensuring emotion-free risk management and systematic trade control.
šµ TAKE PROFIT & STOP LOSS SYSTEM
This strategy builder provides a fully dynamic risk-management engine designed for both systematic traders and discretionary confirmation users.
Take Profit Logic
Scale out of trades progressively or exit fully using algorithmic TP levels.
Up to 3 Take-Profit targets available
Choose TP calculation method:
⢠ATR-based distance (volatility-adaptive targets)
⢠%-based distance (fixed percentage from entry)
Define Size ā ATR multiplier or % value
Custom Exit Size per TP (e.g., 25% / 25% / 50%)
Visual TP plotting on chart for clarity
Stop Loss Logic
Automated protection logic for every trade.
Two SL Modes:
⢠Fixed Stop Loss ā static SL from entry
⢠Trailing Stop Loss ā SL follows price as trade progresses
Distance options:
⢠ATR multiplier (adapts to volatility)
⢠%-based from entry (fixed distance)
SL dynamically draws on chart for transparency
Trailing SL behavior:
Follows price only in profitable direction
Never moves against the trade
Locks profits as trend develops
šµ Strategy Dashboard
A compact on-chart performance dashboard is included to help monitor live trade status and backtest results in real time.
It displays key metrics:
Start Capital ā Initial account balance used in simulation.
Position Size ā % of capital allocated per trade based on user settings (It changes if the trade hits take profits, when more than one take profit is selected).
Current Trade ā Shows active trade direction (Long / Short) and real-time % return from entry.
Closed Trades ā Counter of completed positions, useful for reading sample size during testing.
šµ CONCLUSION
The Strategy Builder brings together a powerful suite of smart-money and momentum-driven signals, allowing traders to automate robust trade logic built on modern market structure concepts. With access to trend filters, order blocks, liquidity events, divergence signals, volatility cues, and session-based triggers, it provides a deeply adaptive trade engine capable of fitting many market environments.






















