Bitcoin Price Based On ElectricityThis script Calculates the price of Bitcoin solely on the hashrate and the cost of electricity.
The calculation is quite conservative considering its based on the average cost of electricity globally and we are assuming that everyone is running the latest mining hardware, which is the most efficient and cost effective.
Under both of these assumptions the calculation for bitcoins price is almost identical to the price we are seeing now.
If we change the reward rate to 3.125 (Aprils reward amount) then the price of one bitcoin per cost of work will be around 100k.
I am sure I am missing some important numbers in this calculation, fees, start up costs etc. However, it is very interesting to see that the price of Bitcoin can be calculated almost perfectly based on the hashrate and cost of electricity.
PROOF OF WORK
Educational
Candlesticks Patterns [TradingFinder] Pin Bar Hammer Shooting🔵 Introduction
Truly, the title "TradingView" doesn't do justice to this excellent website, and that's why I've written about its crucial aspect. In this indicator, the identification of all candlesticks known as "Pin bars" is explored.
These candlesticks include the following:
- Hammer : A Pin bar formed at the end of a bearish trend, with its body being either bearish or bullish.
- Shooting Star : Formed at the end of a bullish trend, with its body being either bearish or bullish.
- Hanging Man : Formed during an upward trend, characterized by a candle with a lower shadow.
- Inverted Hammer : Formed during a downward trend, characterized by a candle with an upper shadow.
🟣 Important : For ease of use, we refer to these four candlestick patterns as Pin Bars and categorize them into the main friends "Bullish" and "Bearish."
🟣 Important : In all sources, Hanging Man and Inverted Hammer are referred to as "Reversal candles." However, in reality, whenever they appear after breaking a significant area (Break Out), we expect these candles to signal a continuation of the trend and confirmation in the direction of the trend.
🟣 Important : One of the best signs of market manipulation and entry by market giants is the "Ice Berg." So, it provides one of the best trading opportunities.
🔵 Reason for Creation
Many traders, especially volume traders, use Pin bars as confirmation and enter the market after their occurrence. In this indicator, all four patterns are identified and displayed in a colored candle format, using "triangle" and "circle."
When they are evident on the chart, directly or by drawing a horizontal line, they give us good alerts for reversal or continuation areas.
🔵 Information Table
1. Red circle: Pin bars formed in a downtrend.
2. Blue circle: Bullish Pin bars formed in an uptrend.
3. Black triangle: Bearish Pin bar candle in an uptrend.
4. Blue triangle: Bullish Pin bar candle in a downtrend.
🔵 Settings
Trend Detection Period: A special feature that considers smaller or larger fluctuations. If individual price waves need to be considered, use lower numbers; if the overall trend direction is desired, use larger numbers (e.g., 5-7 or higher). This precisely sets the Zigzag or Pivot format, not displayed but considered in the indicator calculation.
Trend Effect : By changing the Trend Effect status to "Off," all Pin bars, whether bullish or bearish, are displayed regardless of the current market trend. If the status remains "On," only Pin bars in the direction of the main market trend are shown.
🟣 Important : Black triangles "Number 3" and blue triangles "Number 4" displayed in the information table section, as explained in the "Information Table" section.
Show Bullish Pin Bar : When set to "Yes," displays bullish Pin bars; when set to "No," does not display them.
Show Bearish Pin Bar : When set to "Yes," allows the display of bearish Pin bars; when set to "No," does not display them.
Bullish Pin Bar Setting : Using the "Ratio Lower Shadow to Body" and "Ratio Lower Shadow to Higher Shadow" settings, you can customize your bullish Pin bar candles. Larger numbers impose stricter conditions for identifying bullish Pin bars.
Bearish Pin Bar Setting : Using the "Ratio Higher Shadow to Body" and "Ratio Higher Shadow to Lower Shadow" settings, you can customize your bearish Pin bar candles. Larger numbers impose stricter conditions for identifying bearish Pin bars.
Show Info Table : Allows the display or non-display of the information table (located at the bottom of the page and on the right side).
🔵 How to Use
At the end of a downtrend, look for "Hammer" candles, easily identified one by one.
To identify the "Shooting Star" candle pattern at the end of an uptrend; expect a price reversal in the downtrend.
For trades in the downward direction, wait for the formation of an "Inverted Hammer" Pin bar.
And finally, in an uptrend, where a "Hanging Man" candle can form.
🔵 Features
For better visualization, triangles and circles are used above the candles, but they can be easily removed. All Pin bars are displayed in color with the following meanings:
- Black-bodied candle: Inverted Hammer
- Turquoise blue candle: Hammer
- Pink candle: Hanging Man
- Red candle: Shooting Star
🟣 Important : The capability to detect the powerful two-candle pattern "Tweezer Top" at the end of an uptrend emerges by forming two "Shooting Star" candles side by side.
Similarly, the two-candle pattern "Tweezer Bottom" is created at the end of a downtrend with the formation of two "Hammer" candles side by side. To identify the "Tweezer" pattern, make sure the settings in the "Trend Effect" section are set to "Off."
🟣 Auxiliary Indicators
During the start of trading sessions such as Asia, London, and New York, where the highest liquidity exists, alongside this indicator, you can use the Trading Sessions indicator.
Sessions
The combination of Order Blocks "-OB" and "+OB" with candles is one of the best trading methods. The indicator that identifies order blocks, along with this indicator, can yield remarkable results in the success of Pin bar candles.
Order Blocks Finder
The trading toolset "TFlab" presents this indicator. To benefit from all indicators, we invite you to visit our page " TFlab Scripts ".
Session Levels Predictor [LuxAlgo]The "Session Levels Predictor" indicator predicts the maximum/minimum levels that will be made within a user-specified session. Hit rate percentages are displayed to measure how often a specific level has been hit.
🔶 USAGE
The indicator can be used to estimate the expected maximum/minimum levels within a specified session, these are directly displayed at the start of a session. This operation can be useful to set take profits/stop losses levels when we expect to exit within a specific session.
Users can display up to 3 upper and lower extremities on their chart (by default only 2 upper and lower extremities are displayed), with their distance from the session opening price being determined by the user-set percentile setting, values closer to 100 will return levels farther away from the session opening price.
Predicting maximum/minimum levels effectively allows obtaining support/resistance levels for the user-defined session, with a breakout probability indicating how easy it can be for the price to reach the estimated levels. These levels can be extended outside the specified session, allowing to test their relevancy as support/resistance levels to prices outside the specified sessions.
🔶 DETAILS
To predict maximum/minimum levels made within a session we keep a record of the distance between a session's maximum/minimum value and the session opening price (opening price when the session starts).
By using the percentile_nearest_rank() on our recorded distances we draw levels from the session opening price. If a level is hit between 2 sessions, this is saved for further calculations.
Lastly, a % hit rate of these levels is shown at the sessions open, indicating the probability that these levels could be hit before the next session.
🔹 array.percentile_nearest_rank()
Returns the value for which the specified percentage of array values (percentile) is less than or equal to it, using the nearest-rank method.
For example, taking the 75th percentile from our recorded distances between the maximum session level and session opening price will return a new distance where 75% of the recorded distances are lower.
The same goes for the green session's open - low levels
🔶 SETTINGS
Session: User-defined session interval, uses the symbol timezone.
Percentile (1, 2, 3): K-th percentile used to estimate session max/min levels, higher values will return more distant levels.
Max Population: Maximum amount of recorded distance data for the calculation of percentiles.
🔹 Style
Extend Middle Line: Toggle to extend the blue Middle Line to the next session - Default disabled
QuantumTrader Suite - Chart WatermarkThis "Indicator" allows you to add a watermark to your chart. This allows you to add things such as your name and trading goals / affirmations to your chart to remind you everytime you load up the charts.
The following Features are fully customisable:
Title
Subtitle
Position, Text Size, Text Color, and Background of the title and subtitle
Day Coloring @shrilssDay Coloring Indicator, A tool designed to bring visual clarity to your charts by dynamically coloring the background based on the day of the week. This script adds a layer of organization to your charts, making it easier for traders to track and analyze market movements on different weekdays.
Key Features:
- Customizable Timezone:
Choose from a range of timezones, including popular ones like New York, Los Angeles, Chicago, Phoenix, Vancouver, Santiago, and Mexico City.
- Intuitive Background Coloring:
Each weekday is assigned a distinctive background color, allowing for quick identification and differentiation between different trading days.
Portfolio Management [TrendX_]Portfolio Management is a powerful tool that helps you create and manage your own portfolio of stocks, based on your risk and return preferences.
*** Note: You should select the appropriate index for each stock as the benchmark to compare your portfolio’s performance.
*** Note: You should apply the indicator to the same chart as the benchmark, so that it can capture the historical trends of all the 10 stocks in your portfolio.
USAGE
Analyze your portfolio’s return factor, which shows the compound annual growth rate (CAGR) of each stock and the portfolio as a whole, as well as the weight of each stock in the portfolio.
The Weighting approach contains 2 options, Equal and Growth-based method:
Customize your portfolio by selecting up to 10 stocks from a wide range of markets and sectors:
Compare your portfolio’s performance with a benchmark of your choice, which is the S&P500 by default setting.
Evaluate your portfolio’s risk factor, which includes the capital asset pricing model (CAPM), the portfolio beta, and the Sharpe ratio of both the portfolio and the benchmark:
- CAPM is a model that calculates the expected return of the portfolio based on its risk and the risk-free rate of return.
- Portfolio beta is a measure of how sensitive the portfolio is to the movements of the benchmark. A beta of 1 means the portfolio moves in sync with the benchmark, a beta of less than 1 means the portfolio is less volatile than the benchmark, and a beta of more than 1 means the portfolio is more volatile than the benchmark.
- Sharpe ratio measures how much excess return the portfolio generates per unit of risk. It is calculated by subtracting the risk-free rate of return from the portfolio’s return, and dividing by the portfolio’s standard deviation. A higher Sharpe ratio means the portfolio has a better risk-adjusted return. A Sharpe ratio of more than 1 is considered good, a Sharpe ratio of more than 2 is considered very good, and a Sharpe ratio of more than 3 is considered excellent .
Adjust your portfolio’s rebalancing strategy, which determines when and how to change the weight of each stock in the portfolio to optimize your return and risk objectives. The tool also suggests a default hedging-stock asset, which is the US dollar interpreted through the dollar index (DXY):
- The dollar index is a measure of the value of the US dollar relative to a basket of other major currencies. It is often used as a proxy for the global economic sentiment and the demand for safe-haven assets. A rising dollar index means the US dollar is strengthening, which may indicate a bearish outlook for the stock market. A falling dollar index means the US dollar is weakening, which may indicate a bullish outlook for the stock market.
- The rebalancing strategy suggest increasing the weight of the hedging-stock asset when the dollar index is under positive supertrend condition, and decreasing the weight of the hedging-stock asset when the dollar index is in the downward supertrend. This way, you can hedge against the adverse effects of the stock market fluctuations on your portfolio, simply you can just cash out at the suggested hedging weight.
CONCLUSION
Investors can gain a deeper insight into their portfolio’s performance, risk, and potential, and make informed decisions to achieve their financial goals with confidence and ease.
DISCLAIMER
The results achieved in the past are not all reliable sources of what will happen in the future. There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur.
Therefore, you should always exercise caution and judgment when making decisions based on past performance.
Table to filter trades per dayThis script contains a block of code that allows users to filter the total number of trades, loss trades, win trades and win rate per day in a table. This makes it easier to compare which days were profitable and which were not.
Be aware that this script can only be used in strategy scripts. To use the script, open it and copy every line from "START" to "STOP". Then, paste these lines at the very bottom of the strategy script that you want to attach it to.
The user has the ability to adjust the position of the table and customize the size of the text displayed.
If the user sets "Check when the trade:" to "Opened", the script will monitor when the trade opens and add it to the table once it has been closed. If "Check when the trade:" is set to "Closed", the script will track when the trade is closed and add it to the table once it has been closed.
It is recommended to run the script on the "Exchange" setting for more accurate results, even though a "Set the timezone" option is available. This will prevent discrepancies caused by daylight saving time changes.
Please note that the code will only work properly if you choose a daily timeframe or lower.
Session Sweeps [LuxAlgo]The Session Sweeps indicator combines ICT-based features for a complete trading methodology involving market sessions, market structure, and fair value gaps to find optimal entry conditions for trading price action.
Traders frequently tend to place stop/limit orders at the high and low points of major trading sessions such as Asian (Tokyo), European (London), and North American (New York), resulting in the establishment of liquidity pools at those particular levels. The Session Sweeps indicator is crafted to recognize and underscore occurrences of session sweeps or liquidity sweeps during these major trading sessions.
🔶 USAGE
Default settings utilize major forex trading sessions, yet users can select their preferred opening and closing times, rename the sessions, or adjust the colors. It's important to note that the specified times for each session align with the respective local timezones: Asian (Tokyo) UTC+9, European (London) UTC, and North American (New York) UTC-5.
If the price briefly crosses either the highest or lowest point of a market session. These movements, aiming at triggering stop losses, suggest potential shifts in the market direction. Detecting such movements is the fundamental purpose and core functionality of the script.
🔹Market Structure Shifts
A Market Structure Shift refers to a change in market direction, either from an uptrend to a downtrend or vice versa. A part of a common entry model when using session sweeps is waiting for the formation of a CHoCH after a session sweep.
🔹Fair Value Gaps
A Fair Value Gap (FVG) holds particular appeal for price action traders, emerging when there are inefficiencies or imbalances in the market, often a result of uneven buying and selling activity. The underlying concept of FVGs is that the market tends to revisit these inefficiencies before resuming its trajectory in alignment with the initial impulsive move.
After the formation of a CHoCH traders can enter a position when the price enters the area of a Fair Value Gap (FVG).
🔹Setup Examples
This entry setup is commonly used by ICT traders and is shared for informational & educational purposes only.
Long Positions (5-Minute Timeframe):
Wait for the previous session's low to be swept.
Look for a Bullish Choch.
Find a Bullish FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the session high or aim for a 1:2 Risk-Reward Ratio.
Stop Loss (SL): At the session low or nearest Swing Low.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
Short Positions (5-Minute Timeframe):
Wait for the previous session's high to be swept.
Look for a Bearish Choch.
Find a FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the previous session's low or aim for a 1:2 RR.
Stop Loss (SL): At the session high or nearest Swing High.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
🔶 SETTINGS
🔹Session Sweeps
Buyside Sweep Zones, Color, and Margin: toggles the visibility of bullside sweep zones, customizes the associated color, and sets the margin value defining the range of a bullside sweep zone.
Sellside Sweep Zones, Color, and Margin: toggles the visibility of sell-side sweep zones, customizes the associated color, and sets the margin value defining the range of a sell-side sweep zone.
Sweep Margin Length: specifies the maximum allowed length of a sweep zone invalidation, the length over which the price slightly invalidated the margin range.
Detect Sweeps Once per Session: if enabled will detect only once a sweep zone within a session.
Hide Fake Sweep Zones, and Color: controls the visibility and color of the fake sweep zones.
🔹Sessions
Session (Asia, London, New York AM, and New York PM), Start Time, and End Time: enables or disables the visibility of the named market session range, and customization of the session hours.
Color: color customization option of the named session.
Extend Max/Min: extends the highest and lowest price levels of the named session until the end of the next enabled session. This option is recommended to be enabled when sweep zone detection is activated to observe the relationship between the sweep zone and previous session extreme levels.
Extend Mid: extends the mean price levels of the named session until the end of the next enabled session. The extended line may serve as potential support and resistance levels.
Fill: enables/disables background coloring of the named session.
New York DST | London DST: enabling this option initiates Daylight Saving Time (DST) for New York or London. Note: Daylight Saving Time is not applied to the Asian (Tokyo) session.
Sessions Extreme Lines | Sessions Names: toggles the visibility of the highest and lowest price levels, as well as the names, for all market sessions.
Session Lines Width: sets the width of the lines for all sessions.
Session Fill Transparency: sets the background color transparency of the range for all sessions.
🔹Market Structure Shifts
Market Structure Shifts: toggles the visibility of market structure shifts, also known as change of character (CHoCH).
Detection Length: specifies the detection length.
Market Structure Shifts; Bull & Bear: color customization options.
🔹Fair Value Gaps
Fair Value Gaps: toggles the visibility of the fair value gaps.
Fair Value Gap Width Filter: specifies the filtering multiplier; additional details can be found in the tooltip of the respective input option.
Bullish & Bearish Imbalance: color customization options.
🔹Sessions Tabular View
Sessions Tabular View: toggles the visibility of the tabular view of the sessions, displaying date &time, status, and countdown counter.
Hide if not Forex Market Instrument: checks the market and automatically enables/disables the option based on the market instrument.
Table Text Size & Position: size and placement customization options
🔶 LIMITATIONS
Please be aware that fair value gap filtering cannot be applied to the initial 144 candles (with a fixed-length ATR) as the ATR value necessary for filtering won't be available during this period.
🔶 RELATED SCRIPTS
Buyside-Sellside-Liquidity
Sessions
Liquidity-Voids-FVG
Thank you to our community for the recommendation of this script. To explore additional conceptual scripts and related content, we invite you to visit >>> LuxAlgo-Scripts .
SRC Helper IndicatorsShows closest support / resistance level from current price and distance in pips.
Index Kill Zones - SMC IndicatorsWhat are Index Kill Zones?
Index Kill Zones are specific Time Windows of opportunity during the Session for Indices that have the potential for the highest volatility and where looking for trading opportunities is ideal.
The Index Kill Zone Indicator is specifically designed for the SP500, NQ100, and DJ30, Markets. What differentiates this script from other Kill Zones scripts is that this script is based on NY Midnight as the basis for the start of the day.
This is not the usual below-average Index Kill Zone indicator because this indicator does not only show the 3 main Kill Zones or Sessions, but it also offers extra Kill Zones within each session that are called "AM Session", "PM Session", the "Launch Hour", the "Silver Bullet for the London, AM, and PM Sessions", and the "Last Hour" for the London, AM, and PM sessions.
Another key differentiator of this indicator's functionality is that it shows the highs and lows of each Kill zone allowing SMC traders to monitor Time-Based Liquidity above the highs and lows of each trading session.
By splitting each trading day into AM and PM Sessions, we can identify 3 types of potential daily profiles. These daily profiles could be used as conceptual templates as to what to expect from the price during a certain day. The 6 templates are the following:
1. Two Sessions Up: Where the price would go in one direction higher during both the AM and PM Sessions.
2. Two Sessions Down: Where the price would go in one direction lower during both the AM and PM Sessions.
3. AM Rally, then PM Decline: The price would go higher during the AM session and then lower during the PM Session.
4. AM Decline, then PM Rally: The price would go lower during the AM session and then higher during the PM Session.
5. Consolidation, AM Rally, then PM Decline: Where the price would consolidate most of the AM Session, then go higher into the last hour, and then reverse and go lower during the PM Session.
5. Consolidation, AM Decline, then PM Rally: Where the price would consolidate most of the AM Session, then go lower into the last hour, and then reverse and go higher during the PM Session.
Within each AM and PM Session, there is a "Silver Bullet" that acts as a time window of opportunity to get into a continuation trade in the direction of the prevailing trend.
Also, within each AM and PM Session, there is a "Last Hour" that acts as a time window of opportunity to get into a trade in the direction of the potential trend if the price has not moved yet, or as a reversal trade opportunity if the price has already ran previous short-term highs or lows.
Finally, we have also incorporated a Notification function to remind the trader of the start of the trading Kill Zones to not miss out on potential trade opportunities.
Key Functionalities
Universal Time Reference
Every day starts at 00:00 NY Midnight, irrespective of the trader's local time, Instead of the Standard GMT Midnight. This allows all Index Kill Zones to be in line with the New York start of the day at Midnight, as taught by ICT.
Weekend Highlighter
This feature highlights time from Sunday Market Open at 5 PM NY Time to 00:00 NY Midnight.
It's useful for identifying the non-trading or the low volatility periods when trading should be avoided.
Features Breakdown
Lookback Period
Defaulted to 60 trading days, aligning with “IPDA Data Ranges”, which is ideal for backtesting.
It's adjustable for trading, and it's recommended to keep it at 20 trading days to focus on the most recent data only.
24-hour Daily Intervals
The 24-hour intervals are not the same as the usual daily candle. Instead, the start of each trading day is anchored to the 00:00 NY Midnight.
Highlights "Days of the Week" labels, "Weekend" Trading Time, and the daily high-low ranges based on the start of trading day mark being at 00:00 NY Midnight.
London Kill Zones (Green)
The Full London Session starts from 02:00 NY Time to 05:00 NY Time.
London Silver Bullet starts from 03:00 NY Time to 04:00 NY Time.
London Last Hour starts from 04:00 NY Time to 05:00 NY Time.
Highlights the high and low of the London Kill Zone to Identify Time-Based Liquidity above and below the London Kill Zone Range.
AM Session Kill Zone (Blue)
The full AM Session Starts from 09:30 NY time to 12:00 NY Time.
AM Session Silver Bullet starts from 10:00 NY Time to 11:00 NY Time.
AM Session Last Hour starts from 11:00 NY Time to 12:00 NY Time.
Highlight the high and low of the AM Session to Identify Time-Based Liquidity above and below the AM Session Range.
Highlights the time when there is the highest volatility during the AM Session.
PM Session Kill Zone (Orange)
The full PM Session Starts from 13:00 NY time to 16:00 NY Time.
PM Session Silver Bullet starts from 14:00 NY Time to 15:00 NY Time.
PM Session Last Hour starts from 15:00 NY Time to 16:00 NY Time.
Highlight the high and low of the PM Session to Identify Time-Based Liquidity above and below the PM Session Range.
Highlights the time when there is the highest volatility during the PM Session.
Bonus Features
Daily & Weekly Open Price Levels
The Open Price levels draw a horizontal line from the start of the trading day at 00:00 NY midnight, and it extends it towards the end of the trading day.
This is useful for understanding where the price is relative to the daily candle.
When Bullish, the trader should look for setups at or below the daily or weekly open price.
When Bearish, the trader should look for setups at or above the daily or weekly open price.
Whether to choose the Daily or Weekly open price depends on the trader's trading style. If the trader is day trading or scaling, then it's more appropriate to choose the Daily Open Price.
However, Day Traders can also use the Weekly candle to align with the Weekly Candle's expected range direction.
On the other hand, if the trader is a Swing Trader and wants to capitalise on the weekly candle's trend, then it's more appropriate to choose the Weekly Open Price.
However, Swing Traders can also use the Daily Open Price when looking to take a trade to time better entries with a high risk-to-reward ratio.
Daily Open Price Level (in Green) and Weekly Open Price Level (in White)
Kill Zones Open Price Level
This is useful if the trader is an intra-session trader and wants to treat the sessions as the daily candle. In this case, the trader can use the Kill Zones Open Price levels based on the same logic of the Daily Open Price, where the trade would look for buy opportunities below the Session's open price and look for sell opportunities above the Session's Open Price Level.
Notifications
The trader can also receive alerts as a reminder at the start of the desired session to ensure that he or she does not miss the start of the trading session.
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 .
MTF Workbench [WinWorld]WHAT IS THIS?
This is MTF Workbench — an indicator, which is based on World Class SMC, but has one main feature — multi-timeframe analysis.
WHY MAKING MTF FEATURE AS A SEPARATE INDICATOR?
We weren't able to implement this feature in the World Class SMC itself due to huge size and complexity of the script, so we have re-written the entire script and optimized it to implement MTF and decided to make a separate script for MTF features in order to not make World Class SMC any heavier, because otherwise the script would probably not even load up on the chart.
WHAT ARE THE FEATURES?
MTF Workbench has two features for now: dashboard and structure mapping. But there will be more soon!
DASHBOARD
Dashboard gathers data from 4 different timeframes and visualize the results in the nice little table on the chart. It is useful to have a dashboard because it visualizes important data in a simple way.
The settings of the dashboard are:
- Position. this settings has 2 subsettings: vertical position (bottom, middle, top) and horizontal position (left, center, right). These subsettings allow you to place dashboard on any side of the chart;
- Text size. This settings defines size of the text in the dashboard, simple as that;
- Timeframe #1, #2, ..., #4. These four settings allow you to choose 4 different timeframes for the table to gather data from.
How to read the dashboard:
- The colour of the specific data cell is the current trend of selected timeframe;
- IDM ⧖ — price has not reached IDM yet;
- IDM ✓ — price grabbed IDM.
This is it for dashboard, now for structure mapping.
STRUCTURE MAPPING
By structure we mean IDM, BoS and ChoCh (if you don't what this means, refer to World Class SMC description to learn the terms, we won't explain it here). In our main indicator structure was only drawn for the timeframe you were currently using, but now you can choose whatever timeframe you want to get structure from!
Why do this matter? Well, this feature alone allows to perform so called intern-structure analysis, because now you will able to compare current timeframe's structure to a higher timeframe's structure and get an a sufficient amount of edge about what Smart Money are doing.
* And yes, this feature only works for analyzing higher timeframes!
The structure itself is plotted the same way as it is in our main indicator, but we also add timeframe to the specific structure event (event is when price reaches IDM, BoS or ChoCh lines) so you could differentiate internal-structure events from any other events.
Live structure is also available in this indicator.
WHY USE THIS INDICATOR?
Even though there a lot of structure mapping indicators with MTF features, they don't have what MTF Workbench has — the correct core structure-mapping algorithm. We took our core structure-mapping algorithm and put it into MTF Workbench to finally bring MTF analysis to life to work state-of-the-art structure-mapping algorithm, which gives any user a huge edge in the market by a very simple reason — this algorithm actually works. Our algorithm proved itself to be efficient and it helps map structure without human intervention, which is a huge leap in smart money trading. To this day we were not able to find an algorithm which would match the quality of our algo! Which why we think making an MTF version of our algorithm is a good thing to do, because now users can finally work with current timeframe and see information about structure from other timeframes using only ONE chart. If you are smart-money trader, you understand that this is a HUGE thing.
For PineScript moderators
We know the rule not publish slightly modifie version of some indicator as another indicator, but this is not a slightly different version. MTF Workbench was completely re-writtten from scratch and optimized so it could fint PineSript's code restrictions such as 500 max local scopes, which World Class SMC with MTF Workbench's features exceeded way too far.
Also, by referencing our World Class SMC indicator we don't promote it in any way. The reference is only made with purposes of
1) Informational reference to help users learn specific terms.
2) Informational reference to some of the World Class SMC features to give users a clue about what exactly MTF Workbench does.
We hope that you will find a great use from MTF Workbench as we did and it will help your level up your edge!
Sincerely, WinWorld Team.
Automating wealth creation since 2022.
Forex Kill Zones - SMC IndicatorsWhat are Kill Zones?
Kill Zones are specific Time Windows of opportunity during the Session that have the potential for the highest volatility and where looking for trading opportunities is ideal.
The Forex Kill Zone Indicator is specifically designed for the Forex Market. What differentiates this script from other Kill Zones scripts is that this script is based on NY Midnight as the basis for the start of the day.
This is not the usual below-average Kill Zone indicator because this indicator does not only show the 3 main Kill Zones or Sessions, but it also offers extra Kill Zones that are called "Asian Range (AR)", "Central Bank Dealing Range (CBDR)", and "FLOUT".
Another key differentiator of this indicator's functionality is that it shows the highs and lows of each Kill zone allowing SMC traders to monitor Time-Based Liquidity above the highs and lows of each trading session.
Another added benefit of this indicator is the Standard Deviations features for the AR, CBDR, and FLOUT that we added. The Standard Deviations act as key levels where there is a high probability of price reacting when in confluence with 1H or higher key levels (PD Arrays). The Standard Deviations are not pivot levels but are ranges above and below the Kill Zones that rely on TIME and PRICE in their calculations.
Finally, we have also incorporated a Notification function to remind the trader of the start of the trading Kill Zones to not miss out on potential trade opportunities.
Key Functionalities
1) Universal Time Reference:
Every day starts at 00:00 NY Midnight, irrespective of the trader's local time, Instead of the Standard GMT Midnight. This allows all Kill Zones to be in line with the New York start of the day at Midnight, as thought by ICT.
Weekend Highlighter
This feature highlights time from Sunday Market Open at 5 PM NY Time to 00:00 NY Midnight.
It's useful for identifying the non-trading or the low volatility periods when trading should be avoided.
Features Breakdown
Lookback Period
Defaulted to 60 trading days, aligning with “IPDA Data Ranges”, which is ideal for backtesting.
Adjustable for trading, and it's recommended to keep it at 20 trading days to focus on most recent data only.
24-hour Daily Intervals
The 24-hour intervals are not the same as the usual daily candle. Instead, the start of each trading day is anchored to the 00:00 NY Midnight.
Highlights "Days of the Week" labels, "Weekend" Trading Time, and the daily high-low ranges based on the start of trading day mark being at 00:00 NY Midnight.
London Kill Zone (Green)
Starts from 01:00 NY Time to 05:00 NY Time.
London closes at 12:00 NY Time.
Highlight the high and low of the London Kill Zone to Identify Time-Based Liquidity above and below the London Kill Zone Range.
Marks the London Close Session to mark the end of London End of the trading day, where volatility drops.
Highlights the time when there is the highest volatility during the London Session Kill Zone.
New York Kill Zone (Blue)
Starts from 07:00 NY time to 10:00 NY Time.
Marks The CME Open at 08:30 (the opening of the Bond Market).
Highlight the high and low of the New York Kill Zone to Identify Time-Based Liquidity above and below the NY Kill Zone Range.
Highlights the time when there is the highest volatility during the New York Session.
The Central Bank Dealing Range or "CBDR" (Orange)
Starts From 14:00 NY Time to 20:00 NY Time.
Highlight the high and low of the CBDR Kill Zone to Identify Time-Based Liquidity above and below the CBDR Kill Zone Range.
Also, there is an added ability to add the CBDR Standard Deviations above and below the CBDR.
Can also extend the CBDR Standard Deviations key levels until the end of the next day's London Kill Zone.
What are the CBDR Standard Deviations?
The Standard Deviations are extensions of the CBDR above and below the CBDR original range. It takes the high and low of the range and adds the range above and below the original range by x times.
The CCBDR Standard Deviations are NOT pivot levels. They are used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The idea behind them is that if the price is Bearish, the price could rally to +1 CBDR Standard Deviation below dropping lower. As shown in the image below on Thursday, the two vertical lines before the start of Thursday mark the CBDR Kill Zone, then the price rallied to +1 CBDR SDv and then dropped.
Asian Range "AR" Kill Zone
Starts from 20:00 NY Time to 00:00 NY Time.
Highlight the high and low of the AR Kill Zone to Identify Time-Based Liquidity above and below the AR Kill Zone Range.
Also, there is an added ability to add the AR Standard Deviations above and below the AR.
This KillZone should be primarily used when CBDR exceeds 40 pips.
Similar to the CBDR, the AR Standard Deviations also can be used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The AR Standard Deviations can also be extended until the end of the next day's London Kill Zone.
FLOUT Range
It Combines AR and CBDR, spanning from 14:00 NY Time to 00:00 NY Time.
The FLOUT should only be used when both AR and CBDR have small ranges of less than 10 pips combined.
Highlight the high and low of the FLOUT Kill Zone to Identify Time-Based Liquidity above and below the FLOUT Kill Zone Range.
The FLOUT Standard Deviations also can be used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The Flout Standard Deviations can be extended until the end of the next day London Kill Zone.
Bonus Features
Daily & Weekly Open Price Levels
The Open Price levels draw a horizontal line from the start of the trading day at 00:00 NY midnight, and it extends it towards the end of the trading day.
This is useful for understanding where the price is relative to the daily candle.
When Bullish, the trader should look for setups at or below the daily or weekly open price.
When Bearish, the trader should look for setups at or above the daily or weekly open price.
Whether to choose the Daily or Weekly open price depends on the trader's trading style. If the trader is day trading or scaling, then it's more appropriate to choose the Daily Open Price.
However, Day Traders can also use the Weekly candle to align with the Weekly Candle's expected range direction.
On the other hand, if the trader is a Swing Trader and wants to capitalise on the weekly candle's trend, then it's more appropriate to choose the Weekly Open Price.
However, Swing Traders can also use the Daily Open Price when looking to take a trade to time better entries with a high risk-to-reward ratio.
Notifications
The trader can also receive alerts as a reminder at the start of the desired session to not miss out on the start of the trading session.
[F][IND] - Price Action with Market StructurePrice Action with Market Structure Indicator
Unlock the power of price action and market structure with our comprehensive TradingView indicator. This dynamic tool is designed to enhance your trading strategy by identifying key candle patterns and market trends.
Key Features:
1. Bullish and Bearish Candle Patterns Identifier: Pinbars (PB), Engulfing (BE), and Big Candles (BC), each available in both bullish (Green) and bearish (Red) variations.
2. Entry Signals: Buy only when bullish price action aligns with an established uptrend in market structure. Conversely, sell when bearish price action coincides with a downtrend.
3. Customizable Settings: Tailor the indicator to your preferences with adjustable parameters. Choose from Big Candles (BC), Engulfing patterns (BE), or Pinbars (PB) based on your trading style.
4. Reference Colors and Abbreviations:
- Green = Bullish
- Red = Bearish
- BC = Big Candle
- BE = Engulfing
- PB = Pinbar
5. Stoch RSI Filtering: Refine your entries with Stoch RSI overbought and oversold conditions:
- Overbought = Bearish Price Action Candles (BC, BE, PB) only appear if the Stoch RSI overbought is above the set value.
- Oversold = Bullish Price Action Candles (BC, BE, PB) only appear if the Stoch RSI oversold is below the set value.
- ZigZag Market Structure Line: Visualize market trends with the ZigZag line, providing a clear representation of the prevailing market structure.
How to Use:
1. Identify Price Action: Watch for bullish or bearish price action signals based on your selected candle patterns.
2. Confirm Market Structure: Ensure the market structure aligns with the intended trade direction – uptrend for buy signals and downtrend for sell signals.
3. Fine-Tune with Stoch RSI: Use Stoch RSI to filter signals, increasing the precision of your entries.
4. Customize Your View: Tailor the indicator display to your preferences by selecting specific candle patterns in the input settings.
Gain a deeper understanding of market structure: Understanding the Basics of Market Structure .
Upgrade your trading strategy with the Price Action with Market Structure Indicator. Empower your decisions and master the art of precision trading.
Disclaimer:
This indicator is provided for educational purposes only. Trading involves risk, and users should consult with a financial professional before making any trading decisions.
Your Feedback Matters!
Please feel free to comment or reach out if you have any improvement suggestions or if you would like to request the development of a specific indicator. Your feedback is invaluable!
IU Support and Resistance How this script works :
1. This script is an indicator script which calculates the support and resistance based on pivot high and pivot low and plot them as zone onto the chart.
2. The first user input is minimum number of touches which indicates how many time pivot high or pivot low should be tested in order to be a valid support or resistance level.
3.The second user input "Set Buffer" check if the user wants to use a custom buffer or not if it's unchanged then the default is 50% of the 1000 period ATR value .
4. If "Set Buffer" is checked meaning if it's set to true then only the third user input will be execute which is the "buffer" which indicates how much price range user wants his zone to have.
5. After the user input part this script create two arrays to store the pivot high and pivot low values every time he have a new value.
6. This script also creates two arrays to store the bar index of the bar where the new pivot high or pivot low is detected those bar index will be later use while creating the support and resistance zones.
7. Then the script creates four more arrays to store the final support and resistance values and their respective bar index which will be use for creating the support and resistance zones.
8. After this the script check that we are at the last bar of our chart if we are then we sort the support and resistance indices by descending order and store them into an new variable after that we sort the support and resistance arrays by descending order, then we loop through the arrays elements and we check if the previous element comes under the zone of the current element if so we increase the "minimum touch" variable by 1, once we have 5 or more count in our variable and we no longer have a valid zone then we store the element value and the sorted index of the element into our final arrays.
9. Finally the script will loop through the final support and resistance arrays and it will create a box for each support and resistance with respect to extending it on both directions.
10.The green zones are the support and the red zones are the resistance.
How user can benifits from this script:
1. User can automatically identify support and resistance zones and he can plan his trade as per that.
2. User can test how different markets reacts with support and resistance zones.
3. User can plan breakout trade on the break of the support or resistance level.
4. User can adjust he stop loss and take profit as per the support and resistance zones.
Sessions [TradingFinder] New York, London, Tokyo & Sydney ForexTiming is one of the influential factors in a trader's position. This indicator categorizes transactions into three sessions (Asia, Europe, and America). Five significant trading cities (New York, London, Frankfurt, Tokyo, and Sydney) are selectable.
I recommend using the tool on a 5-minute time frame, but it is usable on all time frames.
Settings:
• Trading sessions: Display or hide each trading session as needed.
• Color: Change the color of each box.
• Session time intervals: The default is based on the main working hours for each time interval and can be adjusted.
• Information table: Delete or display additional information table.
Information Table:
• Trading sessions
• Opening and closing times of each trading session
How to Use:
Initiating trading sessions involves entering with increased liquidity, and the market usually experiences significant movements. Many trading strategies are based on "time" and "session openings." This tool empowers traders to focus intensely on each time interval.
These trading sessions are crucial for all Forex, stock, and index traders:
The total price ceiling and floor in the Asia session (Tokyo and Sydney) are crucial for traders in the European session.
The European session starts with Frankfurt, and an hour later, London begins, collectively forming the European session.
The dashboard provides additional information, displaying hours based on UTC.
Customization options are considered in all sections so that everyone can apply their own settings.
Important: Default times are the most accurate for each region, and in most indicators, this time is not correctly selected. Therefore, the level of influence and time intervals are specified at the beginning of each session. If you are using another indicator, match its default time to the announced time and share the results with me in the comments.
RSI Candle (Tommy)This indicator is the open(free) version of TTT_Crack_RSI_Ver_2.1.0 we have published a while ago.
Hello dear traders from all over the world!
It has been a while since our team started concentrating on the technical indicators that apply sources not only on the closed price but also on the high/low prices of the candlestick to overcome the limitations of existing indicators. As mentioned repeatedly before, most of widely adapted indicators in technical chart these days are generated only with the closed prices, not taking in consideration of the wicks or tails of the candlesticks. This crucially leads to a rapid decrease in the reliability especially in current financial market, where ignoring other portions within a candlestick structure and putting weights just on candle body often causes fatal trading outcome. Since phenomenons such as wide price fluctuation and non-ideal price momentum occur more frequently compared to the old days when TA used to perfectly work just as the images in a textbook, sourcing OHLC (Open, High, Low, Closed) prices from a candle structure is becoming more essential and practical.
Such revolutionary perceptions and insights could be easily acquired: by just adding high/low prices of the candlesticks when computing technical indicators, many more meaningful signals were observed. One of the popular indicators we have recently attempted to reflect this very idea was RSI (Relative Strength Index) that was published by the name of “RSI Cloud” months ago. As shown below, this groundbreaking index was to be comprehended as a band or a cloud rather than a single line. In fact, many unexpected methodologies, techniques, and insights were discovered through countless applications as our team went through series of experiments and back/forward tests. The results were quite shocking: Little did we know that drawing trendlines, parallel channels, and previous highs/lows etc. just like we do on the regular candlestick chart would also work decisively. Not only divergences were efficiently captured, but ‘SR Flip’ techniques also functioned as well.
Anyway, validation and verification process has been successful, ensuring that taking all of the candlestick into an account within the indicators provides much more meaningful signals than the indicators with ‘closed source’, the default setting. During thousands of our trials, we questioned to ourselves: If we are going to transform candlestick structure into an equation utilizing all of the prices, why don’t we just express the index with the same format, as another candlestick? The initial intention of the clouds or bands were to adapt the tails of the candle and to smooth them out. And this radical idea changed the whole game. By applying this candlestick format insights, even more significant signals were brought up on to the surface that surprised all of us.
Without a doubt, just like the cloud version, the candlestick version even works better when applying trendlines, pivots, channels, divergences and SR Flips, etc. As we were studying behaviors of the RSI candlestick indicator, a determinant and significant signal was detected that can be usefully referred to traders and this core element is why this update extremely so innovative. We spotted that the emergence of consecutive tails could be a valuable signal that could be weighted. Especially when the tails appeared in sequence in overbought and oversold zone, a strong preference of trend reversal was observed. It was only matter of time to search for the proper parameters and values that fits the market!
And here we are, presenting our newest indicator, “TTT_Crack_RSI_2.1.0” Just like the previous version, it catches regular and hidden divergences automatically and furthermore, we made it to detect appearance of sequential candle wicks in overbought/sold zone (70 and 30 as default) signaling some possibility of trend reversal. The default setting for the consecutive wick counting (Wick Count) is 4, meaning if candle wicks are formed (Top tail in the overbought zone and bottom tail in the oversold zone) four times in a row, a triangle will appear signaling potential trend reversal. As traders’ preferences, the settings can be customized. “Wick Length” setting let users to decide the minimum size of the wick that are to be considered as the proper criteria of candlestick wick. If one wishes to only imply candle wick that are longer than certain length, he or she can increase the “Wick Length” value. We recommend 30~40 for this parameter value. Moreover, if one wants the minimum number of consecutive wicks to that are to be counted to be greater or less, he or she can put in the minimum counting number value at “Wick Count”. For example, if more conservative trader wishes to consider minimum number of consecutive wicks as 6, then the logic will signal only if the wicks appear 6 times in a row in overbought/sold zone. Overbought and oversold zone can also be modified in the settings just like the regular RSI indicator.
How to effectively use this indicator to search for a decent entry point? First of all, do not just enter position only because a single signal has been appeared. The most reliable and strong entry sign would be when the trendline/channel breaks below/above at the overbought/sold zone and at the same time, consecutive wicks and divergence signals appear as well. If all of those signals have been observed, aim for the spot when RSI escape the overbought/sold zone. That would be a proper time to enter a position. As we emphasized many times, it is very reckless to make trading decisions only with technical indicator. It might defer a little bit depending on traders’ tendency, but indicators are to be considered as a side tool to identify macro level trends and signals of possible trend reversal. Always remember, traders that rely on TA must look for the confluent zone and thus the more technical factors that overlap price-wise and time-wise, the more reliability can be given.
If you wish to try our work, please comment below or send message to this account.
Thank you very much.
본 지표는 예전 업로딩했던 TTT_Crack_RSI_Ver_2.1.0의 무료 버전입니다.
안녕하세요 트레이더 여러분. 토미 트레이딩 팀의 토미입니다.
최근 저희 개발팀은 캔들차트의 종가만으로 산출되는 기술적 지표들의 한계점을 극복하고자 캔들 고/저가까지 적용을 시켜 ‘요즘 장에 더 맞는’ 지표들을 만들기 위해 많은 노력을 해왔습니다. 저희 시장 분석/시황, 강의자료, 그리고 지표 개발 문서에서 누누이 언급 드렸듯, 근래 많은 트레이더 분들에게 널리 사용되고 있는 대부분의 지표들은 캔들의 종가만 고려하는 경우가 많습니다. 비상식적이고 두 눈으로 보고도 믿기지 않을 가격 모멘텀 및 변동성이 난무하는 요즘 21세기 금융시장에서는 예전처럼 교과서에나 볼 법한 뻔하고 예측 가능한 패턴 및 형국들을 찾아보기 힘들어졌습니다. 이렇게 급변하는 최근 시장 성향 상 기술적 분석에 캔들 꼬리를 배제하고 몸통만 고려하기에는 너무 치명적인 리스크가 뒤따라오기 마련입니다.
이런 궁극적인 목표로 개발에 착수한 저희 팀은 캔들의 OHLC(시, 고, 저, 종가)를 지표에 내포시켜 더 유의미한 신호들을 도출할 수 있다는 이론을 검증하였고 이를 반영해 몇 달 전 "RSI 클라우드"를 트레이딩뷰에 출시한 바 있습니다. 아래의 링크(이미지)에서 시사하는 바와 같이 RSI 역시 주가를 하나의 라인이 아닌 구조로 해석하여 밴드나 클라우드 형태로 표현해보니 실제로 더 높은 실용성과 활용성을 입증할 수 있었습니다. 또한 수많은 실험과 백/포워드 테스팅을 거치면서 사전에 전혀 예상치 못한 방법론 및 기법들을 응용시킬 수 있다는 사실까지 밝혀냈습니다. 일반 캔들 차트처럼 추세선, 평행채널, 피봇, 그리고 전 매물대 등의 작도법을 적용시킬 수 있을뿐더러 캔들의 종가가 아닌 고/저가를 활용해보니 더 효과적인 일반/히든 다이버전스 시그널을 찾아낼 수 있었습니다. 게다가 SR Flip (지지와 저항이 뚫리면 바뀌는 현상) 이론마저 잘 먹히는 현상을 인지한 저희는 개발 방향을 이쪽으로 더 깊고 세밀하게 발전시키는 쪽으로 잡았습니다.
여러 시행착오를 통해 이것저것 될 만한 건 다 시도해보던 와중, 저희는 어느 날 문득 이런 질문을 던지게 됩니다. ‘어차피 이왕 캔들의 OHLC 값을 지표화 시키는 거 차라리 지표마저 동일하게 캔들화시키는 게 낫지 않을까?’ 결과는 매우 충격적이면서도 동시에 저희에게 허탈감을 안겨줬습니다. 곰곰이 생각해보니 클라우드/밴드 형태의 지표는 적용시킨 캔들의 고/저가를 일련의 Smoothing out 프로세싱 작업을 입힌 거고 그럴 바엔 오히려 동일한 캔들 형태로 표현해버리면 더 직관적인 경향성과 규칙성을 파악할 수 있을 거란 저희의 예상은 적중했습니다. 클라우드/밴드 지표 형식의 모든 차별성과 장점은 그대로 유지하고 심지어 더 유의미한 신호들을 포착할 수 있었습니다.
해당 산출물에 추세선, 평행채널, 피봇, 전 매물대, 그리고 SR FLIP과 같은 작도법과 다이버전스 시그널 등을 더 세밀하고 효율적으로 적용시킬 수 있는 건 물론이고, 그 외 저희는 또 한가지 결정적이고 획기적인 시그널을 탐지했습니다. 사실 이 부분이 이번 업데이트의 가장 핵심 요소라고 볼 수 있습니다. 캔들스틱화된 RSI 지표의 경향성 및 규칙성 고찰 과정 중 캔들 꼬리가 연속적으로 출현하는 현상에 심상치 않은 기운을 감지한 저희 팀은 정말 소름이 돋을 정도로 용이한 추세 전환 시그널을 발견했습니다. 바로 과매도 구간에서는 아래꼬리, 과매수 구간에서는 위꼬리가 연달아 나올 경우 상당히 높은 확률로 변곡점이 출현하고 추세가 전환되는 경향성에 가중치를 부여해 이에 최적화된 파라미터 및 설정 값들을 찾아 로직화 시켜봤습니다. 결과는 아주 만족스러웠습니다.
이름하여 저희의 최신 지표인 "TTT_Crack_RSI_2.1.0"를 여러분께 소개 드립니다. 이전 버전인 “RSI Cloud”와 마찬가지로, 종가가 아닌 고/저가의 일반/히든 다이버전스 시그널을 알아서 포착해주고, 더 나아가 과매매 구간(기본 값은 30/70이며 설정 변경 가능)에서 RSI 캔들 꼬리의 연속성을 자동으로 감지해 표시(삼각형)를 해주게 끔 만들었습니다. 과매매 구간에서 연이어 출현하는 캔들 꼬리 카운팅의 최소 값은 4으로 디폴트 값 설정을 해 놨습니다. 더 보수적/공격적으로 접근하고 싶으신 분들은, 즉 최소 카운팅 값을 4이 아닌 다른 값으로 변경하고 싶으신 분들은 설정에 들어가셔서 “Wick Count” 항목에 원하는 값을 기재하시면 됩니다.
캔들 꼬리라는 게 어떻게 보면 상대적이고 주관적인 개념일 수 있습니다. 캔들꼬리가 조금만 나와도 의미 부여를 할 수 있는가 하면 특정 이상 길이 아니면 의미 부여를 하지 않을 수 있습니다. 저희는 유저들에게 최대한 높은 유동성을 제공하고자 본 메커니즘이 정의하는 캔들 꼬리 길이를 변경할 수 있도록 만들어 놨습니다. ‘Wick Length” 설정 값을 통해 해당 로직이 간주하는 최소 캔들꼬리 길이를 정할 수 있습니다. 기본 설정 값은 30으로 되어 있고, 경험상 30~40 정도가 적당하다고 보고 있습니다.
마지막으로 해당 지표로 효과적인 진입 타점을 찾는 법을 간략히 알려드리겠습니다. 우선 절대로 아무 시그널 하나 툭 떴다고 무조건 바로 진입하는 건 절대 삼가해주세요. 가급적이면 과매매 구간에서 추세선/채널 이탈, 연속 캔들 꼬리 신호, 그리고 다이버전스가 동시에 떴을 상황을 예의주시하시면 됩니다. 이렇게 비교적 비슷한 시간에 유의미한 신호들이 포착되었다면 또 바로 진입하지 마시고 조금 더 기다리셨다가 과매매 구간을 벗어나는 타이밍을 노리시면 됩니다. 항상 강조드리지만 기술적 지표 하나만 가지고 트레이딩 의사결정을 하는 건 정말 무모한 행위입니다. 개인의 매매성향 마다 다르겠지만 기술적 지표는 항상 큰 추세와 변곡 출현 가능성을 파악하는데 참고하는 용도로 사용 하셔야지 그렇지 않으면 캔들차트는 아예 꺼버리고 지표만 보고 매매하는 꼴이 됩니다.
Master Fren Jedi HelperDescription:
The "Master Fren Jedi Helper" is a TradingView indicator designed to enhance trading analysis by plotting distinct lines at crucial times of the trading day.
This indicator is an invaluable tool for traders who focus on intraday price movements and patterns around specific times. Its primary features include:
Customizable Time Markers: The script allows users to mark specific times of the day with lines of different colors and styles. These times are adjustable based on the user's timezone and preferences.
Configurable Line Properties: Users can customize the color and style of each line. The script offers options for a green line at 7 AM, a red line at 11 AM, a grey line at midnight, and a yelow line to denote the daily open.
Time Zone Adjustment: To work with New York time zone, you have ability to adjust for different time zones. Users can input their time zone offset, advised to use UTC -5 allowing the script to plot the lines accurately according to their local time.
Day Labels: The indicator also labels each day of the week at midnight, providing a clear and easy way to track the days on the chart.
Functionality Overview:
Green Line at 7 AM: This line helps identify the early morning market sentiment. Users can customize the color and style of this line.
Red Line at 11 AM: Plotted to highlight mid-morning price levels, this line is also customizable in color and style.
Grey Line at Midnight: Marks the start of a new trading day. The line style and color can be personalized.
Yellow Line for Daily Open: Indicates the opening price of the day. The line's color and style are adjustable.
Time Zone Configuration: Users can set their local time zone to ensure the lines correspond accurately with their specific market hours.
Day of the Week Labels: Each midnight is labeled with the day of the week, aiding in the weekly analysis of price patterns.
This indicator is perfect for traders who need to quickly identify key times and price levels each day. It's easily configurable to suit various trading strategies and assists in enhancing the visual representation of intraday market dynamics.
Advanced Volume Analytics and Distribution IndicatorThe Advanced Volume Analytics and Distribution Indicator is a sophisticated tool designed for financial analysts and traders who seek in-depth insights into market volume dynamics. This Pine Script-based indicator is a comprehensive solution, offering a rich set of features that analyze volume data using various statistical methods and theories. It's tailored for those who require a deeper understanding of market movements and volume distribution.
Key Features:
Volume Distribution Analysis: Utilizes standard deviation and mean calculations to analyze the distribution of trading volume. Employs z-scores to measure the standard deviations of volume from its mean, offering insights into volume anomalies.
Bell Curve Modeling: Constructs a bell curve (normal distribution) based on volume data, enabling users to visualize and assess the distribution of volume in a standard statistical format.
Provides a z-score based bell curve, offering a normalized view of volume deviations.
Exponential Smoothing: Applies exponential smoothing to volume data, giving more weight to recent observations. This feature is crucial for analyzing trending behaviors in volume data.
Stress Metric Calculation: Introduces a unique 'stress' metric, calculated using a custom formula. This metric is designed to evaluate the volatility or variability in the volume data over a specified period.
Central Limit Theorem (CLT) Mean Estimation: Implements CLT for estimating the mean of volume data. The CLT states that the distribution of sample means approximates a normal distribution as the sample size becomes larger.
Variance Point Estimation: Calculates the variance of volume data, providing insights into its variability and consistency over time.
Chi-Squared Test (Commented): Although not active in the initial release, the script includes a framework for a Chi-Squared Test to compare observed and expected volume frequencies, offering potential for future statistical comparisons.
Percentile Calculations and Convolution: Performs percentile calculations on volume data and employs convolution to these percentiles, enabling a more nuanced analysis of volume distribution.
Customizability: Users can input various parameters like anchor period, degrees of freedom, and smoothing preferences, making the tool adaptable to different analysis needs.
Visualization and Plotting: Features multiple plots for easy visualization of volume metrics, including stress, bell curves, point estimators, and smoothed data.
Theoretical Foundations:
This indicator is grounded in established statistical theories and methods, including the Central Limit Theorem, Chi-Squared Test (for future implementations), and convolution techniques. These foundations ensure that the indicator not only provides practical insights but also maintains a high standard of statistical rigor.
Intended Users:
This indicator is ideal for technical analysts, traders, and financial professionals who require a deep and statistically sound understanding of market volume behavior.
Release Notes:
This tool is designed a theoretical test of established statistical models and requires familiarity with Pine Script for customization. Future updates may include activation and expansion of the Chi-Squared Test functionality and additional statistical modules based on user feedback. It should be noted that it is advisable to use a logarithmic-inverted scale; when combined, these scales can provide a unique perspective that neither could offer alone. This combination might be particularly useful in highlighting exponential growth or decay trends, or in cases where the most significant data points are in the lower range of the dataset.
Notes of Stress Calculations:
The "stress metric" in the script is a custom-designed feature intended to measure the level of variability or volatility in the volume data over a given time period. This metric is calculated using a novel approach with concepts similar to those used in the field of engineering , particularly in stress analysis and finite element analysis (FEA).
Segmentation of Time Frame:
The script divides the given time frame (timeFrame) into smaller segments based on a specified number of units (units). This segmentation essentially breaks down the entire period into smaller, more manageable intervals for analysis. For each segment, the script calculates a 'stress' value. This involves iterating through each segment and performing calculations based on the source data (src), the default src is the volume data.
Calculation per Segment:
For each segment, the script identifies two points: the starting point (x1) and the ending point (x2). It then retrieves the corresponding values of the source data at these points (y1 and y2).
It calculates the difference in the x-axis (delta_x, the length of the segment) and the difference in the y-axis (delta_y, the change in volume over that segment).
Stress Calculation:
The script then calculates the 'stress' for each segment as the ratio of delta_y to delta_x. This ratio gives a measure of how much the volume has changed per unit of time within each segment. The stress values for each segment are then summed up to provide a cumulative measure of stress over the entire time frame.
The stress metric is essentially a measure of the volatility or variability in volume data. High stress values indicate larger changes in volume over shorter periods, suggesting more volatile market conditions. For traders and analysts, understanding the level of volatility is crucial. It can inform decision-making processes, risk management strategies, and provide insights into market sentiment. By comparing stress levels across different time frames or different securities, analysts can gain insights into relative market dynamics.
AlgoRhythmica - Liquidity MapThe AlgoRhythmica - Liquidity Map is a complex and performance heavy indicator, attempting to visualize and highlight areas of liquidity on the chart. It paints lines above and below price with different color and opacity based on the volume, and then highlight the areas with the highest cumulative volume.
What is liquidity and a liquidity map?
Liquidity refers to how quickly and easily an asset can be bought or sold in the market without affecting its price. High liquidity means that there are many buyers and sellers, and transactions can happen rapidly and smoothly.
Liquidity analysis involves examining where and how liquidity is distributed across different price levels.
Price often moves from liquidity zone to liquidity zone, and therefore, having an idea of where those zones are can give traders an understanding of potential support and resistance levels and where significant trading activities might occur.
Those looking to fill large buy orders for example would want to do that in liquid sell areas and vice versa. This indicator attempts to estimate the price levels where traders using leverage get liquidated, and therefore creates liquid areas for buying and selling.
In contrast to Bookmaps which chart the orders in the order book where traders want to transact, a liquidity map is charting where traders are 'forced' to transact due to stop-losses or margin calls. To do that, liquidity maps are mostly based on estimations. It could be based on pivot points, common stop-loss amounts, common leverage amounts or a combination of multiple factors.
As of the current version on release, this indicator is only using the leverage input by the user to estimate the liquidity.
How does it work and what makes it unique?
The indicator takes the volume in a candle and saves that volume in a line. Based on the leverage settings it then offsets that line above and below price. Say, a trader using 20x leverage without a stop-loss gets liquidated if price goes roughly 5% in the wrong direction. Therefore, by assuming common leverage amounts or common risk amounts, we can estimate where traders get liquidated or have their stop-losses based on their leverage or amount they are willing to risk.
Now keep in mind, this liquidity map is just estimating based on general assumptions, it doesn't have access to actual liquidity data.
But at the same time, we're not trading single individual traders, but we're trading the market as a whole, and interestingly enough, some risk and leverage amounts are more common than others. People like using those even numbers like 10x, 20x, 1% risk etc. That's why price do often react on the liquidity in liquidity maps such as this one.
So, when a candle is printed, and you are on a smaller timeframe and decided this is just the kind of market for 100x scalpers. You set the leverage to 100x in the settings and the indicator will paint lines above and below price offset by 1%. There are settings for three leverage amounts at the same time, so you might also set it to paint lines at 5% and 10%, just to catch those traders on higher timeframes if price really takes off.
Now let's talk about what makes this indicator really shine and stand out!
Normally, if we just left the indicator doing as above, there would be lines all over the place and very difficult to interpret which areas matter, or we could limit the indicator to only print lines at high volume candles. Now, you do have that option, but that wouldn't pick up areas where low volume trading has cumulated in the same range, such as over a weekend or during market gaps. Where other liquidity indicators out there might miss that liquidity, this indicator has several solutions for it.
The first solution is stacking semi-transparent lines on top of each other. Normally, lines of the same color and transparency wouldn't add and blend together. But this script offers a seamless transition from one color the next, blending those low volume liquidity lines together.
The second solution, and this is what I believe is really unique and powerful, is that this indicator also has the ability highlight certain liquidity. When enabled, it scans through all the lines, cumulate the volume within a specified range around the lines and then compare the cumulated volume range with the ranges around the other lines. New lines created in the range with the highest cumulated volume gets highlighted.
Without this feature you wouldn't necessarily be able to tell which of two strong areas are more liquid. When price later enters that area and crosses those lines, the liquidity there is then considered consumed and lines created in a different range will now begin to highlight.
All of this is of course enhanced, as in the picture above, when multiple copies of the indicator is used together and assigned to only calculate specific parts of the liquidity map, such as longs, shorts or specific leverage amounts.
Oh, and there's also options for assigning which part of the candle should generate the liquidity. Close, Middle Body or Open. The indicator will then assume that the majority of traders are entering their position in that part of the candle.
The offset is calculated from that part of the candle. By using multiple copies of the indicator, you can assign one for each part and that will give you the whole range of the candle. And you might assume more traders go long from the top, so to emphasize that liquidity, you could increase the size or transparency slightly of the lines generated from that part.
How do I use it?
Well, this isn't gonna give you trading signals or anything, but it will visualize the market for you in a new perspective.
Typically, high liquidity areas are often good areas for entry and TP. But always watch how the price reacts in those areas before entering a position. And remember, the liquidity estimation might not always be accurate.
Particularly watch the highlighted areas for long wicks and high volume, indicating that the liquidity was enough to meet the orders and a retrace or reversal could be imminent.
Watch what happens during consolidation, market gaps and weekends. Notice the lack of liquidity and how the market maker creates liquidity by inducing traders to take positions with quick moves that instantly reverses. You might know how that works in theory, but watching it happen real-time with visualized liquidity is very interesting.
While not necessary, and as I've mentioned earlier, dividing the different functions of the indicator on multiple copies will substantially increase it's accuracy and performance!
For example, use one copy of the indicator per leverage level, or one for shorts, one for longs. One that generates from the close, one from the middle etc. creating a much clearer picture of the liquidity like the picture comparison above.
This is what the indicator offers:
When you're estimating liquidity, you want to be able to do it with accuracy and interpretability. That's why the customization options of this indicator has been really important in the development.
Timeframe Options:
It supports a wide range of time periods, from daily to yearly, enabling traders to apply it across various trading strategies, from short-term day trading to long-term investment analysis. Assuming traders are eventually taking their profits, liquidity after the set time period disappears.
Rich Visual Settings:
The indicator comes with multiple preset color themes and a completely customizable option as well. These visual settings are designed to enhance the interpretability of liquidity data, with adjustable transparency and contrast features.
Liquidity Highlighting Function:
This unique feature emphasizes areas with high liquidity concentration. It scans and highlights significant liquidity zones, aiding traders in identifying critical market levels.
Liquidity Profile:
The LQ-Profile extends liquidity lines based on their associated volume, giving traders another way of identifying high liquidity zones.
Adjustable Liquidity Estimation:
Select and adjust leverage amounts based on your particular chart and analysis. Choose what positions and leverage amounts to display liquidity for. You also have the option to determine if wicks consume liquidity or not.
Since wicks indicate that price was rejected from that area, it doesn't necessarily mean all the liquidity in that area was consumed. You could assign an additional copy of the indicator consuming with wicks and another that doesn't. That way, half the liquidity gets consumed and the other half remains until another candle closes in that area. They choices are endless and it's all about your understanding and analysis here.
Multiple Performance Options:
Depending on your particular chart and timeframe, this indicator can be very performance heavy to load. Luckily it has plenty of performance options for limiting the calculations of the indicator.
Tooltips:
As usual, this indicator comes with extensive tooltips for every function, making sure you understand every part of it.
Happy trading!
itradesize /\ IPDA Look Back - for any timeframeThe script automatically calculates the 20-40-60 look-back periods and their premium and discount ranges.
The base concept is from ICT’s IPDA which should be applied to the daily timeframe but now you can use that same concept on the lower timeframes .
The higher the timeframes you use the more reliable it will be ( when we are talking about lower timeframes than Daily ).
- With the use of the indicator you can apply it on any timeframe with ease.
- You can customize the coloring of premium & discount, frame lines, and even the look of it.
- Hide or show the EQ levels
Below the IPDA texts the indicator shows the actual percentage of the selected range based on the current price fluctuations.
The script handles the 20-40-60 days look-back as fractals so it can be applied on lower timeframes.
The basics:
- The Interbank Price Delivery Algorithm (IPDA): The algorithm creates a shift on the daily chart every 20, 40, and 60 trading days.
- These are the IPDA look-back periods. Every 20 trading days or so there is a new liquidity pool forming on both sides of the market based on ICT concepts.
- Determine the IPDA Data Range of the land 20 trading days.
- Note the highest high & lowest low in the past 20 trading days. Identify the institutional order flow and mark the relevant PD arrays in the selected IPDA look-back period we deemed useful for our trading style.
- This is your current dealing range.
- If the price consolidates for 20 days, consider switching to a 40-day look back.
Inside this dealing range, we look for the next draw on liquidity. Is it reaching for a liquidity pool or is it looking to rebalance at a particular PD Array. This is going to the Bias.
Which IPDA data range should you use?
IPDA20 can be our Short Term range - fit for intraday traders at most
IPDA40 can be our Swing Trade range - have a clear indication of the market profile
IPDA60 can be our range for position trading - have a clear indication of the market profile
Buy and hold visualiserThis indicator shows the historical performance of a buy and hold portfolio. The purpose of the indicator is to show
1. the effect of the hold time (time between buying and selling a number of instruments) and
2. the effect of investing all capital at once (lump sum) versus dividing the investment over a number of months or years (cost averaging).
The indicator shows four lines:
- a dotted line at 0 (dollar or any other currency),
- a dotted line at the level of initial investment,
- a blue line that shows the amount of capital after selling at the end of the investment period after a lump sum investment,
- a green line that shows the amount of capital after selling at the end of the investment period after an investment that was done in chunks (cost averaging)
When 'chunks' is set to 1, the green line will match the blue line.
When 'investment' is set to 1, the blue and green lines will show the factor by which the initial investment was multiplied at the end of the investment period.
The effect of the hold time can be easily seen in the following example: Choose SPX (CBOE) as the active instrument, set 'chunks' to 1 and 'months' to 12. Depending on when you bought your portfolio, selling it a year later is like tossing a coin. Set 'months' to 360 and it becomes clear that it doesn't matter when you buy, the value of your portfolio will likely multiply considerably in 30 years, even if you bought everything all at once just before a bear market. It shows that with a long time horizon, you don't have to worry about timing the market.
Continue the example above and set 'chunks' to 12, thus spreading the initial investment over 12 months. The green line shows the cost averaging performance. The blue lump sum line is above the green line most of the time. Increase the chunks to 60 and the difference increases.
Modern Portfolio TheoryModern Portfolio Theory
The indicator is designed to apply the principles of Modern Portfolio Theory, a financial theory developed by Harry Markowitz. MPT aims to maximize portfolio returns for a given level of risk by diversifying investments.
User Inputs:
Users can customize various parameters, including the bar scale, risk-free rate, and the start year for the portfolio. Additionally, users can assign weights to different assets (symbols) in the portfolio.
Asset Selection:
Users can choose up to 10 different symbols (assets) for the portfolio. The script supports a variety of symbols, including cryptocurrencies such as BTCUSD and ETHUSD.
Weights and Allocation:
Users can assign weights to each selected asset, determining its percentage allocation in the portfolio. The script calculates the total portfolio weight to ensure it equals 100%. If total portfolio weight is lower then 100% you will see orange color with additional cash % bellow
If total portfolio weight is bigger then 100% you will see red big % warning.
Warning: (Total Weight must be 100%)
Cash Mode:
Risk and Return Calculation:
The script calculates the daily returns and standard deviation for each selected asset. These metrics are essential for assessing the risk and return of each asset, as well as the overall portfolio.
Scatter Plot Visualization:
The indicator includes a scatter plot that visualizes the risk-return profile of each asset. Each point on the plot represents an asset, and its position is determined by its risk (X-axis) and return (Y-axis).
Portfolio Optimization:
The script calculates the risk and return of the overall portfolio based on the selected assets and their weights. Based on the selected assets and their weights user can create optimal portfolio with preferable risk and return.
It then plots the portfolio point on the scatter plot, indicating its risk-return profile.
Additional Information:
The indicator provides a table displaying information about each selected asset, including its symbol, weight, and total portfolio weight. The table also shows the total portfolio weight and, if applicable, the percentage allocated to cash.
Visualization and Legend:
The script includes visual elements such as a legend, capital allocation line (CAL), and labels for risk-free rate and key information. This enhances the overall understanding of the portfolio's risk and return characteristics.
User Guidance:
The script provides informative labels and comments to guide users through the interpretation of the scatter plot, risk-return axes, and other key elements.
Interactivity:
Users can interact with the indicator on the TradingView platform, exploring different asset combinations and weightings to observe the resulting changes in the portfolio's risk and return.
In summary, this Pine Script serves as a comprehensive tool for traders and investors interested in applying Modern Portfolio Theory principles to optimize their portfolio allocations based on individual asset characteristics, risk preferences, and return