FibonacciRetracementHi all!
This library will help you draw Fibonacci retracement levels (zones). The code is from my indicator "Fibonacci retracement" (). You can see that description for more information about the behaviour and example of how to use this library. The code is almost the same with the addition of alerts. If the alert frequency is 'alert.freq_once_per_bar_close' alert messages will be concatenated and have a header saying how many messages it contains (if it's more than 1).
Hope this is of help!
Library "FibonacciRetracement"
ConcateAlerts(context)
Concatenates all alerts from the bar to one string (separated by new lines) and clears alert messages on the current bar.
Parameters:
context (Context)
AddAlert(context, message, unshiftInsteadOfPush)
Parameters:
context (Context)
message (string)
unshiftInsteadOfPush (bool)
Range(context, structure, settings)
Will return values if new levels/zones should be drawn.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement.
structure (Structure type from mickes/PriceAction/1) : The current 'Structure' from the 'MarketStructure' library.
settings (Settings) : The 'Settings' object for the 'Context'.
Returns: A tuple with the start and end pivot if new zones should be drawn, ' ' otherwise.
DrawAll(context, settings, start, end)
Draws lines and labels for the zone. It will also set the 'Price' value that will be used for absolute positions.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement.
settings (Settings) : The 'Settings' object for the 'Context'.
start (Pivot type from mickes/PriceAction/1)
end (Pivot type from mickes/PriceAction/1)
AlertActive(context, settings)
Will alert for all zones that are active. If multiple alert messages are added they will be concatenated (separated by a new line) with a header saying how many messages the alert contains.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement. This contains the zones that will be alerted if price (wick or close according to the settings) enters it.
settings (Settings) : The 'Settings' object for the 'Context'.
TrendlineSettings
Holds all the values for 'TrendlineSettings'.
Fields:
Enabled (series bool) : If the trendline should be visible or not.
Color (series color) : The color of the trendline.
Style (series string) : The style of the trendline (as a string).
GenericZonesSettings
Holds all the values for 'GenericZonesSettings', that will be applicable to all drawn objects.
Fields:
ExtendRight (series bool) : If all lines should extend to the right or not.
Style (series string) : The style of all drawn lines
Reverse (series bool) : If true, all lines will be reversed.
Prices (series bool) : If price levels should be shown or not.
Levels (series bool) : If levels should be shown or not.
LevelsValue (series string) : Either 'Value' or 'Percent'. Defined if value or percentage should be shown.
FontSize (series int) : The for size of the text in labels drawn.
LabelsPosition (series string) : Coul be 'Left', 'Rigth' or 'Adapt'. 'Adapt' will try to adapt the labels position to the prices.
ZoneSettings
Holds all the values for 'ZoneSettings'.
Fields:
Enabled (series bool) : If this zone is enabled or not.
Level (series float) : The level of the zone.
Color (series color) : The color that will be displayed.
Price (series float) : The price of the level. Will be set internally.
Settings
Holds all the values for 'Settings'.
Fields:
PivotLeftLength (series int) : The left length used to find pivots through the 'MarketStructure' library.
PivotRightLength (series int) : The right length used to find pivots through the 'MarketStructure' library.
Trendline (TrendlineSettings) : The settings for the 'Trendline' object.
GenericZonesSettings (GenericZonesSettings) : The setting applicable to all zones.
AlertFrequency (series string) : The frequency for the alerts. If 'alert.freq_once_per_bar_close', alert messages will be concatenated and have a header saying how many messages it contains (if it's more than 1).
AlertPrice (series string) : The price that has to enter a zone. Can be 'Close' (the closing price) or 'Wick' (the whole candle needs to be in the zone).
Zone1 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone2 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone3 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone4 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone5 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone6 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone7 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone8 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone9 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone10 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone11 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone12 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone13 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone14 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone15 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone16 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone17 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone18 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone19 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone20 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone21 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone22 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone23 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone24 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Context
Holds all the values for 'Context'.
Fields:
Lines (array) : All the drawn lines for the current 'Context'.
Labels (array) : All the drawn labels for the current 'Context'.
Boxes (array) : All the drawn boxes for the current 'Context'.
Alerts (array) : All the alert messages on the current tick.
Start (series int) : The start bar index of the current 'Context'.
Pesquisar nos scripts por "TRENDLINES"
Auto-Trend Finder (Pivot + ADX)Inspired in part by LuxAlgo Trendlines with Breaks. Extended and enhanced for directional clarity and pivot-based precision.
🔍 What It Does
The Auto-Trend Finder (Pivot + ADX) is a smart trend-detection toolkit that combines:
Pivot-based swing detection (HH, HL, LH, LL)
ADX-filtered trendline projections
Custom slope estimation using ATR, Standard Deviation, Linear Regression, or a blended approach
Candlestick pattern detection for added confirmation (e.g., hammer, engulfing, shooting star)
📈 How It Works
1. Swing Detection
Uses ta.pivothigh / ta.pivotlow to mark major price turning points.
Labels pivots as Higher High (HH), Lower High (LH), Lower Low (LL), or Higher Low (HL).
Optionally overlays basic candle pattern names for visual context.
2. Trendline Logic
Connects successive pivot highs/lows with real-time trendlines.
Draws separate Uptrend and Downtrend lines with distinct colors.
3. Extended Projections
Projects extended dashed lines from the last pivot using slope formulas:
ATR-based (volatility)
Stdev-based (dispersion)
Linear Regression (trend best-fit)
Or a Combined slope using user-defined weights.
Color changes dynamically on breakout to visually signal momentum shifts.
4. ADX Trend Strength Filter
Optional ADX filter disables trendline updates unless directional strength exceeds a threshold (e.g. 20+).
Helps remove noise in sideways markets.
⚠️ Important Notes
Backpainting Warning: This script includes a backpainting setting (backpaint) that may cause lines to appear "reliably predictive" in historical data. Backpainting does not repaint once the pivot is confirmed, but it still reflects a post-fact state. Use this feature cautiously in live trading decisions.
Reused Code Attribution: Extended trendline concept and breakout color logic were inspired by publicly available open-source versions of LuxAlgo's trendline logic. Credit is given in the script comments and here as required.
🛠️ How to Use It
Adjust Pivot Length for swing detection sensitivity.
Toggle ADX filtering on or off to avoid choppy signals.
Choose your preferred Slope Calculation Method.
Use candlestick labels as potential entry signals near trendline retests or breaks.
✅ Why This Is More Than a Mashup
This tool integrates several separate technical methods into one cohesive, customizable framework:
It’s not just combining indicators, it’s engineering synergy between them.
The slope and ADX filtering mechanics dynamically adjust to trend strength.
Candlestick confirmation and labeling give visual, real-time trade confidence.
It enhances open-source logic by adding modular slope options, ADX gating, pattern labeling, and user control.
"Know the structure. Follow the strength. Trade with clarity. Auto-Trend Finder is your edge in the chaos."
Superdupermegadeduper signals by BrenFX🚀 Superdupermegadeduper Signals by BrenFX
Overview
The Superdupermegadeduper Signals indicator is a comprehensive trading system that combines multiple advanced technical analysis concepts to identify high-probability trading opportunities. This indicator integrates supply/demand zone analysis, dynamic trendline detection, and multi-confirmation signal generation to provide traders with precise entry, stop-loss, and take-profit levels.
🎯 Key Features
Supply & Demand Zone Detection
Intelligent Zone Identification: Automatically detects high-probability supply and demand zones based on price action and touch frequency
Customizable Zone Strength: Set minimum touches required for zone validation (2-10 touches)
Visual Zone Display: Clear visual representation with customizable colors and transparency
Zone Extension: Projects zones forward for future reference
Dynamic Trendline Analysis
Multi-Touch Trendline Detection: Identifies significant support and resistance trendlines with configurable minimum touch requirements
Automatic Trendline Drawing: Draws and extends trendlines automatically with custom colors
Deviation Tolerance: Configurable deviation percentage for trendline validation
Breakout & Retest Signals: Detects trendline breakouts and subsequent pullback retests
Advanced Signal Generation
Dual Signal Types:
Zone Reversal Signals: Based on supply/demand zone interactions
Trendline Breakout Signals: Based on trendline breaks with pullback confirmation
Multi-Confirmation System:
Volume confirmation (optional)
RSI filter integration
Candlestick pattern confirmation
Pullback verification
Professional Trade Management
Multiple Stop Loss Methods:
ATR-based dynamic stops
Zone-based stops
Fixed point stops
Automatic Level Calculation: Entry, stop-loss, and take-profit levels calculated automatically
Real-Time Trade Table: Live display of current trade levels and parameters
Customizable Table Position: Place trade information anywhere on your chart
Alert System
Comprehensive Alerts: Get notified instantly when signals are generated
Detailed Alert Messages: Include entry price, stop-loss, and take-profit levels
Frequency Control: Once-per-bar alert frequency to avoid spam
📊 How It Works
Signal Logic
Zone Analysis: The indicator scans for areas where price has repeatedly found support or resistance
Trendline Detection: Identifies significant trend lines by connecting pivot points with multiple touches
Confirmation Process: Multiple filters ensure signal quality:
Price action confirmation (multiple bullish/bearish candles)
Volume above average (optional)
RSI oversold/overbought conditions (optional)
Entry Timing: Signals are generated when all confirmations align
Buy Signals Generated When:
Price reaches a demand zone with bullish reversal confirmation, OR
Price breaks above resistance trendline and retests successfully
Sell Signals Generated When:
Price reaches a supply zone with bearish reversal confirmation, OR
Price breaks below support trendline and retests successfully
⚙️ Configuration Options
Supply/Demand Settings
Zone Strength: Minimum touches required (2-10)
Lookback Period: Historical bars to analyze (10-100)
Zone Extension: Forward projection length (1-20 bars)
Trendline Settings
Lookback Period: Historical analysis range (20-200 bars)
Minimum Touches: Required pivot connections (2-5)
Deviation Tolerance: Allowable price variance (0.01-1.0%)
Signal Filters
Reversal Confirmation: Required confirmation candles (1-5)
Pullback Confirmation: Retest validation period (1-5)
Volume Filter: Above-average volume requirement
RSI Filter: Overbought/oversold confirmation
Trade Management
Stop Loss Methods: ATR, Zone-based, or Fixed points
ATR Multiplier: Risk adjustment (0.5-5.0x)
Take Profit: Fixed point target (1.0-50.0 points)
📈 Best Practices
Recommended Settings
For Scalping: Lower zone strength (2-3), shorter lookback periods
For Swing Trading: Higher zone strength (4-6), longer lookback periods
For Trend Following: Enable trendline signals, use ATR-based stops
Risk Management
Always use the provided stop-loss levels
Consider position sizing based on stop-loss distance
Monitor the trade table for real-time level updates
Use alerts to avoid missing opportunities
🎨 Visual Elements
Supply Zones: Red semi-transparent rectangles
Demand Zones: Green semi-transparent rectangles
Resistance Lines: Red trendlines
Support Lines: Green trendlines
Buy Signals: Green "BUY" labels below bars
Sell Signals: Red "SELL" labels above bars
Trade Table: Comprehensive trade information display
💡 Tips for Success
Combine with Market Structure: Use on clean trends and at key support/resistance levels
Multiple Timeframe Analysis: Confirm signals on higher timeframes
Volume Confirmation: Enable volume filter for higher quality signals
Risk Management: Never risk more than 1-2% per trade
Backtesting: Test settings on historical data before live trading
⚠️ Important Notes
This indicator works best in trending markets
Signals are more reliable when multiple confirmations align
Always consider fundamental analysis and market conditions
Past performance does not guarantee future results
Practice proper risk management at all times
🔧 Technical Specifications
Pine Script Version: 6
Overlay: Yes
Max Objects: 500 boxes, 500 lines
Performance: Optimized for real-time analysis
Compatibility: Works on all timeframes and instruments
Developed by BrenFX | Advanced Trading Signals for Professional Traders
Remember: Trading involves risk. This indicator is a tool to assist in analysis and should not be the sole basis for trading decisions. Always use proper risk management and consider your financial situation before trading.
Support Resistance Major/Minor [TradingFinder] Market Structure🔵 Introduction
Support and resistance levels are key concepts in technical analysis, serving as critical points where prices pause or reverse due to the interaction of supply and demand. These foundational elements in price action and classical technical analysis assist traders in understanding market behavior and making better trading decisions.
Support levels are zones where demand is strong enough to prevent further price declines, while resistance levels act as barriers that hinder price increases.
Support and resistance levels are divided into two main types: static and dynamic. Static levels are fixed horizontal lines on charts, formed based on historical price points, and are crucial due to repeated price reactions in these areas.
Dynamic levels, on the other hand, move with market trends and are often identified using tools like moving averages and trendlines. These levels are particularly useful for analyzing dynamic trends and identifying potential reversal points in financial markets.
The importance of support and resistance in technical analysis lies in their ability to pinpoint price reversal or continuation points. Professional traders use these levels to determine optimal entry and exit points and combine them with tools such as Fibonacci retracements or moving averages for precise strategies.
Detailed analysis of price behavior at these levels provides insights into trend strength and the likelihood of price breaks or reversals. By understanding these concepts, technical analysts can forecast future price movements and optimize their trading decisions using tools such as indicators and price action. Support and resistance levels, as a cornerstone of technical analysis, form the foundation for many trading strategies.
🔵 How to Use
The Static Support and Resistance Indicator is a vital tool for identifying significant price zones in financial markets. It automatically detects major and minor support and resistance levels in both short-term and long-term intervals, enabling traders to analyze price behavior accurately and develop optimal entry and exit strategies.
🟣 Major Long-Term Support and Resistance
Major Long-Term Support : The lowest price points recorded over long-term intervals that prevent further declines.
Major Long-Term Resistance : The highest price points in long-term intervals that limit further price increases.
🟣 Minor Long-Term Support and Resistance
Minor Long-Term Support : Temporary halts in price decline within a downtrend over long-term intervals.
Minor Long-Term Resistance : Short-term zones within long-term intervals where prices react negatively in an uptrend.
🟣 Major Short-Term Support and Resistance
Major Short-Term Support : The lowest price points in short-term intervals that act as barriers against sharp price drops.
Major Short-Term Resistance : The highest points in short-term intervals that prevent further price surges.
🟣 Minor Short-Term Support and Resistance
Minor Short-Term Support : Temporary halts in price decline within short-term downtrends.
Minor Short-Term Resistance : Zones where price reacts quickly and reverses in short-term uptrends.
🔵 Settings
Long Term S&R Pivot Period : Defines the interval for identifying long-term support and resistance levels (default: 21).
Short Term S&R Pivot Period : Defines the interval for identifying short-term support and resistance levels (default: 5).
🟣 Long-Term Lines
Major Line Display : Enable/disable major long-term lines.
Minor Line Display : Enable/disable minor long-term lines.
Major Line Colors : Green for support, red for resistance (long-term major levels).
Minor Line Colors : Light green for support, light red for resistance (long-term minor levels).
Major Line Style : Choose between solid, dotted, or dashed lines for major long-term levels.
Minor Line Style : Choose between solid, dotted, or dashed lines for minor long-term levels.
Major Line Width : Adjust the thickness of major long-term lines.
Minor Line Width : Adjust the thickness of minor long-term lines.
🟣 Short-Term Lines
Major Line Display : Enable/disable major short-term lines.
Minor Line Display : Enable/disable minor short-term lines.
Major Line Colors : Gray-green for support, gray-red for resistance (short-term major levels).
Minor Line Colors : Dark green for support, dark red for resistance (short-term minor levels).
Major Line Style : Choose between solid, dotted, or dashed lines for major short-term levels.
Minor Line Style : Choose between solid, dotted, or dashed lines for minor short-term levels.
Major Line Width : Adjust the thickness of major short-term lines.
Minor Line Width : Adjust the thickness of minor short-term lines.
🔵 Conclusion
Static support and resistance levels are among the most critical tools in technical analysis, helping traders identify key reversal or continuation points.
This indicator simplifies and enhances the analysis process by automatically detecting major and minor levels in both short-term and long-term intervals. It allows traders to customize settings to suit their trading strategies and analyze different market levels effectively.
Using this indicator improves price action analysis, enhances market understanding, and identifies trading opportunities. Applicable to all trading styles, from day trading to long-term investing, it is an essential tool for technical analysis.
Combining this indicator with other tools like trendlines, Fibonacci retracements, and moving averages enables comprehensive analysis and allows traders to navigate financial markets with greater confidence.
Trend Line XrossTrend Line Xross (TLX) Uses User Input Points to draw trendlines and displays the exact intersection point of those trendlines.
This is the public indicator of the practical application for this intersection method included in my entry for Pinefest #1.
To determine the exact intersection point I am using the y-intercept method as seen below.
The code is notated for more information on the technical workings.
One difference to note between this version and the pinefest version is that I had to change the line drawings to use bar_index values so that I can use line.get_price() to grab the current value of the line to make alerts from.
Additionally, there are alerts built-in to this version for every type of cross on all of the visible lines.
Enjoy!
Trend Lines [AstroHub]1. Understand the basics of technical analysis: to fully utilize this system, you need to understand the fundamentals of technical analysis, such as identifying high and low prices, trendlines, etc. This will help you effectively use indicators and make more informed trading decisions.
2. Study the internal parameters: the system has input parameters, such as "Period," etc. Study their values and understand how they impact the indicator's performance. This will allow you to customize the system to fit your needs and trading strategies.
3. Pay attention to bars of different colors: the system marks bars with different colors depending on the price's position relative to trendlines. Pay close attention to these color changes as they can serve as entry or exit signals.
4. Be ready to adapt: the market is constantly changing, and the system may not always provide accurate signals. Be prepared to adapt and make decisions based on other factors, such as trading volume, news, etc.
5. Practice on historical data: before using this system in real-time, conduct some tests on historical data. This will help you understand how the system works and what results it can produce in different market conditions.
6. Be patient: the system may not always provide instant entry or exit signals. Be patient and wait for signal confirmation before entering or closing a trade.
7. Learn and discuss: trading knowledge and the use of this system are continuous learning processes. Be open to learning new strategies and discussing your experiences with other traders. This will help you improve your skills and better utilize this system.
Trading Sign
<< Trading Sign Documents >> (Revision: 1193)
This is a guide for trading timing.
It is not a guarantee of profit.
The Trading Sign script displays a combination of SMAs, trendlines, channel lines, etc., but this combination part is not the core of the script.
These are all about finding resistance and support prices and creating an array.
The concept of this script is to draw the lines automatically by the program, not by discretion, and to show Buy and Sell signs in order to establish a stable trading rule.
'N Theory' is applied to the automatically drawn trendlines.
Interval Multiple:
Specifies the trade interval in multiples.
If you decrease the multiple, the number of trades will increase and the trades will be short term.
If you increase the multiple, the number of trades will decrease and you will be trading in the medium term.
Adjust according to the market atmosphere and your own trading interval.
MA(Fast)(Midd)(Slow):
Specify the SMA period.
Depending on this setting, the trade timing will change.
N Length:
This is the period of time to search for the starting point of a trend line, etc. in the past.
- (Example) When N Length = 100
- The bar position obtained by searching for the lowest price in the 100-bar period is set to Low1.
- The bar position obtained by searching for the highest price in the period up to Low1 is called High1.
- The bar position obtained by searching for the lowest price in the period up to High1 is called Low2.
- The bar position obtained by searching for the highest price in the period up to Low2 is called High2.
- Since the line connecting Low1, High1, Low2, and High2 resembles the shape of N, it is called N Length.
- A trend line is drawn by connecting Low1-Low2 and High1-High2.
- Channel lines are also drawn based on this.
Target Band Multiple:
This is the standard deviation multiple that is used as a guide for the target price for profit booking.
Predict one future:
Specifies whether the trendline, Gann Fan, is calculated using the most recent bar or one previous bar.
Usually, it is calculated with one previous bar to confirm the breakout.
This is used to predict the next day's trade after the market closes.
Show TradingSign:
Toggles between showing and hiding the trading sign.
Show TradingZone:
Toggles between showing and hiding the trading range.
Show TrendLine:
Toggles between showing and hiding the trendline.
See also the explanation of N Length.
Show ChannelLine:
Toggles between showing and hiding the channel line.
Channels are drawn based on the trendline.
+(Channel Multiple):
Allows you to specify an interval based on the slope of the trendline.
The specified range is -3.0 to +3.0.
Normally, the interval is equal (0.25, 0.50, 0.75, 1.00).
It can be set to Fibonacci (0.382, 0.500, 0.618, 1.000) or
It can also be used as an extension (1.0, 1.382, 1.500, 1.618).
Show AngleLine:
Toggles between showing and hiding the Gann Fan.
Plan Range Offset:
This is the number of ticks to extend from resistance and support prices.
Losscut can be adjusted.
Loose TrendLine:
Toggles the rule for drawing trend lines.
Plan Position (Top/Bottom)(Left/Right):
Specifies the display position of the Plan table.
Alert Freq on Bar close:
Toggles the timing of alert notifications.
(True: Alert will be sent after the bar is closed.)
(False: Notify the first time a condition is met)
Alert on *:
Notifies you when to buy or sell.
After setting this, you need to set up the alert dialog in TradingView.
Thank you very much.
[SignalFI] MACD PrimeWelcome! As part of our continual process to build and enhance trusted existing indicators, we're proud to release MACD Prime to the PRIME series for those traders that rely on the popular divergence mechanics traditional MACD provides.
MACD Prime provides a default MACD structure using the popular 12,26 EMAs and a 9 lockback signal line as the core of the indicator's functionality. In this way, you will get a consistent view for what you're use to, but of course we've added additional functionality that can be used to increase the value this view provides when trading.
ADDITIONAL Functions:
1) MACD Fast and Slow EMA sources are selectable, thus allowing the user to select OHLC variants as the source input for the 12/26 trendlines.
2) Background Coloring is based on a secondary "Signal" color which be default has been set to 6. This length is configurable, and providing a leading edge to the typical "MACD Cross". Said simply, the background color will change with the trend BEFORE a default MACD cross occurs. This may provide early warning of a MACD cross, and allow for additional entry/exit signals to manifest depending on other confluence with price and trend information.
3) MACD Trend Lines. In accordance with the PRIME series MACD Prime comes bundled with Trend Line support and resistance pivots that provide additional context for how the MACD may act based on a previous and projected trend line information. By default projections are turned off, but can be enabled from within the menu options. These trendlines can be used to spot divergences as well, and can be tuned within the option to increase resolution or decrease noise provided by trend lines.
All other standard functions persist, including the typical MACD line, MACD Signal Line, and MACD Histogram.
SignalFI was created to help traders and investors to effectively analyze the market based on the Golden Mean Ratio (Fibonacci numbers), plan a trade and ultimately execute it. To help inform and educate market decisions we developed a set of Trading Indicators which are available on TradingView.
SignalFI indicators are just that, indicators. Our indicators are generally configured to use completely historical data (negating repaint), and we advise all alerts created with SignalFI indicators to be fired upon "close" of the current candle. Our indicators can provide valuable context and visualization support when performing market analysis and executing buy and sell decisions. However. we are not financial experts, and all information presented on this site or our other media outlets are for educational purposes only.
Demand IndexThis is an interpretation of James Sibbet's demand index (DI). The indicator does an excellent job of displaying:
Divergences between DI and price. A divergence between the DI and prices suggests an approaching change in the price trend.
Trendline analysis of DI showing levels of support/resistance, can help determine changes in trend.
As a leading indicator DI trendlines are often broken ahead of price trendlines.
Zero-line crossings can confirm previous signals as a lagging indicator.
The Demand Index indicator is available for purchase at www.cryptoalphaindicators.com
Swiss Knife [MERT]Introduction
The Swiss Knife indicator is a comprehensive trading tool designed to provide a multi-dimensional analysis of the market. By integrating a wide array of technical indicators across multiple timeframes, it offers traders a holistic view of market sentiment, momentum, and potential reversal points. This indicator is particularly useful for traders looking to combine trend analysis, momentum indicators, volume data, and price action into a single, easy-to-read format.
---
Key Features
Multi-Timeframe Analysis : Evaluates indicators on Daily , 4-Hour , 1-Hour , and 15-Minute timeframes.
Comprehensive Indicator Suite : Incorporates MACD , Awesome Oscillator (AO) , Parabolic SAR , SuperTrend , DPO , RSI , Stochastic Oscillator , Bollinger Bands , Ichimoku Cloud , Chande Momentum Oscillator (CMO) , Donchian Channels , ADX , volume-based momentum indicators, Fractals , and divergence detection.
Market Sentiment Scoring : Aggregates signals from multiple indicators to provide an overall sentiment score.
Visual Aids : Displays EMA lines, trendlines, divergence signals, and a sentiment table directly on the chart.
Super Trend Reversal Signals : Identifies potential market reversal points by assessing the momentum of automated trading bots.
---
Explanation of Each Indicator
Moving Average Convergence Divergence (MACD)
- Purpose : Measures the relationship between two moving averages of price.
- Interpretation : A positive histogram suggests bullish momentum; a negative histogram indicates bearish momentum.
Awesome Oscillator (AO)
- Purpose : Gauges market momentum by comparing recent market movements to historic ones.
- Interpretation : Above zero indicates bullish momentum; below zero indicates bearish momentum.
Parabolic SAR (SAR)
- Purpose : Identifies potential reversal points in price direction.
- Interpretation : Dots below price suggest an uptrend; dots above price suggest a downtrend.
SuperTrend
- Purpose : Determines the prevailing market trend.
- Interpretation : Provides buy or sell signals based on price movements relative to the SuperTrend line.
Detrended Price Oscillator (DPO)
- Purpose : Removes trend from price to identify cycles.
- Interpretation : Values above zero suggest price is above the moving average; values below zero indicate it is below.
Relative Strength Index (RSI)
- Purpose : Measures the speed and change of price movements.
- Interpretation : Values above 50 indicate bullish momentum; values below 50 indicate bearish momentum.
Stochastic Oscillator
- Purpose : Compares a particular closing price to a range of its prices over a certain period.
- Interpretation : Values above 50 indicate bullish conditions; values below 50 indicate bearish conditions.
Bollinger Bands (BB)
- Purpose : Measures market volatility and provides relative price levels.
- Interpretation : Price above the middle band suggests bullishness; below the middle band suggests bearishness.
Ichimoku Cloud
- Purpose : Provides support and resistance levels, trend direction, and momentum.
- Interpretation : Bullish signals when price is above the cloud; bearish signals when price is below the cloud.
Chande Momentum Oscillator (CMO)
- Purpose : Measures momentum on both up and down days.
- Interpretation : Values above 50 indicate strong upward momentum; values below -50 indicate strong downward momentum.
Donchian Channels
- Purpose : Identifies volatility and potential breakouts.
- Interpretation : Price above the upper band suggests bullish breakout; below the lower band suggests bearish breakout.
Average Directional Index (ADX)
- Purpose : Measures the strength of a trend.
- Interpretation : DI+ above DI- indicates bullish trend; DI- above DI+ indicates bearish trend.
Volume Momentum Indicators (VolMom, CumVolMom, POCMom)
- Purpose : Analyze volume to assess buying and selling pressure.
- Interpretation : Positive values suggest bullish volume momentum; negative values indicate bearish volume momentum.
Fractals
- Purpose : Identify potential reversal points in the market.
- Interpretation : Up fractals may indicate a future downtrend; down fractals may indicate a future uptrend.
Divergence Detection
- Purpose : Identifies divergences between price and various indicators (RSI, MACD, Stochastic, OBV, MFI, A/D Line).
- Interpretation : Bullish divergences suggest potential upward reversal; bearish divergences suggest potential downward reversal.
- Note : This functionality utilizes the library from Divergence Indicator .
---
Coloring Scheme
Background Color
- Purpose : Reflects the overall market sentiment by combining sentiment scores from all indicators across different timeframes.
- Interpretation :
- Green Shades : Indicate bullish market sentiment.
- Red Shades : Indicate bearish market sentiment.
- Intensity : The strength of the color corresponds to the strength of the sentiment score.
Sentiment Table
- Purpose : Displays the status of each indicator across different timeframes.
- Interpretation :
- Green Cell : The indicator suggests a bullish signal.
- Red Cell : The indicator suggests a bearish signal.
- Percentage Score : Indicates the overall bullish or bearish sentiment on that timeframe.
Exponential Moving Averages (EMAs)
- Purpose : Provide dynamic support and resistance levels.
- Colors :
- EMA 10 : Lime
- EMA 20 : Yellow
- EMA 50 : Orange
- EMA 100 : Red
- EMA 200 : Purple
Trendlines
- Purpose : Visual representation of support and resistance levels based on pivot points.
- Interpretation :
- Upward Trendlines : Colored green , indicating support levels.
- Downward Trendlines : Colored red , indicating resistance levels.
- Note : Trendlines are drawn using the library from Simple Trendlines .
---
Utility of Market Sentiment
The indicator aggregates signals from multiple technical indicators across various timeframes to compute an overall market sentiment score . This comprehensive approach helps traders understand the prevailing market conditions by:
Confirming Trends : Multiple indicators pointing in the same direction can confirm the strength of a trend.
Identifying Reversals : Divergences and fractals can signal potential turning points.
Timeframe Alignment : Aligning signals across different timeframes can enhance the probability of successful trades.
---
Divergences
Divergence occurs when the price of an asset moves in the opposite direction of a technical indicator, suggesting a potential reversal.
- Bullish Divergence : Price makes a lower low, but the indicator makes a higher low.
- Bearish Divergence : Price makes a higher high, but the indicator makes a lower high.
The indicator detects divergences for:
RSI
MACD
Stochastic Oscillator
On-Balance Volume (OBV)
Money Flow Index (MFI)
Accumulation/Distribution Line (A/D Line)
By identifying these divergences, traders can spot early signs of trend reversals and adjust their strategies accordingly.
---
Trendlines
Trendlines are essential tools for identifying support and resistance levels. The indicator automatically draws trendlines based on pivot points:
- Upward Trendlines (Support) : Connect higher lows, indicating an uptrend.
- Downward Trendlines (Resistance) : Connect lower highs, indicating a downtrend.
These trendlines help traders visualize the trend direction and potential breakout or reversal points.
---
Super Trend Reversals (ST Reversal)
The core idea behind the Super Trend Reversals indicator is to assess the momentum of automated trading bots (often referred to as 'Supertrend bots') that enter the market during critical turning points. Specifically, the indicator is tuned to identify when the market is nearing bottoms or peaks, just before it shifts direction based on the triggered Supertrend signals. This approach helps traders:
Engage Early : Enter the market as reversal momentum builds up.
Optimize Entries and Exits : Enter under favorable conditions and exit before momentum wanes.
By capturing these reversal points, traders can enhance their trading performance.
---
Conclusion
The Swiss Knife indicator serves as a versatile tool that combines multiple technical analysis methods into a single, comprehensive indicator. By assessing various aspects of the market—including trend direction, momentum, volume, and price action—it provides traders with valuable insights to make informed trading decisions.
---
Citations
- Divergence Detection Library : Divergence Indicator by DevLucem
- Trendline Drawing Library : Simple Trendlines by HoanGhetti
---
Note : This indicator is intended for informational purposes and should be used in conjunction with other analysis techniques. Always perform due diligence before making trading decisions.
---
MACD Volume S2 By Gammaprod>> How to use this indicator :
1. Set your teadingview theme to dark theme.
2. My indicator is valid for forex, stock and but more valid for crypto.
3. Use three timeframe for more validation (choose between those, that fit to your trading style) :
- Timeframe 1m, 5m, and 15m for Scalping
- Timeframe 30m, 1h and 4h for Intraday
- Timeframe 4h, 1D and 1W for Swing Trading
4 . Always use THREE INDICATORS FROM GAMMAPROD, those three indicators is back to back each other, by the way, I only made those three indicators only (for now) :
- Trendlines Boll Ichi Crypto by Gammaprod
- Stoch RSI Divs Zone Crypto by Gammaprod
- MACD Volume Crypto by Gammaprod
>> How to setting :
1. Trendlines Boll Ichi Crypto by Gammaprod
A. Support and Resistence
- Well if you familiar with this indicator you can add it, but recommended for Timeframe 30m or more
B. Trendlines Primary or Trendlines Secondary
- Timeframe 1m you DON'T NEED Trendlines Primary or Trendlines Secondary
- Timeframe 5m you DON'T NEED Trendlines Secondary, but you CAN ADD Trendlines Primary if you fell it helpful (for me, it is helpful to find where the candles start or the end trend or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 15m you DON'T NEED Trendlines Secondary, DEFENITELY add Trendlines Primary it will help to find where the candles stop or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 30m or more, DEFENITELY NEED BOTH Trendlines Primary and Secondary Trendlines, it will help to find where the candle stop or consolidation or where the candle will surpass a resistance or support).
C. Bolinger, Ichimoku Cloud and Lagging Span
- Please DON'T CHANGE IT at all, it's really helpful to know when and where to make an entry decesion or a trend or a consolidation, if you don't understand how to read it, you better to learn it first (on "how to read" section and "How to OPEN position" the section below)
2. Stoch RSI Divs Zone Crypto by Gammaprod (DON'T CHANGE IT)
3. MACD Volume Crypto by Gammaprod (DON'T CHANGE IT)
>> How to read :
1. Sell or Buy Priority :
A. Buy Priority
- Color background on macd and stoch rsi is pink or purple sell is the priority, (if you're not sure to buy, just wait until the best moment to sell)
B. Buy Priority
- Color background on macd and stoch rsi Teal or light green buy is the priority, (if you're not sure to sell, just wait until the best moment to buy)
C. Indecision / Golden Moment
- Color background on stoch rsi yellow is indecision / golden moment of reversal pattern (wait until it formed background only on Stoch RSI), please becareful at this moment.
2. Trend / Consolidation :
A. BULLISH trend
- When Stoch RSI and MACD have teal or light green background that's means BULLISH trend, better to confirm by the candle is above green cloud and lagging span (red line) is also above the candle.
B. BEARISH trend
- When Stoch RSI and MACD have the Pink or purple background that's means BEARISH trend, better to confirm by the candle is above purple cloud and lagging span (red line) is also below the candle.
C. CONSOLIDATION
- When Stoch RSI have the mix background that's means CONSOLIDATION, better to confirm by the candle is in or near to green / purple cloud and lagging span (red line) is also on the candle.
3. Special Mark
A. Ideal Bullish :
- Near line 20 and green / teal background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for buy
B. Not an Ideal Bullish :
- Near line 80 and green / teal background = if this happens make sure you know what happen, it could be a false signal or bullish continual pattern
C. Ideal Bearish :
- Near line 80 and pink / purple background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for sell position.
D. Not an Ideal Bearish:
- Near line 20 and pink / purple background = if this happens make sure you know what happen, it could be a false signal or bearish continual pattern
E. The Beginning of Reversal (from BEARISH to BULLISH) :
- When Stoch RSI line shaping GREEN position is near 20.
- MACD lines still PINK, position lines is UNDER the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL PINK (light pink) and the BACKGROUND still PINK / PURPLE.
- Position CANDLES NEAR BLUE line, NEAR PURPLE CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
F. The Beginning of Reversal (from BULLISH to BEARISH) :
- When Stoch RSI line shaping PINK position is near 80.
- MACD lines still GREEN, position lines is ABOVE the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL GREEN (light green) and the BACKGROUND still TEAL / GREEN.
- Position CANDLES NEAR WHITE line, NEAR TEAL CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
G. False Signals, or It could be a Golden Moment (better to see it on TF 15 or bigger):
- Near line 20 or 80 and yellow background = When Stoch RSI have the char R / H on color label, that's means divergence or hidden divergence for buy / sell position, if you not see this label that's means just a standard confirmation for buy / sell depends on where the Stoch RSI line if near 20 that's means buy, near 80 means sell
>> How to OPEN position:
A. Bullish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles above the green cloud.
- Lagging span (red line) above the candles.
- then open buy near yellow line (the first option) / blue line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Teal or Green background.
- The lines is shaping green.
- Better if on the bottom (at a range 20).
3. MACD Volume Crypto by Gammaprod
- Teal or Green background.
- The lines is shaped or shaping green.
- Better if at the green histogram.
B. Bearish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles below the purple cloud.
- Lagging span (red line) below the candles.
- then open buy near yellow line (the first option) / white line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Pink or purple background.
- The lines are shaping pink.
- Better if the line on the top (at a range 80).
3. MACD Volume Crypto by Gammaprod
- Pink or purple background.
- The lines are shaped or shaping green.
- Better if at the pink histogram.
C. Consolidation
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles on the cloud (green or purple).
- Lagging span (red line) on the candles.
- then open buy near the white or blue line (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Mix background specially on a timeframe 15m or more.
- The line move fast up and down.
- Better if on the bottom or the top of the lines (at a range 20 or 80).
3. MACD Volume Crypto by Gammaprod
- Changing the background.
- The line is near the middle line.
- Have small Histogram.
>> The secret ingridient is comparing the timeframe :
The example scalping (Timeframe 1m, 5m and 15m)
- TF 1m is for making an open position.
- TF 5m is for making a judgement of the trend market.
- TF 15m is to confirm that judgement from TF 5m, be careful if it not similar then it used to be a consolidation or the beginning of the reversal.
There's a lot a way to open the position than above information that i gave it to you, but consider there are a limit char on this column, I hope it will help your trading and make a more profit on it.
Stoch RSI, Div, Zone S3 by Gammaprod>> How to use this indicator :
1. Set your teadingview theme to dark theme.
2. My indicator is valid for forex, stock and but more valid for crypto.
3. Use three timeframe for more validation (choose between those, that fit to your trading style) :
- Timeframe 1m, 5m, and 15m for Scalping
- Timeframe 30m, 1h and 4h for Intraday
- Timeframe 4h, 1D and 1W for Swing Trading
4 . Always use THREE INDICATORS FROM GAMMAPROD, those three indicators is back to back each other, by the way, I only made those three indicators only (for now) :
- Trendlines Boll Ichi Crypto by Gammaprod
- Stoch RSI Divs Zone Crypto by Gammaprod
- MACD Volume Crypto by Gammaprod
>> How to setting :
1. Trendlines Boll Ichi Crypto by Gammaprod
A. Support and Resistence
- Well if you familiar with this indicator you can add it, but recommended for Timeframe 30m or more
B. Trendlines Primary or Trendlines Secondary
- Timeframe 1m you DON'T NEED Trendlines Primary or Trendlines Secondary
- Timeframe 5m you DON'T NEED Trendlines Secondary, but you CAN ADD Trendlines Primary if you fell it helpful (for me, it is helpful to find where the candles start or the end trend or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 15m you DON'T NEED Trendlines Secondary, DEFENITELY add Trendlines Primary it will help to find where the candles stop or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 30m or more, DEFENITELY NEED BOTH Trendlines Primary and Secondary Trendlines, it will help to find where the candle stop or consolidation or where the candle will surpass a resistance or support).
C. Bolinger, Ichimoku Cloud and Lagging Span
- Please DON'T CHANGE IT at all, it's really helpful to know when and where to make an entry decesion or a trend or a consolidation, if you don't understand how to read it, you better to learn it first (on "how to read" section and "How to OPEN position" the section below)
2. Stoch RSI Divs Zone Crypto by Gammaprod (DON'T CHANGE IT)
3. MACD Volume Crypto by Gammaprod (DON'T CHANGE IT)
>> How to read :
1. Sell or Buy Priority :
A. Buy Priority
- Color background on macd and stoch rsi is pink or purple sell is the priority, (if you're not sure to buy, just wait until the best moment to sell)
B. Buy Priority
- Color background on macd and stoch rsi Teal or light green buy is the priority, (if you're not sure to sell, just wait until the best moment to buy)
C. Indecision / Golden Moment
- Color background on stoch rsi yellow is indecision / golden moment of reversal pattern (wait until it formed background only on Stoch RSI), please becareful at this moment.
2. Trend / Consolidation :
A. BULLISH trend
- When Stoch RSI and MACD have teal or light green background that's means BULLISH trend, better to confirm by the candle is above green cloud and lagging span (red line) is also above the candle.
B. BEARISH trend
- When Stoch RSI and MACD have the Pink or purple background that's means BEARISH trend, better to confirm by the candle is above purple cloud and lagging span (red line) is also below the candle.
C. CONSOLIDATION
- When Stoch RSI have the mix background that's means CONSOLIDATION, better to confirm by the candle is in or near to green / purple cloud and lagging span (red line) is also on the candle.
3. Special Mark
A. Ideal Bullish :
- Near line 20 and green / teal background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for buy
B. Not an Ideal Bullish :
- Near line 80 and green / teal background = if this happens make sure you know what happen, it could be a false signal or bullish continual pattern
C. Ideal Bearish :
- Near line 80 and pink / purple background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for sell position.
D. Not an Ideal Bearish:
- Near line 20 and pink / purple background = if this happens make sure you know what happen, it could be a false signal or bearish continual pattern
E. The Beginning of Reversal (from BEARISH to BULLISH) :
- When Stoch RSI line shaping GREEN position is near 20.
- MACD lines still PINK, position lines is UNDER the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL PINK (light pink) and the BACKGROUND still PINK / PURPLE.
- Position CANDLES NEAR BLUE line, NEAR PURPLE CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
F. The Beginning of Reversal (from BULLISH to BEARISH) :
- When Stoch RSI line shaping PINK position is near 80.
- MACD lines still GREEN, position lines is ABOVE the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL GREEN (light green) and the BACKGROUND still TEAL / GREEN.
- Position CANDLES NEAR WHITE line, NEAR TEAL CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
G. False Signals, or It could be a Golden Moment (better to see it on TF 15 or bigger):
- Near line 20 or 80 and yellow background = When Stoch RSI have the char R / H on color label, that's means divergence or hidden divergence for buy / sell position, if you not see this label that's means just a standard confirmation for buy / sell depends on where the Stoch RSI line if near 20 that's means buy, near 80 means sell
>> How to OPEN position:
A. Bullish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles above the green cloud.
- Lagging span (red line) above the candles.
- then open buy near yellow line (the first option) / blue line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Teal or Green background.
- The lines is shaping green.
- Better if on the bottom (at a range 20).
3. MACD Volume Crypto by Gammaprod
- Teal or Green background.
- The lines is shaped or shaping green.
- Better if at the green histogram.
B. Bearish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles below the purple cloud.
- Lagging span (red line) below the candles.
- then open buy near yellow line (the first option) / white line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Pink or purple background.
- The lines are shaping pink.
- Better if the line on the top (at a range 80).
3. MACD Volume Crypto by Gammaprod
- Pink or purple background.
- The lines are shaped or shaping green.
- Better if at the pink histogram.
C. Consolidation
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles on the cloud (green or purple).
- Lagging span (red line) on the candles.
- then open buy near the white or blue line (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Mix background specially on a timeframe 15m or more.
- The line move fast up and down.
- Better if on the bottom or the top of the lines (at a range 20 or 80).
3. MACD Volume Crypto by Gammaprod
- Changing the background.
- The line is near the middle line.
- Have small Histogram.
>> The secret ingridient is comparing the timeframe :
The example scalping (Timeframe 1m, 5m and 15m)
- TF 1m is for making an open position.
- TF 5m is for making a judgement of the trend market.
- TF 15m is to confirm that judgement from TF 5m, be careful if it not similar then it used to be a consolidation or the beginning of the reversal.
There's a lot a way to open the position than above information that i gave it to you, but consider there are a limit char on this column, I hope it will help your trading and make a more profit on it.
Smart Pro Entry GuideOverview
Smart Pro Entry Guide (HTF Selectable, Full) is a multi-timeframe price–volume analyzer that blends wick/absorption reads, ATR-validated breakout and range-expansion filters, trend scoring, and pivot-based structure into a single, confluence-first decision layer.
With optional HTF routing, an intent engine for the last three HTF candles, and a visual dashboard, it outputs a real-time Chart Action (BUY/SELL/WAIT) plus the reason behind it, while plotting S/R, liquidity zones, and trendlines to make execution contexts obvious at a glance.
The goal is simple: align entries with dominant context and strong evidence while minimizing noise through volume and volatility-aware gating.
How it works
The script can run all calculations on a user-selected Higher Timeframe, or stay on the chart timeframe, enabling regime-aware bias and clean drilling from context to trigger without juggling multiple charts.
It scores price action with wick and absorption logic, validates momentum with ATR- and volume-based breakout/expansion tests, and classifies trend strength with a configurable green/red bar count against a moving average.
An HTF intent model evaluates the last three HTF bars against percentile thresholds for volume and body strength to set a majority bias, which is then combined with structure, liquidity, and trend filters to drive the final Chart Action and on-chart visuals.
HTF routing: toggle useHTF to compute OHLCV, moving averages, and ATR on a chosen window_tf, propagating that context into all downstream logic.
Price-action + volume filters: Wick Bull/Bear detect long lower/upper wicks >2×>2× body with directional closes; Absorption flags extreme closes at recent swing extremes on above-average volume and compressed bodies.
Volatility and momentum: Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
volume>1.5×volMA; Range Expansion requires range>1.5×avgRange
range>1.5×avgRange with prior range <0.7×avgRange<0.7×avgRange in the direction of the close
Trend engine: Counts green vs red bars over trendBarCount and requires
trendScore≥trendScoreMin
trendScore≥trendScoreMin with price above/below a moving average to qualify as Strong Trend Long/Short.
Chart Action: BUY if strongTrendLong_ltf or long-intent filter is true, SELL if strongTrendShort_ltf or short-intent filter is true, else WAIT, enabling straightforward execution rules.
HTF intent and bias: For each of the last three HTF bars, classifies BULLISH/BEARISH/CHOP when volume, body, and body% exceed rolling highs scaled by a percentile factor, then sets HTF BULLISH/BEARISH via ≥2≥2 majority voting (else HTF Chop).
Structure and liquidity: Auto-detects S/R via pivots, draws trendlines from pivots, shades bias-aligned zones, and highlights “liquidity zones” when volume exceeds a configurable multiplier of a volume average near structure.
Dashboard: A table summarizes HTF Intent, HTF Bias, Chart Action, filter activity, explicit Reason, trend scores, strong-trend flags, HTF vol/body metrics, and an adaptive Volume Sentiment state (Strong Bullish/Bearish, Bullish/Bearish, Neutral).
Why it helps
The design emphasizes confluence: HTF bias, LTF trend state, price-action signatures, and volume/ATR validation must align, reducing false positives that occur when signals are considered in isolation.
Structure- and liquidity-aware plotting puts actionable context—S/R, zones with above-average participation, and directional trendlines—directly on the chart, making it easier to filter trades and time entries with intent-backed confirmation.
The dashboard’s transparent “Reason” string and filter log create an auditable trail of why Chart Action changed, improving decision discipline and reproducibility.
How to use
Trend continuation: In trending markets, favor Chart Action = BUY alongside HTF BULLISH near fresh supports and/or shaded liquidity zones, especially when filters show Wick Bull, Absorption Bull, or Range Expansion in the direction of trend.
Reversal attempts: At resistance or after extended up moves, look for Wick Bear/Absorption Bear and Chart Action = SELL, ideally with HTF BEARISH or HTF Chop transitioning bearish to avoid counter-trend chop.
Breakout follow-through: When Unusual Breakout triggers with both ATR and volume confirmation, trade continuation in the breakout direction while the dashboard maintains bias alignment and favorable Volume Sentiment.
Settings
useHTF + window_tf: Routes all core calculations to a higher timeframe for regime-aware bias and cleaner signal gating.
useWickAnalysis, useAbsorption, useUnusualBreakout, useRangeExpansion: Enable/disable specific price–volume filters that feed into Chart Action and Reasons.
trendBarCount, trendScoreMin: Control trend scoring sensitivity and what qualifies as a Strong Trend against a moving average.
length: Sets length for volume MA and ATR, impacting breakout/expansion thresholds and average range computation.
swing_look: Defines the lookback window for swing extremes used in absorption detection.
lookback_sup, percentile_fact: Configure rolling-high percentile thresholds used to classify HTF intent on volume, body, and body%.
showTable, showSR, showLIQ, showTrend, showZones: Toggle the dashboard, S/R labels, liquidity zones, trendlines, and bias-aligned shading.
srLook, liqLook, liqFactor: Tune pivot sensitivity and volume criteria for liquidity zone detection and marking.
dashboardPosition: Choose where the dashboard table renders on the chart.
Notes
Pivots require left/right bars for confirmation, so newly detected S/R and trendlines appear after sufficient bars form, helping avoid premature levels during developing swings.
Chart Action is deliberately conservative: it requires either a strong-trend state or a valid intent filter in the direction of the proposed trade, which can reduce noise in sideways conditions.
Volume Sentiment strengthens or softens the read by comparing current volume to a baseline and weighting by candle direction and near-term trend score.
how to use the indicator to make better trading decisions?
Focus first on the HTF Bias, then act only when Chart Action and filters align to build strong confluence and avoid trades during WAIT states.
Quick start
Turn ON useHTF and choose window_tf so OHLCV, MA, and ATR are computed on an HTF; then read HTF Intent and HTF Bias on the dashboard to set the primary direction.
On the LTF, check Chart Action (BUY/SELL/WAIT) and Reason, and act only when Chart Action aligns with the HTF Bias.
Prioritize entries near recent S/R pivots, trendlines, and highlighted liquidity zones to ensure structure-supported trades.
Context and bias
The HTF intent model evaluates the last three HTF candles against percentile thresholds for volume, body, and body% of their rolling highs and classifies each bar as BULLISH/BEARISH/CHOP.
Majority voting sets “HTF BULLISH/BEARISH” when at least two bars agree; otherwise “HTF Chop,” which guides overall direction and strategy selection.
Entry triggers (LTF)
Wick Bull/Bear trigger when the lower/upper wick is >2×>2× the body and the close is directional, signaling rejection-style reversal/continuation.
Absorption Bull/Bear appear when the close is at a swing extreme with above-average volume and a compressed body, indicating aggressive participation.
Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
volume>1.5×volMA to validate a high-impulse move.
Range Expansion requires rane>1.5×avgRange range>1.5×avgRang and the prior range<0.7×avgRange<0.7×avgRange with a directional close, signaling a regime shift.
Strong Trend Long/Short holds when the trendScore ≥≥ its threshold and price is above/below the MA, helping filter pullback entries.
Trend continuation
In HTF BULLISH, when Chart Action = BUY, prioritize pullback entries near fresh supports or trendlines with long-side filters like Wick/Absorption/Expansion.
Holding bias is more consistent when Volume Sentiment is “Bullish/Strong Bullish” and the Reason shows long-side signals.
Reversal setups
After resistance or extended up-moves, look for Wick Bear/Absorption Bear; take Chart Action = SELL with HTF BEARISH or a Chop→Bearish transition for mean-reversion attempts.
In Chop or against HTF Bias, avoid aggressive sizing and treat WAIT as a valid output until confluence becomes clear.
Breakout follow-through
Right after an Unusual Breakout, seek continuation in the same direction when Volume Sentiment and HTF Bias agree and Reason shows “Breakout.”
Favor micro-pullbacks or flags retesting S/R above/below the breakout to improve risk-to-reward.
Risk management
Use recent srLook-based pivot lows/highs for stop-loss placement since S/R and trendline construction rely on these.
With Zones ON, consider initiating inside bias-aligned shaded areas and reducing or exiting when price moves outside them to keep invalidation clear.
Skip trades during WAIT or Neutral Volume Sentiment to maintain the system’s noise-filtering purpose.
Tuning settings
Increasing window_tf makes bias more stable but reduces trigger frequency; decreasing it speeds bias changes and increases frequency.
Raising trendBarCount and trendScoreMin tightens the Strong Trend filter so only higher-quality pullbacks pass.
Increasing percentile_fact makes HTF intent thresholds stricter for volume/body, reducing bias flips.
Adjust liqLook and liqFactor to instrument volatility so liquidity zones highlight only meaningful participation.
Do and don’t
Go against HTF Bias only when the Reason shows clear opposite-direction signals with structural confirmation; otherwise, prefer WAIT.
Do not rely on breakout/expansion without volume confirmation, as the system validates them with 1.5×1.5× volume/ATR thresholds.
Avoid assuming levels mid-swing; pivots need confirmation bars before S/R becomes reliable.
Workflow steps
Switch useHTF = ON, select an appropriate window_tf, and read HTF Bias on the dashboard.
On LTF, check Chart Action and Reason; if WAIT, skip.
Validate location context with S/R labels, trendlines, and shaded zones; consider only structure-supported entries.
Ensure at least one directional price–volume filter (Wick/Absorption/Breakout/Expansion) aligns with the HTF Bias.
Favor pullbacks during Strong Trend; use conservative sizing in Chop/transitions.
Place stops beyond pivots and manage partials or exits when Volume Sentiment/Reason shifts.
Notes
The indicator unifies “Chart Action + Reason + Context,” so avoid BUY/SELL without clear cause and location context to preserve system consistency.
Tune parameters to instrument and timeframe volatility to balance signal quality versus trade frequency.
Disclaimer
This indicator is an educational decision-support tool and not financial advice; market risk, slippage, and regime shifts can invalidate any setup, so independent research and risk management remain essential.
Past behavior in signals or dashboards does not guarantee future performance, and parameter choices should be adapted to instrument volatility and timeframe objectives.
Strongest TrendlineUnleashing the Power of Trendlines with the "Strongest Trendline" Indicator.
Trendlines are an invaluable tool in technical analysis, providing traders with insights into price movements and market trends. The "Strongest Trendline" indicator offers a powerful approach to identifying robust trendlines based on various parameters and technical analysis metrics.
When using the "Strongest Trendline" indicator, it is recommended to utilize a logarithmic scale . This scale accurately represents percentage changes in price, allowing for a more comprehensive visualization of trends. Logarithmic scales highlight the proportional relationship between prices, ensuring that both large and small price movements are given due consideration.
One of the notable advantages of logarithmic scales is their ability to balance price movements on a chart. This prevents larger price changes from dominating the visual representation, providing a more balanced perspective on the overall trend. Logarithmic scales are particularly useful when analyzing assets with significant price fluctuations.
In some cases, traders may need to scroll back on the chart to view the trendlines generated by the "Strongest Trendline" indicator. By scrolling back, traders ensure they have a sufficient historical context to accurately assess the strength and reliability of the trendline. This comprehensive analysis allows for the identification of trendline patterns and correlations between historical price movements and current market conditions.
The "Strongest Trendline" indicator calculates trendlines based on historical data, requiring an adequate number of data points to identify the strongest trend. By scrolling back and considering historical patterns, traders can make more informed trading decisions and identify potential entry or exit points.
When using the "Strongest Trendline" indicator, a higher Pearson's R value signifies a stronger trendline. The closer the Pearson's R value is to 1, the more reliable and robust the trendline is considered to be.
In conclusion, the "Strongest Trendline" indicator offers traders a robust method for identifying trendlines with significant predictive power. By utilizing a logarithmic scale and considering historical data, traders can unleash the full potential of this indicator and gain valuable insights into price trends. Trendlines, when used in conjunction with other technical analysis tools, can help traders make more informed decisions in the dynamic world of financial markets.
Mohammad - Micro-Segments 2Mohammad - Auto Trendlines - Dynamic Support & Resistance
This indicator automatically identifies and draws trendlines by connecting pivot highs and pivot lows, similar to how a professional trader would manually draw them on a chart. Each pivot point is used only once to maintain clean, non-overlapping lines.
Key Features:
Automatically detects and connects pivot points to form trendlines
Distinguishes between resistance lines (connecting highs, drawn from top) and support lines (connecting lows, drawn from bottom)
Each pivot/wick is used for maximum one trendline, preventing messy overlapping
Color-coded: Black for resistance lines (bearish), Blue for support lines (bullish)
Support lines can be toggled on/off (hidden by default for cleaner charts)
Parameters:
Minimum/Maximum Length: Controls the range of bars to search for trendline connections (5-40 bars default)
Pivot Strength: Determines how prominent a high/low must be to qualify as a pivot point
Line Extension: Projects trendlines forward into the future
Tolerance: Flexibility for validating price touches on the trendline
Maximum Lines: Limits the number of visible trendlines to prevent chart clutter
How It Works:
The indicator scans historical price data to identify significant pivot points (local highs and lows). It then connects these pivots with trendlines following these rules:
Resistance lines connect pivot highs where the recent high is lower than the older high (descending)
Support lines connect pivot lows where the recent low is higher than the older low (ascending)
Lines must have intermediate price touches to be considered valid
Each pivot can only be used once, ensuring clean, logical trendline placement
Use Cases:
Identify key support and resistance levels automatically
Spot trend continuations and potential reversal points
Save time by eliminating manual trendline drawing
Maintain consistency in technical analysis
The indicator updates every 5 bars and on the last bar to ensure current relevance while maintaining performance.
MF Logarithmic Log Trendline with Alerts by MigueFinanceWhat is Unique on This Indicator?
It allows you to set alerts for logarithmic trendlines including cross and touches and it works!
Not even tradingview has alerts for drawn logarithmic trendlines !
When on Logaritmic scale it looks like a normal trendline but when on the linear scale it looks like a real logarithmic curve!
And is free to use!
Overview
Finally an Indicator that has alerts/alarms that works with Logarithmic trendlines!
A- This indicator plots a customizable logarithmic (or linear) trendline based on user-defined start/end dates, extending forward to highlight support/resistance.
B- It shows green upward triangles for bullish breakouts and red downward triangles for bearish breakdowns or dots for touches that are not effective crosses of the trendline
C- It is also possible to set alert conditions with custom message for helping to trade the signals above/bellow the trendline
How to Use
1. Apply indicator to chart.
2. Adjust inputs: log/linear, price source, start/end dates, custom prices , label/triangle visibility.
3. Setting -1 for the price source adjusts the trendline automatically to the height of the chart for the specified date based on high, low, close or open of the candle for that date.
4. Watch for triangle signals on bar close.
5. Set alerts for breakouts/breakdowns or touches via TradingView.
Multiple Logarithmic Trendlines are possible!
You can put many logarithmic trendlines in your chart with alerts!, just as many as many alerts your current tradingview plan allows you to.
How to?
- Just use this indicator, get the logaritmic trendline you desire, set the alert, make sure is well set, and after setting the alert draw yourself on tradingview the logarithmic trendline that you are setting the alarm to (a new manual drawing).
- Then modify the settings of your indicator to create a new trendline, the previous one exists even if not visible as long as you have correctly set the alert, and if you did a drawing you can see your previous alert trendline.
Custom Messages on Alerts
- There are different options for the alerts, the one named "Any alert() function call" allows you to put custom messages that could be used on platforms like Wundertrade in order to set and execute automatic trades on buy/sell.
- The other options for the alerts give you fix messages and allows you to decide if get you an alert on a cross over or under or on a touch of the trendline.
Notes
- Signals on confirmed closes (no repainting).
- Designed for log-scaled charts but also works on linear charts.
- Tested on stocks, crypto, and more.
- Make sure that this indicator and your plotted chart are on the same scale, otherwise will look like floating, will move and would seem like it does not matches the chart.
Important Note
- The alerts and shapes only trigger after the "End Date" of the slope, not before or between them
You are welcome to follow me on my socials!
MigueFinance.
🏆 Advanced Liquidity 💧Pro-X Trading Suite-J-Algo# 🏆 Advanced Liquidity 💧Pro-X Trading Suite-J-Algo
## 📊 **INSTITUTIONAL-GRADE MULTI-TIMEFRAME TRADING SUITE**
Transform your trading with this comprehensive institutional-style indicator that combines **Smart Money Concepts**, **Market Structure Analysis**, and **Multi-Timeframe Liquidity Detection** in one powerful tool.
---
## 🎯 **KEY FEATURES**
### 💧 **Multi-Timeframe Key Liquidity Levels**
- **HTF (Higher Timeframe)**: Major institutional levels (4H, Daily, Weekly)
- **LTF (Lower Timeframe)**: Precision entry levels (1H, 4H)
- **CTF (Current Timeframe)**: Chart-specific liquidity zones
- **Smart Mitigation Detection**: Automatically removes hit levels or shows mitigated zones
- **Customizable Extensions**: Short, Current, or Maximum extension options
### ⚡ **Dynamic Trendlines with Breakout Detection**
- **Automatic Trend Recognition**: Self-adjusting bullish and bearish trendlines
- **Channel Formation**: Upper and lower channel boundaries
- **Breakout Alerts**: Real-time notification when trendlines break
- **Gradient Fill Options**: Beautiful visual presentation with transparency
- **Historical Tracking**: Option to keep broken trendlines visible
### 📦 **Institutional Order Blocks**
- **Volume-Weighted Strength**: Calculates bullish/bearish institutional pressure
- **Smart Overlap Detection**: Prevents cluttered display
- **Violation Monitoring**: Tracks when order blocks are breached
- **Visual Separation**: Clear distinction between buy and sell zones
- **Customizable Display**: Show last X order blocks for clean charts
### 🎯 **Premium/Discount Zones (PD Zones)**
- **Swing-Based Calculation**: Identifies key value areas
- **Three-Zone System**: Premium, Equilibrium, and Discount levels
- **Dynamic Updates**: Zones adjust with market structure changes
- **Color-Coded**: Easy identification of value zones
### 🔄 **Trading Sessions Analysis**
- **Major Sessions**: Asian, London, New York with custom times
- **Session Overlaps**: Highlights high-volatility periods
- **High/Low Tracking**: Session range identification
- **Timezone Support**: Full IANA timezone compatibility
- **Historical Sessions**: Multi-day session display
### 📊 **Market Structure Breaks (MSB)**
- **Real-Time Detection**: Identifies structure shifts instantly
- **Trend Confirmation**: Validates market direction changes
- **Visual Clarity**: Clean MSB line and label display
---
## ⚙️ **CONFIGURATION OPTIONS**
### 🎛️ **Master Controls**
- Toggle any feature ON/OFF for customized analysis
- Performance optimization with selective loading
- Clean interface with organized input groups
### 🎨 **Visual Customization**
- **Color Schemes**: Fully customizable colors for all elements
- **Line Weights**: Adjustable thickness for all lines
- **Text Sizes**: Multiple size options for labels
- **Transparency**: Gradient and opacity controls
### 🚨 **Alert System**
- **HTF Liquidity Hits**: Get notified when major levels are touched
- **Customizable Alerts**: Choose which events to monitor
- **Real-Time Notifications**: Instant alerts for trading opportunities
---
## 📈 **TRADING APPLICATIONS**
### 🎯 **Entry Strategies**
- **Liquidity Raids**: Trade reversals at key liquidity levels
- **Order Block Reactions**: Enter on institutional zone interactions
- **Trendline Breaks**: Capitalize on momentum shifts
- **Session Overlap Scalping**: High-probability setups during active periods
### 🛡️ **Risk Management**
- **Structure-Based Stops**: Use order blocks and liquidity levels
- **Multi-Timeframe Confirmation**: Align entries across timeframes
- **Premium/Discount Bias**: Trade with institutional flow direction
### 📊 **Analysis Framework**
- **Top-Down Analysis**: HTF bias, LTF precision entries
- **Market Structure**: Understand institutional sentiment
- **Session Awareness**: Trade during optimal market hours
---
## 🔧 **TECHNICAL SPECIFICATIONS**
### ⚡ **Performance Optimized**
- **Pine Script v6**: Latest version with enhanced performance
- **Smart Memory Management**: Efficient array and object handling
- **Selective Calculations**: Only processes enabled features
- **Display Limits**: Prevents chart overload
### 📱 **Compatibility**
- **All Timeframes**: Optimized for 5m and higher
- **All Markets**: Forex, Crypto, Stocks, Indices
- **All Devices**: Desktop, mobile, tablet responsive
### 🎯 **Best Performance**
- **Recommended**: 15m+ timeframes for optimal speed
- **Mobile Friendly**: Lightweight when features are selectively enabled
- **Multi-Chart**: Can run multiple instances efficiently
---
## 📚 **HOW TO USE**
### 🚀 **Quick Start**
1. **Add to Chart**: Apply indicator to your favorite pair
2. **Choose Timeframes**: Enable HTF (4H/Daily) and LTF (1H) liquidity
3. **Select Features**: Toggle on desired analysis tools
4. **Customize Colors**: Match your chart theme
5. **Set Alerts**: Enable notifications for key events
### 📊 **Professional Setup**
- **Multi-Timeframe Analysis**: Daily bias, 4H structure, 1H entries
- **Session Focus**: Trade during London/NY overlap for best results
- **Confluence Trading**: Combine liquidity + order blocks + trendlines
- **Risk Management**: Use structure levels for stops and targets
### 🎯 **Advanced Strategies**
- **Liquidity Sweeps**: Look for false breaks followed by reversals
- **Order Block Mitigation**: Enter on first touch of fresh blocks
- **Premium/Discount Entries**: Buy discount, sell premium
- **Session Breakouts**: Trade range breaks during session opens
---
## ⭐ **WHAT MAKES THIS SPECIAL**
### 🏆 **Professional Grade**
- **Institutional Concepts**: Based on how big money actually trades
- **Multi-Timeframe Integration**: Seamless analysis across timeframes
- **Smart Automation**: Reduces manual chart analysis time
- **Visual Excellence**: Clean, professional appearance
### 💎 **Unique Features**
- **Combined Analysis**: Multiple methodologies in one indicator
- **Smart Detection**: Automatic identification of key levels
- **Customizable Depth**: From beginner-friendly to expert analysis
- **Performance Focused**: Optimized for real-time trading
### 🎯 **Trader Benefits**
- **Faster Analysis**: Instantly see key levels and zones
- **Better Entries**: High-probability setups with confluence
- **Clearer Direction**: Understand market structure quickly
- **Professional Edge**: Trade like institutional traders
---
## 🛠️ **SETTINGS GUIDE**
### 💧 **Liquidity Settings**
- **Left/Right Bars**: Adjust sensitivity of level detection
- **Timeframes**: Choose HTF (4H, Daily) and LTF (1H, 4H) periods
- **Display Limit**: Control number of active levels
- **Extension**: How far to project levels
### ⚡ **Trendline Settings**
- **Period**: Lookback for pivot detection
- **Channel Padding**: Distance between trendline channels
- **Gradient**: Enable/disable fill effects
- **History**: Keep broken trendlines visible
### 📦 **Order Block Settings**
- **Swing Length**: Sensitivity of structure detection
- **Display Count**: Number of active blocks
- **Violation Type**: Wick or close-based breaks
- **Overlap**: Hide/show overlapping blocks
---
## 🎯 **PERFECT FOR**
### 📈 **Trading Styles**
- **Scalpers**: Session overlap and liquidity level trades
- **Day Traders**: Intraday structure and order block analysis
- **Swing Traders**: Multi-timeframe confluence setups
- **Position Traders**: Major timeframe liquidity and structure
### 💱 **Markets**
- **Forex**: All major and minor pairs
- **Crypto**: Bitcoin, altcoins, DeFi tokens
- **Stocks**: Individual stocks and ETFs
- **Indices**: S&P 500, NASDAQ, Dow Jones
- **Commodities**: Gold, Silver, Oil
### 🎯 **Experience Levels**
- **Beginners**: Start with basic liquidity levels
- **Intermediate**: Add order blocks and sessions
- **Advanced**: Full suite with custom alerts
- **Professionals**: Multi-timeframe institutional analysis
---
## 🚀 **GET STARTED TODAY**
Ready to trade like the institutions? This indicator provides everything you need for professional market analysis in one comprehensive package.
**Add to your charts now and experience the difference institutional-grade analysis makes!**
---
## 📞 **SUPPORT & UPDATES**
- **Regular Updates**: Continuous improvement and new features
- **Community Support**: Active user community
- **Documentation**: Comprehensive setup guides
- **Compatibility**: Always updated for latest TradingView features
---
*Transform your trading with institutional-grade analysis. Join thousands of traders using professional Smart Money Concepts for consistent market success.*
**🏆 ADVANCED LIQUIDITY 💧PRO-X TRADING SUITE-J-ALGO** - Your Gateway to Institutional Trading
PnF ChartPoint and Figure (P&F) charts are a time-independent technical analysis tool that focuses purely on price movements, filtering out noise like minor price fluctuations and time. Unlike candlestick or bar charts, P&F charts ignore time and only record significant price changes based on predefined rules.
Key Characteristics of P&F Charts
No Time Axis
Only price movements matter; time is irrelevant.
Columns form based on reversals, not fixed time periods.
Uses X's and O's
X = Rising prices (demand in control)
O = Falling prices (supply in control)
Box Size (Price Increment)
Defines the minimum price change required to plot a new X or O.
Example: If the box size is **1∗∗,astockmustmoveatleast1∗∗,astockmustmoveatleast1 to record a new X or O.
Reversal Amount
Determines how much the price must reverse to switch from X's to O's (or vice versa).
Common reversal settings: 3-box reversal (price must reverse by 3x the box size).
How P&F Charts Work
1. Rising Prices (X-Columns)
A new X is added if the price rises by the box size.
If the price reverses down by the reversal amount, a new O-column starts.
2. Falling Prices (O-Columns)
A new O is added if the price falls by the box size.
If the price reverses up by the reversal amount, a new X-column starts.
Example of a P&F Chart
Suppose:
Box Size = $1
Reversal Amount = 3-box (i.e., $3)
Price Movement Chart Update
Stock rises from 10→10→11 X at $11
Rises to $12 X at $12
Drops to 9(9(12 → 9=9=3 drop) New O-column starts at 11,11,10, $9
Rises again to 12(12(9 → 12=12=3 rise) New X-column at 10,10,11, $12
About the Script:This Script uses columns instead of traditional X and O boxes.Column Printing (Red vs Green)
This Point and Figure chart alternates between two states:
X columns (green): Represent upward price movements
O columns (red): Represent downward price movements
When Green Columns (X) Are Printed:
A green column is printed when:
The script is in "X mode" (is_x is true)
A new column is created (new_column_created is true)
This happens after the price has reversed upward by at least the "reversal boxes" threshold from a previous O column
When Red Columns (O) Are Printed:
A red column is printed when:
The script is in "O mode" (is_x is false)
A new column is created (new_column_created is true)
This happens after the price has reversed downward by at least the "reversal boxes" threshold from a previous X column
How Trendlines Are Created
The script can draw two types of trendlines when the show_trendlines option is enabled:
Green Trendlines (Uptrend):
A green trendline is created when:
There's a transition from O to X columns (cond2 is true but wasn't true on the previous bar)
This represents the beginning of a potential uptrend
The trendline is solid and extends to the right
Red Trendlines (Downtrend):
A red trendline is created when:
There's a transition from X to O columns (cond1 is true but wasn't true on the previous bar)
This represents the beginning of a potential downtrend
The trendline is dashed and extends to the right
The script maintains two trendline objects - current_trendline and previous_trendline - and deletes the oldest one when a new trendline is created to prevent cluttering the chart.
In summary, this Point and Figure chart tracks price movements in discrete boxes and changes column types (and creates trendlines) when price reverses by a significant amount (defined by the reversal_boxes parameter). The chart also generates alerts when these trend changes occur, helping traders identify potential trend reversals.
CoffeeShopCrypto Supply Demand PPO AdvancedCoffeeShopCrypto PPO Advanced is a structure-aware momentum oscillator and price-trend overlay designed to help traders interpret momentum strength, exhaustion, and continuation across evolving market conditions. It’s not a “buy/sell” signal tool — it's a momentum context tool that helps confirm trend intent.
Original Code derived from the Price Oscillator Indicators (PPO) found in the TradingView Technical Indicators categories. You can view the info and calculation for the original PPO here
www.tradingview.com
Much like the MACD, the PPO uses a couple lagging indicators to present Momentum as a percentage. But it lacks context to market structure.
What It’s Based On
This tool is based on a dual-moving-average PPO oscillator structure (Percentage Price Oscillator) enhanced by:
Oscillator pivot structure: detection of Lower Highs (LH) and Higher Lows (HL) inside the oscillator.
Detection of Supply and Demand Trends via Market Absorption
Ability to transfer its average plots to price action
Detection of Trend Exhaustion
Real-time price-based exhaustion levels: projecting potential future supply and demand using trendlines from weakening momentum.
Integrated fast and slow Moving Averages on price using the same inputs as the oscillator, to visualize alignment between short- and long-term trends.
These elements combine momentum context with price action in a visual, intuitive system.
How It Works
1. Oscillator Structure
LHs (above zero): momentum weakening in uptrends.
HLs (below zero): momentum strengthening in downtrends.
Only valid pivots are shown (e.g., an LH must be preceded by a valid LL).
2. Exhaustion Levels
Green demand lines: price is making new lows, but oscillator prints HL → potential exhaustion.
Red supply lines: price is making new highs, but oscillator prints LH → potential exhaustion.
These lines are future-facing, projecting likely reaction zones based on momentum weakening.
3. Moving Averages on Price
Two MAs are drawn on the price chart:
Fast MA (same length as PPO short input)
Slow MA (same length as PPO long input)
These are not signal lines — they're visual guides for trend alignment.
MA crossover = PO crosses zero. This indicates short- and long-term momentum are syncing — a powerful signal of trend conviction.
When price is above both MAs, and the PO is rising above zero, bullish momentum is dominant.
When price is below both MAs, and the PO is falling below zero, bearish momentum dominates.
How Traders Can Use It
✅ Spot Trend Initiation
Wait for clear trend confirmation in price.
Use PPO Momentum+ to confirm momentum structure is aligned (e.g., HH/HL in oscillator + price above both MAs).
🔁 Track Continuations
In uptrends, look for oscillator HH and HL sequences with price holding above both MAs.
In downtrends, seek LL and LH sequences with price below both MAs.
⚠️ Watch for Exhaustion
Price breaking below red (supply) lines after oscillator LH = bearish exhaustion signal.
Price breaking above green (demand) lines after oscillator HL = bullish exhaustion signal.
These levels act like pre-mapped S/R zones, showing where momentum previously failed and price may react.
Why This Is Different
Momentum tools often lag or mislead when used blindly. This tool visualizes structural failure in momentum and maps potential outcomes. The integration of oscillator and price-based tools ensures traders are always reading context, not just raw signals.
Demand Trendlines
Demand trendlines show us Wykoff's law of "Absorbed Supply Reversal" In real time.
When aggressive selling pressure is persistently absorbed by passive buying interest without significant downward price continuation, and supply becomes exhausted, the market structure shifts as demand regains control—resulting in a directional reversal to the upside.
This commonly happens in a 3 phase interaction of price.
1. Selling pressure is absorbed quickly by buyers.
This PPO tool will calculate the trend of this absorption process
2. After there is a notable Bearish Exhaustion of price action, the PPO tool will draw a trendline of this absorption showing us the potential future prices where aggressive buyers will want to step in at lower prices.
3. After higher lows are defined in the oscillator, you'll see prices react in a strong bullish pattern at this trendline where aggressive buyers stepped in to reverse price action to the upside.
Supply Trendlines
Supply trendlines show us Wykoff's law of "Absorbed Demand Reversal" In real time.
When aggressive buying pressure is persistently absorbed by passive selling interest without significant downward price continuation, and demand becomes exhausted, the market structure shifts as supply regains control—resulting in a directional reversal to the downside.
This commonly happens in a 3 phase interaction of price.
1. Buying pressure is absorbed quickly by sellers.
This PPO tool will calculate the trend of this absorption process.
2. After there is a notable Bullish Exhaustion of price action, the PPO tool will draw a trendline of this absorption showing us the potential future prices where aggressive sellers will want to step in at higher prices.
3. After lower highs are defined in the oscillator, you'll see prices react in a strong bearish pattern at this trendline where aggressive sellers stepped in to reverse price action to the downside.
Lower High and Higher Low Signals
When the oscillator signals Lower Highs or High Lows its only noting that momentum in that trend direction is slowing. THis indicates a coming pause in the market and the proceeding longs of an uptrend or shorts of a downtrend should be taken with caution.
**These LH and HL markers are not reading as divergences in price vs momentum.**
They are simply registering against the highs and lows of itself..
Moving Averages on Price Action
The Oscillator will cross over its ZERO level the same time your Short and Long MAs cross each other. This will indicate that the short term average trend is moving ahead of the long term.
Crossovers are not an entry signal. It's a method in determining you current timeframe trend strength. Always observe price action as it passes through each of your moving averages and compare it to the positioning and direction of the oscillator.
If price dips in between the moving averages while the oscillator still shows a strong trend strength, you can wait for price to move ahead of your fast moving average.
Bar Colors and Signal Line for Trend Strength
Good Bullish Trend = Oscillator above zero + Signal rising below Oscillator
Weak Bullish Trend = Oscillator above zero + Signal above Oscillator
Good Bearish Trend = Oscillator below zero + Signal falling above Oscillator
Weak Bearish Trend = Oscillator below zero + Signal below Oscillator
Bar Colors
Bars are colored to match Oscillator Momentum Strength. Colors are set by user.
Why alter the known PPO (Percentage Price Oscillator) in this manner?
The PPO tool is great for measuring the strength as percentage of price action over and average amount of candles however, with these changes,
you know have the ability to correlate:
Wycoff theory of supply and demand,
Measure the depth of reversals and pullback by price positioning against moving averages,
Project potential reversal and exhaustion pricing,
Visibly note the structure of momentum much like you would note market structure,
Its not enough to know there is momentum. Its better to know
A) Is it enough
B) Is there something in the way which will cause price to push back
C) Does this momentum correlate to the prevailing trend
TrendYFriend Description
This script is designed for automatic trendline plotting and generating alerts for key market events: retests and trendline breakouts. Using trendlines is one of the core methods of technical analysis, helping traders to identify the current market trend and open positions in its direction. The script is based on detecting pivot points and connecting them with trendlines, which helps visualize important support and resistance levels.
Importance of Trading with the Trend
Trend trading is one of the most reliable and time-tested approaches in trading. The main principle is that a trend is more likely to continue than to reverse. Following the trend allows traders to enter positions when the probability of further movement in the direction of the trend is high. By trading with the trend, traders can capture prolonged market movements, reducing risk and increasing profit potential.
Opening Positions from Trendlines
Trendlines help identify key levels from which price may either bounce or break through. Upward trendlines serve as dynamic support levels, while downward lines act as resistance levels. It’s important to understand that trendline retests can provide a signal to enter trades in the direction of the primary trend. Conversely, a trendline breakout may signal a trend reversal or correction, which is also an important trading signal.
Main Features of the Script:
1. **Automatic Trendline Drawing** — connecting key pivot points and displaying upward and downward trends on the chart.
2. **Alerts for Retests and Breakouts** — generating signals when the price touches (retest) or breaks through a trendline.
- **Retest of Uptrend Line** — a signal of a potential bounce from support and continuation of the upward trend.
- **Retest of Downtrend Line** — a signal of a potential bounce from resistance in a downward trend.
- **Breakout of Uptrend Line** — a signal of a potential reversal or correction of the upward trend.
- **Breakout of Downtrend Line** — a signal of a potential reversal or continuation of the downward trend.
How to Use the Script:
1. Apply the script to the chart.
2. When an alert triggers, pay attention to the current market situation and verify if the signal aligns with your trading strategy.
3. Open positions in the direction of the trend during retests, or exit trades if a trendline breakout occurs.
dize Multi-Timeframe TrendHi Trader,
the "Multi-Timeframe Trend" indicator is one part of our holistic approach to identifying trading setups. It is one of many indcators of our dize indicator package and should always be used in conjunction with the other dize indicators.
💡 What is the MTF Trend indicator?
Our "Multi-Timeframe Trend" indicator allows to view the trend on different timeframes. The multi-timeframe approach helps us to filter out noise from the market and to find the overarching trend. In addition to the trend, the indicator also shows the percentage change for each up and down movement, which is an expression of the trend strength. We use a proprietary approach to identifying turning points, which will be used for trend recognition.
Furthermore, we connect the most recent dominating highs and lows to create two trendlines at the most right side of the chart.
💡 How to use it?
Using the "Multi-Timeframe Trend" indicator is pretty straight forward. After applying it to your chart you will have to adjust the "Resolution" parameter in the settings. Please be aware, that the selected resolution should always be higher than the displayed chart timeframe. Once that is done, the indicator will show the up- and downmovements of the higher timeframe on your chart.
To fine-tune the trendlines, you should first activate the "Show Trendlines" checkbox. After that we will use the "Trendlines Depth" parameter to detect the most optimal trendlines out of the latest "n" up and down turning points.
Let's have a look:
In the above example you can see a daily Bitcoin chart with a weekly MTF Trend configuration. Initially it shows an uptrend. You will notice how the up- and downswing percentages change over time and move into favor of the bears. The red numbers (downmovement) increase, while the green number (upmovement) decrease. It's easy to identify the sentiment shift. Lastly, the indicator shows two trendlines, which both indicate the current direction of the market.
🔓 To gain access to this indicator, please read the signature field.
hayatguzel trendycurveENG
If we are wondering how the trendlines drawn on the hayatguzel indicator look like on the graph, we should use this indicator. Trendlines that are linear in Hg (hayatguzel) are actually curved in the graph.
"hayatguzel curve" indicator has capable of plotting horizontal levels but not trendlines in hg indicator. But "hayatguzel trendycurve" indicator has capable of plotting (on the chart) trendlines in hg.
First of all, we start by determining the coordinates from the trendlines drawn in hg. The coordinate of trendline beginings is x1,y1. In the continuation of the trendline, the coordinate of the second point taken from anywhere on the trendline is defined as x2,y2. In order to find the x1 and x2 values, the gray bar index chart must be open. After reading the values, the bar index chart can be turned off in the settings. The x coordinates of the trendlines will be the values in this gray bar index graph. You can read these coordinates from the gray numbers in the hg-trendycurve setting at the top left of the graph. The y values are the y axis values in the hg indicator.
It should be noted that the ema value in the hayatguzel trendycurve indicator must be the same as the ema value in the hg indicator.
Hayatguzel trendycurve indicator is not an indicator that can be used on its own, it should be used together with hayatguzel indicator.
TR
Hayatguzel indikatöründe çizilen trendline'ların grafik üzerine nasıl göründüğünü merak ediyorsak bu indikatörü kullanmalıyız. Hg'de doğrusal olan trendline'lar doğal olarak grafikte eğriseller.
Hayatguzel curve indikatöründe hg'deki sadece yatay seviyeler grafiğe dökülürken bu hayatguzel trendycurve indikatörü ile hg'deki trendline'lar da grafiğe dökülebiliyor.
Öncelikle hg'de çizilen trendline'lardan koordinatları belirlemek ile işe başlıyoruz. Trendline'ların başladığı yerin koordinatı x1,y1'dir. Trendline'ın devamında trendline üzerinde herhangi bir yerden alınan ikinci noktanın koordinatı da x2,y2 olarak tanımlandı. x1 ve x2 değerlerini bulabilmek için gri bar index grafiğinin açık olması gerekmektedir. Değerleri okuduktan sonra bar index grafiği ayarlardan kapatılabilir. Trendline'ların x koordinatları bu gri renkli bar index grafiğindeki değerler olacaktır. Bu koordinatları grafikte sol üstte bulunan hg-trendycurve ayalarındaki gri sayılardan okuyabilirsiniz. y değerleri ise hg indikatöründeki y ekseni değerleridir.
Unutulmamalı ki hayatguzel trendycurve indikatöründeki ema değeri hg indikatöründeki ema değeri ile aynı olmalıdır.
Hayatguzel trendycurve indikatörü kendi başına kullanılabilecek bir indikatör olmayıp hayatguzel indikatörü ile beraber kullanılması gerekmektedir.
TrendLine ChannelsAbstract
This script provides a set of Trendline Channels which can be tighter than Donchian Channels.
This script computes the most suitable active upper and lower trendlines and updates them as soon as possible.
We can use it for breakout signals earlier than Donchian Channels.
Introduction
Channels are tools which can mark area of values of ranging markets.
Once the price leaves the original region, range traders may start admitting they are wrong and trigger trend.
Donchian Channels (misheard as Dungeon Channels) use the highest and the lowest price to define area of values.
When the price breakouts, it just like it got released from a dungeon.
However, waiting for the price making even higher or lower may be too late and risk reward ratio may be lower.
Trendlines can make the channels tighter and we can find earlier breakout signals.
Computing Trendline Channels
(1) Find the most active trendlines
In this script, a valid trendline connects two high values or two low values.
A high value means the highest value in a trading day.
A low value means the lowest value in a trading day.
In this script, every trendline does not crossover any bar but can exactly touch them.
The most flat trendline is taken. (one for upper and one for lower)
(2) Continue to use or Change a trendline
If there is a tighter trendline available, this script changes to use it.
If the previous active trendline is broken, this script re-computes the trendline available.
When this case happens, this script display with an another color.
Otherwise, this script continues using the previous trendline.
(3) Middle line
The middle line indicates the middle value between the upper and the lower.
Parameters
Length : how many days are used for computation. The default value is 16 just because 16=4*4, using binary characteristic.
x_go_on : If the previous trendline is not breakout and there are no tighter trendlines available, we continue use it.
Color Options
(1) Upper trendline (no update or tighter)
(2) Upper trendline (changed due to breakout)
(3) Middle line
(4) Lower trendline (no update or tighter)
(5) Lower trendline (changed due to breakout)
Conclusion
Trendline Channels can be tighter than Donchian Channels and evaluate earlier breakout signals.
Comparing to known auto trendline scripts, Trendline Channels is continuous.
Once a trendline is broken, Trendline Channels can instantly point out the next available one.
If you think the price movement is boring or you cannot have good risk reward ratio, you can go to an another timeframe.
Reference
How to trade with Donchian Channels
How to trade with Trendlines
Forex Fire Break Out# Forex Fire Break Out - Technical Analysis Tool
## Overview
The Forex Fire Break Out indicator is a comprehensive technical analysis tool designed to identify potential trendline breakout opportunities using advanced pivot point detection and dynamic target calculations. This educational tool helps traders visualize trend line breaks with automatic target projections and performance tracking capabilities.
## How It Works
### Core Methodology:
The indicator employs sophisticated algorithms to:
- **Detect Pivot Points**: Automatically identifies significant highs and lows using customizable period settings
- **Draw Dynamic Trendlines**: Creates trendlines connecting pivot points with adjustable extension lengths
- **Monitor Breakouts**: Tracks price action relative to established trendlines
- **Calculate Targets**: Uses ATR-based calculations to project potential price objectives
### Technical Features:
- **Trend Type Selection**: Choose between 'Wicks' or 'Body' for pivot detection
- **Period Customization**: Adjustable lookback period (default: 10 bars)
- **Extension Options**: Multiple trendline extension lengths (25, 50, or 75 bars)
- **Visual Customization**: Customizable colors and line styles
- **Gradient Fills**: Color-coded zones between trendlines for trend visualization
## Key Features
### 🎯 **Automatic Target Calculation**
- Uses volatility-adjusted ATR calculations
- Customizable target multiplier (default: 1.5x)
- Visual target lines and labels
- Fixed positioning prevents annotation drift
### 📊 **Live Performance Tracking**
The indicator includes a comprehensive statistics table displaying:
- **Total Trades**: Complete count of all entry signals
- **Winning Trades**: Number of successful target hits (displayed in green)
- **Losing Trades**: Number of failed trades (displayed in red)
- **Active Trades**: Real-time count of open positions (highlighted in orange)
- **Gross P&L**: Live profit/loss calculation in USD
- **Win Rate %**: Success percentage with color-coded performance metrics
### 🔔 **Alert System Setup**
#### Creating Entry Alerts:
1. **Right-click** on your chart and select **"Add Alert"**
2. In the alert dialog, set **Condition** to your indicator
3. Choose from three alert types:
- **"Long Entry Alert"** - Bullish breakout signals only
- **"Short Entry Alert"** - Bearish breakout signals only
- **"Any Entry Alert"** - Both long and short signals
#### Alert Messages:
- Long signals: "Forex Fire Break Out - Long Entry Signal!"
- Short signals: "Forex Fire Break Out - Short Entry Signal!"
- Combined: "Forex Fire Break Out - Trade Entry Signal!"
#### Delivery Options:
- Mobile push notifications
- Email alerts
- Webhook integration for automated systems
- Desktop sound notifications
### 📈 **Live P&L Display Box**
The statistics table provides real-time performance metrics:
- **Location**: Top-right corner of chart
- **Updates**: Automatically refreshes with each completed trade
- **Color Coding**: Green for profits, red for losses, orange for active positions
- **Calculations**: Based on your custom risk per trade settings
#### P&L Formula:
- **Gross Profit** = Winning Trades × (Risk Amount × Target Multiplier)
- **Gross Loss** = Losing Trades × Risk Amount
- **Net P&L** = Gross Profit - Gross Loss
## Settings Configuration
### 📋 **Core Settings:**
- **Period**: Pivot detection lookback period
- **Type**: Trend detection method (Wicks/Body)
- **Extend**: Trendline extension length
- **Line Colors**: Custom color scheme
- **Show Targets**: Toggle target display on/off
### 💰 **Trading Settings:**
- **Risk Per Trade (USD)**: Set position sizing for P&L calculations
- **Target Multiplier**: Risk-to-reward ratio customization
- **Show Statistics Table**: Toggle performance display
## Visual Signals
### Entry Indicators:
- **Green Arrow Up**: Bullish trendline breakout (below price)
- **Red Arrow Down**: Bearish trendline breakout (above price)
- **Target Lines**: Dashed lines showing profit objectives
- **Target Labels**: "Target" annotations at projected levels
### Performance Colors:
- **Green Labels**: Successful trade completion
- **Red Labels**: Trade stopped out
- **Orange Elements**: Active/pending trades
## Best Practices
### 🎓 **Educational Usage:**
1. **Study Market Structure**: Use to understand how price reacts at key levels
2. **Backtest Strategies**: Analyze historical performance before live implementation
3. **Risk Management**: Always use appropriate position sizing
4. **Multiple Confirmations**: Combine with other technical analysis methods
5. **Practice First**: Test on demo accounts before live trading
### ⚙️ **Optimization Tips:**
- Adjust period settings based on your timeframe
- Customize target multipliers to match your risk tolerance
- Use alerts to avoid missing opportunities
- Monitor the P&L display for strategy evaluation
## Important Disclaimers
### ⚠️ **Risk Warning:**
- This indicator is provided for **educational purposes only**
- Trading involves substantial risk of loss and is not suitable for all investors
- Past performance does not guarantee future results
- No trading system or methodology has ever been developed that can guarantee profits or ensure freedom from losses
### 🚫 **Not Financial Advice:**
- This tool does not constitute financial, investment, or trading advice
- All trading decisions remain solely your responsibility
- Consult with qualified financial advisors before making investment decisions
- Consider your risk tolerance, trading experience, and financial situation
### 📚 **Educational Nature:**
- Intended for learning technical analysis concepts
- Results shown are theoretical and for educational purposes
- Requires proper risk management and trading education
- Should be used in conjunction with comprehensive trading education
## Technical Requirements
- Compatible with all TradingView accounts
- Works on all timeframes (recommended: M15 and above)
- Suitable for all markets (Forex, Stocks, Crypto, Commodities)
- Requires basic understanding of technical analysis concepts
---
**Remember**: Successful trading requires proper education, risk management, and emotional discipline. This indicator is a tool to assist in technical analysis, not a guarantee of trading success. Always trade responsibly and within your means.