ICT Power Of Three | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Power Of Three Indicator! This indicator is built around the ICT's "Power Of Three" strategy. This strategy makes use of these 3 key smart money concepts : Accumulation, Manipulation and Distribution. Each step is explained in detail within this write-up. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Power Of Three Indicator :
Implementation of ICT's Power Of Three Strategy
Different Algorithm Modes
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The "Power Of Three" comes from these three keywords "Accumulation, Manipulation and Distribution". Here is a brief explanation of each keyword :
Accumulation -> Accumulation phase is when the smart money accumulate their positions in a fixed range. This phase indicates price stability, generally meaning that the price constantly switches between up & down trend between a low and a high pivot point. When the indicator detects an accumulation zone, the Power Of Three strategy begins.
Manipulation -> When the smart money needs to increase their position sizes, they need retail traders' positions for liquidity. So, they manipulate the market into the opposite direction of their intended direction. This will result in retail traders opening positions the way that the smart money intended them to do, creating liquidity. After this step, the real move that the smart money intended begins.
Distribution -> This is when the real intention of the smart money comes into action. With the new liquidity thanks to the manipulation phase, the smart money add their positions towards the opposite direction of the retail mindset. The purpose of this indicator is to detect the accumulation and manipulation phases, and help the trader move towards the same direction as the smart money for their trades.
Detection Methods Of The Indicator :
Accumulation -> The indicator detects accumulation zones as explained step-by-step :
1. Draw two lines from the lowest point and the highest point of the latest X bars.
2. If the (high line - low line) is lower than Average True Range (ATR) * accumulationConstant
3. After the condition is validated, an accumulation zone is detected. The accumulation zone will be invalidated and manipulation phase will begin when the range is broken.
Manipulation -> If the accumulation range is broken, check if the current bar closes / wicks above the (high line + ATR * manipulationConstant) or below the (low line - ATR * manipulationConstant). If the condition is met, the indicator detects a manipulation zone.
Distribution -> The purpose of this indicator is to try to foresee the distribution zone, so instead of a detection, after the manipulation zone is detected the indicator automatically create a "shadow" distribution zone towards the opposite direction of the freshly detected manipulation zone. This shadow distribution zone comes with a take-profit and stop-loss layout, customizable by the trader in the settings.
The X bars, accumulationConstant and manipulationConstant are subject to change with the "Algorithm Mode" setting. Read the "Settings" section for more information.
This indicator follows these steps and inform you step by step by plotting them in your chart.
🚩UNIQUENESS
This indicator is an all-in-one suite for the ICT's Power Of Three concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️SETTINGS
1. General Configuration
Algorithm Mode -> The indicator offers 3 different detection algorithm modes according to your needs. Here is the explanation of each mode.
a) Small Manipulation
This mode has the default bar length for the accumulation detection, but a lower manipulation constant, meaning that slighter imbalances in the price action can be detected as manipulation. This setting can be useful on tickers that have lower liquidity, thus can be manipulated easier.
b) Big Manipulation
This mode has the default bar length for the accumulation detection, but a higher manipulation constant, meaning that heavier imbalances on the price action are required in order to detect manipulation zones. This setting can be useful on tickers that have higher liquidity, thus can be manipulated harder.
c) Short Accumulation
This mode has a ~70% lower bar length requirement for accumulation zone detection, and the default manipulation constant. This setting can be useful on tickers that are highly volatile and do not enter accumulation phases too often.
Breakout Method -> If "Close" is selected, bar close price will be taken into calculation when Accumulation & Manipulation zone invalidation. If "Wick" is selected, a wick will be enough to validate the corresponding zone.
2. TP / SL
TP / SL Method -> If "Fixed" is selected, you can adjust the TP / SL ratios from the settings below. If "Dynamic" is selected, the TP / SL zones will be auto-determined by the algorithm.
Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
3. Visuals
Show Zones -> Enables / Disables rendering of Accumulation (yellow) and Manipulation (red) zones.
Buscar en scripts para "algo"
Trendline Cross CountThe Trendline Cross Count indicator is an innovative technical analysis tool that revolutionizes the way traders interact with trendlines. This cutting-edge indicator doesn't just identify trendlines - it quantifies their impact on price action in real-time, providing traders with unprecedented insight into market structure.
Core Functionality:
Trendline Cross Quantification:
At the heart of this indicator is its ability to display the actual number of trendlines being crossed by the current price. The algorithm doesn't just count intersections; it evaluates the significance of each trendline, weighing factors such as trendline duration, number of touch points, and historical reliability.
Dynamic Trendline Generation:
The indicator employs an advanced pivot-based trendline detection system. It continuously scans the chart for significant pivot points and constructs trendlines based on these pivots. The innovation lies in its ability to adapt to changing market conditions, constantly updating its trendline library.
Confluence Analysis:
By tracking multiple trendlines simultaneously, the indicator provides a real-time measure of trendline confluence. This allows traders to identify areas where multiple significant trendlines converge, potentially signaling powerful support or resistance levels.
Key Inputs and Their Significance:
Trendline Source:
This input allows traders to select the price data used for trendline analysis. While the default is the closing price, the flexibility to choose other price points enables traders to tailor the analysis to their specific trading style or market preferences.
Pivot Size:
This crucial parameter defines the lookback period for identifying pivot points. The default value of 3 strikes a balance between sensitivity and reliability, but adjusting this value can dramatically alter the indicator's behavior. Lower values increase sensitivity but may introduce noise, while higher values provide more stable, long-term trendlines.
Pivot Sequence:
This innovative feature allows traders to focus on specific market structures. Options include:
"LL" (Lower Lows): Focuses on downtrends
"HH" (Higher Highs): Emphasizes uptrends
"Any": Provides a comprehensive view of all trendlines
What Makes It Unique:
The Trendline Cross Count indicator stands out due to several groundbreaking features:
Quantitative Trendline Analysis:
While most indicators simply draw trendlines, this tool quantifies their impact, providing a numerical representation of market structure complexity.
Adaptive Pivot Detection:
The indicator's ability to dynamically adjust its pivot detection based on market volatility ensures relevance across all market conditions.
Sequence-Based Filtering:
The unique pivot sequence option allows traders to focus on specific trend types, a feature not found in conventional trendline tools.
Real-Time Confluence Measurement:
By providing a live count of intersecting trendlines, traders gain instant insight into potential support and resistance strength.
Significance Algorithm:
Not all trendlines are created equal. This indicator employs an algorithm to weigh the importance of each trendline, ensuring that the cross count reflects truly significant levels.
This indicator represents a significant advancement in trendline analysis, offering insights that are not readily available through traditional methods. Its ability to quantify trendline interactions in real-time provides traders with a unique edge in understanding market structure and potential price movements. The Trendline Cross Count indicator is not just a tool, but a gateway to a new dimension of technical analysis.
KNN OscillatorOverview
The KNN Oscillator is an advanced technical analysis tool designed to help traders identify potential trend reversals and market momentum. Using the K-Nearest Neighbors (KNN) algorithm, this oscillator normalizes KNN values to create a dynamic and responsive indicator. The oscillator line changes color to reflect the market sentiment, providing clear visual cues for trading decisions.
Key Features
Dynamic Color Oscillator: The line changes color based on the oscillator value – green for positive, red for negative, and grey for neutral.
Advanced KNN Algorithm: Utilizes the K-Nearest Neighbors algorithm for precise trend detection.
Normalized Values: Ensures the oscillator values are normalized to align with the stock price range, making it applicable to various assets.
Easy Integration: Can be easily added to any TradingView chart for enhanced analysis.
How It Works
The KNN Oscillator leverages the K-Nearest Neighbors algorithm to calculate the average distance of the nearest neighbors over a specified period. These values are then normalized to match the stock price range, ensuring they are comparable across different assets. The oscillator value is derived by taking the difference between the normalized KNN values and the source price. The line's color changes dynamically to provide an immediate visual indication of the market's state:
Green: Positive values indicate upward momentum.
Red: Negative values indicate downward momentum.
Grey: Neutral values indicate a stable or consolidating market.
Usage Instructions
Trend Reversal Detection: Use the color changes to identify potential trend reversals. A shift from red to green suggests a bullish reversal, while a shift from green to red indicates a bearish reversal.
Momentum Analysis: The oscillator's value and color help gauge market momentum. Strong positive values (green) indicate strong upward momentum, while strong negative values (red) indicate strong downward momentum.
Market Sentiment: The dynamic color changes provide an easy-to-understand visual representation of market sentiment, helping traders make informed decisions quickly.
Confirmation Tool: Use the KNN Oscillator in conjunction with other technical indicators to confirm signals and improve the accuracy of your trades.
Scalability: Applicable to various timeframes and asset classes, making it a versatile tool for all types of traders.
LC: Trend & Momentum IndicatorThe "LC: Trend & Momentum Indicator" was built to provide as much information as possible for traders and investors in order to identify or follow trend and momentum. The indicator is specifically targeted towards the cryptocurrency market. It was designed and developed to present information in an way that is easy to consume for beginner to intermediate traders.
Indicator Overview
While the indicator provides trend data through a number of components, it presents this data in an easy to understand colour coded schema that is consistent across each component; green for an uptrend, red for a downtrend and orange for transition and/or chop. The indicator allows traders to compare price trends when trading altcoins between USD pairs, BTC pairs and the BTC/USDT pair. This is achieved by representing price trends in easy-to-consume trend bars, allowing traders to get as much information as possible in a quick glance. The indicator also includes RSI which is also a useful component in identifying trend and momentum. The RSI component includes a custom RSI divergence detection algorithm to assist traders in identifying changes in trend direction. By providing both Price Trend comparison and RSI components, a full picture is provided when determining trend and momentum of an asset without having to switch between trading pairs. This makes it particularly useful for the beginner to intermediate trader.
The indicator is split into three components:
RSI
The RSI is colour-coded to identify the RSI trend based on when it crosses an EMA. Green indicates that the RSI is in a bullish trend, red indicates a bearish trend and orange indicates a transition between trends. RSI regular divergences are detected using a custom algorithm built from the ground up. The algorithm uses a combination of ATR and candle structure to determine highs and lows for both price action and RSI. Based on this information, divergences are determined making sure to exclude any invalid divergences crossing over highs and lows for both price action and RSI.
Asset Price Trend Bar
The asset price trend is detected using a cross over of a fast EMA (length 8) and slow EMA (length 21) and is displayed as a trend bar (First bar in the indicator). There are additional customised confirmation and invalidation algorithms included to ensure that trends don't switch back and forth too easily if the EMAs cross due to deeper corrections. These algorithms largely use candle structure and momentum to determine if trends should be confirmed or invalidated. For price trends, green represents a bullish trend, red represents a bearish trend and orange can be interpreted as a trend transition, or a period of choppy price action.
BTC Price Trend Bars
When Altcoins are selected, a BTC pair trend bar (Second bar in the indicator) as well as a BTCUSDT trend bar (Third bar in the indicator) is displayed. The algorithm to determine these trends is based on exactly the same logic as the asset price trend. The same colour coding applies to these price trend bars.
Why are these components combined into a single indicator?
There are two primary reasons for this.
1. The colour coded schema employed across both RSI and price trends makes it user-friendly for the beginner to intermediate trader. It can be extremely difficult and overwhelming for a beginner to identify asset price trend, BTC relative price trends and the RSI trend. By providing these components in a single indicator it helps the user to identify these trends quickly while being able to find confluence across these trends by matching the colour coded schema employed across the indicator. For experienced traders this can be seen as convenient. For beginners it can be seen as a method to identify, and learn how to identify these trends.
2. It is not obvious, especially to beginners, the advantage of using the RSI beyond divergences and overbought/oversold when identifying trend and momentum. The trend of the RSI itself as well as it's relative % can be useful in building a picture of the overall price trend as well as the strength of that trend. The colour coded schema applied to the RSI trend makes it difficult to overlook, after which it is up to the trader to decide if this is important or not to their own strategies.
Indicator Usage
NOTE: It is important to always back test and forward test strategies before using capital. While a strategy may look like it is working in the short term, it may not be the case over varying conditions.
This indicator is intended to be used in confluence with trading strategies and ideas. As it was designed to provide easy-to-consume trend and momentum information, the usage of the indicator is based on confluence. It is up to a user to define, test and implement their own strategies based on the information provided in the indicator. The indicator aims to make this easier through the colour coded schema used across the indicator.
For example, using the asset price trend alone may indicate a good time to enter trades. However, adding further trend confluence may make the case stronger to enter the trade. If an asset price is trending up while the BTCUSDT pair is also trending up, it may add strength to the case that it may be a good time to enter long positions. Similarly, extra confluence may be added by looking at RSI, either at divergences, trend or the current RSI % level.
Quarterly Cycles [Dango]Introducing the Comprehensive Quarterly Cycle Indicator, a powerful and original tool designed to enhance your understanding of price action through the lens of quarterly cycles. This innovative script is a novel creation that accurately incorporates the nuances and complexities often overlooked by those who claim to have a quarterly cycle indicator.
Key Features:
- Displays 90-minute, daily, weekly, monthly, and yearly quarterly cycles
- Employs advanced algorithms and a deep understanding of cycle theory to precisely map out cycles
- Accounts for subtle nuances ignored by other indicators
How It Works:
The Comprehensive Quarterly Cycle Indicator meticulously calculates and visualizes various quarterly cycles based on a proprietary algorithm that determines the presence and absence of quarters. This intricate formula takes into account multiple factors and complex relationships between time and price to accurately identify when a quarter is present and when it isn't.
By leveraging this unique approach, the indicator can provide a more precise and reliable representation of quarterly cycles compared to other methods. The advanced algorithms employed by the script go beyond simple trend detection or scalping techniques, offering a comprehensive view of the underlying market rhythms.
The indicator's visual representation of quarterly cycles serves as an invaluable aid in recognizing time-based patterns, turning points, and potential trend shifts. Through the lens of this indicator, traders can gain a deeper understanding of how time influences market dynamics and can make more informed decisions based on this knowledge.
Intended Use:
The Comprehensive Quarterly Cycle Indicator is designed primarily for educational purposes, helping traders develop a keen intuition for interpreting price action through the lens of quarterly cycles. By studying the indicator's output alongside price movements, users can gain valuable insights into market dynamics and timing.
Please note that while this indicator is a powerful learning tool, it should not be considered a standalone trading system. As with any technical analysis tool, it is essential to combine its insights with other forms of analysis and risk management principles.
Limitations:
The indicator's accuracy may be impacted by extreme market volatility or unusual events
Quarterly cycles are one of many factors influencing price action and should not be relied upon in isolation
By offering a novel and accurate representation of quarterly cycles, this indicator aims to empower traders in their journey to understand and navigate the markets effectively. However, as with any trading tool, individual results may vary, and past performance does not guarantee future outcomes.
Disclaimer:
This indicator is provided for educational purposes only and should not be considered financial advice. Always conduct your own due diligence and consult with a financial professional before making any trading decisions.
Privacy of Code
Please note that the underlying logic and specific calculations used in the proprietary algorithm are not disclosed to protect the intellectual property of the script. The main reason for keeping these details hidden is due to the intricate formula used to determine when a quarter is actually present and when it isn't, taking into account various factors and complex relationships between time and price.
The proprietary algorithm is the result of extensive research, testing, and refinement, forming the core of the Comprehensive Quarterly Cycle Indicator's unique approach to identifying and visualizing quarterly cycles. By keeping the specific calculations confidential, the script maintains its competitive edge and ensures the protection of its intellectual property.
Despite not disclosing the exact details, the description aims to provide a clear understanding of the script's functionality, its unique approach to identifying quarterly cycles, and the potential benefits for traders. The information provided offers insights into the key features, general methodology, and advantages of utilizing the Comprehensive Quarterly Cycle Indicator in your trading analysis.
RBS | Profitholders Thanks for source code author , I have modified this for especially Indian market.
RBS Indicator is Rang Breakout System, This is same "Opening Range Breakout" which is a common trading strategy. The indicator can analyze the market trend in the current session and give "Buy / Sell", "Take Profit" and "Stop Loss" signals. For more information about the analyzing process of the indicator, you can read "How Does It Work ?" section of the description.
Features of RBS indicator :
Buy & Sell Signals
Up To 3 Take Profit Signals
Stop-Loss Signals
Alerts for Buy / Sell, Take-Profit and Stop-Loss
Session Dashboard
Back testing Dashboard
HOW DOES IT WORK ?
This indicator works best in 15-minute timeframe. Need to change Chart time frame depends on symbols , The idea is that the trend of the current session can be forecasted by analyzing the market for a while after the session starts. However, each market has it's own dynamics and the algorithm will need fine-tuning to get the best performance possible. So, we've implemented a "Back testing Dashboard" that shows the past performance of the algorithm in the current ticker with your current settings. Always keep in mind that past performance does not guarantee future results. So this is for educational purpose.
Here are the steps of the algorithm explained briefly :
1. The algorithm follows and analyzes the first 15 minutes (can be adjusted) of the session.
2. Then, algorithm checks for breakouts of the opening range's high or low.
3. If a breakout happens in a bullish or a bearish direction, the algorithm will now check for retests of the breakout. Depending on the sensitivity setting, there must be 0 / 1 / 2 / 3 failed retests for the breakout to be considered as reliable.
4. If the breakout is reliable, the algorithm will give an entry signal.
5. After the position entry, algorithm will now wait for Take-Profit or Stop-Loss zones and signal if any of them occur.
If you wonder how does the indicator find Take-Profit & Stop-Loss zones, you can check the "Settings" section of the description.
UNIQUENESS
While there are indicators that show the opening range of the session, they come short with features like indicating breakouts, entries, and Take-Profit & Stop-Loss zones. We are also aware of that different stock markets have different dynamics, and tuning the algorithm for different markets is really important for better results, so we decided to make the algorithm fully customizable. Besides all that, our indicator contains a detailed back testing dashboard, so you can see past performance of the algorithm in the current ticker. While past performance does not yield any guarantee for future results, we believe that a back testing dashboard is necessary for tuning the algorithm. Another strength of this indicator is that there are multiple options for detection of Take-Profit and Stop-Loss zones, which the trader can select one of their liking.
⚙️SETTINGS
Keep in mind that best chart timeframe for this indicator to work is the 15-minute timeframe on Indian Market.
TP = Take-Profit
SL = Stop-Loss
EMA = Exponential Moving Average
OR = Opening Range
ATR = Average True Range
1. Algorithm
RBS Timeframe -> This setting determines the timeframe that the algorithm will analyze the market after a new session begins before giving any signals. It's important to experiment with this setting and find the best option that suits the current ticker for the best performance. More volatile stocks will often require this setting to be larger, while more stabilized stocks may have this setting shorter.
Sensitivity -> This setting determines how much failed retests are needed to take a position entry. Higher sensitivity means that less retests are needed to consider the breakout as reliable. If you think that the current ticker makes strong movements in a bullish & bearish direction after a breakout, you should set this setting higher. If you think the opposite, meaning that the ticker does not decide the trend right after a breakout, this setting show be lower.
(High = 0 Retests, Medium = 1 Retest, Low = 2 Retests, Lowest = 3 Retests)
Breakout Condition -> The condition for the algorithm to detect breakouts.
Close = Bar needs to close higher than the OR High Line in a bullish breakout, or lower than the OR Low Line in a bearish breakout. EMA = The EMA of the bar must be higher / lower than OR Lines instead of the close price.
TP Method -> The method for the algorithm to use when determining TP zones.
Dynamic = This TP method essentially tries to find the bar that price starts declining the current trend and going to the other direction, and puts a TP zone there. To achieve this, it uses an EMA line, and when the close price of a bar crosses the EMA line, It's a TP spot.
ATR = In this TP method, instead of a dynamic approach the TP zones are pre-determined using the ATR of the entry bar. This option is generally for traders who just want to know their TP spots beforehand while trading. Selecting this option will also show TP zones at the ORB Dashboard.
"Dynamic" option generally performs better, while the "ATR" method is safer to use.
EMA Length -> This setting determines the length of the EMA line used in "Dynamic TP method" and "EMA Breakout Condition". This is completely up to the trader's choice, though the default option should generally perform well. You might want to experiment with this setting and find the optimal length for the current ticker.
Stop-Loss -> Algorithm will place the Stop-Loss zone using setting.
Safer = The SL zone will be placed closer to the OR High for a bullish entry, and closer to the OR Low for a bearish entry.
Balanced = The SL zone will be placed in the center of OR High & OR Low
Risky = The SL zone will be placed closer to the OR Low for a bullish entry, and closer to the OR High for a bearish entry.
Adaptive SL -> This option only takes effect if the first TP zone is hit.
Enabled = After the 1st TP zone is hit, the SL zone will be moved to the entry price, essentially making the position risk-free.
Disabled = The SL zone will never change.
2. RBS Dashboard
RBS Dashboard shows the information about the current session.
3. RBS Back testing
RBS Back testing Dashboard allows you to see past performance of the algorithm in the current ticker with current settings.
Total amount of days that can be back tested depends on your TV subscription.
Back testing Exit Ratios -> You can select how much of percent your entry will be closed at any TP zone while back testing. For example, %90, %5, %5 means that %90 of the position will be closed at the first TP zone, %5 of it will be closed at the 2nd TP zone, and %5 of it will be closed at the last TP zone.
Crypto Manipulation [ProjeAdam]OVERVIEW
Indicator that detects manipulation candles on the Binance exchange according to open interest, volume, candlestick analyzes and percent changes.
IMPORTANT NOTE: This indicator works in Crypto Binance Exchange and only in Future Parities.
Example ->> BTCUSDT.P -- ETHUSDT.P -- ADAUSDT.P
> Topics in the writing of the crypto manipulation indicator <
Market makers manipulate the crypto market because most people who trade on the stock exchange act with their emotions and are forced to close the transaction at a loss. In these manipulations, many people are liquidated and the money they earn is used as fuel in the market.
We can reduce the psychological impact that the market is trying to have on us with this indicator.
IF we detect manipulation candles in the market, we can control our fragile psychology and close our transactions in profit by trading with market-making formations in these areas.
ALGORITHM
In this indicator, I use 4 different datasets to detect manipulation candles in crypto market.
1- Extremely variable volume data in Spot and Future markets
2- Wicks formed by candles
3-Percentage change of price movement
4-Distance from the average value of people who open and close transactions in Future parity
When there is excessive volatility in price movement, the algorithm in this indicator notices this price volatility and calculates a manipulation value by dividing it by the volatility value in past price movements.
In my Python backtests, I noticed that when manipulation is done in the crypto market, there is extreme volatility in certain values. This is because there are more robots in the crypto exchange than in the Bist exchange and the total transaction volume is less than in other exchanges. We observe these data that change in a short time, the amount of volume created by people being liquidated, and the open positions that are forcibly closed due to this situation, only in Cryptocurrency exchanges.
How does the indicator work?
The manipulation candle does not give us information about the direction of price movement, it is only used as an auxiliary indicator. With the help of this indicator, we can prevent large losses by better determining our risk situation during and after manipulation.
We show our manipulation values as columns. We draw a channel over the values we show and we understand that there is manipulation in the candle of our values above this channel.
The indicator shows the manipulation value in the form of columns. Our manipulation value that goes outside the channel we have determined is colored red, within the channel it is colored yellow, and below the channel it is colored green. Red columns indicate candles that are manipulations.
As we observed in the example above, we observe excessive volume increase, momentum in open interest and wick candles during manipulation times. As these values increase, our manipulation value also increases.
What are the BIST and Crypto Exchanges and What are the differences between them?
The differences between the general structure of BIST Exchange and the general structure of the cryptocurrency exchange are as follows;
1- While trading takes place under goverment control in BIST Exchange, there are no regulations in the Cryptocurrency market yet.
2- Since BIST Exchange is a much larger market than the cryptocurrency exchange, manipulations can be made by very large money owners and large companies, but there is a monopolized situation in crypto.
3- We see instantaneous large changes in volume in the cryptocurrency market during manipulation times. While this situation is not seen effectively in the BIST exchange, volume changes have a great impact on the crypto exchange.
4- Since there are many open source codes in the cryptocurrency exchange and much easier and faster trading is allowed thanks to the robots produced by software, manipulations in the cryptocurrency exchange occur very quickly and in a short time.
5- We can know who opened and closed transactions in which candle in the cryptocurrency market, but we cannot access this data in Borsa Istanbul.
The majority of Borsa Istanbul users do not trade in crypto, and many users who trade in crypto do not know Borsa Istanbul because only TURKISH citizens can open transactions here.
Using two completely different algorithms and publishing two different indicators will be convenient for many users at this stage. The indicators to be used for these two exchanges, which have many different features that I have explained above, should also be different.
So What are the differences between the two algorithms?
1-Crypto manipulation indicator uses liquidation data, we cannot access this data on the Bist exchange.
2-While manipulations in the crypto exchange occur in very short periods of time, BIST generally moves slower than crypto.
3-By using the crypto manipulation indicator open interest data, we can access in detail on which candle the transaction was opened and closed, but we cannot access it on the Bist exchange.
In our example above, when manipulation candles are formed, you see the volumetric change and the change in open interest. The excessive increase in volume and the momentum of open interest data affects our crypto manipulation value.
The greater the volume increase, the greater the manipulation.
Regardless of the open interest direction, the greater the momentum change in value, the more manipulation has been done.
Our BIST manipulation indicator only focuses on the change of candles in the market structure. In other words, it cares about percentage changes and the change within the average. I tried to show in the example above that volume data is not a consistent variable in the BIST stock market when calculating manipulation.
The user types of the two different indicators vary greatly, and both indicators benefit the community by making calculations according to the metrics of their own exchanges. For the reasons I explained above, I thought it would be better to write two indicators for tradingview users that work with different algorithms on two different exchanges.
Example
In our example above, we see a manipulation candle clearing the stops formed, the market maker clearing the orders at the people's stop levels at the bottom to move the price up.
We can quickly control manipulation candles in 5 different parities at the same time by entering our parities in the settings panel.
In our example above, we observe a beautiful manipulation candle. As you can see, if there is an extreme increase in volume, a momentum movement in the open line and a candle with a wick, we should look for manipulation here.
SETTINGS PANEL
We have only two setting in this indicator.
Our multiplier value determines the width of the band value formed above our manipulation value. In the chart above, our multiplier value is 3.2. If we reduce our multiplier value, our manipulation sensitivity will decrease as there will be much more candles on the band.
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Tri-State SupertrendTri-State Supertrend: Buy, Sell, Range
( Credits: Based on "Pivot Point Supertrend" by LonesomeTheBlue.)
Tri-State Supertrend incorporates a range filter into a supertrend algorithm.
So in addition to the Buy and Sell states, we now also have a Range state.
This avoids the typical "whipsaw" problem: During a range, a standard supertrend algorithm will fire Buy and Sell signals in rapid succession. These signals are all false signals as they lead to losing positions when acted on.
In this case, a tri-state supertrend will go into Range mode and stay in this mode until price exits the range and a new trend begins.
I used Pivot Point Supertrend by LonesomeTheBlue as a starting point for this script because I believe LonesomeTheBlue's version is superior to the classic Supertrend algorithm.
This indicator has two additional parameters over Pivot Point Supertrend:
A flag to turn the range filter on or off
A range size threshold in percent
With that last parameter, you can define what a range is. The best value will depend on the asset you are trading.
Also, there are two new display options.
"Show (non-) trendline for ranges" - determines whether to draw the "trendline" inside of a range. Seeing as there is no trend in a range, this is usually just visual noise.
"Show suppressed signals" - allows you to see the Buy/Sell signals that were skipped by the range filter.
How to use Tri-State Supertrend in a strategy
You can use the Buy and Sell signals to enter positions as you would with a normal supertrend. Adding stop loss, trailing stop etc. is of course encouraged and very helpful. But what to do when the Range signal appears?
I currently run a strategy on LDO based on Tri-State Supertrend which appears to be profitable. (It will quite likely be open sourced at some point, but it is not released yet.)
In that strategy, I experimented with different actions being taken when the Range state is entered:
Continue: Just keep last position open during the range
Close: Close the last position when entering range
Reversal: During the range, execute the OPPOSITE of each signal (sell on "buy", buy on "sell")
In the backtest, it transpired that "Continue" was the most profitable option for this strategy.
How ranges are detected
The mechanism is pretty simple: During each Buy or Sell trend, we record price movement, specifically, the furthest move in the trend direction that was encountered (expressed as a percentage).
When a new signal is issued, the algorithm checks whether this value (for the last trend) is below the range size set by the user. If yes, we enter Range mode.
The same logic is used to exit Range mode. This check is performed on every bar in a range, so we can enter a buy or sell as early as possible.
I found that this simple logic works astonishingly well in practice.
Pros/cons of the range filter
A range filter is an incredibly useful addition to a supertrend and will most likely boost your profits.
You will see at most one false signal at the beginning of each range (because it takes a bit of time to detect the range); after that, no more false signals will appear over the range's entire duration. So this is a huge advantage.
There is essentially only one small price you have to pay:
When a range ends, the first Buy/Sell signal you get will be delayed over the regular supertrend's signal. This is, again, because the algorithm needs some time to detect that the range has ended. If you select a range size of, say, 1%, you will essentially lose 1% of profit in each range because of this delay.
In practice, it is very likely that the benefits of a range filter outweigh its cost. Ranges can last quite some time, equating to many false signals that the range filter will completely eliminate (all except for the first one, as explained above).
You have to do your own tests though :)
Cryptosmart Trading Tool (by heswaikcrypt)Introducing the Cryptosmart Trading Tool (CSTP) - An optimized into Market Sentiment and direction tool
The Cryptosmart Trading Tool (CSTP) is an advanced indicator developed to provide valuable insights into market sentiment and direction. This tool combines existing TA tools and intelligently develops smart algorithms to empower traders with a deeper understanding of market dynamics. Some classic elements are included in the scripting, such as the exponential moving average (EMA), volume, and Relative Strength Index (RSI), to provide a comprehensive analysis of market conditions. By combining these indicators, the script aims to capture different aspects of market sentiment and enhance the accuracy of the analysis.
The Cryptosmart Trading Tool (CSTP) incorporates a unique algorithm that combines trend following analysis, momentum analysis, and volume analysis to provide insights into market sentiment and price action.
Trend Following Analysis:
The algorithm utilizes two exponential moving averages (EMAs): EMA1 and EMA2.
When EMA1 crosses above EMA2, it indicates an uptrend (isUptrend).
When EMA1 crosses below EMA2, it indicates a downtrend.
You adjust the input value to suit your trading strategy, however, 7, 8, 21, 34, and 200 have been tested to produce a fine tuned output.
The bar color indicates blue for bullish sentiment (is uptrend) and white for bearish sentiment (is downtrend).
Momentum Analysis:
The relative strength index (RSI) is calculated based on the closing prices and the specified RSI length.
RSI values above 70 indicate overbought conditions (isOverbought).
RSI values below 30 indicate oversold conditions (isOversold).
Using the isOversoldExtreme and isOverboughtExtreme, the CSTP algorithm detect extreme over bought and oversold conditions and alert with label color green and red.
Volume Analysis:
The algorithm calculates the average volume over a specified length (averageVolume).
The volume ratio is obtained by dividing the current volume by the average volume.
High volume activity is identified when the volume ratio is greater than 1 (isHighVolume).
Major Flip and Arrow Plots:
Major bullish or bearish flips are identified when EMA1 crosses above EMA2 with RSI values above 50 and high volume activity (isBullishFlip) or when EMA1 crosses below EMA2 with RSI values below 50 and high volume activity (isBearishFlip).
Arrow plots are used to display trend direction, upward arrows for major bullish flips and downward arrows for major bearish flips.
The algorithm calculates the bullBearRatio and RSIValueAtFlip to capture the volume ratio and RSI values at major flips.
The bullishRatio and bearishRatio variables store the volume ratio values for the corresponding trend conditions.
Labels are also displayed on the chart to provide information about EMA values and RSI values. This can be independently disabled by the user
The uniqueness of the CSTP algorithm lies in its combination of trend following analysis, momentum analysis, and volume analysis. By considering these factors, the algorithm provides insights into market sentiment and price action. The use of EMAs, RSIs, and volume ratios allows traders to identify potential trends, overbought/oversold conditions, and high volume activity. The visual representation of bar colors and arrows enhances the ease of understanding the sentiment and major flips. CSTP is uniquely presented by using dots, arrows, candlestick colors, and shape labels to indicate the market scenario. This is explained below.
By leveraging multiple indicators and analysis techniques, CSTP aims to provide traders with a holistic understanding of market dynamics and enhance their decision-making process.
It's important to note that while the individual components used in CSTP are not new or unique on their own, the specific algorithm, parameters, and calculations used within the script are what make it distinctive and valuable. By carefully integrating these components, CSTP generates results that are greater than the sum of its parts, providing traders with a comprehensive analysis of market conditions.
Through extensive research, analysis, and testing, we have created a useful tool, fine-tuned to optimize the accuracy and reliability of the script's output, which can assist traders in making more informed trading decisions.
How to Use:
1. Apply the CSTP Script:
- Apply the CSTP script to your TradingView chart to start analyzing market conditions. (Access instructions can be found in the author's details section.)
- Ensure you have the latest version of TradingView to access all the features and functionalities.
2. Customize Parameters:
- Customize the input variables to match your trading preferences and adapt the tool to different markets.
- Experiment with different settings, such as RSI Length and EMA Lengths, to find the optimal configuration for your trading strategy.
3. Interpret the Color-Coded Bars and Wave Labels:
- Green bars indicate bullish sentiment, suggesting potential buying opportunities.
- Red bars indicate bearish sentiment, indicating potential selling opportunities.
- Blue and white bars represent sentiment backed by smart money liquidity, adding an extra layer of analysis.
- The wave labels provide insights into market structure and potential wave patterns.
4. Combine with Candlestick philosophy strategy and parameters used:
- Wait for candlestick closure before making trading decisions based on CSTP's analysis.
- Consider the EMA (yellow) line as an additional tool to confirm entry or exit points.
- Combining CSTP's analysis with candlestick patterns can enhance your decision-making process and improve trade timing.
- Volume Analysis: Compares the current volume to the Simple Moving Average (SMA) of volume using the RSI Length parameter to determine high-volume periods.
- Color-Coded Bars: The color of the bars represents different market sentiments based on all the parameters used including Relative strength index, bullish and bearish
divergence and volume conditions.
- Open Close Cross (OCC) Alerts: Generates dot alert with color code (red=Bearish, green=Bullish) when there is a crossover or crossunder between the close and open
prices
Important Notes:
- Candlestick color matter a lot as then show the sentiment of the market at a given time. and it is an added advantage for a trader to understand candlestick Psychology.
Candlestick conditions
I will use this BINANCE:MTLUSDT chart to explain how it works
Long green Arrow: Bullish call, with green isBullish arrow
Long red Arrow: Bearish call, with isBearish arrow
Blue with red wick and tape: this indicate a bearish sentiment but with some bullish volume, this position is dice which requires a proper understanding of entry and exit. when if this said candle stick closes below the EMA line, wait for the the next candle after it t determining your move. If the next one closes above it, then the direction is still bullish, else the direction has flipped bearish. (special scenario: in the range or consolidative market phase, you may need to wait 3-7 day candle close before you decide. use the coloration as guide to help with your decision making).
Blue with green wick and tape: this indicated strong bullish sentiment backed by liquidity to push. it is important to not the candle close, if the candle closes above the EMA (7 and/or 21) that validates the move, else, you may need to wait for the next candle close to determine the move and momentum of the market. Example is the $COOMPUST chart
White with green wick and tape: this works just like the "Blue candlestick with red wick and tape". follow same procedure
White with red wick and tape: White candle with red wick, indicates bearish sentiment backed by available market liquidity at the time.
If you see the market moving upward and the candlestick keep closing with white color, it is an indication of inorganic move (Check BITFINEX:SUIUST ) the best thing to do is to wait at resistance. a similar scenario can be seen here
Market test:
below are picture of the indicator tested on different assets
CRYPTOCAP:BNB
AUD
Tesla
it is best to book an entry after an arrow indicate (especially for a bullish market) and the candle closes above the EMA (Yellow line).
Risk management.
- ALWAYS PROTECT YOUR PROFIT WHEN YOU SEE ON. THE MARKET IS DYNAMIC
- Trading involves risks, and no tool can guarantee absolute accuracy in predicting market direction. Conduct thorough research and exercise caution when making trading decisions.
- Apply proper risk management strategies and adjust position sizes according to your risk tolerance.
- Stay updated with market news and events that may impact your trading decisions.
Conclusion:
The Cryptosmart Trading Tool (CSTP) provides traders with a powerful advantage by offering valuable insights into market sentiment and direction. To gain access or trial, refer to the author's details section. This indicator combines various analysis techniques to provide a comprehensive view of the market. Remember to apply your own analysis and expertise in conjunction with CSTP for optimal results.
This indicator combines my 8years of trading experience. Enjoy
Disclaimer:
Trading involves risks, and the CSTP script is designed to assist traders by providing valuable insights. It should be used as a supplement to your own analysis and expertise. Exercise caution and make informed trading decisions based on your own research.
Trend & Pullback Toolkit (Expo)█ Overview
The Trend & Pullback Trading Toolkit is an all-encompassing suite of tools designed for serious traders who want a comprehensive trend approach. It empowers traders to align their strategies with prevailing market trends, thereby mitigating risk while maximizing profit potential.
The Toolkit helps traders spot, analyze, and react to market trends, pullbacks, and significant trends. It combines multiple trading methodologies, such as the Elliott Wave theory, cyclical analysis, retracement analysis, strength analysis, volatility analysis, and pivot analysis, to provide a thorough understanding of the market. All these tools can help traders detect trends, pullbacks, and major shifts in the overall trend. By integrating different methodologies, this toolkit offers a multifaceted approach to analyzing market trends.
In essence, the Trend & Pullback Toolkit is the complete package for traders seeking to detect, evaluate, and act upon market trends and pullbacks while being prepared for major trend shifts.
The Trend & Pullback Toolkit works in any market and timeframe for discretionary analysis and includes many oscillators and features, but first, let us define what a cycle is:
█ What is a cycle
This involves the analysis of recurring patterns or events in the market that repeat over a specific period. Cycles can exist in various time frames and can be identified and analyzed with various tools, including some types of oscillators or time-based analysis methods.
Traders must also be aware that cycles do not always repeat perfectly and can often shift, evolve, or disappear entirely.
█ Features & How They Work
Elliott Wave Cycles: This is a method of technical analysis that traders use to analyze financial market cycles and forecast market trends. Elliott Wave theory asserts that markets move in repetitive cycles, which traders can analyze to predict future price movement. The core principle behind the theory is that market prices alternate between an impulsive, or driving phase, and a corrective phase on all time scales of trend. This pattern forms a fractal, meaning it's a self-similar pattern that repeats regardless of the degree or size of the waves.
The Elliott Wave Cycle Feature uses the principle of the Elliott Wave to identify trends and pullbacks in real-time.
Ratio Wave Cycle: This method elaborates on the concept of how negative volatility, or the degree of variation in the negative returns of a financial instrument, influences the effectiveness of a relative price move. Essentially, it delves into the relationship between the negative fluctuations in the market and the resulting relative price change, exploring how the two aspects interact with each other.
The central concept is that trends are generally more stable and predictable than rapid retracements. Therefore, the indicator calculates the relationship between these two market movements. By doing so, it establishes a trend-based identification system. This system aids in forecasting future market movements, allowing traders to make informed decisions based on these predictions. Essentially, it uses the calculated relationship to discern the overall direction (trend) of the market despite temporary counter-movements (retracements), thereby providing a more robust trading signal.
Periodic Wave Cycle: Thi refers to patterns or events in price action that recur over a specific time period. Periodic cycles can range from short-term intraday cycles (like the tendency for stock market volatility to be high at the opening and close of trading) to long-term cycles trend cycles. Traders use this to predict future price movements and trends.
By identifying the phases of a cycle, traders can predict key turning points in the market.
Retracement Cycles: Retracements are temporary price reversals that occur within a larger trend. These retracements are a common occurrence in all markets and timeframes, representing a pause or counter-move within a larger prevailing trend. Retracements can be driven by a variety of factors, including profit-taking, market uncertainty, or a change in market fundamentals. Despite these periodic reversals, the overall trend (upwards or downwards) often continues after the retracement is complete.
Fibonacci retracement functions are primarily used to identify potential retracement levels.
Volatility Cycle: A volatility cycle refers to the periodic changes in the degree of dispersion or variability of a security's returns, expressed as a standard deviation or variance. This feature uses both measures.
Strength Cycle: Gauges the power of a market trend and its inherent impulses. This feature offers a broad perspective on the cyclical nature of markets, which alternate between periods of strength, often referred to as bull markets, and periods of weakness, known as bear markets. It effectively tracks the direction, intensity, and cyclic patterns of market behavior.
Let us define the difference between strength and impulse:
Strength: This refers to the power or force behind a price move. In trading, this refers to the momentum or volume supporting a price move.
Impulse: In the context of trading, an impulse usually refers to a strong move in price. Impulse moves are typically followed by corrective moves against the trend.
Pivot Cycles: Pivot cycles refer to the observation of recurring price patterns or turning points in the market. Pivots can be defined as significant highs or lows that act as potential reversal or support/resistance points. Pivot point analysis helps traders understand the prevailing market sentiment. Overall, pivot cycles provide traders with a framework to identify potential market turning points and price levels of interest.
█ How to use the Trend & Pullback Toolkit
Elliott Wave Cycles
Ratio Wave Cycle
Periodic Wave Cycle
Retracement Cycles
Volatility Cycle:
Strength Cycle
Pivot Cycles
█ Why is this Trend & Pullback Toolkit Needed?
The core philosophy of this toolkit revolves around the popular adage in trading circles: "The trend is your friend." This toolkit ensures that you are always in sync with the trend, thereby increasing the chances of successful trades.
Here's an overview of the key benefits:
Trend Identification: The toolkit includes sophisticated algorithms and indicators that help identify the prevailing trend in the market. These algorithms analyze price patterns, momentum, volume, and other factors to determine the direction and strength of the trend.
Risk Reduction: By enabling traders to trade with the trend, this toolkit reduces the risk of betting against market momentum.
Profit Maximization: Trading with the trend increases the likelihood of successful trades.
Advanced Analysis Tools: The toolkit includes tools that provide a deeper insight into market dynamics. These tools enable a multi-dimensional analysis of market trends, from Elliott Wave cycles and period cycles to retracement cycles, ratio wave cycles, pivot cycles, and strength cycles.
User-friendly Interface: Despite its sophistication, the toolkit is designed with user-friendliness in mind. It allows for customization and presents data in easy-to-understand formats.
Versatility: The toolkit is versatile and can be used across different markets - stocks, forex, commodities, and cryptocurrencies. This makes it a valuable resource for all types of traders.
█ Any Alert Function Call
This function allows traders to combine any feature and create customized alerts. These alerts can be set for various conditions and customized according to the trader's strategy or preferences.
█ In conclusion, The Trading Toolkit is a powerful ally for any trader, offering the capabilities to navigate the complexities of the market with ease. Whether you're a novice or an experienced trader, this toolkit provides a structured and systematic approach to trading.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
MCumulativeDelta* MCumulativeDelta Indicator *
The MCumulativeDelta Indicator shows the Buying / Selling pressure that is happening in the market. The Delta is powered by the *MBox Precision Delta* Algorithm. This indicator serves to show overall Accumulation and Distribution of the BUYERS and the SELLERS. It becomes possible to gauge if the market is overall Bullish or Bearish. This helps determine trade direction and keeping out of other trades that are counter to what the overall Buying / Selling is showing.
* WHAT THE SCRIPT DOES *
The script draws a histogram that can either be positive or negative. When the histogram is positive it means there are more Buyers in the Market. When the histogram is negative it means there are more sellers in the market. The more positive the histogram gets, the more BUYERS are flooding the market. The more negative the histogram gets, the more SELLERS are flooding the market. When the histogram switches over from negative to positive it is a Bullish sign of Buying. When the histogram switches over from positive to negative, it is a Bearish sign of Selling.
* HOW TO USE IT *
As the histogram becomes more negative, this shows that the SELLERS have taken control of the markets. Conversely, as the histogram becomes more positive, this shows that the Buyers have taken control of the markets. The side that is in control is the direction to generally place trades in, and at the same time filter out trades of the opposite direction.
* HOW IT WORKS *
The MCumulativeDelta histogram on the chart represents overall Buying / Selling. This is the DELTA (difference) between the BUYING and the SELLING. Taking the total BUYING and subtracting the total of SELLING, we produce the DELTA (difference) between the Buying / Selling and this is what is drawn by the histogram.
Unlike other Cumulative Delta indicators which determine delta from the Up / Down wick and just multiply by volume (not a true delta), the MCumulativeDelta indicator uses a sophisticated algorithm that analyzes price movement corresponding to volume movement.
The way the DELTA, BUYING, and SELLING is calculated is computed by the *MBox Precision Delta* Algorithm. The algorithm considers the following data points when making it's computation
1. Price moving up on increasing volume
2. Price moving up on decreasing volume
3. Price moving horizontally on increasing volume
4. Price moving horizontally on decreasing volume
5. Price moving down on increasing volume
6. Price moving down on decreasing volume
Using these data points allows MCumulativeDelta to effectively compute and define the following scenarios
1. Accumulation / Distribution
2. Buying / Selling Exhaustion
3. Buying / Selling EFFORT / NO RESULT
Once the scenario is determined, it will greatly aid in trade decision making. These scenarios are explained in the examples below
* EXAMPLE AND USE CASES *
- Accumulation Example -
When you see a large amount of BUYING (large positive histogram) and price entering an up trend, this is indicative of Accumulation and you would be looking for PULLBACKS to get into the up trend move.
- Distribution Example -
When you see a large amount of SELLING (large negative histogram) and price entering a down trend, this is indicative of Distribution and you would be looking for pullbacks to get into the down trend move.
- Buying EXHAUSTION Divergence -
As price makes higher highs, but the MCumulativeDelta histogram drops (becomes less positive) on the higher highs, it means BUYERS are exhausted. Potentially a reversal or change in behavior in the markets.
- Selling EXHAUSTION Divergence -
As price makes lower lows, but the MCumulativeDelta histogram contracts (becomes less negative) on the lower lows, it means SELLERS are exhausted. Potentially a reversal or change in behavior in the markets.
- BUYING EFFORT / NO RESULT -
As the MCumulativeDelta histogram increases positively, but price fails to make higher highs, it is a sign of EFFORT / NO RESULT on behalf of the Buyers. In this case Buyers are pushing hard to move price up, but are unable to, due to being OVERBOUGHT. If this is accompanied by visible SELLING, it would be a good short entry.
- SELLING EFFORT / NO RESULT -
As the MCumulativeDelta histogram increases negatively, but price fails to make lower lows, it is a sign of EFFORT / NO RESULT on behalf of the Sellers. In this case Sellers are pushing hard to move price down, but are unable to, due to being OVERSOLD. If this is accompanied by visible BUYING, it would be a good long entry.
* SETTING ALERTS *
- FOR CROSSING FROM BUYING TO SELLING OR SELLING TO BUYING -
To be alerted when the histogram crosses over from Buying to Selling (Positive to Negative) or Selling to Buying (Negative to Positive)
1. Right Click Chart -> Add Alert...
2. Select Condition to be "MCumulativeDelta"
3. Select "Crossing" with Value = 0
4. Options set "Once Per Bar Close"
5. Customize Any other Alert Options you want
* AUTHOR *
This script is published by MBoxWave LLC
Smart Money Concepts Probability (Expo)█ Overview
The Smart Money Concept Probability (Expo) is an indicator developed to track the actions of institutional investors, commonly known as "smart money." This tool calculates the likelihood of smart money being actively engaged in buying or selling within the market, referred to as the "smart money order flow."
The indicator measures the probability of three key events: Change of Character ( CHoCH ), Shift in Market Structure ( SMS ), and Break of Structure ( BMS ). These probabilities are displayed as percentages alongside their respective levels, providing a straightforward and immediate understanding of the likelihood of smart money order flow.
Finally, the backtested results are shown in a table, which gives traders an understanding of the historical performance of the current order flow direction.
█ Calculations
The algorithm individually computes the likelihood of the events ( CHoCH , SMS , and BMS ). A positive score is assigned for events where the price successfully breaks through the level with the highest probability, and a negative score when the price fails to do so. By doing so, the algorithm determines the probability of each event occurring and calculates the total profitability derived from all the events.
█ Example
In this case, we have an 85% probability that the price will break above the upper range and make a new Break Of Structure and only a 16.36% probability that the price will break below the lower range and make a Change Of Character.
█ Settings
The Structure Period sets the pivot period to use when calculating the market structure.
The Structure Response sets how responsive the market structure should be. A low value returns a more responsive structure. A high value returns a less responsive structure.
█ How to use
This indicator is a perfect tool for anyone that wants to understand the probability of a Change of Character ( CHoCH ), Shift in Market Structure ( SMS ), and Break of Structure ( BMS )
The insights provided by this tool help traders gain an understanding of the smart money order flow direction, which can be used to determine the market trend.
█ Any Alert function call
An alert is sent when the price breaks the upper or lower range, and you can select what should be included in the alert. You can enable the following options:
Ticker ID
Timeframe
Probability percentage
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Breakout Probability (Expo)█ Overview
Breakout Probability is a valuable indicator that calculates the probability of a new high or low and displays it as a level with its percentage. The probability of a new high and low is backtested, and the results are shown in a table— a simple way to understand the next candle's likelihood of a new high or low. In addition, the indicator displays an additional four levels above and under the candle with the probability of hitting these levels.
The indicator helps traders to understand the likelihood of the next candle's direction, which can be used to set your trading bias.
█ Calculations
The algorithm calculates all the green and red candles separately depending on whether the previous candle was red or green and assigns scores if one or more lines were reached. The algorithm then calculates how many candles reached those levels in history and displays it as a percentage value on each line.
█ Example
In this example, the previous candlestick was green; we can see that a new high has been hit 72.82% of the time and the low only 28.29%. In this case, a new high was made.
█ Settings
Percentage Step
The space between the levels can be adjusted with a percentage step. 1% means that each level is located 1% above/under the previous one.
Disable 0.00% values
If a level got a 0% likelihood of being hit, the level is not displayed as default. Enable the option if you want to see all levels regardless of their values.
Number of Lines
Set the number of levels you want to display.
Show Statistic Panel
Enable this option if you want to display the backtest statistics for that a new high or low is made. (Only if the first levels have been reached or not)
█ Any Alert function call
An alert is sent on candle open, and you can select what should be included in the alert. You can enable the following options:
Ticker ID
Bias
Probability percentage
The first level high and low price
█ How to use
This indicator is a perfect tool for anyone that wants to understand the probability of a breakout and the likelihood that set levels are hit.
The indicator can be used for setting a stop loss based on where the price is most likely not to reach.
The indicator can help traders to set their bias based on probability. For example, look at the daily or a higher timeframe to get your trading bias, then go to a lower timeframe and look for setups in that direction.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
MoonFlag Converging BandsThis script form a cloud that is made from multiple lines that are each similar to a moving average.
However, each line is different to moving averages as it uses an algorithm that is nonlinear, 'overshoot moving averages' better explains how they work.
A cloud (visible on the indicator plot) is formed from multiple 'overshoot moving average' lines, each with a different lookback length.
A single variable is provided in the settings which extends all lines which form the cloud.
So the cloud is formed from the max and min from multiple 'nonlinear' moving averages.
What is interesting here is that, ....when the cloud lines narrow or converge..... ,this signifies that all moving averages are narrowing.
However, as the algo does not use standard moving averages - it is a bit more spicy and has some merit with predicting a big or biggish move in advance, before it happens.
So, the overshoot moving averages have a predictive quality.
Whereas, standard moving averages always lag the present time price action.
Indeed, most indicators are based on moving averages and lag the price action.
I'll try and explain how the overshoot moving average works...
Each line which forms the cloud gives an indication of the price trend momentum.
So if the price action rises above a line. the line will follow and move up, however, when the price action reduces momentum or starts to move downwards, the underlying momentum will push the line to overshoot the price action. Hence the price action crossing lines (or extending beyond the cloud) can indicate a change in momentum of a price trend.
There is also a median line shown which can be quite useful. If the price action stays about the median, this would suggest increasing bullish momentum. Then if the price action crosses the median - this is reasonable grounds to think about getting out of a trade as a change in momentum, on multiple timeframes has occured.
So, ... why is this wavecloud important or how is it useful.
When the wavecloud gets narrow - this generally means that all moving averages are converging. However, moving averages lag real-time price action and therefore lack a predictive speculation. With the waveclound presented in this indicator, when the wavecloud narrows this can suggest/predict a sizeable move is about to happen. In the settings, there is a narrowing % variable which can be adjusted depending on which coin or timeframe someone is working with. If there is a lot of background shading (faster timeframes)- decrease the % narrowing. Conversely, if there is insufficient background lines (with longer timeframes), increase the narrowing %.
There are a few trends which are exceptions to predicting a big move. One is that the price trend continues at a steady pace and hence the wavecloud narrows on a steadily increasing or decreasing price.
Another is that the price is choppy and just goes up and down throwing all moving averages or most indicators into a non useful state. However, adjust the narrowing % for whatever price action is in play at the time and you might find you can neatly pick out a big price change.
So, which way does a big price action move go, up or down, I'll leave this one to you. If one is trying to find the end point of a massive bull run - there might be a wavecloud narrowing at the top, just before the price suddenly drops. If its sometime after a big crash and the price action has already been through a choppy phase, its possibly time for a big rise after one last sharp drop. There are all sorts of price action wavecloud formations however, nothing very predictive in terms of suggesting when a big move might be soon to happen is otherwise available. (Although I did find my other script 'Volume Effectiveness' has some merits.)
Timeframe is an important factor with this algorithm. I think the 4hour timeframe with bitcoin is reasonable. I've not extensively tested with other coins however, faster timeframes always render unpredictable results. Also if the timeframe is too long - its difficult to suggest what is going to happen in the near future.
FATL, SATL, RFTL, & RSTL Digital Signal Filter Smoother [Loxx]FATL, SATL, RFTL, & RSTL Digital Signal Filter (DSP) Smoother is is a baseline indicator with DSP processed source inputs
What are digital indicators: distinctions from standard tools, types of filters.
To date, dozens of technical analysis indicators have been developed: trend instruments, oscillators, etc. Most of them use the method of averaging historical data, which is considered crude. But there is another group of tools - digital indicators developed on the basis of mathematical methods of spectral analysis. Their formula allows the trader to filter price noise accurately and exclude occasional surges, making the forecast more effective in comparison with conventional indicators. In this review, you will learn about their distinctions, advantages, types of digital indicators and examples of strategies based on them.
Two non-standard strategies based on digital indicators
Basic technical analysis indicators built into most platforms are based on mathematical formulas. These formulas are a reflection of market behavior in past periods. In other words, these indicators are built based on patterns that were discovered as a result of statistical analysis, which allows one to predict further trend movement to some extent. But there is also a group of indicators called digital indicators. They are developed using mathematical analysis and are an algorithmic spectral system called ATCF (Adaptive Trend & Cycles Following). In this article, I will tell you more about the components of this system, describe the differences between digital and regular indicators, and give examples of 2 strategies with indicator templates.
ATCF - Market Spectrum Analysis Method
There is a theory according to which the market is chaotic and unpredictable, i.e. it cannot be accurately analyzed. After all, no one can tell how traders will react to certain news, or whether some large investor will want to play against the market like George Soros did with the Bank of England. But there is another theory: many general market trends are logical, and have a rationale, causes and effects. The economy is undulating, which means it can be described by mathematical methods.
Digital indicators are defined as a group of algorithms for assessing the market situation, which are based exclusively on mathematical methods. They differ from standard indicators by the form of analysis display. They display certain values: price, smoothed price, volumes. Many standard indicators are built on the basis of filtering the minute significant price fluctuations with the help of moving averages and their variations. But we can hardly call the MA a good filter, because digital indicators that use spectral filters make it possible to do a more accurate calculation.
Simply put, digital indicators are technical analysis tools in which spectral filters are used to filter out price noise instead of moving averages.
The display of traditional indicators is lines, areas, and channels. Digital indicators can be displayed both in the form of lines and in digital form (a set of numbers in columns, any data in a text field, etc.). The digital display of the data is more like an additional source of statistics; for trading, a standard visual linear chart view is used.
All digital models belong to the category of spectral analysis of the market situation. In conventional technical indicators, price indications are averaged over a fixed period of time, which gives a rather rough result. The use of spectral analysis allows us to increase trading efficiency due to the fact that digital indicators use a statistical data set of past periods, which is converted into a “frequency” of the market (period of fluctuations).
Fourier theory provides the following spectral ranging of the trend duration:
low frequency range (0-4) - a reflection of a long trend of 2 months or more
medium frequency range (5-40) - the trend lasts 10-60 days, thus it is referred to as a correction
high frequency range (41-130) - price noise that lasts for several days
The ATCF algorithm is built on the basis of spectral analysis and includes a set of indicators created using digital filters. Its consists of indicators and filters:
FATL: Built on the basis of a low-frequency digital trend filter
SATL: Built on the basis of a low-frequency digital trend filter of a different order
RFTL: High frequency trend line
RSTL: Low frequency trend line
Inclucded:
4 DSP filters
Bar coloring
Keltner channels with variety ranges and smoothing functions
Bollinger bands
40 Smoothing filters
33 souce types
Variable channels
Ehlers Autocorrelation Periodogram [Loxx]Ehlers Autocorrelation Periodogram contains two versions of Ehlers Autocorrelation Periodogram Algorithm. This indicator is meant to supplement adaptive cycle indicators that myself and others have published on Trading View, will continue to publish on Trading View. These are fast-loading, low-overhead, streamlined, exact replicas of Ehlers' work without any other adjustments or inputs.
Versions:
- 2013, Cycle Analytics for Traders Advanced Technical Trading Concepts by John F. Ehlers
- 2016, TASC September, "Measuring Market Cycles"
Description
The Ehlers Autocorrelation study is a technical indicator used in the calculation of John F. Ehlers’s Autocorrelation Periodogram. Its main purpose is to eliminate noise from the price data, reduce effects of the “spectral dilation” phenomenon, and reveal dominant cycle periods. The spectral dilation has been discussed in several studies by John F. Ehlers; for more information on this, refer to sources in the "Further Reading" section.
As the first step, Autocorrelation uses Mr. Ehlers’s previous installment, Ehlers Roofing Filter, in order to enhance the signal-to-noise ratio and neutralize the spectral dilation. This filter is based on aerospace analog filters and when applied to market data, it attempts to only pass spectral components whose periods are between 10 and 48 bars.
Autocorrelation is then applied to the filtered data: as its name implies, this function correlates the data with itself a certain period back. As with other correlation techniques, the value of +1 would signify the perfect correlation and -1, the perfect anti-correlation.
Using values of Autocorrelation in Thermo Mode may help you reveal the cycle periods within which the data is best correlated (or anti-correlated) with itself. Those periods are displayed in the extreme colors (orange) while areas of intermediate colors mark periods of less useful cycles.
What is an adaptive cycle, and what is the Autocorrelation Periodogram Algorithm?
From his Ehlers' book mentioned above, page 135:
"Adaptive filters can have several different meanings. For example, Perry Kaufman’s adaptive moving average ( KAMA ) and Tushar Chande’s variable index dynamic average ( VIDYA ) adapt to changes in volatility . By definition, these filters are reactive to price changes, and therefore they close the barn door after the horse is gone.The adaptive filters discussed in this chapter are the familiar Stochastic , relative strength index ( RSI ), commodity channel index ( CCI ), and band-pass filter.The key parameter in each case is the look-back period used to calculate the indicator.This look-back period is commonly a fixed value. However, since the measured cycle period is changing, as we have seen in previous chapters, it makes sense to adapt these indicators to the measured cycle period. When tradable market cycles are observed, they tend to persist for a short while.Therefore, by tuning the indicators to the measure cycle period they are optimized for current conditions and can even have predictive characteristics.
The dominant cycle period is measured using the Autocorrelation Periodogram Algorithm. That dominant cycle dynamically sets the look-back period for the indicators. I employ my own streamlined computation for the indicators that provide smoother and easier to interpret outputs than traditional methods. Further, the indicator codes have been modified to remove the effects of spectral dilation.This basically creates a whole new set of indicators for your trading arsenal."
How to use this indicator
The point of the Ehlers Autocorrelation Periodogram Algorithm is to dynamically set a period between a minimum and a maximum period length. While I leave the exact explanation of the mechanic to Dr. Ehlers’s book, for all practical intents and purposes, in my opinion, the punchline of this method is to attempt to remove a massive source of overfitting from trading system creation–namely specifying a look-back period. SMA of 50 days? 100 days? 200 days? Well, theoretically, this algorithm takes that possibility of overfitting out of your hands. Simply, specify an upper and lower bound for your look-back, and it does the rest. In addition, this indicator tells you when its best to use adaptive cycle inputs for your other indicators.
Usage Example 1
Let's say you're using "Adaptive Qualitative Quantitative Estimation (QQE) ". This indicator has the option of adaptive cycle inputs. When the "Ehlers Autocorrelation Periodogram " shows a period of high correlation that adaptive cycle inputs work best during that period.
Usage Example 2
Check where the dominant cycle line lines, grab that output number and inject it into your other standard indicators for the length input.
Mikolaj Zakrzowski - Adjusted Mayer MultipleAuthor - Publication: Mikołaj Zakrzowski, Marek Zatwarnicki
Author - Algorithm: Mikołaj Zakrzowski
Author - Code: Marek Zatwarnicki, Derek Gruening
Inspired by: Mayer Multiple by Trace Mayer
Category: Technical Analysis
Type: Indicator
Timeframe: 1D Only
Index: INDEX:BTCUSD Only
About:
According to Willy Woo Mayer Multiple is "A way to gauge the current price of Bitcoin against its long range historical price movements (200 day moving average), the Mayer Multiple highlights when Bitcoin is overbought or oversold in the context of longer time frames".
My friend, Mikolaj Zakrzowski, decided to modify and adjust this indicator so that it could be normalized. This procedure allows for easier interpretation, and clear signals of the end of the ups and downs of a given Bitcoin cycle.
How to use:
BUY - Buy some Bitcoin , when label on last candle shows "Buy".
SELL- Sell some Bitcoin , when label on last candle shows "Sell".
Formula:
- Mayer Multiple - Close / ta. sma (close, 200)
- Formula for normalization is an intellectual property of Mikolaj Zakrzowski.
Overfitting: The presented algorithm is characterized by log regresion determined as of 01/01/2022. Tests with historical data show that the algorithm is very likely to work equally well the following years.
Disclaimer: Past good results do not guarantee future trading success. Please use the algorithm with caution and support it with your knowledge. Published algorithm decisions are not financial advice.
Market Maker Volatility Diameter V2 by Hawkeye Charting***German Description below***
Hey guys,
we are proud to publish the Market Maker Volatility Diameter V2!
Our goal with this indicator is to provide an All-in-one indicator, combining some special tools of open source scripts as well as some of our own developments and the algorithm of our MMVD V1.
We will create a video series very soon, where we will explain each aspect of the tool, your options and of course our trading strategies with this indicator.
You have the following technical tools and information combined in this indicator, which can each be shown and hidden:
- Psychological Ranges (Weekly Opening High/ Low for Crypto and Forex)
- Market Maker Sessions (Sydney, Asia, London, NY)
- Trade Cloud (algorithm developed by Hawkeye Charting)
- Fibonacci Cloud (inspired by watching paid offerings, coded by Hawkeye Charting)
- Display Moving Averages (select the visualization of up to 6 moving averages. You can change for each of these 6 MA's the type and the length.)
- Display Major Trend Cloud (developed by Hawkeye Charting)
- PVSRA Candle Colors
- Vector Candle Zones
- Pivots
- Pivot Fibonacci Levels (developed by Hawkeye Charting)
- OHLC-Levels
- Average Daily, Weekly, Monthly Ranges
- Volume Profile for Intraday Trading for up to 8 days.
We hope especially for people, who can not afford the Pro offering from TradingView, to give access to a good indicator, which includes many tools and alerts.
Our goal is to lower the barriers for new entrants and of course to protect people, to pay for indicators, which are completely insane priced.
Only, that you get an idea: the whole indicator has only cost me about 100 h of work (for a single person!), and I'm no Pine script expert, so don't get fooled when someone offers you insane amounts for an indicator...
There is no holy grail. Each indicator works only with calculations on previous data.
We appreciate seeing that you guys like this work, so please leave a like and a follow and share this indicator.
*****German Description*****
Hey Leute,
wir sind stolz, unsere 2. Version des Market Maker Volatility Diameter zu veröffentlichen!
Unser Ziel ist es, mit diesem Indikator eine All-In-One Lösung anzubieten, welche einige nicht ganz geläufige Tools sowie unsere eigenen Entwicklungen und natürlich den Algorithmus des MMVD V1 vereinen.
Wir werden in naher Zukunft eine Video Serie veröffentlichen, in welcher wir Stück für Stück jeden Aspekt des Werkzeugs, die Einstellungsmöglichkeiten sowie unsere Trading Strategien mit diesem Indikator erklären werden.
Ihr habt die folgenden technischen Werkzeuge und Informationen in diesem Indikator vereint, welche jede einzeln an- oder abgewählt und eingestellt werden können:
- Psychological Ranges (Weekly Opening High/ Low für Krypto and Forex)
- Market Maker Sessions (Sydney, Asia, London, NY)
- Trade Cloud (Algorithmus von Hawkeye Charting entwickelt)
- Fibonacci Cloud (inspiriert von der Beobachtung eines Paid-Indikators, Code geschrieben von Hawkeye Charting)
- Moving Averages (Ihr könnt die Darstellung von bis zu 6 Gleitenden Durchschnitten auswählen und für jeden dieser Durchschnitte den Typ und die Länge ändern.)
- Display Major Trend Cloud (entwickelt von Hawkeye Charting)
- PVSRA Candle Colors
- Vector Candle Zones
- Pivots
- Pivot Fibonacci Levels (entwickelt von Hawkeye Charting)
- OHLC-Levels
- Average Daily, Weekly, Monthly Ranges
- Volume Profile für Intraday Trading, Darstellungsmöglichkeit für 3-8 Tage
Wir hoffen, dass wir speziell für Leute, die sich nicht das PRO-Abo aufwärts von TradingView leisten können, Zugang zu einem guten Indikator, welche viele Werkzeuge und Alarme vereint gewährleisten zu können.
Unser Ziel ist es, die Eintrittsbarrieren für neue Marktteilnehmer senken und natürlich Leute vor wahnsinnigen Paid-Angeboten beschützen zu können.
Nur, damit ihr eine Vorstellung bekommt: den gesamten Indikator hat mich lediglich 100h Arbeit gekostet (für eine einzelne Person!), und ich bin kein Pine Script Experte. Also lasst euch bitte nicht verar******, wenn euch Paid-Angebote erreichen, mit dem Versprechen, den "zu 95% erfolgreich" Indikator erwerben zu können.
Es gibt keinen heiligen Gral, jeder Indikator arbeitet nur mit Berechnung von Vergangenheitswerten.
Wir würden uns riesig freuen, wenn euch diese Arbeit gefällt und ihr uns Likes und Follows hinterlasst und ihr diesen Indikator teilt.
Machine Learning: kNN-based StrategykNN-based Strategy (FX and Crypto)
Description:
This strategy uses a classic machine learning algorithm - k Nearest Neighbours (kNN) - to let you find a prediction for the next (tomorrow's, next month's, etc.) market move. Being an unsupervised machine learning algorithm, kNN is one of the most simple learning algorithms.
To do a prediction of the next market move, the kNN algorithm uses the historic data, collected in 3 arrays - feature1, feature2 and directions, - and finds the k-nearest
neighbours of the current indicator(s) values.
The two dimensional kNN algorithm just has a look on what has happened in the past when the two indicators had a similar level. It then looks at the k nearest neighbours,
sees their state and thus classifies the current point.
The kNN algorithm offers a framework to test all kinds of indicators easily to see if they have got any *predictive value*. One can easily add cog, wpr and others.
Note: TradingViews's playback feature helps to see this strategy in action.
Warning: Signals ARE repainting.
Style tags: Trend Following, Trend Analysis
Asset class: Equities, Futures, ETFs, Currencies and Commodities
Dataset: FX Minutes/Hours+++/Days
CroSel Indicator ToolboxA value-packed or all-in-one indicator. The main one is probably the algorithmic signal. I have noticed a few trading groups that rely solely on their algo trading signals. I have derived my own using MACD . I find that it works better or just as good as what I have seen. The others indicators are also very powerful and could even be used on a stand alone basis. There are different variations included. I wanted to provide 10x the value at whatever price I would put on this. However I think I've provided at least 20x the expected value. What I like about this is that with more signals, we can visually see confluence. In turn, that should give us traders confidence. The follow is a list of all the indicators I've included so far:
How to use (for all indicators): I suggest using these trade signals as confluence for the main algorithmic trade signals. Aside from MACD and RSI , there are a limited number of signals, but they will all show up within the most recent bars that have passed. Buy when green/lime and sell when red/fuchsia. I suggest experimenting with the the different modes to see what you believe works best for your trading style.
I prefer to use the last signal provided, but I also like to rely on looking at signals as a group, if they are all rising, I'm bullish ; if they are all falling, I'm bearish .
Note on Color Scheme: Red/Fuchsia color means to short/sell and green/lime color means to long/buy.
- Algorithmic signal - provides trade signals. How to use: When there is a green arrow up, it means you should go long. When there is a red arrow down, it means you should exit your long or short sell. If the arrow is lime colored, it means the stock is trending upwards and if the arrow is fuchsia, it means the stock is trending downwards.
- Band and hit count - provides bands to track volatility , as well as tracks the number of times the price hits the upper or lower bands. It also provides candle-to-candle slope as a %. How to use: You can use this to play the odds in your favor. For example: if a stock hits the upper bands 13 times during the morning, and then hits the lower bands 4 times afterwards and then moves upwards away from the lower bands towards the middle of the bands, from here we may be able to say that since 13 is greater than 4, that the stock price may rise again and start hitting the upper bands. Another way I like to use this indicator, is if a stock hits the upper bands more than 16 to 20 times, I like to exit the trade before it has a chance to drop. Lastly, there are zones where a stock price will go above or below 100% or 0% respectively. For example, a stock starts to hit the 110% area of the bands. This could be an excellent time to sell/short the stock.
- Volume surge - provides signals of when volume is increasing/decreasing depending on the color and direction. How to use: Gives you confidence that the price will rise higher/lower.
- EMA 5 & 10 - It is the exponential moving average of the past 5 or 10 bars. It will be either be red or green depending on the slope. How to use: I like to use it as if it were a trend line (which I like to call slanted support/resistance ). For example, if I buy a stock and it falls below EMA 10 I will generally sell the stock, and if it rises past EMA 5 I will generally buy the stock.
- Background color - Background color shows whether the stock is bullish or bearish . If it is green/red, it is slightly bullish / bearish respectively. If it is lime/fuchsia, it is very bullish / bearish respectively. How to use: Take long positions if the background color is greenish(i.e. green/lime) and take short position if the background color is reddish (i.e.red/fuchsia). Please bear in mind, background color will look slightly different if you are already coloring the extended hour session backgrounds.
- Channel Breakout Lines - These lines show the rigid channel that the stock will travel through. How to use: Watch a stock that is in a channel, if it is going up, watch the red dotted line which extends into the future,
if it the stock falls below that previous red dotted line you should sell/short the stock. If a stock is going down, watch the green dotted line, and if the stock goes past the previous green dotted line, you should buy.
- MACD - Moving Average Convergence and Divergence provides trade signals. How to use: 1 turns it off. 2 provides the classic, buy and sell signals based on when the MACD line crosses over or under the signal line. 3 provides faster trade
signals. 4 provides the algorithmic signals. All variations can change according to Algo sensitivity and Algo Signal speed since the algo uses MACD as it's base.
- RSI - Relative Strength Index provides trade signals. How to use: 1 turn it off, 2 turns on and provides the buy and sell signals for above 70 and below 30 RSI respectively. 3 and 4 provide slow and fast RSI trade signals respectively.
4 is my favorite and can be used to provide confluence.
- VWAP - Volume Weighted Average Price . a 2 value is the regular vwap line. A value of 3 or 4 will show that the VWAP line or fill from line until the close is colored
according to slope of EMA 5. How to use: Buy below the VWAP if it shows some support and sell/Short above if it shows some resistance. When the color is red it will show the
- ROC - Rate of Change trade signals. Take note of the circle shaped symbols. Normal mode shows you when the rate of change has crossed the zero line; this can be a very bullish or bearish signal. 3rd mode will gives signals based on whether ROC has stopped making new highs or new lows. 4th mode gives the fastest signals, making it the least risky.
- MFI - Money Flow Index trade Signals. Take note of the Long arrow symbols. Modes work as described.
- BOP - Balance of power trade signals. Take note of the square symbols. The simple mode provides only the biggest trade signals, and the complex mode provides both the biggest and smallest trade signals.
- OBV - A running total of positive and negative volume . Take note of the diamond shaped symbols. Slow signals are really slow. Fast signals are really fast. Use according to your trading speed preference.
- Stochastics - A momentum oscillator that provides trade signals. Take note of the plus shaped symbols and factor them into your judgement on when to trade.
- CCI - Commodity Channel Index trade signals based on momentum. Take note of the X symbols.
- CMF - Chaikin Money Flow trade signals. Take note of the flag symbols.
- ADX - ADX is a component of the Directional Movement System developed by Welles Wilder. When it says to buy, I suggest that you go long, and then before it says to sell you try to sell. And then you can also try to go long before it says to buy. As soon as I see buy, I want to be in the stock and conversely, when I see sell I want to be out of it.
- Price-Volume Divergence - This indicator is a candle by candle indicator which shows that if volume is rising and price is falling, then there is bullish divergence , Conversely if price is rising and volume is falling there is bearish divergence. This a leading indicator.
- Ichimoku Clouds - This indicator just shows the clouds in the Ichimoku cloud system. It can be used to buy under the clouds and sell over the clouds. It can also be used as a possible support/resistance level during an uptrend/downtrend respectively.
- PSAR - Parabolic Stop and Reverse . Denotes uptrends/downtrends, by multiple dotted lines. You can use it by buying/selling when it breaks out of a downtrend/uptrend respectively. Or you can use it to sell/buy during an uptrend/downtrend respectively. Warning: it is generally slow. I find that it's very reliable from a 5 minute perspective.
- Fibonacci levels - People generally use Fibonacci levels for retracement for when a stock pulls back. I personally like to use it as a predictive tool along with looking at the slope. If the slope is negative/positive and moving away/near from 50% line then, I would be bearish / bullish respectively.
- Moving Average ( EMA and SMA ) lines - Exponential moving average and Smooth moving average lines. EMA lines move faster and SMA lines move slower. I like to use these lines as trend lines which can tell me if there is an uptrend or downtrend. The strength of the trend is shown by the distance away from the slowest EMA / SMA lines. I like to sell when it's far above the trendline, and buy when it's closer to the trendline. Be weary of the price crossing trendlines .
- Information Panel - (Price location, Trend Strength, Volatilty Ratio, Current State, Reversal/Continuation Odds): Mode 2 will give you basic price location info. Mode 3 is my favorite and will give you the most info. and Mode 4 will give you the Schwager volatility ratio which can help with stock selection; the higher the ratio, the more movement can be expected.
- Support & Resistance levels - Horizontal dotted lines which show the stock price and where it experiences support/resistance . Can be used in many ways. I like to use it by counting the number of support/resistance lines provided and if support lines exceed resistance lines, I will be more likely to go long.
- Candle Colors - Overlay a color onto the Candles. Note: I encourage the use of Heiken Ashi which helps a lot with low volume candles. Candles can be colored according to their location within the bands, and also according to a trailing stop loss based on Average True Range . Buy low, sell high for the location mode and for the stop loss mode, selling/buying is encouraged when the bars go completely red/green respectively.
- Linear Regression - Draws a (black) line of best fit, and shows 2 standard deviations away from the line of best fit above(red) and below(green). I suggest buying/selling below/above the line of best fit respectively. Strong buys or sells generally occur below or above the standard deviation lines respectively.
Relative Strength(RSMK) + Perks - Markos KatsanosIf you are desperately looking for a novel RSI, this isn't that. This is another lesser known novel species of indicator. Hot off the press, in multiple stunning color schemes, I present my version of "Relative Strength (RSMK)" employing PSv4.0, originally formulated by Markos Katsanos for TASC - March 2020 Traders Tips. This indicator is used to compare performance of an asset to a market index of your choosing. I included the S&P 500 index along side the Dow Jones and the NASDAQ indices selectively by an input() in "Settings". You may comparatively analyze other global market indices by adapting the code, if you are skilled enough in Pine to do so.
With this contribution to the Tradingview community, also included is MY twin algorithmic formulation of "Comparative Relative Strength" as a supplementary companion indicator. They are eerily similar, so I decided to include it. You may easily disable my algorithm within the indicator "Settings". I do hope you may find both of them useful. Configurations are displayed above in multiple scenarios that should be suitable for most traders.
As always, I have included advanced Pine programming techniques that conform to proper "Pine Etiquette". For those of you who are newcomers to Pine Script, this script may also help you understand advanced programming techniques in Pine and how they may be utilized in a most effective manner. Utilizing the "Power of Pine", I included the maximum amount of features I could surmise in an ultra small yet powerful package, being less than a 60 line implementation at initial release.
Unfortunately, there are so many Pine mastery techniques included, I don't have time to write about all of them. I will have to let you discover them for yourself, excluding the following Pine "Tricks and Tips" described next. Of notable mention with this release, I have "overwritten" the Pine built-in function ema(). You may overwrite other built-in functions too. If you weren't aware of this Pine capability, you now know! Just heed caution when doing so to ensure your replacement algorithms are 100% sound. My ema() will also accept a floating point number for the period having ultimate adjustability. Yep, you heard all of that properly. Pine is becoming more impressive than `impressive` was originally thought of...
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... You have the source!
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
主力资金进出监控器Main Capital Flow Monitor-MEWINSIGHTMain Capital Flow Monitor Indicator
Indicator Description
This indicator utilizes a multi-cycle composite weighting algorithm to accurately capture the movement of main capital in and out of key price zones. The core logic is built upon three dimensions:
Multi-Cycle Pressure/Support System
Using triple timeframes (500-day/250-day/90-day) to calculate:
Long-term resistance lines (VAR1-3): Monitoring historical high resistance zones
Long-term support lines (VAR4-6): Identifying historical low support zones
EMA21 smoothing is applied to eliminate short-term fluctuations
Dynamic Capital Activity Engine
Proprietary VARD volatility algorithm:
VARD = EMA
Automatically amplifies volatility sensitivity by 10x when price approaches the safety margin (VARA×1.35), precisely capturing abnormal main capital movements
Capital Inflow Trigger Mechanism
Capital entry signals require simultaneous fulfillment of:
Price touching 30-day low zone (VARE)
Capital activity breaking recent peaks (VARF)
Weighted capital flow verified through triple EMA:
Capital Entry = EMA / 618
Visualization:
Green histogram: Continuous main capital inflow
Red histogram: Abnormal daily capital movement intensity
Column height intuitively displays capital strength
Application Scenarios:
Consecutive green columns → Main capital accumulation at bottom
Sudden expansion of red columns → Abnormal main capital rush
Continuous fluctuations near zero axis → Main capital washing phase
Core Value:
Provides 1-3 trading days early warning of main capital movements, suitable for:
Medium/long-term investors identifying main capital accumulation zones
Short-term traders capturing abnormal main capital breakouts
Risk control avoiding main capital distribution phases
Parameter Notes: Default parameters are optimized through historical A-share market backtesting. Users can adjust cycle parameters according to different market characteristics (suggest extending cycles by 20% for European/American markets).
Formula Features:
Multi-timeframe weighted synthesis technology
Dynamic sensitivity adjustment mechanism
Main capital activity intensity quantification
Early warning function for capital movements
Suitable Markets:
Stocks, futures, cryptocurrencies and other financial markets with obvious main capital characteristics.
指标名称:主力资金进出监控器
指标描述:
本指标通过多周期复合加权算法,精准捕捉主力资金在关键价格区域的进出动向。核心逻辑基于三大维度构建:
多周期压力/支撑体系
通过500日/250日/90日三重时间框架,分别计算:
长期压力线(VAR1-3):监控历史高位阻力区
长期支撑线(VAR4-6):识别历史低位承接区
采用EMA21平滑处理,消除短期波动干扰
动态资金活跃度引擎
独创VARD波动率算法:
当价格接近安全边际(VARA×1.35)时自动放大波动敏感度10倍,精准捕捉主力异动
资金进场触发机制
资金入场信号需同时满足:
价格触及30日最低区域(VARE)
资金活跃度突破近期峰值(VARF)
通过三重EMA验证的加权资金流:
资金入场 = EMA / 618
可视化呈现:
绿色柱状图:主力资金持续流入
红色柱状图:当日资金异动量级
柱体高度直观显示资金强度
使用场景:
绿色柱体连续出现 → 主力底部吸筹
红色柱体突然放大 → 主力异动抢筹
零轴附近持续波动 → 主力洗盘阶段
核心价值:
提前1-3个交易日预警主力资金动向,适用于:
中长线投资者识别主力建仓区间
短线交易者捕捉主力异动突破
风险控制规避主力出货阶段
参数说明:默认参数经A股历史数据回测优化,用户可根据不同市场特性调整周期参数(建议欧美市场延长周期20%)
Composite Time ProfileComposite Time Profile Overlay (CTPO) - Market Profile Compositing Tool
Automatically composite multiple time periods to identify key areas of balance and market structure
What is the Composite Time Profile Overlay?
The Composite Time Profile Overlay (CTPO) is a Pine Script indicator that automatically composites multiple time periods to identify key areas of balance and market structure. It's designed for traders who use market profile concepts and need to quickly identify where price is likely to find support or resistance.
The indicator analyzes TPO (Time Price Opportunity) data across different timeframes and merges overlapping profiles to create composite levels that represent the most significant areas of balance. This helps you spot where institutional traders are likely to make decisions based on accumulated price action.
Why Use CTPO for Market Profile Trading?
Eliminate Manual Compositing Work
Instead of manually drawing and compositing profiles across different timeframes, CTPO does this automatically. You get instant access to composite levels without spending time analyzing each individual period.
Spot Areas of Balance Quickly
The indicator highlights the most significant areas of balance by compositing overlapping profiles. These areas often act as support and resistance levels because they represent where the most trading activity occurred across multiple time periods.
Focus on What Matters
Rather than getting lost in individual session profiles, CTPO shows you the composite levels that have been validated across multiple timeframes. This helps you focus on the levels that are most likely to hold.
How CTPO Works for Market Profile Traders
Automatic Profile Compositing
CTPO uses a proprietary algorithm that:
- Identifies period boundaries based on your selected timeframe (sessions, daily, weekly, monthly, or auto-detection)
- Calculates TPO profiles for each period using the C2M (Composite 2 Method) row sizing calculation
- Merges overlapping profiles using configurable overlap thresholds (default 50% overlap required)
- Updates composite levels as new price action develops in real-time
Key Levels for Market Profile Analysis
The indicator displays:
- Value Area High (VAH) and Value Area Low (VAL) levels calculated from composite TPO data
- Point of Control (POC) levels where most trading occurred across all composited periods
- Composite zones representing areas of balance with configurable transparency
- 1.618 Fibonacci extensions for breakout targets based on composite range
Multiple Timeframe Support
- Sessions: For intraday market profile analysis
- Daily: For swing trading with daily profiles
- Weekly: For position trading with weekly structure
- Monthly: For long-term market profile analysis
- Auto: Automatically selects timeframe based on your chart
Trading Applications for Market Profile Users
Support and Resistance Trading
Use composite levels as dynamic support and resistance zones. These levels often hold because they represent areas where significant trading decisions were made across multiple timeframes.
Breakout Trading
When composite levels break, they often lead to significant moves. The indicator calculates 1.618 Fibonacci extensions to give you clear targets for breakout trades.
Mean Reversion Strategies
Value Area levels represent the price range where most trading activity occurred. These levels often act as magnets, drawing price back when it moves too far from the mean.
Institutional Level Analysis
Composite levels represent areas where institutional traders have made significant decisions. These levels often hold more weight than traditional technical analysis levels because they're based on actual trading activity.
Key Features for Market Profile Traders
Smart Compositing Logic
- Automatic overlap detection using price range intersection algorithms
- Configurable overlap thresholds (minimum 50% overlap required for merging)
- Dead composite identification (profiles that become engulfed by newer composites)
- Real-time updates as new price action develops using barstate.islast optimization
Visual Customization
- Customizable colors for active, broken, and dead composites
- Adjustable transparency levels for each composite state
- Premium/Discount zone highlighting based on current price vs composite range
- TPO aggression coloring using TPO distribution analysis to identify buying/selling pressure
- Fibonacci level extensions with 1.618 target calculations based on composite range
Clean Chart Presentation
- Only shows the most relevant composite levels (maximum 10 active composites)
- Eliminates clutter from individual session profiles
- Focuses on areas of balance that matter most to current price action
Real-World Trading Examples
Day Trading with Session Composites
Use session-based composites to identify intraday areas of balance. The VAH and VAL levels often act as natural profit targets and stop-loss levels for scalping strategies.
Swing Trading with Daily Composites
Daily composites provide excellent swing trading levels. Look for price reactions at composite zones and use the 1.618 extensions for profit targets.
Position Trading with Weekly Composites
Weekly composites help identify major trend changes and long-term areas of balance. These levels often hold for months or even years.
Risk Management
Composite levels provide natural stop-loss levels. If a composite level breaks, it often signals a significant shift in market sentiment, making it an ideal place to exit losing positions.
Why Composite Levels Work
Composite levels work because they represent areas where significant trading decisions were made across multiple timeframes. When price returns to these levels, traders often remember the previous price action and make similar decisions, creating self-fulfilling prophecies.
The compositing process uses a proprietary algorithm that ensures only levels validated across multiple time periods are displayed. This means you're looking at levels that have proven their significance through actual market behavior, not just random technical levels.
Technical Foundation
The indicator uses TPO (Time Price Opportunity) data combined with price action analysis to identify areas of balance. The C2M row sizing method ensures accurate profile calculations, while the overlap detection algorithm (minimum 50% price range intersection) ensures only truly significant composites are displayed. The algorithm calculates row size based on ATR (Average True Range) divided by 10, then converts to tick size for precise level calculations.
How the Code Actually Works
1. Period Detection and ATR Calculation
The code first determines the appropriate timeframe based on your chart:
- 1m-5m charts: Session-based profiles
- 15m-2h charts: Daily profiles
- 4h charts: Weekly profiles
- 1D charts: Monthly profiles
For each period type, it calculates the number of bars needed for ATR calculation:
- Sessions: 540 minutes divided by chart timeframe
- Daily: 1440 minutes divided by chart timeframe
- Weekly: 7 days worth of minutes divided by chart timeframe
- Monthly: 30 days worth of minutes divided by chart timeframe
2. C2M Row Size Calculation
The code calculates True Range for each bar in the determined period:
- True Range = max(high-low, |high-prevClose|, |low-prevClose|)
- Averages all True Range values to get ATR
- Row Size = (ATR / 10) converted to tick size
- This ensures each TPO row represents a meaningful price movement
3. TPO Profile Generation
For each period, the code:
- Creates price levels from lowest to highest price in the range
- Each level is separated by the calculated row size
- Counts how many bars touch each price level (TPO count)
- Finds the level with highest count = Point of Control (POC)
- Calculates Value Area by expanding from POC until 68.27% of total TPO blocks are included
4. Overlap Detection Algorithm
When a new profile is created, the code checks if it overlaps with existing composites:
- Calculates overlap range = min(currentVAH, prevVAH) - max(currentVAL, prevVAL)
- Calculates current profile range = currentVAH - currentVAL
- Overlap percentage = (overlap range / current profile range) * 100
- If overlap >= 50%, profiles are merged into a composite
5. Composite Merging Logic
When profiles overlap, the code creates a new composite by:
- Taking the earliest start bar and latest end bar
- Using the wider VAH/VAL range (max of both profiles)
- Keeping the POC from the profile with more TPO blocks
- Marking the composite as "active" until price breaks through
6. Real-Time Updates
The code uses barstate.islast to optimize performance:
- Only recalculates on the last bar of each period
- Updates active composite with live price action if enabled
- Cleans up old composites to prevent memory issues
- Redraws all visual elements from scratch each bar
7. Visual Rendering System
The code uses arrays to manage drawing objects:
- Clears all lines/boxes arrays on every bar
- Iterates through composites array to redraw everything
- Uses different colors for active, broken, and dead composites
- Calculates 1.618 Fibonacci extensions for broken composites
Getting Started with CTPO
Step 1: Choose Your Timeframe
Select the period type that matches your trading style:
- Use "Sessions" for day trading
- Use "Daily" for swing trading
- Use "Weekly" for position trading
- Use "Auto" to let the indicator choose based on your chart timeframe
Step 2: Customize the Display
Adjust colors, transparency, and display options to match your charting preferences. The indicator offers extensive customization options to ensure it fits seamlessly into your existing analysis.
Step 3: Identify Key Levels
Look for:
- Composite zones (blue boxes) - major areas of balance
- VAH/VAL lines - value area boundaries
- POC lines - areas of highest trading activity
- 1.618 extension lines - breakout targets
Step 4: Develop Your Strategy
Use these levels to:
- Set entry points near composite zones
- Place stop losses beyond composite levels
- Take profits at 1.618 extension levels
- Identify trend changes when major composites break
Perfect for Market Profile Traders
If you're already using market profile concepts in your trading, CTPO eliminates the manual work of compositing profiles across different timeframes. Instead of spending time analyzing each individual period, you get instant access to the composite levels that matter most.
The indicator's automated compositing process ensures you're always looking at the most relevant areas of balance, while its real-time updates keep you informed of changes as they happen. Whether you're a day trader looking for intraday levels or a position trader analyzing long-term structure, CTPO provides the market profile intelligence you need to succeed.
Streamline Your Market Profile Analysis
Stop wasting time on manual compositing. Let CTPO do the heavy lifting while you focus on executing profitable trades based on areas of balance that actually matter.
Ready to Streamline Your Market Profile Trading?
Add the Composite Time Profile Overlay to your charts today and experience the difference that automated profile compositing can make in your trading performance.