ICT Unicorn Model [LuxAlgo]The ICT Unicorn Model indicator highlights the presence of "unicorn" patterns on the user's chart which is derived from the lectures of "The Inner Circle Trader" (ICT) .
Detected patterns are followed by targets with a distance controlled by the user.
🔶 USAGE
At its core, the ICT Unicorn Model relies on two popular concepts, Fair Value Gaps and Breaker Blocks. This combination highlights a future area of support/resistance.
A Bullish Unicorn Pattern consists out of:
A Lower Low (LL), followed by a Higher High (HH)
A Fair Value Gap (FVG), overlapping the established Breaker Block
A successful re-test of the FVG which confirms the pattern.
A Bearish Unicorn Pattern consists of:
A Higher High (HH), followed by a Lower Low (LL)
A Fair Value Gap (FVG), overlapping the established Breaker Block
A successful re-test of the FVG which confirms the pattern
The pattern detection depends on detected swings, which can be controlled by the Swing setting. Using higher values of this setting will return longer-term breaker blocks.
🔹 Using Risk/Reward Targets
A confirmed Unicorn pattern will show a blue ( Target ) / grey ( Stop Loss) "Risk/Reward" areas (RR).
When the Stop Loss or Target is hit, a white line is shown on the concerned side.
The Risk/Reward ratio can be adjusted in the "Targets" settings.
🔹 Trailing Stop
As seen in the previous snapshots, besides the RR areas, this indicator also includes an optional Trailing Stop .
This can be helpful to lower your risk, by exiting earlier than if you would wait until the Stop Loss is hit.
This example shows a successful bullish and bearish Unicorn Pattern . In this scenario, the Trailing Stop could be used for partial Take Profit.
The goal of this publication is to show confirmed Unicorn Patterns . To increase the chance of success, it is important to evaluate the bigger picture & use this in confluence with your price action analysis. For example, look for potential areas of liquidity, consider this pattern only during certain market sessions, avoid trading during heavy impact news, &/or incorporate other aspects of technical analysis rather than just following this pattern blindly.
🔶 DETAILS
🔹 Combine
When disabled, all potential Unicorn Patterns will delete previous unconfirmed patterns:
Enabling Combine ensures the last Unicorn Patterns in the opposite direction will remain.
While the latter bullish pattern became invalid, another one formed.
The combination of the previous bearish pattern, and looking at the big picture, the bullish pattern did not have much chance to be successful.
While disabling 'combine' helps minimize clutter, enabling this feature can give a pattern more chance to hit the SL/Target level.
🔹 Mitigated FVG
Users can determine if a pattern becomes invalid due to a mitigated FVG, causing the pattern to be deleted.
🔹 New pattern detected
When a new pattern is detected, the previous unconfirmed pattern in the same direction (bullish - bullish or bearish - bearish) will be deleted. This will always be the case, whether "Combine' is enabled or disabled.
When the previous pattern was confirmed but no SL or Target level was hit, this pattern will stop updating.
🔶 SETTINGS
🔹 Unicorn
Swings: This sets the length of swings, used for the underlying ZigZag and Unicorn Patterns detection.
Bull: Enable/disable Bullish patterns, and set the color of FVG box and Trailing Stop .
Bear: Enable/disable Bearish patterns, and set the color of FVG box and Trailing Stop .
Combine: When enabled, patterns in opposite directions (bullish/bearish) can exist at the same time. disabling this feature tends to give less clutter. See the "Usage" section for more information.
🔹 Targets
Risk/Reward: Sets the Risk/Reward ratio.
Trailing Stop: Set the length of small swings, which is used for the Trailing Stop .
Priceaction
Volume-Trend Sentiment (VTS) [AlgoAlpha]Introducing the Volume-Trend Sentiment by AlgoAlpha, a unique tool designed for traders who seek a deeper understanding of market sentiment through volume analysis. This innovative indicator offers a comprehensive view of market dynamics, blending volume trends with price action to provide an insightful perspective on market sentiment. 🚀📊
Key Features:
1. 🌟 Dual Trend Analysis: This indicator combines the concepts of price movement and volume, offering a multi-dimensional view of market sentiment. By analyzing the relationship between the closing and opening prices relative to volume, it provides a nuanced understanding of market dynamics.
2. 🎨 Customizable Settings: Flexibility is at the core of this indicator. Users can adjust various parameters such as the length of the volume trend, standard deviation, and SMA length, ensuring a tailored experience to match individual trading strategies.
3. 🌈 Visual Appeal: With options to display noise, the main plot, and background colors, the indicator is not only informative but also visually engaging. Users can choose their preferred colors for up and down movements, making the analysis more intuitive.
4. ⚠️ Alerts for Key Movements: Stay ahead of market changes with built-in alert conditions. These alerts notify traders when the Volume-Trend Sentiment crosses above or below the midline, signaling potential shifts in market momentum.
How It Works:
The core of the indicator is the calculation of the Volume-Trend Sentiment (VTS). It is computed by subtracting a double-smoothed Exponential Moving Average (EMA) of the price-volume ratio from a single EMA of the same ratio. This method highlights the trend in volume relative to price changes.
volumeTrend = ta.ema((close - open) / volume, volumeTrendLength) - ta.ema(ta.ema((close - open) / volume, volumeTrendLength), volumeTrendLength)
To manage volatility and noise in the volume trend, the indicator employs a standard deviation calculation and a Simple Moving Average (SMA). This smoothing process helps in identifying the true underlying trend by filtering out extreme fluctuations.
standardDeviation = ta.stdev(volumeTrend, standardDeviationLength) * 1
smoothedVolumeTrend = ta.sma(volumeTrend / (standardDeviation + standardDeviation), smaLength)
A unique feature is the dynamic background color, which changes based on the sentiment level. This visual cue instantly communicates the market's bullish or bearish sentiment, enhancing the decision-making process.
getColor(volumeTrendValue) =>
sentimentLevel = math.abs(volumeTrendValue * 10)
baseTransparency = 60 // Base transparency level
colorTransparency = math.max(90 - sentimentLevel * 5, baseTransparency)
volumeTrendValue > 0 ? color.new(upColor, colorTransparency) : color.new(downColor, colorTransparency)
bgcolor(showBackgroundColor ? getColor(smoothedVolumeTrend) : na)
In summary, the Volume-Trend Sentiment by AlgoAlpha is a comprehensive tool that enhances market analysis through a unique blend of volume and price trends. Whether you're a seasoned trader or just starting out, this indicator offers valuable insights into market sentiment and helps in making informed trading decisions. 📈📉🔍🌐
PivottrendHi all!
This script is based on the concept of "higher highs and higher lows" and "lower highs and lower lows". Bullish/bearish trend changes when a previous pivot (low in bullish trend and high in bearish trend) is broken (or has equal value). Some settings are customizable by the user:
Timeframe
- You can choose what timeframe the pivots are found on
Left length
- The left length used for the pivots found
Right length
- The right length used for the pivots found
Show labels
- Choose if you want to display buy and sell labels
Show pivots
- Choose if you want to display the pivots found
Show MSS
- Choose if you want to display a line when price breaks a previous pivot
The "look and feel" is inspired by the script "SuperTrend" by KivancOzbilgic ().
Best of trading luck!
Breakout Detector (Previous MTF High Low Levels) [LuxAlgo]The Breakout Detector (Previous MTF High Low Levels) indicator highlights breakouts of previous high/low levels from a higher timeframe.
The indicator is able to: display take-profit/stop-loss levels based on a user selected Win/Loss ratio, detect false breakouts, and display a dashboard with various useful statistics.
Do note that previous high/low levels are subject to backpainting, that is they are drawn retrospectively in their corresponding location. Other elements in the script are not subject to backpainting.
🔶 USAGE
Breakouts occur when the price closes above a previous Higher Timeframe (HTF) High or below a previous HTF Low.
On the advent of a breakout, the closing price acts as an entry level at which a Take Profit (TP) and Stop Loss (SL) are placed. When a TP or SL level is reached, the SL/TP box border is highlighted.
When there is a breakout in the opposite direction of an active breakout, previous breakout levels stop being updated. Not reaching an SL/TP level will result in a partial loss/win,
which will result in the box being highlighted with a dotted border (default). This can also be set as a dashed or solid border.
Detection of False Breakouts (default on) can be helpful to avoid false positives, these can also be indicative of potential trend reversals.
This indicator contains visualization when a new HTF interval begins (thick vertical grey line) and a dashboard for reviewing the breakout results (both defaults enabled; and can be disabled).
As seen in the example above, the active, open breakout is colored green/red.
You can enable the setting ' Cancel TP/SL at the end of HTF ', which will stop updating previous TP/SL levels on the occurrence of a new HTF interval.
🔶 DETAILS
🔹 Principles
Every time a new timeframe period starts, the previous high and low are detected of the higher timeframe. On that bar only there won't be a breakout detection.
A breakout is confirmed when the close price breaks the previous HTF high/low
A breakout in the same direction as the active breakout is ignored.
A breakout in the opposite direction stops previous breakout levels from being updated.
Take Profit/Stop Loss, partially or not, will be highlighted in an easily interpretable manner.
🔹 Set Higher Timeframe
There are 2 options for choosing a higher timeframe:
• Choose a specific higher timeframe (in this example, Weekly higher TF on a 4h chart)
• Choose a multiple of the current timeframe (in this example, 75 minutes TF on a 15 min chart - 15 x 5)
Do mind, that when using this option, non-standard TFs can give less desired timeframe changes.
🔹 Setting Win/Loss Levels
The Stop Loss (SL) / Take Profit (TP) setting has 2 options:
W%:L% : A fixed percentage is chosen, for TP and SL.
W:L : In this case L (Loss-part) is set through Loss Settings , W (Win-part) is calculated by multiplying L , for example W : L = 2 : 1, W will be twice as large as the L .
🔹 Loss Settings
The last drawing at the right is still active (colored green/red)
The Loss part can be:
A multiple of the Average True Range (ATR) of the last 200 bars.
A multiple of the Range Cumulative Mean (RCM).
The Latest Swing (with Length setting)
Range Cumulative Mean is the sum of the Candle Range (high - low) divided by its bar index.
🔹 False Breakouts
A False Breakout is confirmed when the price of the bar immediately after the breakout bar returns above/below the breakout level.
🔹 Dashboard
🔶 ALERTS
This publication provides several alerts
Bullish/Bearish Breakout: A new Breakout.
Bullish/Bearish False Breakout: False Breakout detected, 1 bar after the Breakout.
Bullish/Bearish TP: When the TP/profit level has been reached.
Bullish/Bearish Fail: When the SL/stop-loss level has been reached.
Note that when a new Breakout causes the previous Breakout to stop being updated, only an alert is provided of the new Breakout.
🔶 SETTINGS
🔹 Set Higher Timeframe
Option : HTF/Mult
HTF : When HTF is chosen as Option , set the Higher Timeframe (higher than current TF)
Mult : When Mult is chosen as Option , set the multiple of current TF (for example 3, curr. TF 15min -> 45min)
🔹 Set Win/Loss Level
SL/TP : W:L or W%:L%: Set the Win/Loss Ratio (Take Profit/Stop Loss)
• W : L : Set the Ratio of Win (TP) against Loss (SL) . The L level is set at Loss Settings
• W% : L% : Set a fixed percentage of breakout price as SL/TP
🔹 Loss Settings
When W : L is chosen as SL/TP Option, this sets the Loss part (L)
Base :
• RCM : Range Cumulative Mean
• ATR : Average True Range of last 200 bars
• Last Swing : Last Swing Low when bullish breakout, last Swing High when bearish breakout
Multiple : x times RCM/ATR
Swing Length : Sets the 'left' period ('right' period is always 1)
Colours : colour of TP/SL box and border
Borders : Style border when breakout levels stop being updated, but TP/SL is not reached. (Default dotted dot , other option is dashed dsh or solid sol )
🔹 Extra
Show Timeframe Change : Show a grey vertical line when a new Higher Timeframe interval begins
Detect False Outbreak
Cancel TP/SL at end of HTF
🔹 Show Dashboard
Location: Location of the dashboard (Top Right or Bottom Right/Left)
Size: Text size (Tiny, Small, Normal)
See USAGE/DETAILS for more information
Volumetric Toolkit [LuxAlgo]The Volumetric Toolkit is a complete and comprehensive set of tools that display price action-related analysis methods from volume data.
A total of 4 features are included within the toolkit. Symbols that do not include volume data will not be supported by the script.
🔶 USAGE
The volumetric toolkit puts a heavy focus on price action, returning support/resistance levels, ranges, volume divergences...etc.
The main premise between each feature is that volume has a direct relationship with market participants level of interest over a specific symbol, and that this interest is not constant over time.
Each individual feature is detailed below.
🔹 Ranges Of Interest
The Ranges Of Interest construct a range from a surge of high liquidity in the market. This range is constructed from the price high and price low of the candle with the associated significant liquidity.
The returned extremities can be used as support and resistance, with breakouts often being accompanied by significant liquidity as well, suggesting potential trend continuations.
The length setting associated with this feature determines how sensitive the range detection algorithm is to volume, with higher values requiring more significant volume in order to display a new range.
🔹 Impulses
Impulses highlight times when volume makes a new higher high while the price makes a new higher high or lower low, suggesting increased market participation.
When this occurs when the price makes a new higher high the impulse is considered bullish (green), if the price makes a new lower low the impulse is bearish (red).
Impulses occurring within an established trend opposite to it (e.g a bearish impulse on an uptrend) might be indicative of reversals.
The length setting works similarly to the previously described ranges of interest, with higher values requiring longer-term volume higher high and price higher high/lower low, highlighting more significant impulse and potentially longer-term reversals.
🔹 Levels Of Interest
Levels of interest display price levels of significant trading activity, contrary to the range of interest only the closing price is taken into account, also volume peaks are used to detect significant trading activity.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
Users can determine the amount of most recent levels to display on the chart. These can be used as classical support/resistances.
🔹 Volume Divergence
We define volume divergence as a decreased market participation while a trend is still developing.
More precisely volume divergences are highlighted if volume makes a lower high while price is making a new higher high/lower low.
This can be indicative of a lack of further participation in the current trend, indicating a potential reversal.
Using higher length values will return longer-term divergences.
Note that this feature is subject to backpainting, that is lines are set retrospectively.
🔶 SETTINGS
🔹 Ranges Of Interest
Show Ranges Of Interest: Display Ranges Of Interest.
Length: Ranges Of Interest sensitivity to volume.
🔹 Impulses
Show Impulses: Display Ranges Of Interest.
Length: Impulses sensitivity to volume.
🔹 Levels Of Interest
Show: Determine if Levels Of Interest are displayed, and how many from the most recent.
Length: Level detection sensitivity to volume.
🔹 Volume Divergences
Show Divergences: Determine if Volume Divergences are displayed.
Length: Period for the detection of price tops/bottoms and volume peaks.
EQ LEVELS / EquilibriumWhat is it, How to use it, How to adjust the settings? What Calculates EQ Level?
What is it?
EQ, Equilibrium, In the money market, the term "equilibrium" or "equilibrium" refers to the point at which supply and demand are equalised. At this point, money supply and money demand meet each other and interest rates stabilise at a certain level. Equilibrium in the money market reflects the overall financial balance in the economy
According to What Calculates the EQ Level?
Normally, there may be many different alternatives to this, but I have printed the result on the screen by adding the highest and lowest levels of the prices and averaging them to think of a simple solution.
How to use it?
I have added 4 timeframes for both long-term investors and traders to use. If you want to use which timeframe, you can select the timeframe you want from the settings and see it on the chart. For those who want to trade, my suggestion is to follow the daily eq levels and of course look at the weekly eq levels. The weekly eq level can give you an idea of what kind of price range the next day may be in.
How to Make Settings?
When you first add the indicator to the chart, it draws a line. You change it to a circle or plus in the settings, it will look like the picture I shared. I also share open source code and can make changes in the code.
Nedir?, Nasıl Kullanılır?, Ayarları Nasıl Yapılır? EQ Seviyesini Neye Göre Hesaplar?
Nedir?:
EQ yani Equilibrium, Para piyasasında "denge" veya "equilibrium" terimi, arz ve talebin eşitlendiği noktayı ifade eder. Bu noktada, para arzı ile para talebi birbirini karşılar ve faiz oranları belirli bir seviyede dengelenir. Para piyasasındaki denge, ekonomideki genel finansal dengeyi yansıtır
EQ Seviyesini Neye Göre Hesaplar?
Normalde bunun farlı bir çok alternatifi olabilir ama ben biraz basit bir çözüm düşünmek için fiyatların en yüksek ve en düşük seviyelerini toplayarak ve ortalamasını alarak çıka sonucu ekrana yazdırdım.
Nasıl Kullanılır?
Hem uzun vadeli yatırım yapanlar hem de trade yapanların kullanabilmesi için 4 zaman dilimi ekledim. Hangi zaman dilimini kullanmak istiyorsanız ayarlardan istediniz zaman dilimini seçip onu grafikte görebilirsiniz. Trade yapmak isteyenler için önerim günlük eq seviyelerini takip etmeleri ve tabiki haftalık eq seviyelerine bakın. Haftalık eq seviyesi size bir sonra ki günün nasıl bir fiyat aralığı içerisinde olabileceği konusunda fikir verebilir.
Ayarları Nasıl Yapılır?
Grafiğe indikatörü ilk eklediğiniz de çizgi çizdirir. Siz ayarlardan onu daire veya artı olarak değiştirin benim paylaştığım resimde ki gibi görünecektir. Ayrıca açık kaynak kodlu paylaşıyorum isteyen kod içerisinde değişiklikler yapabilir.
Reversal Confirmations [QuantVue]The Reversal Confirmation Indicator is based on price action and looks to provide opportunities when price gets stretched.
The indicator works by finding the highest and lowest points over the user selected lookback period.
If price closes below the low of the highest bar or closes above the high of the lowest bar a possible reversion to the mean may occur and the indicator will plot a triangle and fire an alert.
This indicator works a reversion to the mean or to potentially time entries in trending markets.
Fully customizable settings:
🔹Lookback Period
🔹Colors
🔹Show / hide upper & lower channels
🔹Show / hide the mean
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
CCPD Candle Color Price DetectorThe "CCPD Candle Color Price Detector" is a custom indicator developed for TradingView, a popular platform for technical analysis and trading. This indicator assists traders in identifying potential trend reversals and assessing market sentiment based on candlestick color changes and key price levels.
This indicator operates as follows:
Color Change Detection: It primarily focuses on the color of candlesticks (green for bullish and red for bearish). When a candlestick closes higher than it opens, it is considered green (bullish), and when it closes lower, it is red (bearish).
High and Low Analysis: The indicator calculates the highest high and lowest low over a user-defined number of bars (specified by the 'Bars for High/Low' input parameter). This helps identify recent price extremes.
Midpoint Calculation: It then computes the midpoint between the highest high and lowest low, effectively determining a central reference point within the specified period.
Signal Generation: Buy and sell signals are generated based on the relationship between the current candlestick's close price, the midpoint, and the candlestick color. Buy signals occur when a green candle closes above the midpoint, suggesting potential bullish momentum. Conversely, sell signals trigger when a red candle closes below the midpoint, indicating possible bearish pressure.
Visualization: The indicator visualizes the highest high, lowest low, midpoint, and additional lines to aid in understanding the price action and potential reversal points.
Alerts: It provides alerts for buy and sell signals, allowing traders to receive notifications when potential trading opportunities arise.
Usage:
Traders can utilize the "CCPD Candle Color Price Detector" in the following ways:
Trend Reversal Identification: This indicator can help traders spot potential trend reversals by signaling when candlestick colors change and close near the midpoint. Buy and sell signals offer entry points for trades based on these reversals.
Confirmation Tool: It can be used in conjunction with other technical analysis tools to confirm trading decisions. For example, a buy signal from this indicator, coupled with a bullish trendline break or a bounce from a key support level, may provide a stronger bullish signal.
Risk Management: By understanding potential reversal points and using stop-loss orders, traders can better manage their risk and protect their capital when entering positions based on the indicator's signals.
Customization: The indicator allows users to adjust the number of bars for high/low calculations, making it adaptable to different trading strategies and timeframes.
In summary, the "CCPD Candle Color Price Detector" is a versatile indicator that can aid traders in spotting potential trend changes, enhancing trading decisions, and managing risk effectively. However, like any trading tool, it should be used in conjunction with other analysis methods and risk management strategies for optimal results.
Incomplete Session Candle - Incomplete Timeframe Candle Marker The "Incomplete Session Candle - Incomplete Timeframe Candle Marker" is an advanced tool tailored for technical analysts who understand the importance of accurate timeframes in their charting. While the indicator is not limited to the Indian market, its genesis is rooted in the nuances of trading sessions like those in India, which span 375 minutes from 9:15 AM to 3:30 PM.
Key Features:
Detects if the current timeframe is intraday (minutes or hours).
Calculates the expected duration of the candle for the chosen timeframe.
Highlights candles that don't achieve their expected session duration by placing a cross shape above the bar.
Compatible across various intraday timeframes, aiding traders in spotting discrepancies promptly.
Why We Made This: Not Just for India:
While we looked at the Indian market, this indicator works everywhere. Regular timeframes like 30 minutes, 1 hour, and 2 hours often end with incomplete candles, especially at the end of the trading day. For example:
A 30-minute timeframe makes 13 candles, but the last one is only 15 minutes long.
A 1-hour timeframe shows 7 candles, but the last one is just the last 15 minutes.
By switching to different timeframes like 25 minutes, 75 minutes, and 125 minutes, you get more complete information for better trading decisions. Learn more about this in our article: "Power of 25, 75, and 125-Minute Timeframes in the Indian Market", recognized by Trading View's Editors' Pick.
Benefits:
The indicator extends its benefits even to users without access to certain timeframes. It accommodates traders using a 1-hour timeframe (pertaining to Indian traders). By employing this indicator, traders consistently remain mindful of incomplete candles within their chosen timeframe
For those who utilize concepts like RBR, RBD, DBR, and DBD, this indicator is paramount. An incomplete candle can skew analysis, leading to potential misinterpretations of base or leg candles.
Final thoughts:
In markets like the Indian stock market, adopting such a tool is not just beneficial, but necessary. Whether you have access to unconventional timeframes or are using traditional ones, recognizing and accounting for the limitations of incomplete candles is critical & it's important to know if your candles fit the timeframe properly. This indicator gives you a better view of the market, which helps you make smarter trades.
Lastly, Thank you for your support! Your likes & comments. If you want to give any feedback then you can give in comment section.
Let's conquer the markets together!
OrderBlock [kyleAlgo]The principle of this indicator
ATR (Average True Range) Setting: The code uses ATR to help calculate the Supertrend indicator.
Supertrend Trend Direction: Identify bullish and bearish trends with the Supertrend method.
Order Block Recognition: This part of the code recognizes and creates order blocks, visualizing them as boxes on the chart. If the number of blocks exceeds the maximum limit, old blocks will be deleted.
Function to prevent overlapping: check whether the new order block overlaps with the existing order block through the isOverlapping function.
Order block color setting: The code sets the color according to whether the block is bullish or bearish, and whether it breaks above or below. Afterwards the color of the existing order blocks will be updated.
Sensitivity settings: Through the input settings of factor and atrPeriod, the sensitivity of Supertrend and the detection of order blocks can be affected.
Visualization: Use TradingView's box.new function to draw and visualize order blocks on the chart.
Practicality:
Support and Resistance Levels: Order blocks may represent areas of support and resistance in the market. By visualizing these areas, traders can better understand when price reversals are likely to occur.
Trading Signals: Traders may be able to identify trading signals based on the color changes of blocks and price breakouts. For example, if the price breaks above a bullish block, this could be a signal to buy.
Risk Management: By using ATR to adjust the sensitivity of Supertrend, the symbol helps traders to adjust their strategies according to market volatility. This can be used as a risk management tool to help identify stop loss and take profit points.
Multi-timeframe analysis: Although the code itself does not implement multi-timeframe analysis directly, it can be done by applying this indicator on different timeframes. This helps to analyze the market from different angles.
Flexibility and Customization: Through sensitivity settings, traders can customize the indicator according to their needs and trading style.
Reduced screen clutter: By removing overlapping order blocks and limiting the maximum number of order blocks, this code helps reduce clutter on charts, allowing traders to analyze the market more clearly.
Overall, this "Pine Script" can be a powerful analytical tool for trend traders and those looking to improve their trading decisions by visualizing key market areas. It can be used alone or combined with other indicators and trading systems for enhanced functionality.
PDHL levels with INTRADAY Auto FIBThe present script includes Previous day High/low levels and once the PDH or PDL breaks the present bar's background changes color according to the direction of price breakout.
It's helpful when working on lower timeframe charts with small screen space, so that the user can know that the PDHL has been taken out in one glance at the chart instead of scrolling all around to find out whether the PDH or PDL are broken or not.
The high and low of day before yesterday are also plotted for reference.
The intraday fib levels get drawn taking present day's high and low into account, useful to mark support/retest levels.
The color of the intraday AUTO FIB high and low lines also change from gray to respective assigned colors once the present day price crosses PDH or PDL this is helpful while viewing charts on mobile app.
Disclaimer: Only for studying price movement ideas, trading is not advised.
FastlaneIt will show a Marking (dot) above/below the candle where the Volume is 500000 and is up more than 5%.
Support & Resistance Dynamic [LuxAlgo]The Support & Resistance Dynamic indicator aims to return real-time predictive support and resistance zones that are relevant to a detected trend. This makes this indicator similar to our previously published Predictive Ranges indicator.
Users can additionally extend the most recent historical support and resistance zones.
🔶 USAGE
Hypothetical resistance levels in an up-trend or supports in a down-trend would tend to be broken more easily, as such the indicator primary objective is to return reliable real-time support and resistance levels by taking this into account.
When the market is up-trending the indicator will only return support zones, while a down-trending market will cause the indicator to only return resistance zones.
If the price significantly breaks a support/resistance, rendering it unreliable, it can be a sign of a potential reversal.
Users can return support/resistance levels/zones for shorter-term trends by reducing the Multiplicative Factor setting.
🔹 Extension
Users can extend past estimated support/resistance levels, the amount of extended levels is determined by the users. Certain levels can stay relevant in the future, and can also aid in measuring the significance of a breakout, with further past levels being reached being indicative of more significant trends.
🔶 DETAILS
To determine if the price is up-trending or down-trending in order to show either support or resistance, the same method used in the predictive ranges script is used. A central tendency is estimated, if price significantly deviates from it upward an uptrend is detected, else a significant deviation downward would indicate a downtrend.
The central tendency estimate is used for the construction of the support and resistance levels.
🔶 SETTINGS
Multiplicative Factor: Determines the frequency at which new supports/resistances are returned, with lower values returning more frequent levels/zones.
ATR Length: ATR averaging length used as deviation threshold for the central tendency estimate.
Extend Last: Determines the amount of most recent historical supports/resistances to extend to the latest bar.
Wick-to-Body Ratio Trend Forecast | Flux ChartsThe Wick-to-Body Ratio Trend Forecast Indicator aims to forecast potential movements following the last closed candle using the wick-to-body ratio. The script identifies those candles within the loopback period with a ratio matching that of the last closed candle and provides an analysis of their trends.
➡️ USAGE
Wick-to-body ratios can be used in many strategies. The most common use in stock trading is to discern bullish or bearish sentiment. This indicator extends candle ratios, revealing previous patterns that follow a candle with a similar ratio. The most basic use of this indicator is the single forecast line.
➡️ FORECASTING SYSTEM
This line displays a compilation of the averages of all the previous trends resulting from those historical candles with a matching ratio. It shows the average movements of the trends as well as the 'strength' of the trend. The 'strength' of the trend is a gradient that is blue when the trend deviates more from the average and red when it deviates less.
Chart: AMEX:SPY 30 min; Indicator Settings: Loopback 700, Previous Trends ON
The color-coded deviation is visible in this image of the indicator with the default settings (except for Forecast Lines > Previous Trends ), and the trend line grows bluer as the past patterns deviate more.
➡️ ADAPTIVE ACCEPTABLE RANGE
The algorithm looks back at every candle within the loopback period to find candles that match the last closed candle. The algorithm adaptively changes the acceptable range to which a candle can differ from the ratio of the last closed candle. The algorithm will never have more than 15 historical points used, as it will lower its sensitivity before it reaches that point.
Chart: BITSTAMP:BTCUSD 5 min; Indicator Settings: Loopback 700
Here is the BTC chart on 7/6/23 with default settings except for the loopback period at 700.
Chart: BITSTAMP:BTCUSD 5 min; Indicator Settings: Loopback 200
Here is the exact same chart with a loopback period of 200. While the first ratio for both is the same, a new ratio is revealed for the chart with a loopback of only 200 because the adaptive range is adjusted in the algorithm to find an acceptable number of reference points. Note the table in the top right however, while the algorithm adapts the acceptable range between the current ratio and historical ones to find reference points, there is a threshold at which candles will be considered too inaccurate to be considered. This prevents meaningless associations between candles due to a particularly rare ratio. This threshold can be adjusted in the settings through "Default Accuracy".
Days Higher Than Current PriceThe "Days Higher Than Current Price" indicator is a color-coded tool that provides insights into the historical price performance of an underlying asset. By analyzing the number of bars prior to the selected day that had higher closing prices, this indicator visually represents the comparative strength or weakness of the current price level.
The "Days Higher" indicator utilizes a color-coded scheme to indicate the number of days in the asset's price history where the closing prices were higher than the current day's price. The color spectrum ranges from red to blue, representing varying levels of historical price strength.
Color Coding:
The color coding scheme of the indicator offers a quick and intuitive understanding of the price performance:
Red: Represents a higher number of days in the asset's price history where the closing prices were higher than the current day's price. This suggests a weaker price trend or a potential reversal and indicates relative price weakness.
Blue: Represents a lower number of days in the asset's price history where the closing prices were higher than the current day's price. This indicates a strong trend of higher prices and suggests relative price strength.
Orange & Green: Correspond to different numbers of days where the closing prices were higher than the current day's price. The specific color gradations between red and blue reflect increasing or decreasing historical price strength.
Methodology:
The "Days Higher" indicator examines each bar in the asset's price history leading up to the selected day. It counts the number of bars where the closing prices were higher than the current day's price.
The indicator then assigns a specific color to the price chart based on the count of such days, providing a visual representation of historical price strength relative to the current price level.
Utility:
The "Days Higher" indicator offers traders and investors a unique perspective on the historical price performance of an asset. By assessing the color-coded chart, market participants can quickly gauge the presence of strong or weak historical price trends.
This information can be used to identify potential support or resistance levels, assess the overall strength of a trend, or evaluate the likelihood of a price reversal. Traders may incorporate this indicator into their analysis to make more informed trading decisions based on the historical price strength indicated by the color-coded chart.
It is important to note that this tool should be used in conjunction with other technical analysis tools and indicators to validate signals and make well-rounded trading decisions.
Example Charts:
-Indices-
-Stocks-
-Cryptos-
-Multi-Timeframe-
lib_priceactionLibrary "lib_priceaction"
a library for everything related to price action, starting off with displacements
displacement(len, min_strength, o, c)
calculate if there is a displacement and how strong it is
Parameters:
len (int) : The amount of candles to consider for the deviation
min_strength (float) : The minimum displacement strength to trigger a signal
o (float) : The source series on which calculations are based
c (float) : The source series on which calculations are based
Returns: a tuple of (bool signal, float displacement_strength)
Liquidity Sweeps and RaidsThis basic script calculates and plots runs on liquidity levels through Raids and Sweeps. When the price violates the 3 fractal level, a raid or sweep occurs. You can use it to automate markup, understand liquidity levels, and reduce human error in your analysis. Additionally, you can set up an alarm to notify you when new sweeps or raids occur. Combine it with your current strategy or try any price action theory you prefer. Essentially, the price always seeks liquidity, so when some of it is taken, it makes sense to look for a reaction and potential reversal. Stay ahead by capitalizing on liquidity insights for potential reversals. Cheers, Cancamurria.
K's Pivot PointsPivot points are a popular technical analysis tool used by traders to identify potential levels of support and resistance in a given timeframe. Pivot points are derived from previous price action and are used to estimate potential price levels where an asset may experience a reversal, breakout, or significant price movement.
The calculation of pivot points involves a simple formula that takes into account the high, low, and close prices from the previous trading session or a specific period. The most commonly used pivot point calculation method is the "Standard" or "Classic" method. Here's the formula:
Pivot Point (P) = (High + Low + Close) / 3
In addition to the pivot point itself, several support and resistance levels are calculated based on the pivot point value.
K's Pivot Points try to enhance them by incorporating multiple elements and by applying a re-integration strategy to validate two events:
* Found_Support: This event represents a basing market that is bound to recover or at least shape a bounce.
* Found_Resistance: This event represents a toppish market that is bound to consolidate or at least shape a pause.
K's Pivot Points are calculated following these steps:
1. Calculate the highest of highs for the previous 24 periods (preferably hours).
2. Calculate the lowest of lows for the previous 24 periods (preferably hours).
3. Calculate a 24-period (preferably hours) moving average of the close price.
4. Calculate K's Pivot Point as the average between the three previous step.
5. To find the support, use this formula: Support = (Lowest K's pivot point of the last 12 periods * 2) - Step 1
6. To find the resistance, use this formula: Resistance = (Highest K's pivot point of the last 12 periods * 2) - Step 2
The re-integration strategy to find support and resistance areas is as follows:
* A support has been found if the market breaks the support and shapes a close above it afterwards.
* A resistance has been found if the market surpasses the resistance and shapes a close below it afterwards.
The lookback period (whether 24 and 12) can be modified but the default versions work well.
Price Delta HeatmapThe Price Delta Heatmap is an indicator designed to visualize the price changes of an asset over time. It helps traders identify and analyze significant price movements and potential volatility. The indicator calculates the price delta, which is the difference between the current close price and the previous close price. It then categorizes the price deltas into different color ranges to create a heatmap-like display on the chart.
The indicator uses user-defined thresholds to determine the color ranges. These thresholds represent the minimum price change required for a specific color to be assigned. The thresholds are adjustable to accommodate different asset classes and trading strategies. Positive price deltas are associated with bullish movements, while negative price deltas represent bearish movements.
The indicator plots bars color-coded according to the price delta range it falls into. The color ranges can be customized to match personal preferences or specific trading strategies. Additionally, the indicator includes signal shapes below the bars to highlight significant positive or negative price deltas. Traders can adjust the threshold values based on their preferred sensitivity to price changes. Higher threshold values may filter out minor price movements and focus on more significant shifts, while lower threshold values will capture even minor fluctuations.
****The default settings have the thresholds set to levels of 100, 50, 20, 10, 0, -10, -20, -50, and -100. These numbers are well-suited for assets such as Ethereum or Bitcoin which are larger in price than an asset that has a price of $1.50, for example. To compensate, adjust the thresholds in the settings to reflect the price delta on the desired asset. All coloration and horizontal line plots will adjust to reflect these changes.****
Traders can interpret the Price Delta Heatmap as follows:
-- Bright green bars indicate the highest positive price deltas, suggesting strong bullish price movements.
-- Green bars represent positive price deltas above the third threshold, indicating significant bullish price changes.
-- Olive bars indicate positive price deltas above the second threshold, suggesting moderate bullish price movements.
-- Yellow bars represent positive price deltas above the lowest threshold, indicating minor bullish price changes. This color is reflected on the negative side as well. Yellow bars below zero indicate negative price deltas below the lowest threshold, suggesting minor bearish price changes.
-- White bars represent zero price deltas, indicating no significant price movement.
-- Orange bars represent negative price deltas below the second threshold, indicating moderate bearish price movements.
-- Red bars indicate negative price deltas below the third threshold, suggesting significant bearish price changes.
-- Maroon bars represent the lowest negative price deltas, indicating strong bearish price movements.
The coloration of the Price Delta line itself is determined by the line's relation to the second positive and second negative thresholds (default +/- 20) - if the line is above the second positive threshold, the line is colored lime (and is reflected in a lime arrow at the bottom of the indicator); if the line is below the second negative threshold, the line is colored fuchsia (also reflected as an arrow); if the line is between thresholds, it is colored aqua.
The Price Delta Heatmap can be used in various trading strategies and applications. Some potential use cases include:
-- Trend identification : The indicator helps traders identify periods of high volatility and potential trend reversals.
-- Volatility analysis : By observing the color changes in the heatmap, traders can gauge the volatility of an asset and adjust their risk management strategies accordingly.
-- Confirmation tool : The indicator can be used as a confirmation tool alongside other technical indicators, such as trend-following indicators or oscillators.
-- Breakout trading : Traders can look for price delta bars of a specific color range to identify potential breakout opportunities.
However, it's important to note that the Price Delta Heatmap has certain limitations. These include:
-- Lagging nature : The indicator relies on historical price data, which means it may not provide real-time insights into price movements.
-- Sensitivity to thresholds : The choice of threshold values affects the indicator's sensitivity and may vary depending on the asset being traded. It requires experimentation and adjustment to find optimal values.
-- Market conditions : The indicator's effectiveness may vary depending on market conditions, such as low liquidity or sudden news events.
Traders should consider using the Price Delta Heatmap in conjunction with other technical analysis tools and incorporate risk management strategies to enhance their trading decisions.
Session Tick-BoxThe "Session Tick-Box" is designed to display session-related information on the chart (HIGH/LOW box). Here's a breakdown of its features and functionalities:
Session Settings:
You can specify different sessions such as the Cash Session, Asian Session, European Session, and Offset Session using the input.session() function.
The sat.session_tick() function is used to calculate the low, high, fill color, open bar status, and session open status for each session.
Display Settings:
You have the option to show a new daily session using the separateDays input. The background color for the new session can be customized using the Day_Bg input.
The colorDays input allows you to enable or disable coloring the background based on different days of the week.
You can customize the colors for the Cash, Asian, European, and Offset sessions using the respective color inputs.
Other Features:
The indicator calculates the percentage change between the low and high of each session using the sat.AbsPercentChange() function.
Labels are added to mark the high and low points of the sessions.
A vertical line is drawn between the low and high points of each session using the line.new() function.
The fill() function is used to create a shaded area between the low and high lines of each session.
Overall, the "Session Tick-Box" indicator provides visual representation and analysis of different sessions on the chart, including their respective ranges and percentage changes.
Price Percentage Shaded CandlesDescription:
The Price Percentage Shaded Candles indicator (P%SC) is a technical analysis tool designed to represent price candles on a chart with shading intensity based on the percentage change between the open and close prices. This overlay indicator enhances visual analysis by providing a visual representation of price movement intensity.
How it Works:
The P%SC indicator calculates the percentage change between the open and close prices of each candle. It then determines the shading intensity of the price candles based on this percentage change. Higher percentage changes result in darker shading, while lower percentage changes result in lighter shading.
Usage:
To effectively utilize the Price Percentage Shaded Candles indicator, follow these steps:
1. Apply the Price Percentage Shaded Candles indicator to your chart by adding it from the available indicators.
2. Configure the indicator's inputs:
- Specify the color for bullish candles using the "Bullish Color" input.
- Specify the color for bearish candles using the "Bearish Color" input.
3. Observe the shaded candles on the chart:
- Bullish candles are colored with the specified bullish color and shaded according to the percentage change.
- Bearish candles are colored with the specified bearish color and shaded according to the percentage change.
4. Interpret the shaded candles:
- Darker shading indicates a higher percentage change and stronger price movement during the corresponding candle.
- Lighter shading indicates a lower percentage change and weaker price movement during the corresponding candle.
5. Combine the analysis of shaded candles with other technical analysis tools, such as trend lines, support and resistance levels, or candlestick patterns, to identify potential trade setups.
6. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Note: The Price Percentage Shaded Candles indicator provides insights into the shading intensity of price candles based on percentage changes. However, it is recommended to use this indicator in conjunction with other technical analysis tools and perform thorough analysis before making trading decisions.
Price Percentage Breakout by Time PeriodDescription:
The Price Percentage Breakout by Time Period (P%BTP) indicator is a technical analysis tool designed to identify potential breakout signals based on the percentage change in price over a specified lookback period. It helps traders identify significant price movements that exceed a user-defined threshold, indicating potential trading opportunities.
How it Works:
The P%BTP indicator calculates the percentage change between the open and close prices of each candle. It compares this percentage change to the highest percentage change observed over the specified lookback period. When the percentage change exceeds or equals this highest value, it indicates a potential breakout signal. The indicator colors the bars on the chart based on whether it's a bullish or bearish breakout.
Usage:
To effectively utilize the Price Percentage Breakout by Time Period indicator, follow these steps:
1. Apply the P%BTP indicator to your chart by adding it from the available indicators.
2. Customize the input settings to suit your preferences. You can define the lookback period, which determines the number of bars used for calculating the percentage change, as well as choose colors for bullish and bearish breakouts.
3. Observe the bars on the chart:
- Bars highlighted in the bullish color indicate potential bullish breakout signals.
- Bars highlighted in the bearish color indicate potential bearish breakout signals.
4. Interpret the breakout signals:
- A bullish breakout signal occurs when the percentage change in price exceeds or equals the highest percentage change observed over the lookback period, indicating a potential upward movement.
- A bearish breakout signal occurs when the percentage change in price exceeds or equals the highest percentage change observed over the lookback period, indicating a potential downward movement.
5. Consider additional analysis:
- Combine the breakout signals from the P%BTP indicator with other technical analysis tools, such as support and resistance levels, trend lines, or candlestick patterns, to confirm potential trade setups.
6. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Note: The Price Percentage Breakout by Time Period indicator provides insights into potential breakout signals based on the percentage change in price over a specified lookback period. However, it is recommended to use this indicator in conjunction with other technical analysis tools and perform thorough analysis before making trading decisions.
Price Percentage Breakout by Chosen PercentageDescription:
The Price Percentage Breakout indicator (P%B) is a technical analysis tool designed to identify potential breakout signals based on percentage changes in price. It helps traders identify significant price movements that exceed a specified threshold, indicating potential trading opportunities.
How it Works:
The Price Percentage Breakout indicator calculates the percentage change between the open and close prices of each candle. It compares this percentage change to a user-defined threshold to determine if a breakout has occurred. When the percentage change exceeds the threshold, indicating a significant price movement, the indicator highlights the breakout on the chart. Additionally alerts can be created by the user that display the percentage of the breakout.
Usage:
To effectively utilize the Price Percentage Breakout indicator, follow these steps:
1. Apply the P%B indicator to your chart by adding it from the available indicators.
2. Customize the input settings to suit your preferences. You can choose the color for highlighting the breakout and set the percentage threshold for detecting breakouts.
3. Observe the bars on the chart:
- Bars highlighted in the chosen color indicate potential breakout signals.
4. Interpret the breakout signals:
- A breakout signal occurs when the percentage change in price exceeds the specified threshold. This suggests a significant price movement.
5. Consider additional analysis:
- Combine the breakout signals from the Price Percentage Breakout indicator with other technical analysis tools, such as support and resistance levels, trend lines, or candlestick patterns, to confirm potential trade setups.
6. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Note: The Price Percentage Breakout indicator provides insights into potential breakout signals based on percentage changes in price. However, it is recommended to use this indicator in conjunction with other technical analysis tools and perform thorough analysis before making trading decisions.