Volume Profile cheap copyIn the absence of TradingView's open-source Volume Profile (hereinafter referred to as VP) indicator code, I have replicated it. However, because this code is classified as an "indicator" rather than a "tool," it cannot allow users to define the range according to their preferences. In the code, I have set different periods, and users can input 0, 1, or 2 to let the indicator calculate the volume distribution from the earliest candle to the latest candle within the daily, weekly, or monthly range, respectively.
How can we prove that this code is consistent with TradingView's algorithm?
Firstly, the calculation or drawing process of VP starts from the earliest candle in the selected range. After calling TradingView's built-in "Fixed Range Volume Profile" (FRVP) tool, you can enter the settings interface of the tool and check both "developing POC" and "Value Area (VA)." The paths of POC, VAH, and VAL will appear in the chart. These paths are the changes in the values of POC, VAH, and VAL as the number of candles increases. If the paths shown by my indicator are the same as those shown by TradingView's VP indicator, then it proves the algorithms are consistent. Since VP itself is calculated based on volume, the high and low points of candles, and the opening and closing prices, if the data sources are consistent, the calculation results (the paths of POC, VAH, and VAL) will remain consistent over time. This can be used to infer that the algorithms are consistent. Additionally, the parameters of the two indicators (number of rows and value area ratio) must be the same to verify consistency. The number of rows in the indicator is usually set to 100 by default, and the value area ratio is 70. Therefore, the parameters in FRVP should also be set to 100 rows and a value area volume of 70.
Why is there a noticeable discrepancy?
When the start and end points of the VP remain unchanged, reducing the chart's time frame can improve accuracy. For example, when calculating the weekly VP, switching from a 1-hour time frame to a 5-minute time frame can make the indicator more closely match TradingView's native VP. Tests have shown that TradingView's native VP may not use the data displayed on the current chart for its calculations. For instance, the VP may use data from the 5-minute time frame even if the chart is displayed in the 1-hour time frame. However, my replicated VP calculates based on the chart's data, so differences in time frames will affect accuracy.
Current algorithm deficiencies
This replicated VP code is merely a demo and does not handle data updates. In other words, after the latest candle closes, the VP needs to be recalculated, but this recalculation step is not handled, which will cause errors. To resolve this issue, you only need to switch the time frame or delete the indicator and re-add it.
Pivot-Punkte und Levels
Smart Market Structure and Swing Points, version 1.0Smart Market Structure and Swing Points, Version 1.0
Overview
The Smart Market Structure and Swing Points script is designed to provide advanced insights into market structure and key swing points. This script helps identify important highs and lows, trend direction changes (structure breaks), and swing points, enhancing decision-making for both trend-following and reversal strategies. See below for detail presentation and why it has unique features.
Unique Features of the New Script
Market Structure Identification : Analyzes and marks key highs and lows to determine market structure, including higher highs, lower highs, higher lows, and lower lows.
Customizable Detection Length : Allows users to set the length for detecting highs and lows, providing flexibility to adapt to different market conditions and timeframes. Default value is 5 bars, but can be changed if needed.
Visual Signal Indicators (Labels) : Plots labels on the chart to indicate higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL), along with corresponding RSI values, offering clear visual cues for market structure analysis. The indication of RSI values directly on high and low points enables to better judge whether the points are strong references (extreme RSI values) or weak references (middle RSI values)
Dynamic Trend Lines : Draws solid and dotted lines to connect significant highs and lows, visually representing the current trend direction and potential trend changes. Dashed lines indicates structure breaks.
Swing High and Swing Low Detection : Identifies and marks the most recent swing highs and swing lows, helping traders spot potential reversal points and key levels for setting stop losses or take profit targets .
Originality and Usefulness
This script combines market structure, trend breaks and RSI to provide a more robust view of market dynamic by indicating the strength or weakness of swing points , in that way the script is unique.
Signal Description
The script includes various signal features that highlight potential trading opportunities based on market structure:
Higher Highs (HH) and Higher Lows (HL) : These labels are plotted when new highs or lows are formed, indicating a continuation of an uptrend. The labels are positioned with consideration of the Average True Range (ATR) for better visibility.
Lower Highs (LH) and Lower Lows (LL) : These labels are plotted when new highs or lows are formed, indicating a continuation of a downtrend. The labels include RSI values to provide additional information on the strength or weakness of the points.
Trend Direction Change : Dotted lines are drawn to indicate potential trend direction changes when the script detects significant shifts in market structure.
Swing Highs and Swing Lows : These are identified based on a customizable swing length, marking recent significant highs and lows to highlight potential reversal points.
These signals help identify high-probability turning points and confirm trend direction by ensuring that the market structure aligns with the trading strategy.
Detailed Description
Input Variables
Length for High/Low Detection (`length`) : Defines the range to check for highs and lows. Default is 5.
RSI Length (`rsilength`) : The number of periods to calculate the RSI. Default is 14.
Functionality
Market Structure Calculation : The script determines the highest high and lowest low within the specified range to identify key points in market structure.
```pine
h = ta.highest(high, length * 2 + 1)
l = ta.lowest(low, length * 2 + 1)
```
Directional Logic : Variables and functions manage the state of the indicator, updating highs and lows based on the current trend direction.
```pine
var bool dirUp = false
var float lastLow = high * 100
var float lastHigh = 0.0
// Additional variables for tracking state
```
Drawing Lines and Labels : Functions draw lines and labels on the chart to visualize market structure and trend changes.
```pine
f_drawLine() =>
_li_color = dirUp ? color.red : color.lime
line.new(x1=timeHigh - length, y1=lastHigh, x2=timeLow - length, y2=lastLow, color=_li_color, width=3, style=line.style_solid, xloc=xloc.bar_index)
f_drawLastLine() =>
_li_color = dirUp ? color.blue : color.blue
if timeHigh > timeLow
line.new(x1=timeHigh - length, y1=lastHigh, x2=bar_index, y2=low, color=_li_color, width=2, style=line.style_dotted, xloc=xloc.bar_index)
else
line.new(x1=timeLow - length, y1=lastLow, x2=bar_index, y2=high, color=_li_color, width=2, style=line.style_dotted, xloc=xloc.bar_index)
```
Updating Highs and Lows : The main logic updates highs and lows based on the current trend direction, adding labels for new higher highs, lower highs, higher lows, and lower lows.
```pine
if dirUp
if f_isMin(length)
lastLow := low
// Additional logic for updating lows and labels
if f_isMax(length) and high > lastLow
lastHigh := high
// Additional logic for updating highs and labels
dirUp := false
li := f_drawLine()
```
Swing Highs and Lows : The script identifies recent swing highs and swing lows based on a customizable swing length, drawing lines to mark these points.
```pine
swingLength = 3 * length
isSwingHigh = ta.highestbars(high, swingLength) == 0
isSwingLow = ta.lowestbars(low, swingLength) == 0
if (isSwingHigh)
if (na(highLine))
highLine := line.new(bar_index, high, bar_index, high, color=color.green, style=line.style_solid, width=1)
else
line.set_xy1(highLine, bar_index, high)
line.set_xy2(highLine, bar_index + swingLength, high)
if (isSwingLow)
if (na(lowLine))
lowLine := line.new(bar_index, low, bar_index, low, color=color.red, style=line.style_solid, width=1)
else
line.set_xy1(lowLine, bar_index, low)
line.set_xy2(lowLine, bar_index + swingLength, low)
```
How to Use
Configuring Inputs : Adjust the detection length and RSI length as needed. Modify the lookback periods to suit your trading strategy. The indicator is adaptable and can be used on any timeframe.
Interpreting the Indicator : Use the labels and lines to gauge market structure and trend direction. Look for higher highs, lower highs, higher lows, and lower lows to confirm market structure.
Signal Confirmation : Pay attention to the labels and lines that provide signals for potential trend changes and swing points. Use these signals to better time entries and exits.
This script provides a detailed view of market structure and swing points, helping make more informed decisions by considering key highs and lows, trend direction changes, and the strength or weakness of swing points.
Ocs Ai TraderThis script perform predictive analytics from a virtual trader perspective!
It acts as an AI Trade Assistant that helps you decide the optimal times to buy or sell securities, providing you with precise target prices and stop-loss level to optimise your gains and manage risk effectively.
System Components
The trading system is built on 4 fundamental layers :
Time series Processing layer
Signal Processing layer
Machine Learning
Virtual Trade Emulator
Time series Processing layer
This is first component responsible for handling and processing real-time and historical time series data.
In this layer Signals are extracted from
averages such as : volume price mean, adaptive moving average
Estimates such as : relative strength stochastics estimates on supertrend
Signal Processing layer
This second layer processes signals from previous layer using sensitivity filter comprising of an Probability Distribution Confidence Filter
The main purpose here is to predict the trend of the underlying, by converging price, volume signals and deltas over a dominant cycle as dimensions and generate signals of action.
Key terms
Dominant cycle is a time cycle that has a greater influence on the overall behaviour of a system than other cycles.
The system uses Ehlers method to calculate Dominant Cycle/ Period.
Dominant cycle is used to determine the influencing period for the underlying.
Once the dominant cycle/ period is identified, it is treated as a dynamic length for considering further calculations
Predictive Adaptive Filter to generate Signals and define Targets and Stops
An adaptive filter is a system with a linear filter that has a transfer function controlled by variable parameters and a means to adjust those parameters according to an optimisation algorithm. Because of the complexity of the optimisation algorithms, almost all adaptive filters are digital filters. Thus Helping us classify our intent either long side or short side
The indicator use Adaptive Least mean square algorithm, for convergence of the filtered signals into a category of intents, (either buy or sell)
Machine Learning
The third layer of the System performs classifications using KNN K-Nearest Neighbour is one of the simplest Machine Learning algorithms based on Supervised Learning technique.
K-NN algorithm assumes the similarity between the new case/data and available cases and put the new case into the category that is most similar to the available categories.
K-NN algorithm stores all the available data and classifies a new data point based on the similarity. This means when new data appears then it can be easily classified into a well suite category by using K- NN algorithm. K-NN algorithm can be used for Regression as well as for Classification but mostly it is used for the Classification problems.
Virtual Trade Emulator
In this last and fourth layer a trade assistant is coded using trade emulation techniques and the Lines and Labels for Buy / Sell Signals, Targets and Stop are forecasted!
How to use
The system generates Buy and Sell alerts and plots it on charts
Buy signal
Buy signal constitutes of three targets {namely T1, T2, T3} and one stop level
Sell signal
Sell signal constitutes of three targets {namely T1, T2, T3} and one stop level
What Securities will it work upon ?
Volume Informations must be present for the applied security
The indicator works on every liquid security : stocks, future, forex, crypto, options, commodities
What TimeFrames To Use ?
You can use any Timeframe, The indicator is Adaptive in Nature,
I personally use timeframes such as : 1m, 5m 10m, 15m, ..... 1D, 1W
This Script Uses Tradingview Premium features for working on lower timeframes
In case if you are not a Tradingview premium subscriber you should tell the script that after applying on chart, this can be done by going to settings and unchecking "Is your Tradingview Subscription Premium or Above " Option
How To Get Access ?
You will need to privately message me for access mentioning you want access to "Ocs Ai Trader" Use comment box only for constructive comments. Thanks !
Supply & Demand Trade Analyzer by NYTCSupply and Demand Trade Analyzer
Automatic Zone Identification
• Identifies high quality supply and demand zones on multiple timeframes
• Shows the prices for each zone so the user may easily identify actionable prices to buy or sell
• Once a zone is no longer valid, it is automatically removed from the chart to keep the workspace clean.
• Includes all 4 zone formations: DBR, RBR, RBD and DBD
What are supply and demand zones?
Supply and demand zones are visual representations of areas where there has been a price imbalance. Whenever a demand imbalance is detected, the indicator will plot a green demand zone which may be used as an area to buy under the right market conditions, such as an uptrend or to take profit on a short position. Also, whenever a supply imbalance is detected, the indicator will plot a red supply zone which may be used as an area to sell under the right conditions such as a downtrend or to take profit on a long position.
Automatic Trend Analysis
Proper trend analysis is one of the most important steps in successfully trading or investing in the financial markets as it helps the trader determine which side of the market, he/she wants to take: long or short. For this reason, we decided to also include in this indicator our unique trend analysis technique that utilizes highs and lows to detect when trends begin, how they continue and when they end. The indicator is able properly identify uptrends (Higher Highs and Higher Lows), downtrend (Lower Highs and Lower Lows), and sideways trends (relatively equal highs and lows, higher highs but lower lows or lower highs but higher lows).
• The trader can toggle this feature on or off as needed.
• Our unique trend indicator is located at the bottom of the chart so, as not to interfere with the candles and hide important information.
• When the indicator shows green, the trend is up, when it shows red, the trend is down and sideways when the indicator shows grey.
How it works
Being that supply and demand zones are areas of potential imbalance, under the right conditions price may reverse at these zones. Use them in conjunction with your entry and exit rules to maximize efficacy and minimize risk.
User Inputs
In the settings menu you will find the following functions:
• Zone Count: Allows the trader to determine how many zones are shown on the chart
• Zone-on-Zone: Give the trader the option to also see overlapping zones
• Minor Zones: While the indicator plots major zones by default, this function gives the trader to see all zones in real time as they are being formed.
• HTF Trend: Give the trader the option to turn on our unique trend identification tool
• LTF Momentum: Allows the trader to toggle on or off our unique lower timeframe momentum finder. This tool is best used during the Globex of the Futures session for short-term trading (scalping)
Instruments
Our Trade Analyzer works across all asset classes and on all instruments, including:
Stocks
Futures
Forex
Cryptocurrencies
Summary
The Supply and Demand Trade Analyzer offers traders a quick and easy way of identifying supply and demand or support and resistance areas on a chart. It provides:
• Zone Identification: Proper zone identification on multiple timeframes
• User-Friendly Customization: With a variety of user inputs, you can tailor the analyzer to fit your unique trading strategy.
• Cross-Asset Compatibility: Works seamlessly across all major asset classes and instruments.
• Clean Workspace: Automatic removal of invalid zones keeps your chart organized and focused on the most relevant information.
• Real-Time Insights: Stay ahead of the market with real-time zone plotting and trend analysis, enabling timely and strategic trades.
Juice LevelsSupply and Demand Key Levels
These levels encompass key price points derived from various timeframes, providing crucial insights into market dynamics and potential trading opportunities. These levels include daily, prior day, day before yesterday, weekly, prior weekly, monthly, and prior monthly levels.
Daily, Prior Day, Day Before Yesterday Levels
Offer intraday reference points and historical context for analyzing short-term price movements.
Weekly, Prior Weekly Levels
Provide insights into longer-term trends and potential areas of price consolidation or breakout over a one-week timeframe.
Monthly, Prior Monthly Levels
Offer significant insights into macroeconomic trends and investor sentiment over longer timeframes, spanning one month.
Equilibrium Levels
Indicate points where supply and demand are relatively balanced, often serving as pivot points for price movements.
Supply and Demand Zones
Highlight areas on a price chart where significant buying or selling pressure is expected, aiding traders in identifying potential reversal or breakout zones.
These levels and zones are essential tools for traders to analyze market sentiment, identify support and resistance levels, and make informed trading decisions across various timeframes.
Dynamic Gann Levels [XrayTrades]This indicator dynamically captures the highest and lowest points visible on the chart and calculates Gann Support and Resistance Levels. The inputs are detailed below.
Why create this indicator?
There is no other indicator with the same functionality on TradingView.
These calculations are time-consuming; the speed at which this indicator calculates any number of rotations and degrees and visually displays them on the chart is invaluable to me, and hopefully others who use/perform these calculations.
Works on any time frame:
Year, month, week, day, etc. Smaller timeframes (intraday) for higher prices may require adjusting the y-axis of the chart after the calculation of levels due to the nature of squaring numbers.
Inputs:
Resistance: Up (from pivot low) - This toggles on/off levels calculated from the lowest point visible on the chart’s current view.
Support: Down (from pivot high) - This toggles on/off levels calculated from the highest point visible on the chart’s current view.
360 - Toggles on/off the levels of full rotations (360 degrees) from price
180 - Toggles on/off the levels of half rotations (180 degrees) from price
90 - Toggles on/off the levels of quarter rotations (90 degrees) from price
45 - Toggles on/off the levels of eighth rotations (45 degrees) from price
Full Rotations Visible - The number of rotations to be displayed on the chart
How to use this indicator:
Adjust chart window to change the highs and lows.
Select the degrees, direction, and number of rotations in the indicator settings.
The colored values beside the indicator represent the values (high and low) used in generating the Gann levels. Should the cursor be on the chart, ensure it is to the right of the high and low pivots, as this is dynamic in TradingView depending upon cursor location. Note: This is only for the user to know which value(s) are used; cursor position does not impact actual calculations and levels displayed.
The levels will be drawn to the right of the most recent price, labeled with the degrees and direction as well as the price value at the level.
About the calculations:
These calculations are derived from the Natural Square Calculator of Gann Theory, also known as the Square of Nines.
Details:
Take the square root of the selected value (lowest and or highest point).
Add (for up or subtract for down) 0.25 for every 45 degrees of rotation to the desired calculation.
Square this. Round to two decimal places.
Ex: Low of 100. Calculate Gann resistance level for 360 degrees. (√(100)+2)² = 144.
Ex: High of 100. Calculate Gann support level for 180 degrees. (√(100)-1)² = 81.
Liquidity Grab Zones | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grab Zones Indicator! This indicator finds liquidity grabs in the current ticker and renders buyside & sellside liquidity grab zones. The retests and breakout of the zones are labeled, and you can set up alerts to get notified. For more information, please check the "HOW DOES IT WORK" section.
Features of the new Liquidity Grab Zones Indicator :
Renders Buyside & Sellside Liquidity Grab Zones
Retests & Breaks
Inverse Zones After Broken Feature
Alerts For All Features
Customizable Algorithm
Customizable Styles
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, so you can plann your trades accordingly. This indicator lets you customize the pivot length and the wick-body ratio for liquidity grabs, provide retest & breakout labels, with customized styling and alerts.
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a zone is plotted.
These zones usually indicate areas of high market interest where price action may reverse or accelerate. Identifying these zones can provide traders with critical levels for entering or exiting trades. A breakout of these zones generally mean strong movements are inbound, while failing breakouts make these zones act like support / resistance zones.
The indicator also reverses the type of the zone after an invalidation (can be turned off from the settings). This feature helps traders identify potential reversals more accurately.
The zone width is set to the area from the wick to the body of the candlestick, which can be seen here :
⚙️SETTINGS
1. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
Zone Invalidation -> Select between Wick & Close price for Liquidity Grab Zone Invalidation.
Use these customizable settings to fine-tune the indicator according to your trading strategy and preferences.
TMB LevelsDescription:
Improved "Hourly Midline" indicator. It displays high, middle and low levels of every candle with specified timeframe (can be hourly, daily, or any other timeframe). You can change the source for the levels (either high and low of candle, or open and close of candle). Additionally, you can turn on the "Line chart", which essentially connects every midline, making a line chart of middle prices.
Parameters:
- Timeframe -> use data from this timeframe ("30" would mean 30 minutes, "60" would mean 1 hour, etc.)
- Source -> source for calculating the middle level
- Top -> parameters of the top level lines
- Middle -> parameters of the middle level lines
- Bottom -> parameters of the bottom level lines
- Line chart -> connect every midline, making a line chart
CPR by MTThe CPR indicator, or Central Pivot Range indicator, is a technical analysis tool used in trading to identify potential support and resistance levels based on the price action of a security. Developed by pivot point theory, it is particularly popular among day traders and swing traders. The CPR indicator consists of three lines:
1. **Pivot Point (PP):** This is the central line and is calculated as the average of the high, low, and closing prices from the previous trading period.
\
2. **Top Central Pivot (TC):** This is calculated by subtracting the low from the PP and then adding the result to the PP.
\
3. **Bottom Central Pivot (BC):** This is calculated by subtracting the high from the PP and then adding the result to the PP.
\
### How to Use the CPR Indicator
- **Trend Identification:** A wide CPR range indicates low volatility and a potential sideways or consolidation phase. A narrow CPR range indicates high volatility and a potential strong trending move.
- **Support and Resistance:** The top and bottom central pivots act as immediate resistance and support levels. If the price is above the TC, it indicates a bullish sentiment, while if it is below the BC, it indicates a bearish sentiment.
- **Entry and Exit Points:** Traders use the CPR lines to determine optimal entry and exit points. For example, if the price breaks above the TC and sustains, it may signal a buy opportunity, whereas a drop below the BC may signal a sell opportunity.
### Practical Example
Suppose a stock had a high of $105, a low of $95, and a closing price of $100 on the previous day. The CPR levels for the next day would be calculated as follows:
1. **Pivot Point (PP):**
\
2. **Top Central Pivot (TC):**
\
3. **Bottom Central Pivot (BC):**
\
The levels for the next day would be PP = $100, TC = $110, and BC = $90. Traders would then use these levels to assess potential trading strategies based on where the price moves relative to these levels.
### Conclusion
The CPR indicator is a useful tool for traders looking to understand market conditions and make informed decisions about entry and exit points. Its effectiveness comes from its ability to highlight key price levels derived from historical price data, helping traders predict potential market movements.
Gann Square 9GANN SQUARE 9 TradingView Indicator
Overview
The GANN SQUARE 9 TradingView Indicator is a powerful analytical tool designed for traders who utilize the principles of W.D. Gann's Square of 9. This indicator provides calculated levels for intraday, daily, and weekly timeframes, offering up to 7 levels of support and resistance. By incorporating this indicator into your trading strategy, you can identify potential price turning points, forecast market movements, and enhance your decision-making process.
Key Features
1. Multi-Timeframe Analysis :
-> Intraday Levels : Calculate and display up to 7 support and resistance levels based on intraday price action, providing traders with granular insights for short-term trades.
-> Daily Levels : Determine critical daily support and resistance levels to guide your trading decisions over a single trading session.
-> Weekly Levels : Identify broader market trends and significant price zones for the week, helping you to plan and execute longer-term trades.
2. Up to 7 Support and Resistance Levels :
-> The indicator calculates and displays up to 7 levels above (resistance) and below (support) the current price, offering a comprehensive view of potential market reactions.
3. Customization :
-> Flexible settings allow you to customize the calculation parameters to fit your specific trading style and market conditions.
-> Options to adjust the look and feel of the indicator, including colors and line styles, for better visual clarity.
4. User-Friendly Interface :
-> Easy to interpret and integrate into your existing TradingView charts.
-> Clear labeling and visual representation of support and resistance levels to enhance your trading experience.
Benefits
-> Precision : Leverage the mathematical precision of Gann's Square of 9 to pinpoint exact price levels where the market is likely to react.
-> Versatility : Suitable for various trading styles, including scalping, day trading, and swing trading.
-> Enhanced Decision Making : Gain a deeper understanding of market dynamics and make more informed trading decisions by incorporating these calculated levels into your analysis.
How It Works
The GANN SQUARE 9 TradingView Indicator uses the principles of the Square of 9 to calculate price levels. It applies Gann's time and price harmonics to identify key support and resistance zones, which are crucial for determining potential reversal points and market trends.
Practical Application
-> Intraday Traders : Use the intraday levels to enter and exit trades with precision, maximizing profits by capitalizing on short-term price movements.
-> Day Traders : Rely on the daily levels to set stop-loss orders and profit targets, ensuring you stay on the right side of the market.
-> Swing Traders : Utilize weekly levels to understand the broader market context and plan your trades with a longer-term perspective.
Incorporate the GANN SQUARE 9 TradingView Indicator into your trading toolkit to unlock the potential of Gann's methodologies and elevate your trading performance.
MarketRangerThis indicator puts a selection of elements together providing traders with insights into price dynamics, trend changes, and potential trading opportunities within the specified timeframe.
Trading Range Defined by Support and Resistance :
Support and resistance levels are calculated using the lowest low and highest high over specified periods.
These
levels define the boundaries of the trading range within which the price moves.
WMA Color Changing based on Slope :
The script uses three Weighted Moving Averages (WMAs) with different lengths.
The color of the main WMA changes based on its slope.
When the slope of the WMA is positive (indicating an uptrend), it's displayed in blue. When it's
negative (indicating a downtrend), it's displayed in pink.
New High/Low Detection :
The script detects new highs and lows in the price action.
A new high is detected when the current high crosses under the previous resistance level, and a new low is detected when the current low crosses over the previous support level.
These
detections are marked by triangle shapes above or below the bars.
WMA Crosses :
The script calculates the difference between the two WMAs.
When the faster WMA crosses above the slower WMA, indicating a potential bullish signal, a blue cross shape is plotted below the bar.
When the faster WMA crosses below the slower WMA, indicating a potential bearish signal, a
pink cross shape is plotted above the bar.
Slope Changes :
The script calculates the slope of the main WMA and tracks changes in slope.
A positive slope indicates an upward trend, while a negative slope indicates a downward trend.
Slope changes from negative to positive indicate potential bullish momentum, and from
positive to negative indicate potential bearish momentum.
Customizable Pivot Levels :
Pivot levels are calculated based on user-defined percentages of the range between support and resistance.
Pivot Level 1 and Pivot Level 2 provide additional reference points for potential reversals or trend continuation.
Usage :
The indicator provides support and resistance levels, new high/low alerts, and WMA crosses.
The midpoint and customizable pivot levels offer potential trading zones.
Slope change points indicate potential shifts in market sentiment.
Customize the pivot levels according to your trading strategy.
Parameters :
Adjust the WMA lengths and support/resistance lengths to suit your trading style.
Modify the visibility settings to control how many periods of support and resistance are displayed.
Customize the pivot levels to fit your preferred trading strategy.
Alerts :
Alerts are triggered for new high/low points and WMA crosses.
Use alerts to stay informed about potential trading opportunities.
Interpretation :
Watch for new high/low points for potential trend reversals or continuations.
Monitor WMA crosses and slope changes for signals of market direction.
Consider trading near support/resistance levels and pivot points.
Additional Notes :
Experiment with different settings to find the configuration that best suits your trading preferences.
Backtest the indicator on historical data to validate its effectiveness before using it in live trading.
Pivot Point Calculator [JP&Dia]English User Guide
Script Name: Pivot Point Calculator
What Does This Script Do? This script calculates classic and Camarilla pivot points used in financial markets. Pivot points are used to identify key support and resistance levels, and this script helps traders better understand market movements.
How to Use It?
Add the script to your charts on TradingView.
Enter your desired time frame in the “Enter Time Frame” field (e.g., M, W, D).
Choose either or both “Classic Pivot” and “Camarilla Pivot” options to display them.
The script will automatically calculate the pivot points and display them on the chart.
Why Is This Script Unique? This script combines both classic and Camarilla pivot calculations, allowing users to easily utilize both pivot styles through a single script.
How Can People Benefit? Traders can use this script to identify potential buy-sell points and market trends. They can also conduct their market analyses more efficiently and effectively.
Script Adı: Pivot Noktası Hesaplayıcı
Script Ne İşe Yarar? Bu script, finansal piyasalarda kullanılan klasik ve Camarilla pivot noktalarını hesaplar. Pivot noktaları, önemli destek ve direnç seviyelerini belirlemek için kullanılır ve bu script, yatırımcıların piyasa hareketlerini daha iyi anlamalarına yardımcı olur.
Nasıl Kullanılır?
Scripti TradingView’deki grafiklerinize ekleyin.
“Zaman Dilimi Girin” alanına istediğiniz zaman dilimini girin (Örneğin: M, W, D).
“Classic Pivot” ve “Camarilla Pivot” seçeneklerinden birini veya her ikisini de seçerek gösterilmesini sağlayabilirsiniz.
Script otomatik olarak pivot noktalarını hesaplayacak ve grafik üzerinde gösterecektir.
Neden Özgü Bir Script? Bu script, hem klasik hem de Camarilla pivot hesaplamalarını birleştirir ve kullanıcıların her iki pivot stilini de tek bir script üzerinden kolayca kullanmalarını sağlar.
İnsanlar Nasıl Faydalanabilir? Yatırımcılar, bu scripti kullanarak potansiyel alım-satım noktalarını ve piyasa trendlerini belirleyebilirler. Ayrıca, piyasa analizlerini daha verimli ve etkili bir şekilde yapabilirler.
Jinny Gann ArJinny Gann AR is a comprehensive technical analysis indicator designed to empower traders with the tools to analyze market movements using Gann square of 9 theory. Developed by Magic_xD, this indicator integrates various features inspired by the legendary trader W.D. Gann's methods.
The trading techniques by WD Gann are widely seen as innovative and are still studied and used by traders today. He used angles and various geometric constructions. Gann angles divide time and price into proportionate parts and are often used to predict areas of support and resistance, key tops and bottoms and future price moves. The method is based on the notion that markets rotate from angle to angle and when an angle is broken, price moves towards the next one. Several angles together make up a Gann Fan.
- Jinny Gann AR Might accurately Shows you when and what price might be the end of the Cycle,
-Gives The important pivot points
- This Allows you to Detect Next Level of Resistance/Support And when a Possible Reversal might occur ahead so you can Catch a reversal in time.
- Its Multi Language User interface English - Arabic.
Ability to customize Every thing visually.
Some Features Explained on USOIL Chart :
Gann Square of 9 Levels for USOIL:
Charts Shows and Up Cycle Started 4 May 2023 From bottom of 63.61
Indicating Important Levels and Expected End of 1 Cycle at 99.5 on 25 Sep 2024
Gann Star With Levels And Time Lines :
Vertical Dashed Lines are The time lines
Jinny Gann Grid Based on Shape Type not Static 45 Angle:
Jinny Gann Grid + Levels :
Jinny Gann Fan For Up Cycle:
Jinny Gann Fan Reverse Same Cycle:
Ability To Show Both Up/Reversal Fans on The chart:
The Number of Fann Levels you need on the chart can be customized by changing Shape Type... But Price Will Respect it Pretty Well.
Key Features:
Direction Selection: Choose between "Up" or "Down" to specify the market direction you want to analyze.
Automatic Settings Adjustment: Enable this option to allow the indicator to automatically adjust settings for optimal analysis.
Original Gann Levels: Display original Gann theory levels Based on Gann Square of 9 Equations.
Auto Detect Tops/Bottoms: Determine the number of previous candles used to automatically detect Top or Bottom in the market.
Spacing Configuration: Adjust the spacing or offset between Gann levels to fine-tune your analysis.
Manual Starting Point: Manually set the starting point for your analysis.
Geometric Shape Selection: Choose from various geometric shapes including straight lines, triangles, quadrilaterals, and more...
Custom Angle Selection: Define custom angles for geometric shapes .
Time Interval Selection: Select time intervals such as 360 or 720 Etc...
Cycle Analysis: Determine the number of cycles to analyze market movements effectively.
Decimal Precision: Customize the number of decimal places displayed for accurate analysis.
Automatic Spacing (Under Development): Future feature to automatically select spacing for enhanced user experience.
Time Levels Display: Visualize time levels to gain insights into market timing.
Gann Star Display: Show Gann stars to identify critical market points.
Star Modification: Modify the appearance of Gann stars for better visualization.
Gann Grid Display: Display Gann grids to identify key support and resistance levels.
Grid Extension: Extend Gann grid lines for extended analysis.
Gann Fan Display: Show Gann fans to analyze trend lines and potential reversals.
Reverse Fan Display: Visualize Gann fans in reverse to explore alternative analysis perspectives.
Additional Fan Options: Explore more options for Gann fan analysis.
Time Line Adjustment: Move time lines to the right or left for flexible analysis.
Star Line Extension: Extend Gann star lines for deeper insights.
Fan Line Extension: Extend Gann fan lines for comprehensive trend analysis.
Customizable Colors: Customize colors for various indicators to suit your preference.
Width Adjustment: Adjust the width of trend lines for better visualization.
Label Customization: Customize colors and positions of level and price labels for clarity.
NZTInstitutionalLevelDESCRIPTION IN ENGLISH
🔶 INTRODUCTION
NZTInstitutionalLevel is an indicator for the TradingView platform designed to display institutional levels on a price chart. This script is based on the concept of calculating significant price levels that can be used for both long-term trading and intraday operations. The indicator calculates and visualizes the levels at which large market participants , such as institutional investors and large funds , can actively participate. The displayed levels are very important , as psychologically people tend to buy or sell at these levels, which makes them a reliable support in the analysis
🔶 CONTENT
The indicator uses the analysis of support and resistance levels , which are often tested by major market players . These levels represent prices that have historically experienced significant price movements due to large trading volumes, making them relevant for future trading decisions. You may notice that price often reverses or tests these round levels. These levels are a powerful pillar of price action analysis.
🔶 KEY FEATURES
The indicator displays institutional (bank) levels . Thanks to which you can easily determine the position of major players and the direction of their capital.
Visualization customization:
Users can customize the display of levels by selecting color, thickness and line style (solid, dotted, dashed).
Adaptability:
The script adapts the level step size depending on the current price of the asset and the selected time interval, which allows it to be used in various trading conditions and for assets with different volatility and price range.
Automatic scaling:
The number of displayed levels changes depending on the selected time interval, allowing traders to focus only on significant levels without overloading the chart with unnecessary information.
🔶 SETTINGS
🔹 Show Institutional Levels (Показывать институциональные уровни)
Allows you to disable or enable the display of institutional levels.
🔹 Level color (Цвет уровней)
Allows you to customize the color of the levels.
🔹 Level thickness (Толщина уровней)
Allows you to adjust the thickness of the levels.
🔹 Level style (Стиль уровней)
Allows you to customize the levels' style.
🔶 RECOMMENDATIONS FOR USE
To use the indicator, activate it on the desired price chart through the TradingView indicator menu. Once activated, adjust the visibility, color, style and thickness of the levels according to your preferences. The indicator will automatically calculate and display institutional levels based on the current asset price and configured parameters . These levels can serve as potential points for placing buy or sell orders, setting stop losses, or taking profits.
The indicator was developed by Temirlan Tolegenov for NZT Trader Community , May 2024, Prague, Czech Republic.
ОПИСАНИЕ НА РУССКОМ ЯЗЫКЕ
🔶 ВСТУПЛЕНИЕ
NZTInstitutionalLevel – это индикатор для платформы TradingView, предназначенный для отображения институциональных уровней на ценовом графике . Этот скрипт основан на концепции вычисления значимых ценовых уровней , которые могут быть использованы как для долгосрочной торговли, так и для интрадей-операций . Индикатор рассчитывает и визуализирует уровни , на которых могут активно участвовать крупные участники рынка , такие как институциональные инвесторы и большие фонды . Отображаемые уровни очень важны , так как психологически люди склонны покупать или продавать на этих уровнях , что делает их надежной опорой при анализе.
🔶 СОДЕРЖАНИЕ
Индикатор использует анализ уровней поддержки и сопротивления , которые часто тестируются крупными игроками рынка . Эти уровни представляют собой цены, на которых исторически происходили значительные движения цен за счет больших объемов торгов, что делает их релевантными для будущих торговых решений. Вы можете заметить, что цена часто разворачивается или тестирует эти круглые уровни. Эти уровни являются мощной основой анализа price action.
🔶 КЛЮЧЕВЫЕ ОСОБЕННОСТИ
Индикатор отображает институциональные (банковские/круглые) уровни. Благодаря чему вы легко сможете определить позиции крупных игроков и направление их капиталов.
Настройка визуализации:
Пользователи могут настроить отображение уровней, выбрав цвет, толщину и стиль линий (сплошные, пунктирные, точками).
Адаптивность:
Скрипт адаптирует размер шага уровня в зависимости от текущей цены актива и выбранного временного интервала, что позволяет использовать его в различных торговых условиях и для активов с разной волатильностью и ценовым диапазоном.
Автоматическое масштабирование:
Количество отображаемых уровней меняется в зависимости от выбранного временного интервала, позволяя трейдерам сосредоточиться только на значимых уровнях, не перегружая график лишней информацией.
🔶 НАСТРОЙКИ
🔹 Показывать институциональные уровни
Позволяет отключить или включить отображение институциональных уровней.
🔹 Цвет уровней
Позволяет настроить цвет уровней.
🔹 Толщина уровней
Позволяет регулировать толщину уровней.
🔹 Стиль уровней
Позволяет настроить стиль уровней.
🔶 РЕКОМЕНДАЦИИ К ИСПОЛЬЗОВАНИЮ
Для использования индикатора, активируйте его на желаемом ценовом графике через меню индикаторов TradingView. После активации, н астройте видимость, цвет, стиль и толщину уровней в соответствии с вашими предпочтениями. Индикатор автоматически рассчитает и отобразит институциональные уровни , основываясь на текущей цене актива и настроенных параметрах . Эти уровни могут служить потенциальными точками для размещения ордеров на покупку или продажу, установления стоп-лоссов или взятия прибыли.
Индикатор разработан Темирланом Толегеновым для международного сообщества NZT Trader , Май 2024, Прага, Чешская Республика.
The indicator is published in accordance and respect to all House Rules of the TradingView platform.
Индикатор опубликован в соответствии и уважением ко всем внутренним правилами платформы TradingView.
OrderFlow [Probabilities] | FractalystWhat's the indicator's purpose and functionality?
The indicator is designed to incorporate probabilities with buyside and sellside liquidity, as well as premium and discount ranges within the market. It also provides traders with a multi-timeframe functionality for observing liquidity levels and probabilities across two timeframes without the need to manually switch between them.
These levels are often used in smart money trading concepts for identifying key areas of interest, such as potential reversal points, areas of accumulation or distribution, and zones of high liquidity.
----
What's the purpose of these levels? What are the underlying calculations?
1. Understanding Swing highs and Swing Lows
Swing High: A Swing High is formed when there is a high with 2 lower highs to the left and right.
Swing Low: A Swing Low is formed when there is a low with 2 higher lows to the left and right.
2. Understanding the purpose and the underlying calculations behind Buyside , Sellside and Equilibrium levels.
3. Identifying Discount and Premium Zones.
4. Importance of Risk-Reward in Premium and Discount Ranges
----
How does the script calculate probabilities?
The script calculates the probability of each liquidity level individually. Here's the breakdown:
1. Upon the formation of a new range, the script waits for the price to reach and tap into equilibrium or the 50% level. Status: "⏸" - Inactive
2. Once equilibrium is tapped into, the equilibrium status becomes activated and it waits for either liquidity side to be hit. Status: "▶" - Active
3. If the buyside liquidity is hit, the script adds to the count of successful buyside liquidity occurrences. Similarly, if the sellside is tapped, it records successful sellside liquidity occurrences.
5. Finally, the number of successful occurrences for each side is divided by the overall count individually to calculate the range probabilities.
Note: The calculations are performed independently for each directional range. A range is considered bearish if the previous breakout was through a sellside liquidity. Conversely, a range is considered bullish if the most recent breakout was through a buyside liquidity.
----
What does the multi-timeframe functionality offer?
Enabling and selecting a higher timeframe in the indicator's user-input settings allows you to access not only the current range information but also the liquidity sides, status, price levels, and probabilities of a higher timeframe without needing to switch between timeframes and mark up the levels manually.
----
What are the multi-timeframe underlying calculations?
The script uses the same calculations (mentioned above) and requests the data such as price levels, bar time, probabilities and booleans from the user-input timeframe.
Non-repainting Security Function with Lookahead ON
//Function to fetch data for a given timeframe
getHTFData(timeframe_,exp_) =>
request.security(syminfo.tickerid, timeframe_,exp_ ,lookahead = barmerge.lookahead_on)
----
How to use the indicator?
1. Add the indicator to your TradingView chart.
2. Choose the pair you want to analyze/trade.
3. Enable the HTF in user-input settings and choose a timeframe as for your higher timeframe bias.
4. (Important) : Ensure that the probabilities on both timeframes are aligned in one direction. If not, switch between timeframes until you find a pair of timeframes that are in line with each other and have higher probabilities on one liquidity side.
For Swing traders:
Use Hourly timeframes (1H/2H/4H/8H/12H) as your current timeframe and 1D/3D/1W/2W for your higher timeframe (HTF).
Entry: Hourly Equilibrium level. (Limit order)
Stoploss: Place it on the side where the probability is lower than 50%.
Break-even level/TP1: Hourly breakout of the liquidity.
TP2: Target the Higher Timeframe (HTF) liquidity level where the probability is higher than 50%.
2H/1D COINBASE:BTCUSD
For Day traders:
Use minutely timeframes (5m/15m/30m) as your current timeframe and 1H/2H/4H/8H/12H for your higher timeframe (HTF).
Entry: Minutely Equilibrium level. (Limit order)
Stoploss: Place it on the side where the probability is lower than 50%.
Break-even level/TP1: Minutely breakout of the liquidity.
TP2: Target the Higher Timeframe (HTF) liquidity level where the probability is higher than 50%.
1H/5m COINBASE:BTCUSD
----
User-input settings and customizations
----
What makes this indicator original?
1. Real-time calculation of probabilities directly on your charts.
2. Multi-timeframe functionality, enabling effortless observation of liquidity levels and probabilities across two timeframes.
3. Status label for clear identification of whether price has reached equilibrium.
4. All levels are updated only upon candle closure above or below liquidity levels, ensuring it remains a non-repainting indicator.
----
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data.
By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer.
Liquidations [ChartPrime]Liquidations Indicator:
The Liquidations indicator is a powerful tool designed to help traders identify significant liquidation levels in financial markets. By analyzing volume data over a specified lookback period, the indicator highlights potential areas where market participants with high leverage positions may face liquidation, providing valuable insights into market dynamics.
Usage:
Traders can use the Liquidations indicator to:
◈ Identify liquidity grab opportunities: Liquidation levels often attract price action as market participants with leveraged positions face the risk of forced liquidation. Traders can anticipate price movements as the market aims to trigger these stops, potentially leading to rapid price movements or reversals.
◈ Confirm trend strength: A cluster of liquidation levels in the same direction as the prevailing trend may confirm the strength of the trend, while divergences between liquidation levels and price movements may signal potential trend reversals.
Settings:
◈ Previous Value Bars Back: Specifies the number of previous bars used in calculating the liquidation levels.
◈ Show Leverage: Allows users to selectively display liquidation levels for different leverage multiples, including 5x, 10x, 25x, 50x, and 100x.
◈ Liquidation Levels Width: Sets the width of the lines representing liquidation levels on the chart.
◈ Short Liquidations Color: Specifies the color of the lines representing short liquidation levels.
◈ Long Liquidations Color: Specifies the color of the lines representing long liquidation levels.
◈ Bar Color: Sets the color of the background bar when the indicator is active.
Visual Representation:
◈ Liquidation levels are plotted as horizontal lines on the chart, with different colors representing short and long liquidation levels.
◈ Each liquidation level is labeled with the corresponding leverage multiple (e.g., 5x, 10x, etc.).
A dashboard displays the active liquidation levels for each leverage multiple, allowing traders to quickly assess the current market conditions.
◈ Time Window allows users to cut off unnecessary part of the chart and concentrate on a current active part of the chart to make better trading decisions:
Interpretation:
Market participants tend to place stop-loss orders near liquidation levels , creating clusters of pending orders. As price approaches these levels, it may trigger a cascade of stop-loss orders, providing liquidity for market orders and potentially leading to rapid price movements in the opposite direction.
Traders can anticipate price reversals or accelerations as price interacts with liquidation levels, using them as reference points for identifying potential entry or exit opportunities.
Note:
While the Liquidations indicator provides valuable insights into market dynamics, traders should use it in conjunction with other technical analysis tools and risk management strategies to make informed trading decisions.
Futures Auto Levels [NariCapitalTrading]Futures Auto Levels Indicator
Introduction
The "Futures Auto Levels" (FAL) indicator shows the previous day's levels, weekly open, high, low, and the Initial Balance Range (IBR).
Indicator Components
The FAL indicator comprises the following components:
Previous Day's Levels: These include the open, high, low, and close of the previous trading day. They are represented on the chart by lines and labels, helping to identify significant price levels from the prior session.
Weekly Open, High, Low: These levels represent the open, high, and low prices of the current trading week.
Initial Balance Range (IBR): The IBR is calculated based on the price range during the first 60 minutes of the trading day. It helps identify initial trading range and potential breakout levels.
How to Use the Indicator
1. Previous Day's Levels:
Monitor the previous day's open, high, low, and close to identify key support and resistance levels.
Use these levels to gauge market sentiment and potential price reversals.
2. Weekly Open, High, Low:
Pay attention to the weekly open, high, and low to understand the market's behavior within the weekly timeframe.
These levels can act as reference points for setting profit targets and stop-loss orders.
3. Initial Balance Range (IBR):
Watch for price movements within the IBR to identify potential trading opportunities.
Breakouts above or below the IBR may signal the beginning of a new trend or continuation of the current trend.
Suggested/Potential Strategies
Reversal Trading: Look for price reversals around previous day's levels, especially when they coincide with other technical indicators or significant support/resistance zones.
Trend Following: Follow the trend by trading breakouts above/below the IBR or weekly high/low levels. Use trailing stops to capture profits while the trend remains intact.
Range Trading: Trade within the IBR when the market is consolidating. Buy near the IBR low and sell near the IBR high, with tight stop-loss orders to manage risk.
Conclusion
The Futures Auto Levels indicator is designed to help incorporate levels into trading analysis and trading strategies to improve profitability and consistency.
Dynamic Pivot Tracker Multi-Period - TradingEDThe "Dynamic Pivot Tracker Multi-Period" is an advanced tool designed for traders who require a detailed, multi-layered view of pivot levels across multiple time frames from a single chart. This indicator uses dynamic calculations to identify and connect high and low pivot points, aiding traders in pinpointing potential support and resistance areas and making informed decisions based on significant market structural changes.
Key Features:
Flexibility of Periods: Users can define pivot lengths for up to four different periods, ranging from as short as minutes to as long as days, allowing complete customization based on the trader's needs.
Dynamic Pivot Length Calculation: Utilizes a specialized function to adjust pivot length based on the selected time unit, ensuring pivot detection is relevant to the current time context.
Pivot Point Detection: Calculates and plots high and low pivots for each defined period using the pivothigh and pivotlow function for optimum accuracy.
Dynamic Line Management: The indicator dynamically manages the lines connecting pivots, removing old ones before plotting new to keep the chart clean and up-to-date.
Crossover Alerts: Set up automatic alerts to notify users when the price crosses above or below a pivot level, which may be indicative of an entry or exit opportunity.
Customizable Display Options:
Show Fractals: Option to visualize or hide fractals, which can indicate price reversal points.
Show Lines: Toggle the display of lines connecting the pivots, making it easier to visualize trends and ranges.
Show Pivots: Allows users to choose whether or not to see pivot points marked directly on the chart.
Practical Applications:
Trend Analysis: By observing how the price interacts with pivots across different periods, traders can gain a deeper understanding of market direction.
Support and Resistance Identification: Pivot levels can act as zones of support or resistance, providing key points for stop placement or profit taking.
Optimization of Entries/Exits: Crossover alerts provide timely signals to enter or exit positions based on significant price movements.
This indicator is ideal for day traders, swing traders, and technical traders looking to integrate pivot analysis into their trading methodology, offering a robust and customizable tool to enhance market decision-making.
Monte Carlo Shuffled Projection [LuxAlgo]The Monte Carlo Shuffled Projection tool randomly simulates future price points based on historical bar movements made within a user-selected window.
The tool shows potential paths price might take in the future, as well as highlighting potential support/resistance levels.
Note that simulations and their resulting elements are subject to slight changes over time.
🔶 USAGE
By randomly simulating bar movements, a range is developed of potential price action which could be utilized to locate future price development as well as potential support/resistance levels.
Performing a large number of simulations and taking the average at each step will converge toward the result highlighted by the "Average Line", and can point out where the price might develop assuming the trend and amount of volatility persist.
Current closing price + Sum of changes in the calculation window)
This constraint will cause the simulations to always display an endpoint consistent with the current lookback's slope.
While this may be helpful to some traders, this indicator includes an option to produce a less biased range as seen below:
🔶 DETAILS
The Monte Carlo Shuffled Projection tool creates simulations based on the most recent prices within a user-set window. Simulations are done as follows:
Collect each bar's price changes in the user-set window.
Randomize the order of each change in the window.
Project the cumulative sum of the shuffled changes from the current closing price.
Collect data on each point along the way.
This is the process for the Default calculation, for the 'Randomize Direction' calculation, when added onto the front for every other change, the value is inverted, creating the randomized endpoints for each simulation.
The script contains each simulation's data for that bar with a maximum of 1000 simulations.
To get a glimpse behind the scenes each simulation (up to 99) can be viewed using the 'Visualize Simulations' Options as seen below.
Because the script holds the full simulation data, the script can also do calculations on this data, such as calculating standard deviations.
In this script the Standard deviation lines are the average of all standard deviations across the vertical data groups, this provides a singular value that can be displayed a distance away from the simulation center line.
🔶 SETTINGS
Color and Toggle Options are Provided throughout.
Lookback: Sets the number of Bars to include in calculations.
Simulation Count: Sets the number of randomized simulations to calculate. (Max 1000)
Randomize Direction: See Details Above. Creates a more 'Normalized' Distribution
Visualize Simulations: See Details Above. Turns on Visualizations, and colors are randomly generated. Visualized max does not cap the calculated max. If 1000 simulations are used, the data will be from 1000 simulations, however only the last 99 simulations will be visualized.
Standard Deviation Multiplier: Sets the multiplier to use for the Standard Deviation distance away from the center line.
HTF Matrix TableThis is a Higher Time Frame Table like the Intra-Day Table that I also have available.
ICT stresses time and liquidity levels in his teachings. This table helps to easily locate these key Time-based price levels. You can use these levels to determine your directional bias and to help generate your narrative for where the market is going.
This indicator creates a table that gives you the price for the following liquidity levels:
*Price* - Current Price
PMH - Previous Month High
PMO - Previous Month Open
PM MT - Previous Month Mean Threshold (Midpoint of candle body)
(Calculated by:
if pmo > pmc
pm_mt := ((pmo-pmc)/2)+pmc
if pmo < pmc
pm_mt := ((pmc-pmo)/2)+pmo)
PMC - Previous Month Close
PML - Previous Month Low
PWH - Previous Week High
PWO - Previous Week Open
PW MT - Previous Week Mean Threshold (Midpoint of candle body)
Calculated by:
if pwo > pwc
pw_mt := ((pwo-pwc)/2)+pwc
if pwo < pwc
pw_mt := ((pwc-pwo)/2)+pwo)
PWC - Previous Week Close
PWL - Previous Week Low
PDO - Previous Day Open
PDH - Previous Day High
PDL - Previous Day Low
PDC - Previous Day Close
PDEQ - Equilibrium of the previous day's range.
(Calculated by math.abs(((pdh-pdl)/2)+pdl))
PDH2 - Two Days Back High
PDL2 - Two Days Back Low
PDH3 - Three Days Back High
PDL3 - Three Days Back Low
Gives you the opening price for the following times:
Midnight Open
NY Open
Lets you set the time for the Asia and London sessions and will give the high and low for those two sessions.
Asia High
Asia Low
London High
London Low
Ability to hide either the table or lines.
The levels are sorted descending in price in the table, with the background colored based on their relation to price. The prices are also plotted on the chart based on the range you specify in relation to the current price. These lines are also colored based on their relation to price.
This indicator does not give you anything but the price at a specific time, you must determine your own bias and narrative based on the levels that are given.
The indicator runs on the seconds chart.
Pivot Point Target Prices [SS]Hey everyone,
Back with another indicator!
I have been trying to do this indicator for like months (over 6 months). I gave up on it a few times and then finally reapproached it in a different way and was able to get it working successfully!
This is the pivot point target price indicator, let's get into how it works!
How it works:
The indicator keeps track of previous pivot highs and lows within your designated lookback timeframe. Using this data, it calculates the average difference between the pivot highs and pivot lows to give you an ATR range.
In addition to this, it tracks the standard deviation of this range. This allows the indicator to give us 3 price targets, 2 standard deviations below the anticipated target, the anticipated target (middle value) and 2 standard deviations above the anticipated target.
Here is a diagram:
I usually only look for the first target, which is the -2 standard deviation below the actual target, but having the added 2 gives some buffer room if a stock is particularly bullish or bearish.
How to use it:
You use this the same way you would pivot points, the only difference is this will show you target ranges to look for on a pivot low or pivot high.
There is some customizability, which I will explain below:
Customize bars: You have the ability to customize left and right bars for your pivot points. I personally like 15 and 15 but I know the most commonly used are 10 and 10.
ATR Length: The ATR Length is defaulted at 500. If you want to tighten up the length and give more conservative targets, you can shorten to between 75 and 150. If you want to be very aggressive with the targets, you can extend to 750 to 1,000.
Toggle on/off labels: You can choose to turn off the pivot labels if you wish.
Important note:
Many pivot indicators will show you pivot levels and use these as support and resistance. This indicator isn't doing that. Its combining ATR and Pivot Points. The ATR gives us the price targets by calculating the average range between pivot highs and pivot lows, and the pivot points are operating as usual.
And that's the indicator!
I hope you enjoy it, like I said it took me forever to get a functioning version of this, so hope you find it helpful!
Safe trades everyone!
OptiRange | FractalystWhat’s the purpose of this indicator?
This indicator is designed to integrate probabilities with liquidity levels, while also providing a mechanical method for identifying market structure by using Fractals by Williams.
----
How does this indicator identify market structure?
This script identifies breaks of market structure by analyzing candle closures above or below swing levels.
As soon as a candle has closed above or below the initial swing on your charts, the script validates that there is at least one swing preceding the break before confirming it as a structural break.
Once a break is occured then it assigns a numeric ID to the break starting from 1 and draws two extremities: one as liquidity and the other as invalidation (LIQ/INV).
----
What do the extremities show us on the charts?
you'll see two clear extremities on your charts:
1. The first extremity represents the structural liquidity level. (LIQ)
2. The other extremity indicates the level that, if price breaks through it, results in a structural shift to the opposite side. (INV)
----
How does it calculate probabilities?
Each break of market structure, denoted as X, is assigned a unique ID, starting from X1 for the first break, X2 for the second, and so on.
The probabilities are calculated based on breaks holding, meaning price closing through the liquidity level, rather than invalidation. This probability is then divided by the total count of similar numeric breaks.
For example, if 75 out of 100 bullish X1s become X2, then the probability of X1 becoming X2 on your charts will be displayed as 80% in the following format: ⬆ 75%
----
What are the Fractal blocks?
Fractal blocks refer to the most extreme swing candle within the latest break. They can serve as significant levels for price rejection and may guide movements toward the next break, often in confluence with probability analysis for added confirmation.
If the price retraces back to a bullish fractal block, we aim to look for buy/long positions. Conversely, if the price retraces back to a bearish fractal block, we aim to look for sell/short positions.
----
What are mitigations?
Mitigations refer to specific price action occurrences identified by the script:
1- When the price reaches the most recent fractal block and confirms a swing candle, the script automatically draws a line from the swing to the fractal block bar and labels it with a checkmark.
1- If the price wicks through the invalidation level and then retraces back to the fractal block while forming a swing candle, the script labels this as a double mitigation on the chart.
This level will serve as the next potential invalidation level if a break occurs in the same direction.
----
What does the bottom table display?
The bottom table presents numeric breaks across multiple timeframes, with the text color indicating the trend direction. Enabling traders to assess the higher timeframes market trend without needing to switch between timeframes manually.
----
How to use the indicator?
1. Add "OptiRange | Fractalyst" to your TradingView chart.
2. Choose the pair you want to analyze or trade.
3. Start with the 12-month timeframe.
4. Use the table bias with the maximal settings to find the lowest timeframe that’s showing you the mitigation (✓)
5. Confirm that the probability of the current liquidity is higher than 50%.
6. Place your limit order at the Fibonacci level of 0.618 of the mitigation candle.
7. Set your stop-loss at the mitigation level.
8. Determine your take profit based on the liquidity of the current timeframe, or if possible, the liquidity of a higher timeframe in the same direction; otherwise, use the liquidity of the current timeframe.
9. Risk adjustment and Trade management based on your personal preferences.
Example:
----
User-input settings and customizations
----
What makes this indicator original?
- This script leverages Fractals, a fundamental concept in many trading methodologies.
- For a break to be considered valid, price must have at least two swings:
a swing high followed by a swing low for bullish breaks and a swing low follow by a swing high for bearish breaks.
- This means that each swing point is confirmed by the formation of two candles on its left and two candles on its right, totaling 5 candles for each swing high and swing low, thus requiring 10 candles overall. (This strict rule ensures a thorough assessment of market structure before confirming a break.)
- The script assigns a unique numerical ID to each break of structure, starting from 1.
This numbering system enables the script to calculate the probability of the most recent break becoming the next break, while also factoring in the trend direction.
- Additionally, this script provides insights into higher timeframes' break IDs in the bottom/top centre table, keeping traders informed about the overall higher timeframe picture.
- By integrating these methodologies, the script introduces a unique and systematic method for identifying market structure, thereby enhancing its originality in guiding trading decisions.
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data. By utilizing our charting tools, the buyer acknowledges that neither the seller nor the creator assumes responsibility for decisions made using the information provided. The buyer assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses. Therefore, by purchasing these charting tools, the customer acknowledges that neither the seller nor the creator is liable for any unfavorable outcomes resulting from the development, sale, or use of the products.
The buyer is responsible for canceling their subscription if they no longer wish to continue at the full retail price. Our policy does not include reimbursement, refunds, or chargebacks once the Terms and Conditions are accepted before purchase.
By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer.
Red Candles with Green Precedent
**Title**: Red Candles with Green Precedent Indicator
**Description**:
This TradingView indicator is designed to help traders identify potential reversal or continuation patterns based on the appearance of consecutive red candles following a green candle. The script marks a region starting from a green candle that precedes at least four consecutive red candles, extending a box forward for a predefined number of bars to analyze the continuation of the trend.
**Key Features**:
- **Consecutive Red Candles Detection**: The indicator counts consecutive red candles that close lower than they open.
- **Initial Green Candle Identification**: Identifies the last green candle before a series of red candles begins. This green candle must close higher than it opens.
- **Visual Box Extension**: Creates a visual box from the open to the high of the green candle and extends it forward to highlight the period of interest.
- **Dynamic Box Termination**: Optionally terminates the box early if a significant green candle appears within the extension period, suggesting a potential reversal.
**Usage**:
1. **Setup**: Apply the indicator to any chart in TradingView. Adjust the number of consecutive red candles to track based on your trading strategy.
2. **Interpretation**: A visual green box will appear when the criteria are met. This box helps focus on the price action following a potentially significant green candle. Traders should watch for price actions within and around the box to make informed decisions.
3. **Alerts**: Consider setting alerts for when a new box is created or when a significant green candle forms that might terminate the box early, indicating potential market movements.
**Suitable for**: This indicator is suitable for traders looking for visual cues about potential bearish exhaustion or the setup for a bullish reversal, particularly in volatile markets.
---
Feel free to customize the description and features according to any additional details or personal insights you might want to include based on your trading experience or the specific behaviors of the markets you track.
**Disclaimer**:
This script is provided as a tool for trading analysis and is not intended to be used as the sole basis for any trading decisions. While this indicator aims to identify potential trading opportunities, its effectiveness can depend on market conditions and individual trading strategies. Users should conduct their own research and consult with professional advisors before making any investment decisions. The creator of this script assumes no responsibility for any potential financial losses incurred from using this indicator. Trading in financial markets involves risk, and it is possible to lose more than your initial investment.
---