MACD Strategy - Backtest [AlgoRider]█ OVERVIEW
Hello dear Tradingviewers !
We are excited to share with you this new indicator which simulates a trading strategy based solely on the well-known technical indicator MACD . We designed it for the sole educational and analytical purposes of showing novice traders and new investors that basing a trading strategy only on one such technical indicator is not necessarily a good thing to do. We do not recommend to apply this strategy for real.
Thanks to this indicator redesigned in our own way by incorporating our simple and easy-to-use Backtest functionality, you will be able to see and report on the performance and results that such a strategy has produced in the past.
The configuration window has also been designed to be easily readable and simple to use. Our goal is to make parameter customization as easy as possible.
█ HOW THE STRATEGY WORKS
• The script will simply trigger Long entries when bullish MACD crossings appear (the Macd line crosses the Signal line upwards) and Short entries when bearish MACD crossings appear (the Macd line crosses below the signal line).
• A Short signal ends a Long trade, a Long signal ends a Short trade.
• The script also allows setting up custom TP and SL.
• An option allows you to trigger early crossings, which will influence entries and exits.
• There is no repaint, once an entry/exit symbol or drawing is displayed it doesn't change anymore. The Short and Long signals appear at the open of the candles, just after the signal was confirmed at the close of the previous candle. The custom TP and custom SL signals can appear when a candle is not yet finished, but once displayed they don't change.
█ HOW TO PROCEED
1 — Once the script is applied to your chart, it already works with its default settings. You can already see the performance of the strategy in the data table directly on the chart (in the top right corner by default).
2 — You can customize the strategy and influence the results/performance by modifying its parameters. 3 types of parameters are present and can be modified.
3 — You can use this indicator in all types of markets.
4 — You can apply the script in every timeframe.
█ PARAMETERS
• Settings For Backtesting
- Strategy : Choose from a drop-down list if the strategy should execute only Long trades or only Short trades or both. Default Both.
- Invest. : Choose the amount you want to invest in the simulation. Default 10000.
- Position : Choose the amount of the position (Size order) that will be used during the simulation. This will be the $ amount staked/involved for each trade entry.
Ex: If you put 20000 in position and 10000 in Invest. We consider that you use at least a leverage x2. Default 10000.
- Slipp. TP : Choose the amount in percentage of average slippage for Take Profits. This parameter makes it possible to predict a potential gap between the theoretical exit price for each TP (On the graph) and the real exit price on an exchange when implementing the strategy for real (slippage may be due to a time lag of a few seconds from execution time of the order on the exchange and/or due to the execution of a market order).
Ex: If a TP exit order of a Long trade, with entry $19000 (on BTCUSDT ), is carried out in theory on the chart at $20000, in practice on the exchange the script have indeed sent an exit order at 20000 , but if the true exit price is 20050, the TP slippage is then +0.25%. Default 0.
- Slipp. SL : Choose the amount in percentage of average slippage for Stop Losses. This parameter makes it possible to predict a potential gap between the theoretical exit price for each SL (On the graph) and the real exit price on an exchange when implementing the strategy for real.
Ex: If an SL exit order of a Long trade, entry $19000 (on BTCUSDT ), is carried out in theory on the chart at $18000, in practice on the exchange the script have indeed sent an exit order at 18000 $, but if the true exit price is 17950, the slippage SL is then +0.278%. Default 0.
- Fees % : Choose the percentage amount of fees applied to each trade to simulate the application of the strategy on the exchange of your choice. Applies to the entry and exit of each trade. Ex: For Binance Futures: 0.04; For Bybit futures: 0.06; For Ftx Futures: 0.075. Default 0.
- Cumulate Trades : If you check this, the Backtest will use 100% of the balance as Order Size (Position) for All or in the next X consecutive trades. Default not checked.
⚠️ Be Careful please, this option is available to show the full extent and possibilities of the algorithm when pushed to its limits thanks to the accumulation of profits (cumulative earnings ), but it is a strategy that involves great risk. If a bad trade suffers a -50% loss, 50% of the account balance is lost, if the position is liquidated, the entire account balance is lost.
- All : If you check this All trades will be accumulated. Default not checked.
- Consecutive Trades : Choose the number of trades to accumulate. After X consecutive trades, the algorithm reassigns the initial order size to the current one and starts again for X consecutive trades. Minimum Value 2, Default 2.
• Settings To Optimize Performances and Risk Management
- Fast_MA : Choose the length of the Fast Moving Average. Default 12.
- Slow_MA : Choose the length of the Slow Moving Average. Default 26.
- Enable Early Crossings : If you check this, when the algorithm will detect an early crossing wethere bullish or bearish , it will trigger the Long or Short entries. Default not checked.
- Oscillator MA Type : Choose if the Macd line should be an Exponential Moving Average or a Simple Moving Average . Default Expo.
- Signal Line MA Type : Choose if the Signal line should be an Exponential Moving Average or a Simple Moving Average . Default Expo.
- Use TP / Use SL : If you check these, the algorithm will trigger personalized trade exit signals when the price evolution has reached the amounts indicated since the trade entry. Default not Checked.
- % TP - SL : Indicate here the personalized amount in percentage that you want for your Take Profit and Stop Loss of each trade. Default 15-5.
• Settings For Appearances
- Small-size Data Table : If you check this, the data table will become smaller to free up more space on the chart to make it visually more pleasing. Default not checked.
Hide Table /
- Hide Labels / : You can check these to get a cleaner chart and focus only on what interests you in the indicator. Default not checked.
Hide Risk-Reward Areas
█ LIMITATIONS
• ⚠️ We repeat it once again, this strategy is not intended to be reproduced in real conditions, we have designed it for educational and analytical purposes only.
• Even if you see good performances when you backtest the strategy, you must take into account that these results are performed in the past and that in no case does this guarantee that these same performances will be repeated again in the future.
• When you run for real a trading strategy you must be aware of the fact that you are solely responsible for the results that you will be able to obtain and you must be aware of the possibility at all times of partial or even total losses of your invested capital.
• Keep in mind that generating profits in trading is difficult. A strategy can perform very well at one time in the past during a period that is favorable to it, then from one day to the next it can give really bad results for several months or years.
• When backtesting a trading strategy, there are many factors to consider, not just trade entries to which you add a Take Profit and sometimes a Stop Loss. You must at least take into account the size of the position in relation to the capital you want to invest, the trading fees, the slippages (which can be really important depending on the exchange on which you are trading and depending on the asset you are trading), trading frequency, risk management, momentum, volumes and even more.
The information published here on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.
═════════════════════════════════════════════════════════════════════════
Important to note : our indicators with the same backtesting system are published in separate publications, because putting them together in a single script would considerably slow down the execution of the script. In addition each indicator, even when it is based on a simple technical indicator, has several options, parameters and entry/exit conditions specific to the underlying technical indicator. Finally, we want to keep the simplicity of use, configuration and understanding of our indicator by not mixing strategies that have nothing to do with each other.
Pesquisar nos scripts por "entry"
Miyagi STrendMiyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
Miyagi STrend was created to allow traders the ability to both scalp and swing trade from as singular indicator. STrend aims to help traders catch more of the move.
STrend starts with the native TradingView SuperTrend indicator and adds in extra filtering in the form of the SuperTrend Oscillator (ST OSC), and an Adaptive Moving Average (AMA) - all of which are adjustable.
Entry conditions start with the following:
Long Entry: SuperTrend must be green (candles above SuperTrend), price above the Adaptive Moving Average (AMA), and lastly the SuperTrend Oscillator (ST OSC) at maximum +100.
Short Entry: SuperTrend must be red (candles below SuperTrend), price below the Adaptive Moving Average (AMA), and lastly the SuperTrend Oscillator (ST OSC) at maximum -100.
Exits are provided for both directions, long and short, when the SuperTrend Oscillator (ST OSC) hits maximum (+100/-100).
Please note the SuperTrend Oscillator (ST OSC) is not shown on the chart however is used for the final calculation to confirm entries.
We have added an "Entry on Exit" selector which allows users to enable entries on exit candles. This may allow more trades, however will incur more risk.
With "Entry on Exit" selected entry and exit alerts CAN fire in same candle and may require delays if using STrend as a swing indicator.
Without "Entry on Exit" selected entry and exit alerts CANNOT fire in same candle. This will produce less signals overall however may be safer for traders to use.
It would be best suited to utilize a stoploss when trading with Miyagi STrend to minimize risk.
Alerts are meant to fire on "Once per Bar Close" to confirm entry and exit signals.
Happy Trading!
UTG Trade Manager [V1]Position Sizing and Risk Management tool
See your trading plan directly on your chart . Enter >> Entry price, Take profit, Stoploss, capital, leverage, and see liquidation prices directly in association with entrys and stop losses
[TT] Daily Levels
These pivots are based on calculations that i have been using for quite some time. I'm sure There is no need to explain on how to use pivots.
Labels are given to understand and you can Msg me here or comment if u need any explanation.
I have given few examples below.. check i t out
XAUUSD
BTCUSD
Nifty
Banknifty
Scalping EMA ADX RSI with Buy/Sell AlertsThis is a study indicator that shows the entries in the strategy seen in one of the youtube channel so it does not belong to me. I can't tell who it is because it's against the House Rules to advertise but you can find out if you look for it on youtube. Default values of oscilators and ema adjusted as suggested. He says he got the best results in 5 min timeframe but i tried to make things as modifiable as possible so you can mess around with the settings and create your own strategy for different timeframes if you'd like. Suggested to use with normal candlestick charts. The blue line below indicates the ADX is above the selected threshold set in the settings named "Trend Ready Limit". You can set alerts for Buy, Sell or Buy/Sell signal together.
The entry strategy itself is pretty straight forward.
The rules for entry are as follows, the script will check all of this on auto and will give you buy or sell signal :
Recommended time frame: 5 min
For Long Entry:
- Check if price above the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Oversold
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss below last swing low with 1:1 or 1.5:1 take profit ratio.
For Short Entry:
- Check if price below the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Overbought
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss above last swing high with 1:1 or 1.5:1 take profit ratio.
This is my first indicator. Let me know if you want any updates. I am not sure if i can add everything but i'll try nonetheless.
Changed: Signals will check up to 2 candles before if the RSI is below or above the set value to show signal. This is because sometimes the entry signal is right but the response might be a bit late.
RSI 30 CROSSScript will give the RSI 30 40 and 70 level for present price of the stock , when the price cross the green line RSI value will be 70 , blue line RSI value will be 40 and red line RSI value will be 30 . Helps to put entry and exit based on RSI strategy.
RED line give price for RSI 30
BLUE line give price for RSI 40
GREEN line give price for RSI 70
BLACK line give SMA 200
Strategy
Stock price should above 200 MA
price should touch RSI 30 RED line and bounce back.
Entry will be the high of candle lies on RSI 40 BLUE line.
Stop loss will be the RSI 30 price(RED line ) during entry.
Target will be the RSI 70 price ( GREEEN line) during entry.
You can take half profit at RSI 70 and trail stop loss on RSI 70 till it cross.
This will help you to find the Price for stock, when it cross RSI value 30 , 40 and 70 to place entry exit and target based on the trade strategy will follow RSI.
If you want to entry, when stock cross RSI 30 or 40 from below . You can place a stop loss limit buy order at price range .
If you want to exit, When stock cross RSI 70 . you place stock loss at green line price.
Position Size CalculatorPosition Size Calculator
This open-source Pine Script® indicator helps traders manage risk by calculating position size, margin, and risk/reward based on account size, leverage, entry, stop-loss, and take-profit. It features a customizable table and optional chart lines/labels for clear trade planning across stocks, forex, crypto, and futures.
What It Does
- Position Size: Computes units to trade based on risk percentage and stop-loss distance, capped by leverage.
- Margin: Calculates initial margin in base currency and USD, with account size percentage.
- Risk/Reward: Shows risk-reward ratio, percentage price movements, and USD gains/losses.
- Visualization: Displays results in a table and optional chart lines/labels with customizable styles.
How It Works
- Precision: Adjusts price formatting using syminfo.mintick for accuracy across assets.
- Calculations: Position size = accountSize * (riskPercent / 100) / |entry - stoploss|, capped by accountSize * leverage / entry. Margin = positionSize / leverage. Risk-reward = |takeprofit - entry| / |stoploss - entry|.
- Display: Table shows metrics; optional lines/labels plot entry, stop-loss, and take-profit with percentage and USD details.
How to Use
- Set Inputs:
1- Account Size (USD): Your capital (e.g., 1000).
2- % Risk per Trade: Risk tolerance (e.g., 1%).
3- Leverage: Broker leverage (e.g., 1x, 10x).
4- Entry, Stop Loss, Take Profit: Trade prices.
5- Show Lines and Labels: Enable chart overlays.
- Customize: Adjust table position, colors, and line styles (Solid, Dashed, Dotted).
- View Results: Table shows position size, margin, and risk/reward. Chart lines/labels (if enabled) display prices, percentages, and USD outcomes.
- Apply: Use metrics for trade execution; modify code for custom features.
Notes
- Ensure valid inputs (entry ≠ stop-loss, both positive) to avoid “N/A”.
- Open-source: Inspect or extend the code for your needs.
- Contact the author via TradingView for feedback.
HawkEye EMA Cloud
# HawkEye EMA Cloud - Enhanced Multi-Timeframe EMA Analysis
## Overview
The HawkEye EMA Cloud is an advanced technical analysis indicator that visualizes multiple Exponential Moving Average (EMA) relationships through dynamic color-coded cloud formations. This enhanced version builds upon the original Ripster EMA Clouds concept with full customization capabilities.
## Credits
**Original Author:** Ripster47 (Ripster EMA Clouds)
**Enhanced Version:** HawkEye EMA Cloud with advanced customization features
## Key Features
### 🎨 **Full Color Customization**
- Individual bullish and bearish colors for each of the 5 EMA clouds
- Customizable rising and falling colors for EMA lines
- Adjustable opacity levels (0-100%) for each cloud independently
### 📊 **Multi-Layer EMA Analysis**
- **5 Configurable EMA Cloud Pairs:**
- Cloud 1: 8/9 EMAs (default)
- Cloud 2: 5/12 EMAs (default)
- Cloud 3: 34/50 EMAs (default)
- Cloud 4: 72/89 EMAs (default)
- Cloud 5: 180/200 EMAs (default)
### ⚙️ **Advanced Customization Options**
- Toggle individual clouds on/off
- Adjustable EMA periods for all timeframes
- Optional EMA line display with color coding
- Leading period offset for cloud projection
- Choice between EMA and SMA calculations
- Configurable source data (HL2, Close, Open, etc.)
## How It Works
### Cloud Formation
Each cloud is formed by the area between two EMAs of different periods. The cloud color dynamically changes based on:
- **Bullish (Green/Custom):** When the shorter EMA is above the longer EMA
- **Bearish (Red/Custom):** When the shorter EMA is below the longer EMA
### Multiple Timeframe Analysis
The indicator provides a comprehensive view of trend strength across multiple timeframes:
- **Short-term:** Clouds 1-2 (faster EMAs)
- **Medium-term:** Cloud 3 (intermediate EMAs)
- **Long-term:** Clouds 4-5 (slower EMAs)
## Trading Applications
### Trend Identification
- **Strong Uptrend:** Multiple clouds stacked bullishly with price above
- **Strong Downtrend:** Multiple clouds stacked bearishly with price below
- **Consolidation:** Mixed cloud colors indicating sideways movement
### Entry Signals
- **Bullish Entry:** Price breaking above bearish clouds turning bullish
- **Bearish Entry:** Price breaking below bullish clouds turning bearish
- **Confluence:** Multiple cloud confirmations strengthen signal reliability
### Support/Resistance Levels
- Cloud boundaries often act as dynamic support and resistance
- Thicker clouds (higher opacity) may provide stronger S/R levels
- Multiple cloud intersections create significant price levels
## Customization Guide
### Color Schemes
Create your own visual style by customizing:
1. **Bullish/Bearish colors** for each cloud pair
2. **Rising/Falling colors** for EMA lines
3. **Opacity levels** to layer clouds effectively
### Recommended Settings
- **Day Trading:** Focus on Clouds 1-2 with higher opacity
- **Swing Trading:** Use Clouds 1-3 with moderate opacity
- **Position Trading:** Emphasize Clouds 3-5 with lower opacity
## Technical Specifications
- **Version:** Pine Script v6
- **Type:** Overlay indicator
- **Calculations:** Real-time EMA computations
- **Performance:** Optimized for all timeframes
- **Alerts:** Configurable long/short alerts available
## Risk Disclaimer
This indicator is for educational and informational purposes only. Always combine with proper risk management and additional analysis before making trading decisions. Past performance does not guarantee future results.
---
*Enhanced and customized version of the original Ripster EMA Clouds by Ripster47. This modification adds comprehensive color customization and enhanced user control while preserving the core analytical framework.*
ST+ TP1-TP5 + CALL/PUT 1. The Indicator's General Concept
The indicator works by:
Using the Supertrend indicator to determine when a new trend (bullish or bearish) begins.
Once a new trend is detected:
It determines the entry price.
It calculates the stop-loss (SL).
It calculates five profit levels, TP1 to TP5.
It draws horizontal lines on the chart representing the entry, SL, TP1-TP5, with labels on the right side (as shown in the image).
It can also display a CALL or PUT symbol above the signal candle.
It tracks price movement to determine if a target has been reached or if the stop-loss has been hit.
2. The Inputs That Control the Indicator
You can modify these values according to your strategy:
ATR Length → The number of candles used to calculate volatility.
Supertrend Factor → Controls the sensitivity of the supertrend. (The higher the value, the fewer the signals.)
TP1 to TP5 → ATR multipliers to set targets.
SL → ATR multiplier to set stop loss.
Extend Bars → The distance the lines extend to the right before the bar.
Show CALL/PUT → Shows or hides the trend signal.
Show TP Flags → Enables or disables small TP flags above the candles.
3. Determining the Trend
The indicator uses Supertrend to determine:
Is the market in an uptrend or a downtrend?
If the trend changes from bearish to bullish, it registers a CALL signal.
If the trend changes from bullish to bearish, it registers a PUT signal.
The first candle at which this change occurs is called a reversal candle.
4. Calculating Levels
When a reversal candle occurs:
Entry price = closing price of the candle.
Stop Loss (SL):
For an uptrend = Price - ATR × Multiplier.
For a downtrend = Price + ATR × Multiplier.
Profit Levels (TP1, TP5):
If up → Price + ATR × (multipliers).
If down → Price - ATR × (multipliers).
5. Drawing Lines and Labels
Draws horizontal lines representing:
Entry (green)
SL (red)
TP1-TP5 (blue)
Places labels on the right side of the chart, as shown in the image:
Each label shows the price level.
The label reads: "TP1: 123.45" or "Entry: 120.00", etc.
The positions of the lines and labels are updated automatically with each new candle.
6. Showing CALL and PUT Signals
If the new trend is up, a green CALL label will appear above the reversal candle.
If the new trend is down, a red PUT label will appear above the reversal candle.
7. Target Tracking and Stop Loss
The indicator tracks each candle after the signal:
If the price touches one of the targets (TP1 to TP5):
It marks this target.
It stops tracking this target so that it does not repeat the signal.
If the price touches the Stop Loss (SL):
It closes the trade and stops tracking completely.
8. Blue Flags Option
There is an additional option:
If you enable it, a small blue flag will appear above or below the candle when any target is reached.
If you disable it, you won't see these flags; you'll just see the sidebars and labels.
9. Live and Dynamic Update
The indicator uses an automatic update every minute.
Ensures that all lines and labels remain fixed at the last candlestick of the analysis.
10. Trade Lifecycle
Wait for a reversal in a supertrend.
At the first reversal → set Entry/SL/TP1..TP5.
Draw lines and labels on the chart.
Monitor price action:
If any TP is met → mark it as met.
If the SL is reached → cancel the trade.
Wait for a new signal to begin a new cycle.
Conclusion
The indicator provides you with a complete visual trading system.
Defines entry points, stop-losses, and profit targets.
Everything is displayed on the chart with clear colored lines and labels.
Keeps targets organized and prevents duplicate signals.
Can be used on any timeframe or market.
Sunmool's Silver Bullet Model FinderICT Silver Bullet Model Indicator - Complete Guide
📈 Overview
The ICT Silver Bullet Model indicator is a supplementary tool for utilizing ICT's (Inner Circle Trader) market structure analysis techniques. This indicator detects institutional liquidity hunting patterns and automatically identifies structural levels, helping traders analyze market structure more effectively.
🎯 Core Features
1. Structural Level Identification
STL (Short Term Low): Recent support levels formed in the short term
STH (Short Term High): Recent resistance levels formed in the short term
ITL (Intermediate Term Low): Stronger support levels with more significance
ITH (Intermediate Term High): Stronger resistance levels with more significance
2. Kill Zone Time Display
London Kill Zone: 02:00-05:00 (default)
New York Kill Zone: 08:30-11:00 (default)
These are the most active trading hours for institutional players where significant price movements occur
3. Smart Sweep Detection
Bear Sweep (🔻): Pattern where price sweeps below lows then recovers - Simply indicates sweep occurrence
Bull Sweep (🔺): Pattern where price sweeps above highs then declines - Simply indicates sweep occurrence
Important: Sweep labels only mark liquidity hunting locations, not directional bias.
🔧 Configuration Parameters
Basic Settings
Sweep Detection Lookback: Number of candles for sweep detection (default: 20)
Structure Point Lookback: Number of candles for structural point detection (default: 10)
Sweep Threshold: Percentage threshold for sweep validation (default: 0.1%)
Time Settings
London Kill Zone: Active hours for London session
New York Kill Zone: Active hours for New York session
Visualization Settings
Customizable colors for each level type
Enable/disable alert notifications
📊 How to Use
1. Chart Setup
Most effective on 1-minute to 1-hour timeframes
Recommended for major currency pairs (EUR/USD, GBP/USD, etc.)
Also applicable to cryptocurrencies and indices
2. Signal Interpretation
🔻 Bear Sweep / 🔺 Bull Sweep Labels
Simply indicate liquidity hunting occurrence points
Not directional bias indicators
Reference for understanding overall context on HTF
🟢 Silver Bullet Long (Huge Green Triangle)
After Bear Sweep occurrence
Within Kill Zone timeframe
Current price positioned above swept level
→ Actual BUY entry signal
🔴 Silver Bullet Short (Huge Red Triangle)
After Bull Sweep occurrence
Within Kill Zone timeframe
Current price positioned below swept level
→ Actual SELL entry signal
3. Risk Management
Use swept levels as stop-loss reference points
Approach signals outside Kill Zone hours with caution
Recommended to use alongside other technical analysis tools
💡 Trading Strategies
Silver Bullet Strategy
Preparation Phase: Monitor charts 30 minutes before Kill Zone
Sweep Observation: Identify liquidity hunting points with 🔻🔺 labels (reference only)
Entry: Enter ONLY when huge triangle Silver Bullet signal appears within Kill Zone
Take Profit: Target opposite structural level or 1:2 reward ratio
Stop Loss: Beyond the swept level
Important: Small sweep labels are NOT trading signals!
Multi-Timeframe Approach
Step 1: HTF (Higher Time Frame) Sweep Reference
Observe 🔻🔺 sweep labels on 4-hour and daily charts
Reference only sweeps occurring at major structural levels
HTF sweeps are used to identify liquidity hunting points
Reference only, not for directional bias
Step 2: Transition to LTF (Lower Time Frame)
Move to 15-minute, 5-minute, and 1-minute charts
Analyze LTF with reference to HTF sweep information
Use STL, STH, ITL, ITH for precise entry point identification
Structural levels on LTF are the core of actual trading decisions
Only huge triangle (Silver Bullet) signals are actual entry signals
Recommended Usage
Identify overall sweep occurrence points on HTF (🔻🔺 labels)
Use this indicator on LTF to identify structural levels
Reference only huge triangle signals for actual trading during Kill Zone
Small sweep labels (🔻🔺) are for reference only, not entry signals
📋 Information Table Interpretation
Real-time information in the top-right table:
Kill Zone Status: Current active session status
Level Counts: Number of each structural level type
⚠️ Important Disclaimers
Backtesting results do not guarantee future performance
Exercise caution during high market volatility periods
Always apply proper risk management
Recommend comprehensive analysis with other analytical tools
🎓 Learning Resources
Study original ICT concepts through free YouTube educational content
Research Market Structure analysis techniques
Optimize through backtesting for personal use
🔬 Technical Implementation
Algorithm Logic
Pivot Point Detection: Uses TradingView's built-in pivot functions to identify swing highs and lows
Classification System: Automatically categorizes levels based on recent price action frequency
Sweep Validation: Confirms legitimate sweeps through price action analysis
Time-Based Filtering: Prioritizes signals during institutional active hours
Performance Optimization
Efficient array management prevents memory overflow
Dynamic level cleanup maintains chart clarity
Real-time calculation ensures minimal lag
🛠️ Customization Tips
Adjust lookback periods based on market volatility
Modify kill zone times for different market sessions
Experiment with sweep threshold for different instruments
Color-code levels according to personal preference
📈 Expected Outcomes
When properly implemented, this indicator can help traders:
Identify high-probability reversal points
Time entries with institutional flow
Reduce false signals through kill zone filtering
Improve risk-to-reward ratios
This indicator automates ICT's concepts into a user-friendly tool that can be enhanced through continuous learning and practical application. Success depends on understanding the underlying market structure principles and combining them with proper risk management techniques.
TP/SL Dynamic (FIB,ATR,MULTIPLE,PERCENT)TP/SL Dynamic (FIB, ATR, MULTIPLE, PERCENT)
This indicator provides a flexible framework for managing Take Profit (TP) and Stop Loss (SL) levels using multiple calculation schemes. It is designed for traders who want dynamic or rule-based levels that adapt to volatility, market type, and custom input.
The script supports four TP/SL methodologies:
Pro Standards (Auto-Select): Adapts method based on asset type and volatility.
R Multiples: Risk-based reward multiples from ATR-derived stop distance.
Fibonacci R: Fibonacci extension levels projected from recent pivots.
Percent: Fixed percentage distance from entry, adjusted by volatility.
ATR Multiples: ATR-based calculations with configurable multipliers.
Features:
Up to 3 manual entries, each with configurable time, price, and position size.
Weighted entry price calculation across multiple positions.
Single or multiple TP targets (up to 4) with automatic scaling.
Dynamic ATR option: updates SL/TP levels with live volatility or fixes them at entry.
Pivot-based logic for Fibonacci extensions.
Symbol Locking to prevent mismatches between intended pair and chart symbol.
Table display with optional R-multiples, TP/SL values, and entry details.
Visual chart elements: lines, labels, price-scale markers for SL/TP, and zebra-style info tables.
Entry markers (E1, E2, E3) for clarity.
Alerts for TP and SL triggers (both long and short).
How to Use:
Define entry prices, times, and position sizes (up to 3 entries).
Select a TP method (Pro Standards, R Multiples, Fibonacci R, Percent, or ATR Multiples).
Choose single or multiple TP mode.
Optionally enable Dynamic ATR to update levels in real time.
Check the on-chart table for all calculated levels and alerts.
Author & Credit:
Developed from the ground up by me (no external code used outside The Pine public library).
Pasrsifal.RegressionTrendStateSummary
The Parsifal.Regression.Trend.State Indicator analyzes the leading coefficients of linear and quadratic regressions of price (against time). It also considers their first- and second-order changes. These features are aggregated into a Trend-State background, shown as a gradient color. In addition, the indicator generates fast and slow signals that can be used as potential entry- or exit triggers.
This tool is designed for advanced trend-following strategies, leveraging information from multiple trendline features.
Background
Trendlines provide insight into the state of a trend or the “trendiness” of a price process. While moving averages or pivot-based lines can serve as envelopes and breakout levels, they are often too lagging for swing traders, who need tools that adapt more closely to price swings, ideally using trendlines, around which the price process swings continuously.
Regression lines address this by cutting directly through the data, making them a natural anchor for observing how price winds around a central trendline within a chosen lookback period.
Regression Trendlines
• Linear Regression:
o Minimizes distance to all closing values over the lookback period.
o The slope represents the short-term linear trend.
o The change of slope indicates trend acceleration or deceleration.
o Linear regression lags during phases of rapid market shifts.
• Quadratic Regression:
o Fits a second-degree polynomial to minimize deviation from closing prices.
o The convexity term (leading coefficient) reflects curvature:
Positive convexity → accelerating uptrend or fading downtrend.
Negative convexity → accelerating downtrend or fading uptrend.
o The change of convexity detects early shifts in momentum and often reacts faster than slope features.
Features Extracted
The indicator evaluates six features:
• Linear features: slope, first derivative of slope, second derivative of slope.
• Quadratic features: convexity term, first derivative of the convexity term, second derivative of the convexity term.
• Linear features: capture broad, background trend behavior.
• Quadratic features: detect deviations, accelerations, and smaller-scale dynamics.
Quadratic terms generally react first to market changes, while linear terms provide stability and context.
Dynamics of Market Moves as seen by linear and quadratic regressions
• At the start of a rapid move:
The change of convexity reacts first, capturing the shift in dynamics before other features. The convexity term then follows, while linear slope features lag further behind. Because convexity measures deviation from linearity, it reflects accelerating momentum more effectively than slope.
• At the end of a rapid move:
Again, the change of convexity responds first to fading momentum, signaling the transition from above-linear to below-linear dynamics. Even while a strong trend persists, the change of convexity may flip sign early, offering a warning of weakening strength. The convexity term itself adjusts more slowly but may still turn before the price process does. Linear features lag the most, typically only flipping after price has already reversed, thereby smoothing out the rapid, more sensitive reactions of quadratic terms.
________________________________________
Parsifal Regression.Trend.State Method
1. Feature Mapping:
Each feature is mapped to a range between -1 and 1, preserving zero-crossings (critical for sign interpretation).
2. Aggregation:
A heuristic linear combination*) produces a background information value, visualized as a gradient color scale:
o Deep green → strong positive trend.
o Deep red → strong negative trend.
o Yellow → neutral or transitional states.
3. Signals:
o Fast signal (oscillator): ranges from -1 to 1, reflecting short-term trend state.
o Slow signal (smoothed): moving average of the fast signal.
o Their interactions (crossovers, zero-crossings) provide actionable trading triggers.
How to Use
The Trend-State background gradient provides intuitive visual feedback on the aggregated regression features (slope, convexity, and their changes). Because these features reflect not only current trend strength but also their acceleration or deceleration, the color transitions help anticipate evolving market states:
• Solid Green: All features near their highs. Indicates a strong, accelerating uptrend. May also reflect explosive or hyperbolic upside moves (including gaps).
• Fading Solid Green: A recently strong uptrend is losing momentum. Price may shift into a slower uptrend, consolidation, or even a reversal.
• Fading Green → Yellow: Often appears as a dirty yellow or a rapidly mixing pattern of green and red. Signals that the uptrend is weakening toward neutrality or beginning to turn negative.
• Yellow → Deepening Red: Two possible scenarios:
o Coming from a strong uptrend → suggests a sharp fade, though the trend may still technically be up.
o Coming from a weaker uptrend or sideways market → suggests the start of an accelerating downtrend.
• Solid Red: All features near their lows. Indicates a strong, accelerating downtrend. May also reflect crash-type conditions or downside gaps.
• Fading Solid Red: A recently strong downtrend is losing strength. Market may move into a slower decline, consolidation, or early reversal upward.
• Fading Red → Yellow : The downtrend is weakening toward neutral, with potential for a bullish shift.
• Yellow → Increasing Green: Two possible scenarios:
o Coming from a strong downtrend, it reflects a sharp fade of bearish momentum, though the market may still technically be trending down.
o Coming from a weaker downtrend or sideways movement, it suggests the start of an accelerating uptrend.
Note: Market evolution does not always follow this neat “color cycle.” It may jump between states, skip stages, or reverse abruptly depending on market conditions. This makes the background coloring particularly valuable as a contextual map of current and evolving price dynamics.
Signal Crossovers:
Although the fast signal is very similar (but not identical) to the background coloring, it provides a numerical representation indicating a bullish interpretation for rising values and bearish for falling.
o High-confidence entries:
Fast signal rising from < -0.7 and crossing above the slow signal → potential long entry.
Fast signal falling from > +0.7 and crossing below the slow signal → potential short entry.
o Low-confidence entries:
Crossovers near zero may still provide a valid trigger but may be noisy and should be confirmed with other signals.
o Zero-crossings:
Indicate broader state changes, useful for conservative positioning or option strategies. For confirmation of a Fast signal 0-crossing, wait for the Slow signal to cross as well.
________________________________________
*) Note on Aggregation
While the indicator currently uses a heuristic linear combination of features, alternatives such as Principal Component Analysis (PCA) could provide a more formal aggregation. However, while in the absence of matrix algebra, the required eigenvalue decomposition can be approximated, its computational expense does not justify the marginal higher insight in this case. The current heuristic approach offers a practical balance of clarity, speed, and accuracy.
CyberFlow [Probabilities] | FractalystWhat's the indicator's purpose and functionality?
CyberFlow quantifies, per chosen higher-timeframe “Period 1/2/3”, what happens after price first taps the midpoint (Mid) of the previous period’s range. Specifically, it estimates P(High first | Mid tap) versus P(Low first | Mid tap): which side (previous High “PH” or previous Low “PL”) is typically reached first after that mid activation.
It extends a previously shared OrderFlow concept that used market structure; here it conditions on higher‑timeframe previous‑period PH/PL with the Mid as the explicit trigger.
Note: It's specifically designed to exports raw probabilistic series for algorithmic/system developers to integrate a probabilistic layer into strategies and to build/backtest ideas directly from those series.
What is “Mid activation”?
The Mid is the average of the previous period’s PH and PL. Activation occurs on the first bar in the current period whose high–low range includes the Mid. The first bar of a new period cannot activate Mid; activation can only start from the second bar of the period onward.
What counts as “first hit” after activation?
After a Mid activation, the script waits for a subsequent bar that touches either the previous High (PH) or previous Low (PL). The first side touched after the activation bar is recorded as that period’s first hit. Once decided, the other side is ignored for first‑hit statistics.
Which periods does it use?
You can select three custom reference timeframes (Period 1/2/3) in the UI (defaults: D/W/M). All logic—PH/PL/Mid, activation, first‑hit stats—runs independently per selected period.
Do the display controls change the calculation?
No. The “Show” selector only controls visuals:
Period 1/2/3: show only that period’s plots/barcolors.
OFF: shows all periods. Statistics and exported series are unaffected by this selector.
What do the bar/line colors mean?
Activation (first Mid tap): yellow bar.
Delivered to previous High after activation: blue
Delivered to previous Low after activation: red
Plots stop showing PH/PL once delivery happens (for that side) within the period.
What do the status symbols in the table mean?
■ Inactive — Mid not tapped this period.
▶ Activated — Mid tapped; awaiting delivery to PH or PL.
● Delivered — PH or PL was hit first after the Mid tap.
How are probabilities computed?
For each period, the script counts samples where the Mid was tapped and one side was hit first. It reports:
P(High first | Mid tap) and P(Low first | Mid tap).
Two‑sided p‑value vs 50% (H0: p = 0.5). These appear in the stats table with detailed tooltips.
What is “Bias” in exports?
Bias is a ternary signal derived from P(High first | Mid tap):
Bias = 1 if > 0.5
Bias = -1 if < 0.5
Bias = 0 if exactly 0.5 or no sample Source can be per period or “Merged” (simple average of available period probabilities).
Note: the UI uses a simple average; no weighted option is exposed.
What is “Entry” in exports?
Entry = 1 on bars where the selected period’s Mid activates (first tap), else 0. “Merged” emits 1 if any of the three periods activates on the bar.
What is “Exit” in exports?
Exit is the previous period’s Mid price (PH/PL average) for the selected period. “Merged” is the average of the three previous‑period Mid prices.
How do I integrate this into strategies? How to use the indicator?
CyberFlow is designed for algorithmic/system developers to add a probabilistic layer for entries and market‑regime detection.
What CyberFlow exports
- Bias (−1, 0, 1): from P(High first | Mid tap) vs 50% per your chosen source (Period 1/2/3 or Merged simple average).
- Entry (0/1): 1 only on the bar where the selected period’s Mid first activates (the “mid tap” bar).
- Exit (price): the previous period’s Mid price (average of previous High/Low) for the selected source.
- These appear in the Data Window as series named Bias, Entry, and Exit.
Connecting from your strategy (input.source)
- Add inputs in your strategy so users can select CyberFlow’s outputs:
- Bias source input: pick the indicator’s Bias.
- Entry source input: pick the indicator’s Entry.
- Exit source input: pick the indicator’s Exit.
In TradingView’s UI, users link these inputs to CyberFlow’s plots via the source picker.
Does this use request.security?
No. CyberFlow reconstructs your selected higher timeframes (Period 1/2/3) directly on the chart without request.security().
It detects new period boundaries via timeframe.change(tf), rolls the last period’s extremes into Previous High/Low (PH/PL), computes their Mid, then waits for a “Mid activation” (a bar after the first bar of the period whose range crosses the Mid).
From activation onward, it records which side (PH or PL) is reached first to build conditional probabilities per period.
Because levels and events are derived locally from the live bar stream, there are no cross-timeframe fetch artifacts or repaint nuances from request.security().
The exported series (Bias −1/0/1, Entry 0/1, Exit price) are produced natively and can be wired into strategies via TradingView’s input.source() for robust, low-latency integration.
What markets and assets does the indicator Extension work best on?
CyberFlow is market- and timeframe‑agnostic: it computes conditional probabilities (which side of the prior range is reached first after a mid tap) directly from price, so it can be applied to crypto, FX, indices, equities, futures, and commodities across intraday to higher timeframes. In practice, robustness depends on liquidity and sample size: higher timeframes usually yield more stable estimates (fewer activations, lower noise), while lower timeframes give more activations but can be noisier (spreads/fees matter more).
Because the study itself provides probabilities—not PnL—assess profitability in your context by integrating the exported series (Bias −1/0/1, Entry 0/1, Exit price) into your strategy via TradingView’s input.source(), then backtest with your fills, costs, and risk model to measure performance efficiency on your specific markets and settings.
What makes this script unique?
Custom higher-timeframes (beyond D/W/M)
You can pick any three reference periods (Period 1/2/3), not just Daily/Weekly/Monthly. The script rebuilds these periods directly on the chart and analyzes each independently.
True conditional probability (why it matters)
It measures P(High first | Mid tap) vs P(Low first | Mid tap) — i.e., “after the previous period’s midpoint is first tapped, which side is typically reached first?”
Conditioning on the mid‑tap event isolates the path that follows a specific trigger. Unconditioned counts (e.g., “how often PH/PL is hit”) mix pre‑ and post‑activation behavior and can be misleading. This conditional framing turns vague hit‑rates into decision‑grade odds tied to a clear setup.
Statistical confidence in‑context (p‑value in tooltips)
Tooltips show a Wilson 95% confidence interval and a two‑sided p‑value versus 50/50. This helps you judge whether an observed edge is likely signal or noise at your chosen periods.
Exports built for algorithmic integration
Three clean outputs in the Data Window for strategies:
Bias (−1/0/1) from the conditional probability versus 50%.
Entry (0/1) on the activation bar (first mid tap).
Exit (price) as the previous period’s Mid.
Hook these into your backtests via TradingView’s input.source(), then evaluate profitability with your own fills, costs, and risk model. This turns the probabilities into measurable performance you can optimize.
Disclaimer
This tool provides statistical estimates only and is not financial advice. Historical probabilities are not guarantees of future results. Always backtest with your own costs, fills, and risk model before using in live trading.
Ninja Indicator, Crypto, Forex, IndicesIndicator Description:
It is the version 2.0 of Ninja Entry Indicator. It has all the features of Ninja, added new POI support/resistance feature.
If it takes support from POI and on retest you can take long entry.
If it takes resistance from POI and on retest you can take short side entry.
signal heads-up_Bollinger
signal heads-up_Bollinger
Overview
signal heads-up & slow-trail combines Bollinger-based entries, a predictive Heads-Up (ETA) timer, multi-level TP1–TP5 zones, and a Slow-Trail stop engine that advances gradually to protect profits. It includes compact R/R HUD output and Text/JSON alerts for entries, TP/SL hits, and predictive events.
How it Works
1) Entry Logic (Bollinger)
Modes:
Revert Cross: fade back inside the bands (mean-reversion).
Cross Threshold: momentum/breakout style.
Gating & Safety:
Optional bar-close confirmation to reduce intrabar noise.
Trade Direction gating (Long/Short only).
Per-side cooldown (min bars between entries).
Optional filters (see below).
2) Quality Filters (optional)
HTF Trend Filter: EMA slope from a higher timeframe to favor trades aligned with trend.
BB Width Filter: Require Bollinger Band width (% of price) to lie within a min–max range, avoiding dead zones or extreme noise.
3) Heads-Up (ETA Prediction)
Estimates minutes to the next event by converting price velocity to per-minute terms and projecting distance to a target:
Outside Revert (entry): time to revert from outside band toward re-entry.
Nearest Band Touch: time to touch the closest band.
Basis Cross: time to cross the SMA basis.
Spike Heads-Up: detects when band width is compressed and starting to expand with directional tilt, projecting ETA to a “breakout-ready” width.
Heads-Up is predictive, not a guarantee; it updates each bar as volatility and velocity change.
4) TP Zones (TP1–TP5)
On a new signal, the script draws a ladder of up to 5 horizontal TP levels projected from the signal bar.
Zones can expire after N bars (optional).
The HUD shows R/R to TP1–TP5 for the currently active side.
5) Slow-Trail Stop (the signature)
A “glide, don’t jerk” trailing engine that advances the stop in fractions toward a dynamic target:
Move to BE on TP1: once TP1 is touched, the engine flags BE and eases the stop toward entry (no snap).
Follow TP for SL: after higher TPs hit (e.g., TP3), the stop trails to the previous TP (TP2).
Optional Chandelier Trail: blended into the target.
Pacing & Progress:
Move by fraction (slMoveFraction, e.g., 0.33).
Respect min bars between moves and a hold after moving.
Require ATR-based progress (slMinATRProgress) so the stop only advances when price meaningfully moves.
6) Alerts & HUD
Manual alerts: alertcondition() for BUY/SELL entries.
Auto alerts: alert() for Entry / TP / SL / Heads-Up / Spike with cooldown and optional one-TP-per-bar.
Formats: Text (mobile-friendly) or JSON (for bots/webhooks); optional ZoneID tagging.
HUD: compact table showing symbol/TF, last Entry & SL, R/R to TP1–TP5, alert mode, MaxHit per side, and color-coded HU/Spike lines (NOW / ~Xm).
Key Inputs (high level)
Strategy: Trade Direction, Entry Strategy.
Bollinger: Length, Multiplier.
Filters: HTF EMA slope (TF & length), BB width min/max %.
Stops: Mode (ATR× / Percent / Points), ATR length/mult, Slow-Trail pacing (fraction, min bars, ATR progress, hold), Move to BE on TP1, Follow TP for SL, optional Chandelier.
TP Zones: size multiplier, colors, label side/offset, expiry.
Heads-Up: lookahead minutes, velocity length, HU mode, compression threshold, slope length, directional tilt, NOW/SOON thresholds.
Alerts: manual/auto, JSON vs Text, cooldown, strict-touch, min bars between entries, ZoneID.
How to Use (step-by-step)
Attach & Name
Add the script and keep your preferred signal … title. The short name appears on the chart.
Pick Entry Style
Revert Cross for mean-reversion around bands.
Cross Threshold for momentum continuation.
Choose Risk Basis
Use ATR 14 × 1.5–2.0 as a sensible SL baseline. Enable Move SL→BE on TP1 and Follow TP for progressive protection. Keep slMoveFraction ≈ 0.3 to glide.
Tune Heads-Up
Start with Lookahead = 10 min, Velocity length = 14.
Mode Nearest Band Touch is a solid general default.
Keep Spike Heads-Up on to catch compress-then-expand phases.
Enable Filters (optional)
HTF EMA slope when you want trend alignment (e.g., HTF=60, EMA=50).
BB width filter to skip dead sessions or hyper-chop.
Set TP Ladder
Keep the default zone size multiplier; adjust if your instrument’s range is larger/smaller.
Use zone expiry to avoid stale ladders.
Create Alerts (TradingView)
Choose “Any alert() function call” and Once Per Bar Close if you use close-confirmation.
Pick JSON if you integrate with bots/webhooks; otherwise Text is phone-friendly.
Use cooldown and one-TP-per-bar to reduce noise.
Operate
Watch the HUD: HU line shows BUY/SELL NOW / ~Xm; Spike line hints imminent expansion.
When a signal triggers, TP1–TP5 draw and the Slow-Trail begins pacing the stop forward as price progresses.
The Gain Anchor - Long/Short SignalsThe Gain Anchor – Long/Short Signals (WunderTrading Bot Ready)
Dual Anchored VWAP System Powered by Overbought & Oversold Signals
A high-precision AVWAP and Z-Score system designed to generate Long/Buy and Short/Sell signals.
This indicator is ideal for swing trades and can be used as a standard signal indicator or seamlessly integrated for automated trading with WunderTrading bots.
--------------------------------------------------
Inputs
--------------------------------------------------
• Master Symbol: Sets the symbol used to track market trend. When disabled, the chart’s symbol is used to track its own trend.
• Rolling AVWAP Length: Defines the AVWAP calculation lookback (the bar where calculation starts).
• Minimum Investment Amount ($): Minimum is $6. For WunderTrading, it should not be less than $12.
• Minimum Profit Target ($): Ensures returns are higher than the defined minimum profit.
• Z-Score Lookback: Sets the lookback length for the Z-Score calculation window.
• Z-Score Threshold: Defines the base threshold. (The code auto-adjusts thresholds as more data is processed.)
• Long/Short Strings Input: Enter the alert messages you want to receive. For WunderTrading bots, input your Long Entry, Long Exit, Short Entry, and Short Exit codes.
• Show Other Lines: Displays Rolling AVWAP plot, Take Profit, and Stop Loss lines.
• Table Position: Choose the dashboard placement on your chart.
--------------------------------------------------
Core Logic
--------------------------------------------------
• Z-Score: Detects price deviation from its mean. When the price overextends based on the lookback, AVWAPs are reset.
• Resetting AVWAP 1 / Fast AVWAP (White Line): Uses a weaker threshold.
• Resetting AVWAP 2 / Slow AVWAP (Blue Line): Uses stronger thresholds, confirming and filtering weaker crosses.
• When AVWAP 2 resets, it signals a possible trend change and may generate new signals.
• If AVWAP 2 detects excessively frequent trend changes (high volatility), new signals are automatically disabled.
• Stop Loss and Take Profit are derived from bar distance relative to the lowest AVWAP (longs) or highest AVWAP (shorts).
If this exceeds your minimum investment, the system auto-adjusts the size.
If stop loss is not positioned beyond the AVWAPs, no signal is generated.
--------------------------------------------------
Trade Signals Logic
--------------------------------------------------
The indicator’s signal mechanism is designed to prevent overtrading during
high volatility.
- Signals are disabled when a sudden surge in volatility is detected.
- Only one signal is generated per legitimate trend change.
- Example:
• When the trend switches to bullish, only one Long signal is given.
• Once that Long position is closed (profit or loss), no new signal will be issued until another valid trend change occurs.
• The same logic applies to bearish/Short positions.
This ensures that signals remain clean, infrequent, and aligned with real trend shifts rather than noise.
--------------------------------------------------
Take Profit & Stop Loss
--------------------------------------------------
• Take Profit has two levels:
1. First Level: Triggered when the trend changes and price is below the first TP level.
2. Second Level: Triggered if the price surges into the second TP level.
The position is closed on whichever condition is met first.
• On Scale:
- Take Profit (Gray Line): Rolling take profit value.
- Stop Loss (Maroon Line): Rolling stop loss value, auto-calculated as half the minimum profit.
- Gray Stop Loss and Take Profit: Rolling Stop Loss and Take Profit purpose is mainly for manual trading but when they are both gray it is not ideal to look for an entry.
• On Chart:
- Take Profit: Lime (Longs), Fuchsia (Shorts). Fixed from signal start until triggered.
- Stop Loss: Yellow (Longs), Maroon (Shorts). Fixed from signal start until triggered.
- You have to activate "Show Other Lines" in Input to see them
--------------------------------------------------
Signal Markers
--------------------------------------------------
• 👆 = Long Entry
• Green Dot = Long Exit (TP/SL)
• 👇 = Short Entry
• Fuchsia Dot = Short Exit (TP/SL)
• 💥 = Bullish Trend
• 🔥 = Bearish Trend
--------------------------------------------------
Backtest System
--------------------------------------------------
• Displays the number of days since the first trade/backtest.
• Shows trade count, win rate, net profit/loss.
• Useful for real-time analysis and alert validation.
--------------------------------------------------
Dashboard Overview
--------------------------------------------------
Row 1 (Per Symbol):
• Column 1: Win Rate + Total Trades / Wins / Losses
• Color Modes: Blue = Win rate rising and it's 50 or higher. Brown = Win rate falling and it's 50 or higher. Grey = Falling and less than 50
• Column 2: Backest - number of days since the first trade
• Column 3: Net Profit + Total Profit / Total Loss
• Color Modes: Red = Loss greater than Profit , Green = Net Profit exceeds minimum profit x Total Trade Won, Brown = Profit greater than Loss but high bad trades
• Column 4: Investment Amount + Minimum Profit | Gain % to Target
• Color Modes: Signal State: Lime = Long, Maroon = Short, Yellow = Both Active
--------------------------------------------------
Usage Notes
--------------------------------------------------
• Works for manual or automated execution.
• Fully compatible with WunderTrading’s JSON alert format (and any platform using the same format).
• Can also be used standalone with no dependencies.
• Dashboard and auto-calculated SL/TP make it flexible across all trading styles.
• Minimum Investment Amount affects SL/TP size and therefore win rate.
• Increasing Minimum Profit increases potential profit but also increases loss size.
• Loss-to-Win ratio is always 1:2+, meaning your wins are at least double your losses.
• Optimized for 1-minute timeframe. Other timeframes may also yield desirable results.
--------------------------------------------------
⚠️ Disclaimer
--------------------------------------------------
This indicator does not constitute financial advice or a trading recommendation.
All trading involves risk. Past performance does not guarantee future results.
Zenith by JaeheeZenith (Invite-Only)
Overview
• This indicator is a trend-following, regime-aware signal tool designed to surface actionable long/short entries only when multiple, independent conditions align.
• It emphasizes trend initiation (not late trend chasing) and provides structured take-profit (TP1/TP2/TP3) cues when momentum weakens after entry.
• It is an indicator (not a strategy). It does not place trades, manage orders, or guarantee outcomes.
What makes it different
• Regime windowing: Signals are permitted only shortly after a regime flip and only if trend quality conditions persist (streak). This reduces signals that arrive too late in mature trends.
• Multi-filter consensus: Trend EMA slope/position, RSI state/slope, ADX/DI separation, volume expansion, and optional structure break (HH/LL) must agree before any entry is considered.
• Volatility & squeeze awareness: A TTM-style squeeze gate avoids chasing during compression unless a valid release is detected.
• Momentum-based TPs: After a valid entry, RSI divergence at confirmed pivots defines TP1→TP3 in the trend direction (price makes a new extreme while RSI momentum fails to confirm).
• Minimal repaint design: Signals and TPs are formed on confirmed pivots and bar close logic; HTF requests use lookahead_off. (See “Repainting & calculation notes.”)
How it works (signal engine)
• Trend filter:
• Baseline EMA and its slope define directional bias (price vs baseline, rising/falling baseline).
• RSI state & slope:
• RSI must be above/below its midpoint and (optionally) rising/falling to validate momentum alignment.
• Directional strength (ADX/DI):
• ADX must exceed a minimum; DI+ vs DI− alignment confirms directional pressure.
• Liquidity/participation:
• Volume must exceed its SMA×mult to avoid low-quality moves.
• Structure confirmation (optional):
• Break of recent highs/lows (windowed) helps filter range noise.
• Squeeze gate:
• During BB-inside-KC compression, entries are held back unless a valid release (KC breakout) or ATR expansion is present.
• Regime window:
• After Long/Short pass flips from 0→1, entries are allowed for a limited number of bars (window) and only after a streak (N consecutive bars meeting conditions).
• HTF alignment (optional):
• Higher-timeframe EMA trend must agree with the local setup (no lookahead).
Signals & labels
• Entry labels:
• Long Entry = “Long Entry” (below bar)
• Short Entry = “Short Entry” (above bar)
• Shapes:
• Diamonds mark entry points; optional “Macro-only” mode shows only regime-grade signals.
• Visual ribbon:
• A gradient band around the baseline provides context for volatility and bias; it does not alter signal logic.
Take-Profit framework (momentum weakening)
• After a Long Entry, the script tracks confirmed price pivot highs vs confirmed RSI pivot highs:
• TP trigger (Long): new price pivot high higher than prior, but RSI pivot high lower → bearish divergence (momentum weakening).
• Ordering: TP2 must print above TP1; TP3 must print above TP1/TP2.
• After a Short Entry, the script tracks confirmed price pivot lows vs confirmed RSI pivot lows:
• TP trigger (Short): new price pivot low lower than prior, but RSI pivot low higher → bullish divergence.
• Ordering: TP2 must print below TP1; TP3 must print below TP1/TP2.
• Why divergence?
• It captures fading momentum within an ongoing move, enabling staged partial exits without predicting tops/bottoms.
How traders typically use it
• Discretionary entries with rules:
• Confirm on bar close to avoid intrabar flips.
• Favor higher-timeframes for reliability; in practice, the 1-hour chart has been a balanced choice between responsiveness and noise.
• Risk & exits:
• Combine the indicator’s entries with independent risk management (fixed/ATR stops, volatility-scaled sizing).
• Use TP1→TP3 for partials; trail the remainder by structure/ATR or your preferred method.
Why it can add value (without hype)
• Noise rejection: By requiring simultaneous agreement across trend, momentum, participation, and compression, many low-quality whipsaws are filtered out.
• Timeliness: Limiting signal eligibility to a post-flip window seeks to capture the early phase of regime change instead of late escalations.
• Clarity: The gradient ribbon and explicit labels (“Long Entry”, “Short Entry”, “TP1–TP3”) make execution rules transparent and repeatable.
• Adaptability: Inputs (RSI length/midline, ADX/DI thresholds, squeeze, HTF alignment, structure, window/streak sizes) allow tuning for symbols/timeframes.
Best practices (recommended use)
① Confirm on bar close
• Signals can change intrabar; execute after the bar has closed.
② Validate across multiple timeframes
• Although the tool adapts to volatility, reliability improves on higher timeframes.
• In practice, the 1-hour chart has shown a stable balance between reactivity and noise.
③ Align with ribbon bias
• Trade in the same direction as the ribbon/baseline slope to reduce counter-trend exposure.
④ Combine with independent risk management
• Use stop-losses, position sizing, or ATR-based targets outside the script.
⑤ Use as confirmation, not prediction
• Treat entries as confirmation of regime change, not as a forecast of future price.
Inputs you may care about
• Trend/Structure: EMA length, slope lookback, structure window, cooldown bars.
• Momentum: RSI length/midline, rising/falling filter, ADX length/min, DI separation.
• Participation: Volume SMA length & multiplier.
• Compression: BB/KC lengths & multipliers; require-release toggle.
• Regime quality: Flip window, streak size, ATR expansion vs baseline, max extension (ATR×), optional ADX rising, optional HTF alignment.
• TP controls: Enable/disable per side, max TP count (1–3), label offset/color.
• Visuals: EMA and ribbon display, diamond sizes, optional vertical lines.
Repainting & calculation notes
• No future-bar references: The script does not use future data. HTF calls use barmerge.lookahead_off.
• Pivot confirmation: Entries and TPs use confirmed pivots (pivotRight bars later). Labels are placed at the pivot bar index once confirmed.
• Intrabar updates: Values can update before the bar closes; confirm on close for decisions.
• HTF security: Higher-timeframe values are requested without lookahead; still, HTF bars finalize only when the HTF bar closes.
Limitations & responsible use
• Not financial advice. No guarantees of profitability; markets involve risk.
• Not a strategy. It does not place, manage, or cancel orders; you must supply risk controls.
• Parameter sensitivity. Different symbols/timeframes may require tuning.
• Divergence scarcity. TP1–TP3 are divergence-based; in strong trends without momentum fade, fewer TP signals will occur.
Disclaimer
• This indicator is provided for educational and informational purposes only.
• It does not guarantee profits, predict future prices, or replace independent judgment.
• Trading involves risk, and all decisions remain solely the responsibility of the user.
• By using this tool, you acknowledge that it is intended as a study aid within TradingView, not as financial advice or an automated trading system.
Strong Economic Events Indicator (mtbr)This indicator is designed to help traders anticipate market reactions to key economic events and visualize trade levels directly on their TradingView charts. It is highly customizable, allowing precise planning for entries, take-profits, and stop-losses.
Key Features:
Multi-Event Support:
Supports dozens of economic events including ISM Services PMI, CPI, Core CPI, PPI, Non-Farm Payrolls, Unemployment Rate, Retail Sales, GDP, and major central bank rate decisions (Fed, ECB, BOE, BOJ, Australia, Brazil, Canada, China).
Custom Event Date and Time:
Manually set the year, month, day, hour, and minute of the event to match your chart and timezone, ensuring accurate alignment.
Forecast vs Actual Analysis:
Input the forecast and actual values. The indicator calculates the likely market direction (Buy/Sell/Neutral) according to historical market reactions for each event.
Dynamic Trade Levels:
Automatically plots:
Entry price
TP1, TP2, TP3 in pips relative to the entry
Stop Loss in pips relative to the entry
Levels are automatically adjusted based on the event's Buy/Sell direction.
Visual Chart Representation:
Entry: Blue line and label
TP1/TP2/TP3: Green lines and labels
Stop Loss: Red line and label
Event occurrence: Orange dashed vertical line
Informative Table Panel:
Displays at the bottom-right of the chart:
Event name
Entry price
TP1, TP2, TP3 values
Current market direction (Buy/Sell/Neutral)
Customizable Line Extension:
Extend the lines for visibility across multiple bars on the chart.
How to Use the Indicator:
Select the Asset:
Set the Asset to Trade input to the symbol you want to analyze (e.g., XAUUSD, EURUSD).
Choose the Economic Event:
Use the drop-down menu to select the event you want to track.
Set the Event Date and Time:
Input the year, month, day, hour, and minute of the event. This ensures the event lines and labels appear at the correct time on your chart.
Input Forecast and Actual Values:
Enter the forecasted value and the actual result of the event. The script will determine market direction based on historically observed reactions for that event.
Configure Entry and Pip Levels:
Set your Entry Price
Set pip distances for TP1, TP2, TP3, and Stop Loss
The script automatically adjusts the levels according to Buy or Sell direction.
View Levels and Status:
Once the event occurs (or on backtesting), the indicator will plot:
Entry, Take Profits, Stop Loss on the chart
Vertical line for event occurrence
Table summarizing levels and Buy/Sell status
Adjust Line Extension:
Use the Line Extension (bars) input to control how far the horizontal levels extend on the chart.
Example Scenario:
Event: PPI MoM
Forecast: 0.2
Actual: 0.9
The indicator identifies the correct market reaction (Sell for EURUSD) and plots the Entry, TP1, TP2, TP3, and Stop Loss accordingly.
Important Notes:
The indicator does not execute trades automatically; it is for analysis and visualization only.
Always combine the signals with your own risk management and analysis.
Ensure your chart is set to the correct timezone corresponding to the event’s time.
This description fully explains how to use the indicator, what it displays, and step-by-step guidance for beginners and experienced traders
Strong Economic Event Indicator (mtbr)Description:
This indicator is designed for traders to visualize entry levels, targets (TP1, TP2, TP3), and stop loss around key economic events for the selected asset, defaulting to XAUUSD. It provides a clear reference for potential market movements based on the event's surprise and direction (Bullish, Bearish, or Neutral).
Key Features:
Customizable Event Selection:
Select from a list of major economic events including ISM Services PMI, CPI, Non-Farm Payrolls, Fed Rate Decision, and more.
Set the exact year, month, day, hour, and minute for the event so that lines and labels appear at the correct bar.
Surprise Calculation and Direction:
Automatically calculates the difference between Actual and Forecast.
Displays the market direction in the table as Bullish, Bearish, or Neutral.
Price Levels in Pips Relative to Entry:
Entry, three targets (TP1, TP2, TP3), and Stop Loss can be set in pips relative to the entry price.
Directional logic ensures that levels adjust automatically according to Bullish or Bearish surprise.
Each line and label is independent and updates only when its corresponding input changes.
Chart Visualization:
Colored lines and labels:
Entry → Blue
TPs → Green
Stop Loss → Red
Vertical event line → Orange (dashed), highlighting the event release moment.
Integrated Informative Table:
Displays:
Selected economic event
Entry price
TP1, TP2, TP3 levels
Market direction status
Color-coded: green for Bullish, red for Bearish, gray for Neutral.
How to use the script:
Add the indicator to the chart of your preferred asset (default is XAUUSD).
Select the economic event from the drop-down list.
Set the event date and time in the input panel.
Enter the Entry Price and pip values for TP1, TP2, TP3, and Stop Loss according to your strategy.
The indicator will automatically draw lines and labels on the chart and update the table with event details and market direction.
Whenever an input value changes, only the corresponding line and label will update, leaving other levels intact.
Important Notes:
This indicator is visual and educational only; it does not place trades automatically.
Make sure the event timezone is correct to match your local release time.
Use in combination with your own trading strategy and risk management.
TradingView Publication Compliance:
Full instructions for usage
Explanation of inputs and settings
Description of line and label behavior
Educational disclaimer (no automated trading)
Painel Técnico (4H x 1D) — Clean UI + Alertas BrenoG📋 Main Functions
1️⃣ Analysis in two fixed timeframes
4 hours and 1 day analyzed in parallel.
Each column in the table displays the data for its respective timeframe.
2️⃣ Entry point based on oversold conditions
The “entry point” is not the current price, but rather the last candle that went into oversold territory (RSI ≤ configured threshold).
If there has been no recent oversold condition, the current price is used as a fallback.
All calculations (Buy Zone, Stops, TPs) are based on this point.
3️⃣ Buy Zone
Defined as:
java
Copiar
Editar
Low Zone = entry * (1 - width%)
High Zone = entry
Always visible in the table, but alerts can be set to trigger only if RSI is oversold at the moment of entry.
4️⃣ Automatic Stops
Moderate Stop and Conservative Stop, calculated as a % below the entry point.
Displayed in the table with black text on a gray background for emphasis.
Alerts trigger when price crosses below these levels.
5️⃣ Take Profits (TP1–TP4)
Calculated from the entry point:
By percentage (usePercentTP = true) or
By fixed prices (usePercentTP = false).
The table displays:
Target price
% gain over the entry point
They only appear when RSI > 50 and EMA50 > EMA200 (the “alignment” condition).
Alerts trigger only on breakouts upward.
6️⃣ Context Indicators
RSI → shows numeric value and green/red color.
MACD → indicates if the MACD line is above or below the signal line.
EMAs 50/200 → indicates “Golden Cross” or “Death Cross”.
Price vs EMA200 → dedicated row showing “Above” or “Below EMA 200” with green/red color.
7️⃣ Visual Panel
Semi–transparent dark gray background, thin borders.
Colored header:
Blue for 4H
Orange for 1D
Rows separated by data type for easy reading.
Configurable font size (tiny to large).
Table position configurable (top_left, top_right, etc.).
8️⃣ Integrated Alerts
Entry/Exit of Buy Zone
Touch of each TP
Touch of each Stop
RSI entering Oversold
All alerts are separated by timeframe with clear, fixed messages.
📌 Simple Summary:
It’s an intelligent panel that combines multi–timeframe technical analysis, automatic calculation of entries/stops/TPs based on oversold conditions, and ready–to–use alerts — all presented in a visual, compact, and fully configurable format.
Nifty50 Swing Trading Super Indicator# 🚀 Nifty50 Swing Trading Super Indicator - Complete Guide
**Created by:** Gaurav
**Date:** August 8, 2025
**Version:** 1.0 - Optimized for Indian Markets
---
## 📋 Table of Contents
1. (#quick-start-guide)
2. (#indicator-overview)
3. (#installation-instructions)
4. (#parameter-settings)
5. (#signal-interpretation)
6. (#trading-strategy)
7. (#risk-management)
8. (#optimization-tips)
9. (#troubleshooting)
---
## 🎯 Quick Start Guide
### What You Get
✅ **2 Complete Pine Script Indicators:**
- `swing_trading_super_indicator.pine` - Universal version for all markets
- `nifty_optimized_super_indicator.pine` - Specifically optimized for Nifty50 & Indian stocks
✅ **Key Features:**
- Multi-component signal confirmation system
- Optimized for daily and 3-hour timeframes
- Built-in risk management with dynamic stops and targets
- Real-time signal strength monitoring
- Gap analysis for Indian market characteristics
### Immediate Setup
1. Copy the Pine Script code from `nifty_optimized_super_indicator.pine`
2. Paste into TradingView Pine Editor
3. Add to chart on daily or 3-hour timeframe
4. Look for 🚀BUY and 🔻SELL signals
5. Use the information table for signal confirmation
---
## 🔍 Indicator Overview
### Core Components Integration
**🎯 Range Filter (35% Weight)**
- Primary trend identification using adaptive volatility filtering
- Optimized sampling period: 21 bars for Indian market volatility
- Enhanced range multiplier: 3.0 to handle market gaps
- Provides trend direction and strength measurement
**⚡ PMAX (30% Weight)**
- Volatility-adjusted trend confirmation using ATR-based calculations
- Dynamic multiplier adjustment based on market volatility
- 14-period ATR with 2.5 multiplier for swing trading sensitivity
- Offers trailing stop functionality
**🏗️ Support/Resistance (20% Weight)**
- Dynamic level identification using pivot point analysis
- Tighter channel width (3%) for precise Indian market levels
- Enhanced strength calculation with historical interaction weighting
- Provides entry/exit timing and breakout signals
**📊 EMA Alignment (15% Weight)**
- Multi-timeframe moving average confirmation
- Key EMAs: 9, 21, 50, 200 (popular in Indian markets)
- Hierarchical alignment scoring for trend strength
- Additional trend validation layer
### Advanced Features
**🌅 Gap Analysis**
- Automatic detection of significant price gaps (>2%)
- Gap strength measurement and impact on signals
- Specific optimization for Indian market overnight gaps
- Visual gap markers on chart
**⏰ Multi-Timeframe Integration**
- Higher timeframe bias from daily/weekly data
- Configurable daily bias weight (default 70%)
- 3-hour confirmation for precise entry timing
- Prevents counter-trend trades against major timeframe
**🛡️ Risk Management**
- Dynamic stop-loss calculation using multiple methods
- Automatic profit target identification
- Position sizing guidance based on signal strength
- Anti-whipsaw logic to prevent false signals
---
## 📥 Installation Instructions
### Step 1: Access TradingView
1. Open TradingView.com
2. Navigate to Pine Editor (bottom panel)
3. Create a new indicator
### Step 2: Copy the Code
**For Nifty50 & Indian Stocks (Recommended):**
```pinescript
// Copy entire content from nifty_optimized_super_indicator.pine
```
**For Universal Use:**
```pinescript
// Copy entire content from swing_trading_super_indicator.pine
```
### Step 3: Configure and Apply
1. Click "Add to Chart"
2. Select daily or 3-hour timeframe
3. Adjust parameters if needed (defaults are optimized)
4. Enable alerts for signal notifications
### Step 4: Verify Installation
- Check that all components are visible
- Confirm information table appears in top-right
- Test with known trending stocks for signal validation
---
## ⚙️ Parameter Settings
### 🎯 Range Filter Settings
```
Sampling Period: 21 (optimized for Indian market volatility)
Range Multiplier: 3.0 (handles overnight gaps effectively)
Source: Close (most reliable for swing trading)
```
### ⚡ PMAX Settings
```
ATR Length: 14 (standard for daily/3H timeframes)
ATR Multiplier: 2.5 (balanced for swing trading sensitivity)
Moving Average Type: EMA (responsive to price changes)
MA Length: 14 (matches ATR period for consistency)
```
### 🏗️ Support/Resistance Settings
```
Pivot Period: 8 (shorter for Indian market dynamics)
Channel Width: 3% (tighter for precise levels)
Minimum Strength: 3 (higher quality levels only)
Maximum Levels: 4 (focus on strongest levels)
Lookback Period: 150 (sufficient historical data)
```
### 🚀 Super Indicator Settings
```
Signal Sensitivity: 0.65 (balanced for swing trading)
Trend Strength Requirement: 0.75 (high quality signals)
Gap Threshold: 2.0% (significant gap detection)
Daily Bias Weight: 0.7 (strong higher timeframe influence)
```
### 🎨 Display Options
```
Show Range Filter: ✅ (trend visualization)
Show PMAX: ✅ (trailing stops)
Show S/R Levels: ✅ (key price levels)
Show Key EMAs: ✅ (trend confirmation)
Show Signals: ✅ (buy/sell alerts)
Show Trend Background: ✅ (visual trend state)
Show Gap Markers: ✅ (gap identification)
```
---
## 📊 Signal Interpretation
### 🚀 BUY Signals
**Requirements for BUY Signal:**
- Price above Range Filter with upward trend
- PMAX showing bullish direction (MA > PMAX line)
- Support/resistance breakout or favorable positioning
- EMA alignment supporting upward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
**Signal Strength Indicators:**
- **90-100%:** Extremely strong - Maximum position size
- **80-89%:** Very strong - Large position size
- **75-79%:** Strong - Standard position size
- **65-74%:** Moderate - Reduced position size
- **<65%:** Weak - Wait for better opportunity
### 🔻 SELL Signals
**Requirements for SELL Signal:**
- Price below Range Filter with downward trend
- PMAX showing bearish direction (MA < PMAX line)
- Resistance breakdown or unfavorable positioning
- EMA alignment supporting downward movement
- Higher timeframe bias confirmation
- Overall signal strength > 75%
### ⚖️ NEUTRAL Signals
**Characteristics:**
- Conflicting signals between components
- Low overall signal strength (<65%)
- Range-bound market conditions
- Wait for clearer directional bias
### 📈 Information Table Guide
**Component Status:**
- **BULL/BEAR:** Current signal direction
- **Strength %:** Component contribution strength
- **Status:** Additional context (STRONG/WEAK/ACTIVE/etc.)
**Overall Signal:**
- **🚀 STRONG BUY:** All systems aligned bullish
- **🔻 STRONG SELL:** All systems aligned bearish
- **⚖️ NEUTRAL:** Mixed or weak signals
---
## 💼 Trading Strategy
### Daily Timeframe Strategy
**Setup:**
1. Apply indicator to daily chart of Nifty50 or Indian stocks
2. Wait for 🚀BUY or 🔻SELL signal with >75% strength
3. Confirm higher timeframe bias alignment
4. Check for significant support/resistance levels
**Entry:**
- Enter on signal bar close or next bar open
- Use 3-hour chart for precise entry timing
- Avoid entries during major news events
- Consider gap analysis for overnight positions
**Position Sizing:**
- **>90% Strength:** 3-4% of portfolio
- **80-89% Strength:** 2-3% of portfolio
- **75-79% Strength:** 1-2% of portfolio
- **<75% Strength:** Avoid or minimal size
### 3-Hour Timeframe Strategy
**Setup:**
1. Confirm daily timeframe bias first
2. Apply indicator to 3-hour chart
3. Look for signals aligned with daily trend
4. Use for entry/exit timing optimization
**Entry Refinement:**
- Wait for 3H signal confirmation
- Enter on pullbacks to key levels
- Use tighter stops for better risk/reward
- Monitor intraday support/resistance
### Risk Management Rules
**Stop Loss Placement:**
1. **Primary:** Use indicator's dynamic stop level
2. **Secondary:** Below/above nearest support/resistance
3. **Maximum:** 2-3% of portfolio per trade
4. **Trailing:** Move stops with PMAX line
**Profit Taking:**
1. **Target 1:** First resistance/support level (50% position)
2. **Target 2:** Second resistance/support level (30% position)
3. **Runner:** Trail remaining 20% with PMAX
**Position Management:**
- Review positions at daily close
- Adjust stops based on new signals
- Exit if trend changes to opposite direction
- Reduce size during high volatility periods
---
## 🎯 Optimization Tips
### For Nifty50 Trading
- Use daily timeframe for primary signals
- Monitor sector rotation impact
- Consider index futures for better liquidity
- Watch for RBI policy and global cues impact
### For Individual Stocks
- Verify stock follows Nifty correlation
- Check sector-specific news and events
- Ensure adequate liquidity for position size
- Monitor earnings calendar for volatility
### Market Condition Adaptations
**Trending Markets:**
- Increase position sizes for strong signals
- Use wider stops to avoid whipsaws
- Focus on trend continuation signals
- Reduce counter-trend trading
**Range-Bound Markets:**
- Reduce position sizes
- Use tighter stops and quicker profits
- Focus on support/resistance bounces
- Increase signal strength requirements
**High Volatility Periods:**
- Reduce overall exposure
- Use smaller position sizes
- Increase stop-loss distances
- Wait for clearer signals
### Performance Monitoring
- Track win rate and average profit/loss
- Monitor signal quality over time
- Adjust parameters based on market changes
- Keep trading journal for pattern recognition
---
## 🔧 Troubleshooting
### Common Issues
**Q: Signals appear too frequently**
A: Increase "Trend Strength Requirement" to 0.8-0.9
**Q: Missing obvious trends**
A: Decrease "Signal Sensitivity" to 0.5-0.6
**Q: Too many false signals**
A: Enable "3H Confirmation" and increase strength requirements
**Q: Indicator not loading**
A: Check Pine Script version compatibility (requires v5)
### Parameter Adjustments
**For More Sensitive Signals:**
- Decrease Signal Sensitivity to 0.5-0.6
- Decrease Trend Strength Requirement to 0.6-0.7
- Increase Range Filter multiplier to 3.5-4.0
**For More Conservative Signals:**
- Increase Signal Sensitivity to 0.7-0.8
- Increase Trend Strength Requirement to 0.8-0.9
- Enable all confirmation features
### Performance Issues
- Reduce lookback periods if chart loads slowly
- Disable some visual elements for better performance
- Use on liquid stocks/indices for best results
---
## 📞 Support & Updates
This super indicator combines the best of Range Filter, PMAX, and Support/Resistance analysis specifically optimized for Indian market swing trading. The multi-component approach significantly improves signal quality while the built-in risk management features help protect capital.
**Remember:** No indicator is 100% accurate. Always combine with proper risk management, market analysis, and your trading experience for best results.
**Happy Trading! 🚀**
Kaizen ColoringIntroduction To Kaizen Coloring
This tool was made for Kaizen, this indicator is to be utilized with a trend trading system.
Most trend systems are lagging, longing a "bullish trend" for most traders will lead to longing the top of ranges, or longing erroneously with poor risk management.
Below are explanations to the settings and are straight forward to understand.
Settings Overview
Existing Settings
Candle Settings
As you can see there a 2 types of candle display logic, one works on the users chart, this will be the default setting as most users will not go into tradingview and tinker with chart settings even if you ask them to.
The benefit of this is that users will have an easy set up process
Below I have included the display of both
Body Coloring
Candle Creation Coloring
Pros of Body Coloring: Using the wicks and borders of the original chart can let users more easily identify if a candle was a positive (close > open) candle or negative (close < open) this may help inform their decision.
Pros of Candle Creation: Trend logic is easier to spot, especially when zooming out as a singular color with no interference of wick/border, less noise, focus on the indicator logic.
Trend Coloring Types
Simple Coloring
Advanced Coloring
The coloring options have fundamentally different logic,
The Simple Coloring is best for capturing trapped momentum (will be explained in how to trade), as its a lot faster to react to trend dynamics,
Advanced is best for the band, as the band primarily serves as a structure, the coloring showing a greater range in the momentum e.g. strong bullish, bullish and bullish exhaustion and vice versa allows the band coloring to act as a filter.
Structure shift, + less likely to be a fakeout and usable for entry.
If the band changed color rapidly it can be a distraction I prefer having the band show the ranges of momentum, and the candle coloring be simple as its pure naked price action shouldn't be overly filtered. Price action is still the most important.
Band Settings
The band has 2 main settings, coloring, and responsiveness. The coloring has 3 modes, Simple, Advanced and Band.
Band coloring is the simplest, its the best for pure scanning multiple coins quickly but I do not recommend it for trading.
Slow Responsiveness
The slow system, works best for a detection into a structure shift, once flipped it should be used as an alert that the direction has changed, a retest in either the band, OR price action is a trading opportunity (coloring will come into this shortly)
Fast Responsiveness
The fast band system, as you can see on the left side is useful for structure shift. However, towards the middle, you can see how it can give more false positives, this is fine, in my opinion using this should be with active trading, being able to scale in and out quickly based on reaction to the band flips is imperative to the trade.
Alerts
Instructions included on image, we can discuss adding one for the main trading use case if you will find it helpful, after testing we can discuss if you want to add some extra alerts.
Trading Logic
This indicator can be used for a hands off approach for trading.
A slow band responsiveness easier to notice potential change in environment. Fast responsiveness is better when managed actively for quick trades.
For the candles, Simple Coloring, is our preference at all times, price action is the best representation of momentum when trading, all indicators are built on price and can only react to price, overly smoothing or slowing trend detection is counter productive to behavior of price action.
Following the former day pump, looking for an entry to long, we noticed the structure shift in the Band portion of this indicator (left side circled in blue), as a result it was inadequate to long.
Looking for shorts is now most optimal, so avoid taking longs and wait for a new shift.
The simple coloring here works perfectly on the candles as its highlighting there was bullish momentum, as you can see the bullish momentum was going into the band, but failed to capture continuation.
The issue with all trend indicators is the lagging nature of any indicator, as a result most new traders see "green = long" this is bad mindset, it reduces your entry from being an ideal entry to more of a fomo based chase. Putting you offside to any correction, additionally no indicator can determine if momentum will continue, so you need to use price action accordingly.
Keeping that in mind, if you study trading liquidity and delta, you can often see traders joining a trend late, in this sense, we look to see the band shift as bearish structure, and the candle coloring highlighting late longers, and failed momentum. These are our trapped traders,
Using this to short, or in my instance, avoid taking any longs, is most optimal as your short entry position is clearly defined, and invalidation is simple - a band shift or price action reclaim of the level that was "trapped momentum/bullish candles".
This provides you with the most optimal usage on how to use Kaizen coloring, or most trend tools if well made should follow this logic (often trend tools fail to do both coloring for momentum, or a band for structure/entry, Kaizen Coloring provides both). Longing GREEN or Shorting Red is an easy way to lose.
Long the trapped bearish Momentum, Short trapped bullish momentum.
On the right hand side we can see the similar play out but on the opposite side, there was in fact a deviation of the band, but following price action principles, you wouldn't set your stops at support
You should scale your limits into support and increasingly so, your invalidation is loss of support, your entry would be closer to the invalidation and your momentum trap, (red tap into support), then the band reclaim is your long thesis.
Band Coloring is set to advanced, the benefit is the ease of seeing the shift from red to green on reclaims, having the band be smooth coloring will strengthen the understanding of the structure shift.
To summarise preferences:
Simple Coloring candles, easy momentum detection,
Slow band when taking trades intermittently
Advanced Coloring band for quick confirmation of structure shifts