Madrid Bull Bear SentimentMadrid Bull Bear Sentiment modified so that it shows you when the trend is changing
אינדיקטורים ואסטרטגיות
Smart Trend Lines [The_lurker]"Smart Trend Lines" هو مؤشر متقدم مصمم لرسم خطوط الاتجاه الديناميكية تلقائيًا على الرسم البياني، مع القدرة على اكتشاف الكسور (Breakouts) بدقة باستخدام فلاتر تحليلية مثل ADX، RSI، والحجم. يوفر المؤشر ثلاثة أنواع من خطوط الاتجاه – رئيسية (Main)، متوسطة (Mid)، وقصيرة (Short) – لتلبية احتياجات المتداولين على مختلف الأطر الزمنية، سواء كانوا يركزون على الاتجاهات طويلة الأمد أو قصيرة الأمد.
كيف يعمل :
1- رسم خطوط الاتجاه:
يستخدم المؤشر نقاط الـ Pivot Highs و Pivot Lows لتحديد خطوط الاتجاه الصاعدة والهابطة تلقائيًا.
يتم رسم ثلاثة مستويات لخطوط الاتجاه بناءً على أطوال زمنية قابلة للتخصيص:
Main Trend Lines: لتحليل الاتجاهات طويلة الأمد (افتراضي: 50 شمعة).
Mid Trend Lines: للاتجاهات متوسطة المدى (افتراضي: 21 شمعة).
Short Trend Lines: للاتجاهات قصيرة المدى (افتراضي: 9 شموع).
2- اكتشاف الكسور:
يتم اكتشاف كسر خط الاتجاه عندما يتجاوز السعر (إغلاق، أعلى، أدنى - حسب اختيار المستخدم) الخط.
يتم وضع تسمية (Label) عند نقطة الكسر تحمل معلومات مختصرة عن الشروط المتحققة (مثل الحجم، ADX، RSI).
3- فلاتر التحقق:
ADX: يتحقق من قوة الاتجاه (الحد الأدنى قابل للتعديل، افتراضي: 20).
RSI: يستخدم لتصفية الكسور في مناطق التشبع الشرائي أو البيعي (حدود عليا وسفلى قابلة للتخصيص).
Volume: يقارن الحجم الحالي بالمتوسط المتحرك للحجم للتأكد من قوة الحركة.
4- التنبيهات:
يوفر تنبيهًا موحدًا عند حدوث أي كسر (شراء أو بيع) لجميع أنواع الخطوط، مع إطلاق التنبيه فقط عند شمعة الكسر.
المميزات الرئيسية
خطوط اتجاه متعددة المستويات:
ثلاثة أطوال مختلفة (رئيسية، متوسطة، قصيرة) مع إمكانية إظهارها أو إخفائها بشكل مستقل، مما يتيح المرونة للمتداولين.
تخصيص كامل:
تعديل أطوال خطوط الاتجاه (عدد الشموع).
اختيار الألوان والأنماط (متصل، متقطع، منقط) لكل نوع من الخطوط.
تحديد حجم التسميات (Tiny, Small, Normal, Large, Huge).
اختيار نوع السعر المستخدم لفحص الكسر (Close, High, Low).
فلاتر ذكية:
استخدام ADX لتأكيد قوة الاتجاه.
فلتر RSI لتجنب الإشارات في المناطق المشبعة.
مقارنة الحجم لضمان أهمية الكسر.
تسميات تفاعلية:
تظهر التسميات عند الكسر مع رموز مختصرة (V للحجم، A لـ ADX، R لـ RSI) لتوضيح الشروط المتحققة.
حجم التسميات قابل للتخصيص لتحسين الرؤية.
تنبيهات دقيقة:
تنبيه واحد موحد لجميع الكسور (شراء أو بيع) يُطلق فقط عند شمعة الكسر، مما يقلل من الإزعاج ويزيد من الكفاءة.
عرض الخطوط السابقة:
خيار اختياري لعرض خطوط الاتجاه الرئيسية السابقة لتحليل تاريخي أعمق.
الفوائد
سهولة الاستخدام: يرسم خطوط الاتجاه تلقائيًا دون الحاجة إلى رسم يدوي.
دقة عالية: الفلاتر المتعددة (ADX، RSI، Volume) تقلل من الإشارات الخاطئة وتعزز موثوقية الكسور.
مرونة كبيرة: مناسب لجميع أنواع المتداولين (Scalpers، Swing Traders، Long-term Investors) بفضل الخطوط متعددة الأطوال.
واجهة مرئية واضحة: ألوان وأنماط قابلة للتخصيص تجعل الرسم البياني سهل القراءة.
%% نصائح الاستخدام
للمتداولين قصيري الأمد: ركز على خطوط "Short" واضبط الفلاتر لتكون أكثر حساسية (مثل تقليل عتبة ADX).
للتحليل طويل الأمد: استخدم خطوط "Main" مع إعدادات افتراضية أو أطول لالتقاط الاتجاهات الكبيرة.
قم بتفعيل التنبيهات للحصول على إشعارات فورية عند حدوث كسر مؤكد.
%% الإعدادات
Main/Mid/Short Trend Line Length: اضبط طول كل خط بناءً على استراتيجيتك.
Color & Style: اختر ألوانًا وأنماطًا تناسب تفضيلاتك البصرية.
Break Check Price: حدد نوع السعر المستخدم للكسر (افتراضي: Close).
Label Size: اختر حجم التسميات حسب احتياجاتك.
Filters: فعّل أو عطّل الفلاتر وضبط العتبات (ADX، RSI، Volume) لتتناسب مع السوق.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
"Smart Trend Lines" is an advanced indicator for drawing dynamic trend lines, with the ability to detect breakouts (breakouts) using analytical filters such as ADX, RSI, etc. It provides three types of light lines - main (main), intermediate (intermediate), and short (short) - for the General Pipeline Network Company on various time frames, whether they are set on long-term or precious trends.
How it works:
1- Drawing lines for lines:
Uses the Pivot Highs and Pivot Lows indicator points for guide lines and automatic guide lines.
Three levels of guide lines are drawn along the air lines for customization:
Main trend lines: for analyzing long-term trends (default: 50 candles).
Intermediate trend lines: for medium-term trends (default: 21 candles).
Short trend lines: for short-term trends (default: 9 candles).
2- Fracture detection:
A fault is detected when the price (close, high, low - according to the user's choice) crosses the line.
A label is placed at the break point with brief information about the conditions met (such as volume, ADX, RSI).
3- Validation filters:
ADX: Checks the strength of the fault (simple limit, default: 20).
Relative Strength Index (RSI): Used to filter out fractures in the northern or eastern regions (customizable upper limits).
Volume: Compares the current volume to the moving average of the volume by the strength of the impact.
4- Alerts:
Provides a unified alert when any break (buy or sell) occurs for all types of lines, with the alert being triggered only when the break occurs.
Key features
Multiple trend lines for levels:
Three different lengths (main, medium, short) with the possibility of showing or hiding them independently, allowing traders.
Full translation:
Modify the length of the lines (number of candles).
Choose colors and styles (solid, dashed, dotted) for each type of line.
Select label size (small, small, normal, large, huge).
Select user type to check the breakout (close, high, low).
Smart filters:
Use ADX to confirm the strength of the error.
RSI filter abbreviated in environmental factors.
Compare volume and use of the breakout.
Interactive labels:
Scale labels on the breakout with special symbols (V for volume, A for ADX, R for RSI) to indicate the conditions met.
Customizable label size to customize the search.
Precise alerts:
A single unified alert for all breakouts (buy or sell) is triggered only on the breakout, choosing from celebration to protest for that.
View previous lines:
Option to select previous major lines to analyze their history.
Benefits
Ease of use: Draws freehand lines without the need to draw by hand.
High-precision: Optical filters (ADX, RSI, Volume) are effective from the effective impact and enhance the confidence of the breakouts.
Multiple options: Suitable for all types of traders (scalpers, swing traders, long-term investors) thanks to Malaysia Airlines 24/7.
Visual interface: Colors and patterns can be plotted for easy-to-read charting.
%% Tips for use
For short-term traders: Focus on the "short" lines and adjust the filters to be more visible (e.g. reduce the ADX bar).
For long-term analysis: Use the "main" lines with default or partial settings for key points.
Enable notifications for breakouts on instant notifications when absolutely necessary.
%%Except
Main/Intermediate/Short Trend Line Length: Adjust the length of each line to guide you.
Color and Style: Choose colors and styles to suit your visual preferences.
Verify Price Breakout: Select the type of price used for the breakout (default: Close).
Label Size: Choose the size of the labels as desired.
Filters: Enable or disable filters and adjust thresholds (ADX, RSI, Volume) to suit the market.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of preparation or execution of tasks or endorsed by TradingView.
Custom Advanced Stochastic OscillatorCustom Advanced Stochastic Oscillator, you will be able to edit the Stochastic Oscillators in a more advanced way
TorgomerUses multiple normal price distributions, especially good when used in cryptocurrency, commodity markets.
Standardly (80% of the time) price is between the blue and yellow lines, goes below or above 20% of the time, long/short positions can be considered there.
Use it with pleasure!
2 MA Ratio with SignalsCrossover with signal when it crosses, you can add a flag or other signals instead.
RSI + Wave Trend Oscillator 等級信號indicator for sell and buy
measuring the relationship between RSI and WTO
Stratégie Changement de Tendance avec BougiesStratégie en détail :
Achat (Signal haussier) :
Après une tendance baissière, on observe une bougie haussière.
Le plus bas de cette bougie haussière doit être inférieur au plus bas de la dernière bougie baissière.
Vente (Signal baissier) :
Après une tendance haussière, on observe une bougie baissière.
Le plus haut de cette bougie baissière doit être supérieur au plus haut de la dernière bougie haussière.
Custom LevelsThe "Custom Levels" indicator is a tool designed for traders utilizing price action strategies on TradingView. Its core functionality is to dynamically plot a user-defined number of horizontal price levels above and below the current market price, based on a customizable rounding step. This allows traders to quickly identify key support and resistance zones, enhancing their ability to analyze price movements and make informed trading decisions.
How It Works
The indicator calculates levels by rounding the current closing price to the nearest multiple of the specified "Round Step" (e.g., 10.0), then generates up to 10 evenly spaced levels above and below this base. Users can adjust the number of levels (1 to 10), line color, width, and style (solid, dashed, or dotted) directly from the settings menu. Lines are updated in real-time on the last candle, ensuring they reflect the latest price action, while old lines are automatically removed to prevent clutter.
Key Features:
- Customizable rounding step for precise level placement.
- Up to 10 levels above and below the current price for comprehensive analysis.
- Flexible styling options to suit individual preferences.
- Ideal for price action traders seeking to pinpoint critical price thresholds.
RSI & 5 EMARSI & 5 EMA Reversal Trading Indicator
📌 Category: Reversal Trading
🔹 Overview
This script is designed to identify potential reversal points using the Relative Strength Index (RSI) and the 5-Period Exponential Moving Average (EMA). It helps traders spot short-term exhaustion in price movements and provides clear entry signals when momentum shifts against the prevailing move.
🔹 How It Works
5-Period EMA (Blue Line):
Used to gauge short-term price direction.
RSI-Based Reversal Setup:
Helps filter trade setups to avoid false signals.
A buy preparation level is set when RSI is below 40, and the high is below the 5 EMA, indicating a potential oversold condition.
A sell preparation level is set when RSI is above 60, and the low is above the 5 EMA, signaling a possible overbought condition.
Reversal Entry Conditions:
A buy signal occurs if the price closes above the buy preparation level within the next 3 candles.
A sell signal occurs if the price closes below the sell preparation level within the next 3 candles.
Visual Enhancements:
Signal candles are highlighted with a white wick and border to make reversals easy to spot.
The 5 EMA is plotted in blue to track short-term trends.
🔹 How to Use This Indicator
✅ Best for traders looking to catch short-term reversals.
✅ Works well on 5-min, 15-min, 1-hour, and daily charts.
✅ Can be used in range-bound markets or at key support/resistance levels.
🔹 Customization Request
Even the conditions are met, no signal is plotted by this script. I will be very happy if anyone correct the script for better and accurate result.
Chande Trend Meter OscillatorThis is an implementation of the Chande Trend Meter that I developed using ChatGPT. It is free for you to use.
The Chande Trend Meter (CTM) is a technical analysis indicator developed by Tushar Chande to assess the strength and direction of a security's trend. By consolidating various technical indicators across multiple timeframes into a single numerical score ranging from 0 to 100, the CTM simplifies trend evaluation.
CHARTSCHOOL.STOCKCHARTS.COM
Calculation Components:
The CTM incorporates several technical measures:
Bollinger Bands Positions: Evaluates the relative positions of the high, low, and close prices within Bollinger Bands over four distinct periods: 20-day, 50-day, 75-day, and 100-day.
Price Change Relative to Standard Deviation: Assesses price movements in relation to the standard deviation over the past 100 days.
14-day Relative Strength Index (RSI): Measures the speed and change of price movements to identify overbought or oversold conditions.
Short-term Price Channel Breakouts: Identifies any breakouts from short-term (2-day) price channels.
These components are combined and scaled to produce the CTM score.
CHARTSCHOOL.STOCKCHARTS.COM
Interpreting CTM Scores:
The CTM score indicates the strength of a security's trend:
90-100: Very strong uptrend
80-90: Strong uptrend
60-80: Weak uptrend
20-60: Flat or weak downtrend
0-20: Very strong downtrend
Traders often seek securities with CTM scores above 80, indicating robust upward momentum.
Advantages of the CTM:
One notable benefit of the CTM is its absolute scoring system, allowing for direct comparison across different securities without adjustments. This feature enables traders to evaluate and rank various assets uniformly, facilitating more informed decision-making.
By providing a consolidated view of multiple technical indicators, the CTM offers traders a streamlined tool to assess trend strength, aiding in the identification of potential trading opportunities.
EMA CrossoverEMA Crossover Indicator - A Simple Yet Powerful Trend Following Tool
This custom EMA Crossover indicator is designed to help traders spot potential buy and sell signals based on the interaction between two Exponential Moving Averages (EMAs). With an easy-to-read, color-coded interface, this indicator is perfect for traders who rely on moving averages to follow trends and identify key market entries.
Key Features:
Dual EMA Setup: The indicator uses two Exponential Moving Averages (EMAs), one short (default 5-period) and one long (default 13-period). The shorter EMA reacts faster to price movements, while the longer EMA helps to filter out market noise, providing more reliable signals.
Customizable Parameters: Both the lengths and the line widths of the EMAs can be easily adjusted to suit your trading strategy. Modify the Short EMA Length and Long EMA Length to fit your preferred timeframes and trading style.
Real-time Buy and Sell Signals: The indicator plots visual buy (green triangle) and sell (red triangle) signals directly on the chart. These signals appear when the shorter EMA crosses above (bullish signal) or below (bearish signal) the longer EMA, helping you identify potential trade opportunities.
Overlay on Price Chart: Both EMAs are plotted directly on the price chart, allowing you to track the current trend and crossover points without any clutter or distraction.
Trend Following with Precision: This tool helps you capture short-term price movements within the context of the broader trend. A crossover above the long EMA suggests potential long opportunities, while a crossover below indicates a possible short entry.
How to Use the EMA Crossover Indicator:
Bullish Signal: When the Short EMA crosses above the Long EMA, it indicates potential upward momentum, signaling a possible buy opportunity.
Bearish Signal: When the Short EMA crosses below the Long EMA, it suggests a potential reversal or downward momentum, signaling a sell opportunity.
Customizable Inputs:
Short EMA Length: Adjust the period of the shorter EMA to increase or decrease its sensitivity to price changes.
Long EMA Length: Adjust the period of the longer EMA to filter out noise and focus on more significant price movements.
EMA Line Widths: Fine-tune the visual appearance of the EMAs for better chart readability.
Why Use the EMA Crossover Indicator?
The EMA Crossover strategy is a well-known and widely used technique in technical analysis. By combining two EMAs, traders can gain insights into the prevailing trend and identify potential entry points with greater accuracy. This indicator helps simplify the decision-making process by automatically generating clear visual signals that indicate when to enter or exit the market based on the interaction between the short and long EMAs.
Whether you're a beginner or an experienced trader, this EMA Crossover tool can be an invaluable addition to your trading toolbox. With its easy-to-use interface, clear signals, and customizable settings, you can quickly adapt it to various markets and timeframes, enhancing your trading strategy.
Alım Stratejisi - EMA500 Altında Her %1 Düşüşte 20 USDT Alımdüzenli alım stratejisi fiyat ema500 altında olduğu sürece her %1 düşüşte 20 usdt alım yapacak
Volume %Historical volume by percentage to help determine where the volume strength
is at with a 3 tiers equating to 10% Blue 50% Green 90% Blue and a yellow median average. If there are any problems or ideas please notify me!
Candle Smoother v2Candle Smoother v2 is a Pine Script indicator for TradingView that smoothes candlestick data with a complex calculation and calculates also an Exponential Moving Average (EMA) on this basis. The indicator helps to better visualize market fluctuations and to identify potential trends more clearly.
Functions
Smoothing of the candle data: Reduces market noise by adaptively calculating the open and close values.
Visualization with color coding: The candles are displayed in green (lime) for bullish and red (red) for bearish movements.
EMA calculation based on the smoothed data: An Exponential Moving Average (EMA) line is calculated and displayed.
Display of the candles
The smoothed open, high, low and close values are plotted as new candles. The color of the candles indicates the market direction:
Green (lime): Bullish market
Red (red): Bearish market
How to use
Adding the indicator: Load the script in Pine Script on TradingView and add it to your chart.
Adjusting the parameters: If desired, customize ATR Length and EMA Period to fit your trading strategy.
Interpretation
Note the color change of the candles to identify trend changes early.
Use the EMA line as potential support / resistance or trend confirmation.
1H/3m Concept [RunRox]🕘 1H/3m Concept is a versatile trading methodology based on liquidity sweeps from fractal points identified on higher timeframes, followed by price reversals at these key moments.
Below, I will explain this concept in detail and provide clear examples demonstrating its practical application.
⁉️ WHAT IS A FRACTALS?
In trading, a fractal is a technical analysis pattern composed of five consecutive candles, typically highlighting local market turning points. Specifically, a fractal high is formed when a candle’s high is higher than the highs of the two candles on either side, whereas a fractal low occurs when a candle’s low is lower than the lows of the two adjacent candles on both sides.
Traders use fractals as reference points for identifying significant support and resistance levels, potential reversal areas, and liquidity zones within price action analysis. Below is a screenshot illustrating clearly formed fractals on the chart.
📌 ABOUT THE CONCEPT
The 1H/3m Concept involves marking Higher Timeframe (HTF) fractals directly onto a Lower Timeframe (LTF) chart. When a liquidity sweep occurs at an HTF fractal level, we remain on the same LTF chart (since all HTF fractals are already plotted on this lower timeframe) and wait for a clear Market Structure Shift (MSS) to identify our potential entry point.
Below is a schematic illustration clearly demonstrating how this concept works in practice.
Below is another 💡 real-chart example , showing liquidity in the form of a 1H fractal, swept by a rapid impulse move. Immediately afterward, a clear Market Structure Shift (MSS) occurs, signaling a potential entry point into the trade.
Another example is shown below, where we see our hourly fractal, from which price clearly reacts, providing an opportunity to search for an entry point.
As illustrated on the chart, the fractal levels from the higher timeframe are clearly displayed, but we’re working directly on the 5-minute chart. This allows us to remain on one timeframe without needing to switch back and forth between charts to spot such trading setups.
🔍 MTF FRACTALS
This concept can be applied across various HTF-LTF timeframe combinations. Although our examples illustrate 1H fractals used on a 5-minute chart, you can effectively utilize many other timeframe combinations, such as:
30m HTF fractals on 1m chart
1H HTF fractals on 3m chart
4H HTF fractals on 15m chart
1D HTF fractals on 1H chart
The key idea behind this concept is always the same: identify liquidity at fractal levels on the higher timeframe (HTF), then wait for a clear Market Structure Shift (MSS) on the lower timeframe (LTF) to enter trades.
⚙️ SETTINGS
🔷 Trade Direction – Select the preferred trading direction (Long, Short, or Both).
🔷 HTF – Choose the higher timeframe from which fractals will be displayed on the current chart.
🔷 HTF Period – Number of candles required on both sides of a fractal candle (before and after) to confirm fractal formation on the HTF.
🔷 Current TF Period – Sensitivity to the impulse that sweeps liquidity, used for identifying and forming the MSS line.
🔷 Show HTF – Enable or disable displaying HTF fractal lines on your chart. You can also customize line style and color.
🔷 Max Age (Bars) – Number of recent bars within which fractals from the selected HTF will be displayed.
🔷 Show Entry – Enable or disable displaying the MSS line on the chart.
🔷 Enable Alert – Activates TradingView alerts whenever the MSS line is crossed.
You can also enable 🔔 alerts, which notify you whenever price crosses the MSS line. This significantly simplifies the process of identifying these setups on your charts. Simply configure your preferred timeframes and wait for notifications when the MSS line is crossed.
🔶 We greatly appreciate your feedback and suggestions for improving the indicator!
abstractchartpatternsLibrary "abstractchartpatterns"
Library having abstract types and methods for chart pattern implementations
method checkSize(filters, points)
checks if the series of pivots are within the size filter
Namespace types: SizeFilters
Parameters:
filters (SizeFilters) : SizeFilters object containing size criteria to be matched
points (array) : list of pivot points
Returns: true if matches the size filter, false otherwise
checkBarRatio(p1, p2, p3, properties)
checks if three zigzag pivot points are having uniform bar ratios
Parameters:
p1 (chart.point) : First pivot point
p2 (chart.point) : Second pivot point
p3 (chart.point) : Third pivot point
properties (ScanProperties)
Returns: true if points are having uniform bar ratio
getRatioDiff(p1, p2, p3)
gets ratio difference between 3 pivot combinations
Parameters:
p1 (chart.point)
p2 (chart.point)
p3 (chart.point)
Returns: returns the ratio difference between pivot2/pivot1 ratio and pivot3/pivot2 ratio
method inspect(points, stratingBar, endingBar, direction, ohlcArray)
Creates a trend line between 2 or 3 points and validates and selects best combination
Namespace types: array
Parameters:
points (array) : Array of chart.point objects used for drawing trend line
stratingBar (int) : starting bar of the trend line
endingBar (int) : ending bar of the trend line
direction (float) : direction of the last pivot. Tells whether the line is joining upper pivots or the lower pivots
ohlcArray (array type from Trendoscope/ohlc/3) : Array of OHLC values
Returns: boolean flag indicating if the trend line is valid and the trend line object as tuple
method draw(this)
draws pattern on the chart
Namespace types: Pattern
Parameters:
this (Pattern) : Pattern object that needs to be drawn
Returns: Current Pattern object
method erase(this)
erase the given pattern on the chart
Namespace types: Pattern
Parameters:
this (Pattern) : Pattern object that needs to be erased
Returns: Current Pattern object
method push(this, p, maxItems)
push Pattern object to the array by keeping maxItems limit
Namespace types: array
Parameters:
this (array) : array of Pattern objects
p (Pattern) : Pattern object to be added to array
@oaram maxItems Max number of items the array can hold
maxItems (int)
Returns: Current Pattern array
method deepcopy(this)
Perform deep copy of a chart point array
Namespace types: array
Parameters:
this (array) : array of chart.point objects
Returns: deep copy array
DrawingProperties
Object containing properties for pattern drawing
Fields:
patternLineWidth (series int) : Line width of the pattern trend lines
showZigzag (series bool) : show zigzag associated with pattern
zigzagLineWidth (series int) : line width of the zigzag lines. Used only when showZigzag is set to true
zigzagLineColor (series color) : color of the zigzag lines. Used only when showZigzag is set to true
showPatternLabel (series bool) : display pattern label containing the name
patternLabelSize (series string) : size of the pattern label. Used only when showPatternLabel is set to true
showPivotLabels (series bool) : Display pivot labels of the patterns marking 1-6
pivotLabelSize (series string) : size of the pivot label. Used only when showPivotLabels is set to true
pivotLabelColor (series color) : color of the pivot label outline. chart.bg_color or chart.fg_color are the appropriate values.
deleteOnPop (series bool) : delete the pattern when popping out from the array of Patterns.
Pattern
Object containing Individual Pattern data
Fields:
dir (series int) : direction of the last pivot
points (array) : array of Zigzag Pivot points
trendLine1 (Line type from Trendoscope/LineWrapper/2) : First trend line joining pivots 1, 3, 5
trendLine2 (Line type from Trendoscope/LineWrapper/2) : Second trend line joining pivots 2, 4 (, 6)
properties (DrawingProperties) : DrawingProperties Object carrying common properties
patternColor (series color) : Individual pattern color. Lines and labels will be using this color.
ratioDiff (series float) : Difference between trendLine1 and trendLine2 ratios
zigzagLine (series polyline) : Internal zigzag line drawing Object
pivotLabels (array) : array containning Pivot labels
patternLabel (series label) : pattern label Object
patternType (series int) : integer representing the pattern type
patternName (series string) : Type of pattern in string
SizeFilters
Object containing properties for pattern size filters
Fields:
filterByBar (series bool) : If set filter the patterns by the bar range
minPatternBars (series int) : Used only when filterByBar is set to true. Minimum bars range for pattern size
maxPatternBars (series int) : Used only when filterByBar is set to true. Maximum bars range for pattern size
filterByPercent (series bool) : Filters patterns by percent of price if set
minPatternPercent (series int) : Used only when filterByPercent is set. Minimum pattern size in terms of percent of price
maxPatternPercent (series int) : Used only when filterByPercent is set. Maximum pattern size in terms of percent of price
ScanProperties
Object containing properties for pattern scanning
Fields:
offset (series int) : Zigzag pivot offset. Set it to 1 for non repainting scan.
numberOfPivots (series int) : Number of pivots to be used in pattern search. Can be either 5 or 6
errorRatio (series float) : Error Threshold to be considered for comparing the slope of lines
flatRatio (series float) : Retracement ratio threshold used to determine if the lines are flat
checkBarRatio (series bool) : Also check bar ratio are within the limits while scanning the patterns
barRatioLimit (series float) : Bar ratio limit used for checking the bars. Used only when checkBarRatio is set to true
avoidOverlap (series bool) : avoid overlapping patterns.
ignoreIfEntryCrossed (series bool) : Ignore the trade if close price does not fall within the price entry price range
allowedPatterns (array) : array of bool encoding the allowed pattern types.
allowedLastPivotDirections (array) : array of int representing allowed last pivot direction for each pattern types
themeColors (array) : color array of themes to be used.
filters (SizeFilters)
MACD Crossover Strategy MACD Crossover Strategy:
This strategy is based on the Moving Average Convergence Divergence (MACD) indicator, a popular tool used in technical analysis to identify potential trend changes and momentum in price movements. The strategy focuses on MACD crossovers within a specific "important zone" to generate trading signals.
Key Components:
1. MACD Calculation: The strategy uses customizable parameters for fast length (default 12), slow length (default 26), and signal length (default 9) to calculate the MACD line and signal line.
2. Important Zone: Defined by upper and lower thresholds (default 0.5 and -0.5), this zone helps filter out potentially less significant crossovers.
3. Entry Conditions:
- Long (Buy) Entry: When the MACD line crosses above the signal line within the important zone.
- Short (Sell) Entry: When the MACD line crosses below the signal line within the important zone.
4. Exit Conditions: The strategy closes positions on opposite crossover signals. Long positions are closed on bearish crossovers, and short positions on bullish crossovers.
5. Visualization:
- MACD line (blue) and signal line (orange) are plotted.
- The zero line, upper threshold, and lower threshold are displayed for reference.
- Buy signals are represented by green triangles at the bottom of the chart.
- Sell signals are shown as red triangles at the top of the chart.
This strategy aims to capture trend changes while filtering out potentially false signals that occur when the MACD is at extreme values. By focusing on crossovers within the important zone, the strategy attempts to identify more reliable trading opportunities.
Traders can adjust the MACD parameters and the important zone thresholds to fine-tune the strategy for different assets or timeframes. As with any trading strategy, it's crucial to thoroughly backtest and consider risk management before using it in live trading.
MACD & EMA Crossover StrategyThis indicator works on logic
1. EMA 5 and EMA 13 crossover
2. MACD Crossover
uses values and crossover
Magic Probability FormulaBasically like a Buy low, Sell High Indicator.
Works with crypto (for some reason not really for Bitcoin), stocks, but probably with many assets.
Usage :
Simple Terms:
- Minus Numbers are showing more probability for an Uptrend
- Positive Numbers are showing more probability for an Downtrend
- Seems to work better with lower timeframes
I suggest to combine it with other Indicators for better results.
Custom LevelsThe "Custom Levels" indicator is a tool designed for traders utilizing price action strategies on TradingView. Its core functionality is to dynamically plot a user-defined number of horizontal price levels above and below the current market price, based on a customizable rounding step. This allows traders to quickly identify key support and resistance zones, enhancing their ability to analyze price movements and make informed trading decisions.
How It Works
The indicator calculates levels by rounding the current closing price to the nearest multiple of the specified "Round Step" (e.g., 10.0), then generates up to 10 evenly spaced levels above and below this base. Users can adjust the number of levels (1 to 10), line color, width, and style (solid, dashed, or dotted) directly from the settings menu. Lines are updated in real-time on the last candle, ensuring they reflect the latest price action, while old lines are automatically removed to prevent clutter.
Key Features:
- Customizable rounding step for precise level placement.
- Up to 10 levels above and below the current price for comprehensive analysis.
- Flexible styling options to suit individual preferences.
- Ideal for price action traders seeking to pinpoint critical price thresholds.
Uptrick: Time Based ReversionIntroduction
The Uptrick: Time Based Reversion indicator is designed to provide a comprehensive view of market momentum and potential trend shifts by combining multiple moving averages, a streak-based trend analysis system, and adaptive color visualization. It helps traders identify strong trends, spot potential reversals, and make more informed trading decisions.
Purpose
The primary goal of this indicator is to assist traders in distinguishing between sustained market movements and short-lived fluctuations. By evaluating how price behaves relative to its moving averages, and by measuring consecutive streaks above or below these averages, the indicator highlights areas where trends are likely to continue or lose momentum.
Overview
Uptrick: Time Based Reversion calculates one or more moving averages of price data and then tracks the number of consecutive bars (streaks) above or below these averages. This streak-based detection provides insight into whether a trend is gaining strength or nearing a potential reversal point. The indicator offers:
• Multiple moving average types (SMA, EMA, WMA)
• Optional second and third moving average layers for additional smoothing of first moving average
• A streak detection system to quantify trend intensity
• A dynamic color scheme that changes with streak strength
• Optional buy and sell signals for potential trade entries and exits
• A ribbon mode that applies moving averages to Open, High, Low, and Close prices for a more detailed visualization of overall trend alignment
Originality and Uniqueness
Unlike traditional moving average indicators, Uptrick: Time Based Reversion incorporates a streak measurement system to detect trend strength. This approach helps clarify whether a price movement is merely a quick fluctuation or part of a longer-lasting trend. Additionally, the optional ribbon mode extends this logic to Open, High, Low, and Close prices, creating a layered and intuitive visualization that shows complete trend alignment.
Inputs and Features
1. Enable Ribbon Mode
This input lets you activate or deactivate the ribbon display of multiple moving averages. When enabled, the script plots moving averages for the Open, High, Low, and Close prices and uses color fills to show whether these four data points are collectively above or below their respective moving averages.
2. Color Scheme Selection
Users can choose from several predefined color schemes, such as Default, Emerald, Crimson, Sapphire, Gold, Purple, Teal, Orange, Gray, Lime, or Aqua. Each scheme assigns distinct bullish, bearish and neutral colors..
3. Show Buy/Sell Signals
The indicator can display buy or sell signals based on its streak analysis logic. These signals appear as markers on the chart, indicating a “Safe Uptrend” (buy) or “Safe Downtrend” (sell).
4. Moving Average Types and Lengths
• First MA Type and Length: Choose SMA, EMA, or WMA along with a customizable period.
• Second and Third MA Types and Lengths: You can optionally stack additional moving averages for further smoothing, each with its own customizable type and period.
5. Streak Threshold Multiplier
This numeric input determines how strong a streak must be before the script considers it a “safe” trend. A higher multiplier requires a longer or more intense streak for a buy or sell signal.
6. Dynamic Transparency Calculation
The color intensity adapts to the streak’s strength. Longer streaks increase the transparency of the opposing color, making the current dominant color stand out. This feature ensures that a vigorous uptrend or downtrend is visually distinct from short-lived or weaker moves.
7. Ribbon Moving Averages
In ribbon mode, the script calculates moving averages for the Open, High, Low, and Close prices. Each of these is optionally smoothed again if the second and/or third moving average layers are active. The final result is a ribbon of moving averages that helps confirm whether the market is uniformly aligned above or below these key reference points.
Calculation Methodology
1. Initial Moving Average
The script calculates the first moving average (SMA, EMA, or WMA) of the closing price over a user-defined period.
2. Optional Secondary and Tertiary Averages
If selected, the script then applies a second and/or third smoothing step. Each of these steps can be a different type of moving average (SMA, EMA, or WMA) with its own period length.
3. Streak Detection
The indicator counts consecutive bars above or below the smoothed moving average. A running total (streakUp or streakDown) increments with every bar that remains above or below that average.
4. Reversion Intensity
The script compares the current streak value to its own average (calculated over the final chosen period). This ratio determines whether the streak is nearing a likely reversion or is strong enough to continue.
5. Color Assignment and Signals
The indicator calculates color transparency based on streak intensity. Buy and sell signals appear when the streak meets or exceeds the threshold multiplier, indicating a safe uptrend or downtrend.
Color Schemes and Visualization
This indicator offers multiple predefined color sets. Each scheme specifies a unique bullish color, bearish color and neutral color. The script automatically varies transparency to highlight strong trends and fade weaker ones, making it visually clear when a trend is intensifying or losing momentum.
Smoothing Techniques
By allowing up to three layers of moving average smoothing, the indicator accommodates different trading styles. A single layer provides faster reactions to market changes, while more layers reduce noise at the cost of slower responsiveness. Traders can choose the right balance between responsiveness and stability for their strategy, whether it is short-term scalping or long-term trend following.
Why It Combines Specific Smoothing Techniques
The Uptrick: Time Based Reversion indicator strategically combines specific smoothing techniques—SMA, EMA, and WMA—to leverage their complementary strengths. The SMA provides stable and consistent trend identification by equally weighting all data points, while the EMA emphasizes recent price movements, allowing quicker responses to market changes. WMA enhances sensitivity to recent price shifts, which helps in detecting subtle momentum changes early. By integrating these methods in layers, the indicator effectively balances responsiveness with stability, helping traders clearly identify genuine trend changes while filtering out short-term noise and false signals.
Ribbon Mode
If Open, High, Low, and Close prices remain above or below their respective moving averages consistently, the script colors the bars fully bullish or bearish. When the data points are mixed, a neutral color is applied. This mode provides a thorough perspective on whether the entire price range is aligned in one direction or showing conflicting signals.
Summary
Uptrick: Time Based Reversion combines multiple moving averages, streak detection, and dynamic color adjustments to help traders identify significant trends and potential reversal areas. Its flexibility allows it to be used either in a simpler form, with one moving average and streak analysis, or in a more advanced configuration with ribbon mode that charts multiple smoothed averages for a deeper understanding of price alignment. By adapting color intensities based on streak strength and providing optional buy/sell signals, this indicator delivers a clear and flexible tool suited to various trading strategies.
Disclaimer
This indicator is designed as an analysis aid and does not guarantee profitable trades. Past performance does not indicate future success, and market conditions can change unexpectedly. Users are advised to employ proper risk management and thoroughly evaluate trades before taking positions. Use this indicator as part of a broader strategy, not as a sole decision-making tool.
PSPThis indicator assists in identifying the PSP candle, providing valuable insights for analysis and decision-making. The indicator's functionality is designed to highlight specific patterns that are crucial for accurate interpretation of market trends. By utilizing this tool, users can enhance their ability to detect significant candlestick formations, ultimately improving their overall trading strategy.