Leading MACDThe Moving Average Convergence Divergence (MACD) indicator is one of the most popular and versatile tools used by traders to identify potential buy and sell signals. It helps traders determine the strength and direction of a trend by comparing different moving averages of a security's price. The traditional MACD uses two exponential moving averages (EMAs), a fast EMA (typically 12 periods) and a slow EMA (typically 26 periods), along with a signal line (typically a 9-period EMA of the MACD line) to generate trading signals.
Our "Custom MACD with Leading Length" script for TradingView enhances the traditional MACD by introducing an additional smoothing factor called the "leading length." This customization aims to reduce noise and provide a potentially earlier indication of trend changes, making it a valuable tool for traders seeking to optimize their trading strategies.
- **Purpose:** This additional smoothing factor is designed to reduce noise and provide a potentially leading signal, enhancing the accuracy of trend identification.
## How It Works
1. **Calculate the MACD Line:**
The MACD line is calculated by subtracting the slow EMA from the fast EMA. This difference represents the convergence or divergence between the two EMAs.
2. **Calculate the Signal Line:**
The signal line is an EMA of the MACD line. This additional smoothing helps to generate clearer buy and sell signals based on crossovers with the MACD line.
3. **Calculate the Histogram:**
The histogram represents the difference between the MACD line and the signal line. It visually indicates the strength and direction of the trend. A positive histogram suggests a bullish trend, while a negative histogram indicates a bearish trend.
4. **Apply Leading Length Smoothing:**
To incorporate the leading length, the script applies a simple moving average (SMA) to both the MACD and signal lines using the leading length parameter. This additional smoothing helps to further reduce noise and potentially provides earlier signals of trend changes.
## Benefits of the Leading MACD
### Reduced Noise
The leading length parameter adds an extra layer of smoothing to the MACD and signal lines, helping to filter out market noise. This can be particularly beneficial in volatile markets, where frequent price fluctuations can generate false signals.
### Potential Early Signals
By smoothing the MACD and signal lines, the leading length can help to provide earlier indications of trend changes. This can give traders a potential edge in entering or exiting trades before the broader market reacts.
### Enhanced Trend Identification
The combination of the traditional MACD with the leading length smoothing can enhance the accuracy of trend identification. Traders can use this tool to confirm the strength and direction of trends, making it easier to make informed trading decisions.
### Versatility
The Custom MACD with Leading Length can be applied to various timeframes and asset classes, including stocks, forex, commodities, and cryptocurrencies. Its adaptability makes it a valuable tool for traders with different strategies and preferences.
## Practical Applications
### Buy Signal
A typical buy signal occurs when the MACD line crosses above the signal line. With the additional smoothing provided by the leading length, traders might receive this signal slightly earlier, allowing them to enter a long position sooner. This can be particularly advantageous in capturing the beginning of a bullish trend.
### Sell Signal
Conversely, a sell signal is generated when the MACD line crosses below the signal line. The leading length smoothing can help to provide this signal earlier, enabling traders to exit a long position or enter a short position before the trend reversal is fully recognized by the market.
### Divergence Analysis
Traders can also use the Custom MACD with Leading Length for divergence analysis. Bullish divergence occurs when the price makes a new low, but the MACD line forms a higher low. This suggests that the downward momentum is weakening, potentially leading to a bullish reversal. Bearish divergence is the opposite, where the price makes a new high, but the MACD line forms a lower high, indicating a potential bearish reversal.
### Confirmation Tool
The Custom MACD with Leading Length can be used in conjunction with other technical indicators to confirm trading signals. For example, traders might use it alongside support and resistance levels, trendlines, or other momentum indicators to validate their trade entries and exits.
## Conclusion
The Custom MACD with Leading Length is a powerful enhancement of the traditional MACD indicator. By introducing an additional smoothing factor, it aims to reduce noise and provide earlier signals of trend changes. This makes it a valuable tool for traders seeking to improve their market analysis and trading strategies.
Whether you are a day trader, swing trader, or long-term investor, the Custom MACD with Leading Length can help you make more informed decisions by offering clearer insights into market trends. Its adaptability to different timeframes and asset classes further enhances its utility, making it a versatile addition to any trader's toolkit.
Experiment with the parameters to find the optimal settings that suit your trading style and preferences. Use the Custom MACD with Leading Length to gain a deeper understanding of market dynamics and enhance your trading performance.
Educational
ICT Setup 01 [TradingFinder] FVG + Liquidity Sweeps/Hunt Alerts🔵 Introduction
The ICT (Inner Circle Trader) style of trading involves analyzing the behavior of market participants and market makers to identify areas where fake buy and sell activities occur. This trading style helps retail traders align with market maker behavior and avoid falling into market traps.
A key aspect of the ICT strategy is focusing on liquidity hunts. This involves searching for trading opportunities in areas of the market with low liquidity or where other traders have little activity. The ICT method leverages market inefficiencies and weaknesses, allowing traders to profit from small price movements that might go unnoticed by others.
In "ICT Setup 01," our focus is on these liquidity areas and stop hunts that form in Fair Value Gaps (FVGs). Trading within FVGs, combined with confirmations from "Hunts" and "Sweeps," can enhance trader performance.
🔵 How to Use
The presence of Fair Value Gaps (FVGs) in the market indicates rapid, powerful movements likely caused by the influx of smart money. When the price returns to these levels, a market reaction is expected.
Combining this with the complex and deceptive behavior of smart money—such as "Liquidity Sweeps" and "Stop Hunts"—forms an ICT-based price action setup that we expect to perform well.
Components of "ICT Setup 01" :
● Fair Value Gap (FVG)
● Premium and Discount
● Hunts / Sweeps
Whenever the price returns to an FVG area and reacts in such a way that only the wicks of the candles remain in the area and the candle bodies are outside the FVG, the first condition for creating the setup is met.
If subsequent candles hunt the wick that has penetrated the deepest into the FVG, a buy or sell signal is issued. In the format where hunting is based on Sweeps, penetrations that extend even outside the area are considered signals, provided they do not form a body within the area.
Additionally, a refining system exists for cases where a candle body forms in the area, optimizing the proximal levels of the FVG.
Bullish Setup :
Bearish Setup :
🔵 Features and Settings of "ICT Setup 01"
You can Find out more in Setting :
● FVG Detector Multiplier Factor
● FVG Validity Period
● Level in Low-Risk Zone
● Issuing Signals Method
● Number of Signals Allowed from a Zone
● Signal after Hunts/Sweeps
● How Many Hunts/Sweeps
● Show or Hide
● Alert Sender
FVG Detector Multiplier Factor :
This feature allows you to determine the size of the moves forming the FVGs based on the ATR (Average True Range). The default value is 1 to identify the majority of setups. You can increase this value according to the symbol and market you are trading in to achieve better results.
FVG Validity Period :
This shows the validity period of an FVG based on the number of candles. By default, an FVG area is valid for up to 15 candles. However, you can increase or decrease this period.
Level in Low-Risk Zone :
This feature helps reduce your risk. The method works by identifying the entire length of the three candles forming the FVG and dividing it into two equal areas. The upper area is "Premium," and the lower area is "Discount." To reduce risk, it is better for "Demand FVG" to be in the "Discount" and "Supply FVG" in the "Premium." This feature is off by default.
Issuing Signals Method :
This feature allows you to specify whether the hunt should occur only within the FVG area or if the wicks can extend outside the area.
If set to "Hunts," only signals where the wicks are within the area are issued, and the area loses its validity if the wicks extend outside.
In "Sweeps" mode, wicks can extend outside the area as long as they do not form a body within the area.
Number of Signals Allowed from a Zone :
This feature allows you to specify how many valid signals can be issued from one area.
Signal after Hunts/Sweeps :
In markets or symbols with a tendency for frequent stop hunts, this feature allows you to specify how many hunts should occur before you receive a signal to avoid receiving potentially failed signals.
How Many Hunts/Sweeps :
Enter the number of hunts you want to set for the "Signal after Hunts/Sweeps" feature here.
Show or Hide :
The number of setups formed may be very large, and displaying all of them on the chart can be distracting and messy. By default, only the last setup is displayed, but if you want to see all setups, you can turn on the relevant options.
Alert Sender :
You cannot constantly monitor multiple charts to identify trading opportunities. Using the alert sending feature can save time and improve performance.
Alerts Name : Customize the alert name to your preference.
Message Frequency : Determines the frequency of alert messages. Options include 'All' (triggers every time the function is called), 'Once Per Bar' (triggers only on the first call within the bar), and 'Once Per Bar Close' (triggers only on the final script execution of the real-time bar upon closure). The default is 'Once per Bar.'
Show Alert Time by Time Zone : Configure the alert messages to reflect any chosen time zone. For instance, input 'UTC+1' for London time. The default is 'UTC.'
By configuring these settings, traders can effectively utilize ICT setups to improve their trading strategies and outcomes.
Discovery IndexThe Discovery Index is an original technical indicator which attempts to display directional market pressure and momentum based on accumulated candle-over-candle measurements.
Discovery , in this context, is the act of finding (discovering) New Highs and Lows.
> What is 'Discovery'
Not to be confused with "Price Discovery", the term for setting the spot price of an asset.
The term 'Discovery' in Discovery Index is used based on the literal definition of 'Discovery', such as, the action of finding what was previously unknown.
Given this definition,
Discovery is the difference between highs or lows only when the current high is higher than the previous high or the current low is lower than the previous low.
Below is a visual example of exactly where Discovery is seen from each candle.
Since discovery is only based on points of the candle, and not specifically the direction of the candle; it is possible for discovery to occur in both directions from the same candle.
It is also possible for no discovery to occur from a candle.
> Calculation
The Discovery Index is the Net Total of discovery data over a specified length of bars.
Discovery Index = Sum of Upwards Discovery + Sum of Downwards Discovery
Note: Upwards Discovery is always Positive, and Downwards Discovery is always Negative. By adding both together, their Net Total is produced. This value is the "Discovery Index".
Wick Calculation Example
> Volume Discovery
Using Volume for the Discovery Index Calculation allows for a different dimension to be added to the data for new analysis opportunities.
While volume data is only a single value, by accumulating this data over time, we are able to fabricate a candle body from the data by accounting for the direction of the chart candles.
This allows for the Calculation of the Discovery Index based on volume data.
Volume Example
> Display
The display uses a "Candlestick histogram" display. The bodies and wicks from the display represent the discovery data from the respective points in each candle. (Wick Discovery & Candle Body Discovery).
This style of histogram allows for the display of both data sources, preserving the accuracy and distinction between each type, while also providing a clean display.
> Considerations
Discovery index is not an Oscillator, since there are no upper or lower boundaries to its rotations.
There are not (at this time) any "Over-bought" or "Over-sold" Areas, this is partially due to the previous consideration since any levels for these could potentially change from chart to chart. Additionally, it would generally be better to read the data based on the context of the current market.
Non-directional movements effect the Discovery Index as well. Since Discovery does not occur from every bar, the Index reflects hesitations as well as movements in market direction.
With the option to input a symbol, the Discovery Index Indicator is not constrained to one chart ticker for its calculation and could help to see shifts between different symbols, making it easier to compare different assets.
With the separation of wicks and candle body data, a stronger move may be observed by its full-bodied movements, while a potentially more speculative move may be seen from large wick movements. Since wicks are often interpreted as either, Rejection for reversal OR as Testing for continuation, the interpretation for Wick Discovery generally varies based on context.
Discovery Index ⇾ Divergences! Due to its calculation, price (and/or volume) data is displayed in such a way that makes it useful as a tool for identifying divergence opportunities.
Remember, this indicator is lookback based. An immediate significant change from the data source (if not offset by a similar opposite change) will be represented for multiple bars after its occurrence. Due to this, data is likely to be skewed or biased from these occurrences for a period of time after.
Throughout development, "Discovery" has been shortened to just "Disco", therefore, this indicator is also an attempt to bring Disco Back.
Enjoy!
Bitcoin Halving CountdownJust a simple Bitcoin halving countdown
Set up for the 2028 halving with the block height set at 1050000
Block height can be setup in the script settings for future halving
We don't have real time on-chain data on TradingView, so the script will update only once a day with a lag of one day (GLASSNODE data) until we get live data.
If you have any suggestions/questions leave a comment :)
Mescu
Support Resistance - CryptoPredixHow this indicator works :
1. Setup and Inputs: The script sets up user inputs for various parameters such as pivot period (prd), pivot source (ppsrc), maximum channel width (ChannelW), maximum number of support/resistance levels (maxnumsr), minimum strength (min_strength), label location (labelloc), line style (linestyle), and line width (linewidth).Colors for support and resistance lines are also defined (supportcolor, resistancecolor).
2. Pivot Point Calculation: The script calculates pivot high and pivot low values based on the selected source (either High/Low or Close/Open).It uses the ta.pivothigh and ta.pivotlow functions to identify these pivot points over the specified period (prd).
3. Plotting Pivot Points: If the showpp option is enabled, the script plots pivot high and pivot low points on the chart using plotshape.
4. Managing Pivot Values: The script maintains an array (pivotvals) to store recent pivot values, ensuring the number of stored values does not exceed the maximum specified (maxnumpp).
5. Support and Resistance Zone Calculation: It calculates support and resistance zones by finding ranges of pivot values that fall within a specified channel width (cwidth).The function get_sr_vals returns the highest, lowest values, and the number of pivot points within the channel width.
6. Storing Support and Resistance Levels: The script manages arrays for support and resistance levels (sr_up_level, sr_dn_level) and their strength (sr_strength).It uses the check_sr function to ensure that new support/resistance levels are valid and don't overlap with existing ones unless they have higher strength.
7. Label and Line Management: The script dynamically updates labels and lines for the support and resistance levels, adjusting their positions, colors, and styles based on the latest data.It ensures the labels and lines are in sync with the current bar index and close price.
8. Identifying Crossings: Functions f_crossed_over and f_crossed_under check if the close price has crossed above or below the identified support or resistance levels.These functions iterate through the support/resistance arrays and check the conditions for crossing.
9. Alerts: The script sets up alert conditions to notify when the price crosses above a resistance level or below a support level.Alerts are configured with titles and messages ('Resistance Broken' and 'Support Broken').
10. Visualization: The script provides visual cues on the chart by plotting support and resistance lines with different styles and colors.It also dynamically updates labels to display the level values and their percentage distance from the current close price.
This script helps traders identify key support and resistance levels on a chart, providing both visual cues and alerts for significant price movements relative to these levels.
Sticky Notes, Checklist, To-do, Journal [algoat]I forgot to bring my notes again...
Ever feel like your trading notes are all over the place, much like your portfolio after a market dip? Worry not! With this script, you'll have all your trading notes, tasks, and brilliant (or not so brilliant) ideas neatly organized right on your chart. It's like having a sticky note board, but way cooler and without the risk of paper cuts.
⭐ Features :
To-Do Lists
Keep track of tasks with satisfying checkmarks for those dopamine hits.
Journal Entries
Document your market insights, trade plans, or just random thoughts. "I forgot something" – we've all been there.
Due Dates
Never miss an important deadline again. Red alert for overdue tasks because procrastination is a trader's worst enemy.
Customization
Choose the size and position of your notes because one size doesn't fit all.
Perfect for the organized trader who loves a bit of fun or the chaotic one who needs a bit of structure. Embrace the power of notes and stay on top of your trading game!
══════════════════
🧠 General advice
Trading effectively requires a range of techniques, experience, and expertise. From technical analysis to market fundamentals, traders must navigate multiple factors, including market sentiment and economic conditions. However, traders often find themselves overwhelmed by market noise, making it challenging to filter out distractions and make informed decisions. By integrating multiple analytical approaches, traders can tailor their strategies to fit their unique trading styles and objectives.
Confirming Signals with other indicators
As with all technical indicators, it is important to confirm potential signals with other analytical tools, such as support and resistance levels, as well as indicators like RSI, MACD, and volume. This helps increase the probability of a successful trade.
Use proper risk management
When using this or any other indicator, it is crucial to have proper risk management in place. Consider implementing stop-loss levels and thoughtful position sizing.
Combining with other technical indicators
The indicator can be effectively used alongside other technical indicators to create a comprehensive trading strategy and provide additional confirmation.
Keep in mind
Thorough research and backtesting are essential before making any trading decisions. Furthermore, it's crucial to have a solid understanding of the indicator and its behavior. Additionally, incorporating fundamental analysis and considering market sentiment can be vital factors to take into account in your trading approach.
══════════════════
⭐ Conclusion
We hold the view that the true path to success is the synergy between the trader and the tool, contrary to the common belief that the tool itself is the sole determinant of profitability. The actual scenario is more nuanced than such an oversimplification. A word to the wise is enough: developed by traders, for traders — pioneering innovations for the modern era.
Risk Notice
Everything provided by algoat — from scripts, tools, and articles to educational materials — is intended solely for educational and informational purposes. Past performance does not assure future returns.
HTF Ascending TriangleHTF Ascending Triangle aims at detecting ascending triangles using higher time frame data, without repainting nor misalignment issues.
Ascending triangles are defined by an horizontal upper trend line and a rising lower trend line. It is a chart pattern used in technical analysis to predict the continuation of an uptrend.
This indicator can be useful if you, like me, believe that higher time frames can offer a broader perspective and provide clearer signals, smoothing out market noise and showing longer-term trends.
You can change the indicator settings as you see fit to tighten or loosen the detection, and achieve the best results for your use case.
Features
It draws the detected ascending triangle on the chart.
It supports alerting when a detection occurs.
It allows for setting the higher time frame to run the detection on.
It allows for setting the minimum number of consecutive valid higher time frame bars to fit the pattern criteria.
It allows for setting a high factor detection criteria to apply on higher time frame bars high as a proportion of the distance between the reference bar high and open/close.
It allows for turning on an adjustment of the triangle using highest/lowest values within valid higher time frame bars.
Settings
Higher Time Frame dropdown: Selects higher time frame to run the detection on. It must be higher than, and a multiple of, the chart's timeframe.
Valid Bars Minimum field: Sets minimum number of consecutive valid higher time frame bars to fit the pattern criteria.
High Factor checkbox: Turns on/off high factor detection criteria.
High Factor field: Sets high factor to apply on higher time frame bars high as a proportion of the distance between the reference bar high and close/open.
Adjust Triangle checkbox: Turns on/off triangle adjustment using highest/lowest values within valid higher time frame bars.
Detection Algorithm Notes
The detection algorithm recursively selects a higher time frame bar as reference. Then it looks at the consecutive higher time frame bars (as per the requested number of minimum valid bars) as follows:
Low must be higher than previous bar.
Open/close max value must be lower than reference bar high.
When high factor criteria is turned on, high must be higher than reference bar open/close max value plus high factor proportion of the distance between reference bar high and open/close max value.
Volume Surge Analysis [UAlgo]The "Volume Surge Analysis " indicator is designed to detect significant volume surges in the market. By analyzing volume relative to its moving average and incorporating a comparison of the true range of price movements, this script highlights potential bullish and bearish volume spikes. Traders can utilize these signals to identify moments of heightened market activity that may indicate strong buying or selling pressure.
🔶Features
Volume Multiplier: Customizable setting to define the threshold for what constitutes a volume surge.
Volume SMA Length: Adjustable length for the Simple Moving Average (SMA) of volume.
Price Movement Analysis
Enhances the volume analysis by adding an additional layer of context, helping to confirm whether a volume surge is associated with buying or selling pressure.
True Range Calculation: Measures the range of price movement to understand volatility.
Positive Movement (DM+): Calculated when the current high minus the previous high is greater than the previous low minus the current low. This helps identify strong upward movements.
Negative Movement (DM-): Calculated when the previous low minus the current low is greater than the current high minus the previous high. This helps identify strong downward movements.
Integration with Volume Analysis: By combining the volume analysis with price movement analysis, the script can more accurately determine whether a volume surge is likely driven by bullish or bearish sentiment. This integration helps filter out false signals and provides more reliable indications of market activity.
Median Volume Comparison: Compares the current volume against the median volume multiplied by the volume multiplier to identify significant volume spikes.
Bullish and Bearish Surge Signals: Plots circles above or below bars where significant volume surges occur, indicating potential bullish or bearish movements.
Color Customization: Options to set specific colors for bullish and bearish signals to enhance visual clarity.
Bar Coloring: Optional feature to change the color of bars based on detected volume surges.
Alerts: Configurable alerts for bullish and bearish volume spikes to notify traders in real-time.
🔶Interpretation:
Bullish Volume Surges ( Teal Circles ): These circles appear above the bar when the current volume exceeds the median volume by the specified Volume Multiplier, and the smoothed Positive Directional Index (PDI) is greater than the smoothed Negative Directional Index (NDI). This suggests a potential uptrend with strong buying pressure.
Bearish Volume Surges ( Red Circles ): These circles appear below the bar when the current volume exceeds the median volume by the specified Volume Multiplier, and the smoothed NDI is greater than the smoothed PDI. This suggests a potential downtrend with strong selling pressure.
Overall, the "Volume Surge Analysis " indicator serves as a valuable tool for traders seeking to identify potential trend reversals or strong continuations based on with an above-average rise in volume and directional momentum.
🔶Disclaimer
This indicator is intended for informational and educational purposes only and should not be construed as financial or investment advice. Trading involves substantial risk, and it is essential to conduct your own research and consult with a qualified financial advisor before making any trading decisions.
VAMSI ADVANCE Entry HelperThe "VAMSI Entry Helper" indicator is designed to assist traders in identifying potential entry points in the market by analyzing price equilibrium and liquidity equilibrium using a combination of Relative Strength Index (RSI) and moving averages. Here’s a detailed description of its components and functionality:
Components of the Indicator:
RSI (Relative Strength Index):
RSI Length: This parameter (rsiLengthInput) controls the period over which the RSI is calculated. It is set to 50 by default, but you can adjust it as needed.
RSI Source: The source of the price data for calculating the RSI, which is the closing price by default.
Moving Average (MA):
MA Type: You can choose between Simple Moving Average (SMA) and Exponential Moving Average (EMA) for smoothing the RSI values.
MA Length: This parameter (maLengthInput) controls the period over which the moving average of the RSI is calculated. It is set to 60 by default.
Functionality:
RSI Calculation:
The script calculates the RSI based on the selected source and length. RSI is a momentum oscillator that measures the speed and change of price movements and oscillates between 0 and 100.
The RSI calculation involves computing the average gains and losses over the specified period (rsiLengthInput), and then applying the RSI formula.
Moving Average of RSI:
After calculating the RSI, the indicator computes a moving average of the RSI values using the specified type (SMA or EMA) and length (maLengthInput). This smoothed RSI helps in identifying the equilibrium of liquidity.
Plots:
RSI Plot: The RSI values are plotted on the chart with a purple line (#4B0082), providing a visual representation of price equilibrium.
MA Plot: The moving average of the RSI is plotted with a black line, showing the smoothed trend of the RSI.
Middle Band: A horizontal line at the 50 level is plotted as a reference point, indicating the midpoint of the RSI scale. This can help in identifying overbought and oversold conditions.
Use Case:
Price Equilibrium: The RSI plot helps traders identify when the price is relatively strong or weak. RSI values above 70 may indicate an overbought condition, while values below 30 may indicate an oversold condition.
Liquidity Equilibrium: The moving average of the RSI provides a smoothed view of the RSI, helping traders see the overall trend of liquidity equilibrium.
Example Usage:
Entry Points: Traders might look for entry points when the RSI crosses above or below its moving average, indicating potential changes in momentum.
Overbought/Oversold Conditions: Traders can use the RSI values along with the middle band (50) to identify overbought (RSI > 70) and oversold (RSI < 30) conditions.
Customization:
RSI Length: Adjustable to fit different trading strategies and timeframes.
Source: You can change the source data for the RSI calculation (e.g., close, open, high, low).
MA Type and Length: You can choose between SMA and EMA and adjust the period to better fit your trading style.
This indicator provides a comprehensive tool for traders to analyze price and liquidity equilibrium, helping them make informed decisions about entry points in the market.
TrendMaster Pro IndicatorThe TrendMaster Pro Indicator is an advanced tool designed to assist traders in identifying potential buy and sell signals by leveraging a combination of exponential moving averages (EMAs), the relative strength index (RSI), and a custom volatility filter. This powerful indicator is suitable for traders of all levels and can be applied to various markets and timeframes, offering flexibility and reliability in trading decisions.
Key Features:
EMA Crossover Detection:
Utilizes a 5-period (short) and 13-period (long) EMA crossover to detect trend changes.
A bullish signal is generated when the 5 EMA crosses above the 13 EMA, indicating an upward trend.
A bearish signal is generated when the 5 EMA crosses below the 13 EMA, indicating a downward trend.
RSI Confirmation:
Incorporates a 14-period RSI to confirm the strength of detected trends.
A buy signal is validated when the RSI is above 50, indicating bullish momentum.
A sell signal is validated when the RSI is below 50, indicating bearish momentum.
Custom Volatility Filter:
Employs a volatility filter based on the standard deviation of closing prices over a specified period (default is 10 periods).
Ensures signals are only generated during periods of significant market movement, reducing noise and false signals.
The volatility threshold can be adjusted to suit different market conditions and trading styles.
How It Works:
EMA Crossover:
The TrendMaster Pro Indicator continuously monitors the crossover between the 5-period and 13-period EMAs.
A crossover event triggers the initial signal, suggesting a potential change in trend direction.
RSI Confirmation:
After an EMA crossover, the indicator checks the 14-period RSI value to confirm the trend's strength.
This confirmation step helps filter out weak or unreliable signals, ensuring only high-probability trades are considered.
Volatility Filter:
The indicator calculates the standard deviation of closing prices over the selected period to measure market volatility.
Signals are only generated if the volatility exceeds the user-defined threshold, ensuring that trades are made in active and dynamic market conditions.
How to Use:
Apply the Indicator:
Add the TrendMaster Pro Indicator to your trading chart via the TradingView platform.
Customize the EMA, RSI, and volatility settings according to your trading preferences and the specific market conditions.
Interpret Buy and Sell Signals:
Buy Signal: Look for a buy signal when the 5 EMA crosses above the 13 EMA, the RSI is above 50, and volatility exceeds the threshold. This combination indicates a strong bullish trend.
Sell Signal: Look for a sell signal when the 5 EMA crosses below the 13 EMA, the RSI is below 50, and volatility exceeds the threshold. This combination indicates a strong bearish trend.
Adjust Settings:
The default settings can be fine-tuned to match your trading strategy. Adjust the EMA lengths, RSI period, and volatility threshold to optimize the indicator for different assets and timeframes.
Unique Features:
Comprehensive Trend Detection: Combines multiple indicators (EMAs, RSI, volatility) to provide a holistic view of market trends.
Customizable: Easily adjustable settings allow traders to tailor the indicator to their specific needs and preferences.
Noise Reduction: The volatility filter ensures signals are generated only during significant market movements, improving signal accuracy and reliability.
Conclusion:
The TrendMaster Pro Indicator is a versatile and powerful tool that can enhance your trading strategy by providing clear and reliable buy and sell signals. Whether you are a day trader or a swing trader, this indicator can help you navigate the markets with confidence and precision. Add the TrendMaster Pro Indicator to your toolkit today and experience a new level of trading efficiency and effectiveness.
Total Cross CalculatorThe Indicator calculates the total number of the death and golden crosses in the total chart which can help the moving average user to compare the number of signals generated by the moving average pair in the given timeframe.
If Indicator is not plotting anything then right click on the indicator's scale and click on "Auto(data fits the screen)" option.
Please visit it's previous version if you want to use the indicator on the moving averages created by yourself. Link is here
CPR by MTThe CPR indicator, or Central Pivot Range indicator, is a technical analysis tool used in trading to identify potential support and resistance levels based on the price action of a security. Developed by pivot point theory, it is particularly popular among day traders and swing traders. The CPR indicator consists of three lines:
1. **Pivot Point (PP):** This is the central line and is calculated as the average of the high, low, and closing prices from the previous trading period.
\
2. **Top Central Pivot (TC):** This is calculated by subtracting the low from the PP and then adding the result to the PP.
\
3. **Bottom Central Pivot (BC):** This is calculated by subtracting the high from the PP and then adding the result to the PP.
\
### How to Use the CPR Indicator
- **Trend Identification:** A wide CPR range indicates low volatility and a potential sideways or consolidation phase. A narrow CPR range indicates high volatility and a potential strong trending move.
- **Support and Resistance:** The top and bottom central pivots act as immediate resistance and support levels. If the price is above the TC, it indicates a bullish sentiment, while if it is below the BC, it indicates a bearish sentiment.
- **Entry and Exit Points:** Traders use the CPR lines to determine optimal entry and exit points. For example, if the price breaks above the TC and sustains, it may signal a buy opportunity, whereas a drop below the BC may signal a sell opportunity.
### Practical Example
Suppose a stock had a high of $105, a low of $95, and a closing price of $100 on the previous day. The CPR levels for the next day would be calculated as follows:
1. **Pivot Point (PP):**
\
2. **Top Central Pivot (TC):**
\
3. **Bottom Central Pivot (BC):**
\
The levels for the next day would be PP = $100, TC = $110, and BC = $90. Traders would then use these levels to assess potential trading strategies based on where the price moves relative to these levels.
### Conclusion
The CPR indicator is a useful tool for traders looking to understand market conditions and make informed decisions about entry and exit points. Its effectiveness comes from its ability to highlight key price levels derived from historical price data, helping traders predict potential market movements.
Multiple MAs Signals with RSI MA Filter & Signal About the Script
The "Multiple Moving Averages Signals with RSI MA Filter and Golden Signals" script is a comprehensive trading tool designed to provide traders with detailed insights and actionable signals based on multiple moving averages and RSI (Relative Strength Index). This script combines traditional moving average crossovers with RSI filtering to enhance the accuracy of trading signals and includes "golden" signals to highlight significant long-term trend changes.
This script integrates several technical indicators and concepts to create a robust and versatile trading tool. Here's why this combination is both original and useful:
1. Multiple Moving Averages:
- Why Use Multiple MAs: Different types of moving averages (SMA, EMA, SMMA, WMA, VWMA, Hull) offer unique perspectives on price trends and volatility. Combining them allows traders to capture a more comprehensive view of the market.
- Purpose: Using multiple moving averages helps identify trend direction, support/resistance levels, and potential reversal points.
2. RSI MA Filter:
- Why Use RSI: RSI is a momentum oscillator that measures the speed and change of price movements. It is used to identify overbought or oversold conditions in a market.
- Purpose: Filtering signals with RSI moving averages ensures that trades are taken in line with the prevailing momentum, reducing the likelihood of false signals.
3. Golden Signals:
- Why Use Golden Crosses: A golden cross (50-period MA crossing above the 200-period MA) is a well-known bullish signal, while a death cross (50-period MA crossing below the 200-period MA) is bearish. These signals are widely followed by traders and institutions.
- Purpose: Highlighting these significant long-term signals helps traders identify major buy or sell opportunities and align with broader market trends.
How the Script Works
1. Moving Average Calculations:
- The script calculates multiple moving averages (MA1 to MA5) based on user-selected types (SMA, EMA, SMMA, WMA, VWMA, Hull) and periods (9, 21, 50, 100, 200).
- Golden Moving Averages: Separately calculates 50-period and 200-period moving averages for generating golden signals.
2. RSI and RSI MA Filter:
- RSI Calculation: Computes the RSI for the given period.
- RSI MA: Calculates a moving average of the RSI to smooth out the RSI values and reduce noise.
- RSI MA Filter: Traders can enable/disable RSI filtering and set custom thresholds to refine long and short signals based on RSI momentum.
3. Long & Short Signal Generation:
- Long Signal: Generated when the short-term moving average crosses above both the mid-term and long-term moving averages, and the RSI MA is below the specified threshold (if enabled).
- Short Signal: Generated when the short-term moving average crosses below both the mid-term and long-term moving averages, and the RSI MA is above the specified threshold (if enabled).
4. Golden Signals:
- Golden Long Signal: Triggered when the 50-period golden moving average crosses above the 200-period golden moving average.
- Golden Short Signal: Triggered when the 50-period golden moving average crosses below the 200-period golden moving average.
How to Use the Script
1. Customize Inputs:
- Moving Averages: Choose the type of moving averages and set the periods for up to five different moving averages.
- RSI Settings: Adjust the RSI period and its moving average period. Enable or disable RSI filtering and set custom thresholds for long and short signals.
- Signal Colors: Customize the colors for long, short, and golden signals.
- Enable/Disable Signals: Toggle the visibility of long, short, and golden signals.
2. Observe Plots and Signals:
- The script plots the selected moving averages on the chart.
- Long and short signals are marked with labels on the chart, with customizable colors for easy identification.
- Golden signals are highlighted with specific labels to indicate significant long-term trend changes.
3. Analyze and Trade:
- Use the generated signals as part of your trading strategy. The script provides visual cues to help you make informed decisions about entering or exiting trades based on multiple technical indicators.
Unique Features
1. Integration of Multiple Moving Averages: Combines various moving average types to provide a holistic view of market trends.
2. RSI MA Filtering: Enhances signal accuracy by incorporating RSI momentum, reducing the likelihood of false signals.
3. Golden Signals: Highlights significant long-term trend changes, aligning with broader market movements.
4. Customizability: Offers extensive customization options, allowing traders to tailor the script to their specific trading strategies and preferences.
feel free to comments.
KillZones & Sessions [TradingFinder] Volume | Asia, London & NY🔵 Introduction
🟣 Session
The forex market operates 24 hours a day, 5 days a week, with only Saturdays and Sundays being off; traders often focus on one of the forex trading sessions instead of trying to trade in all markets 24 hours a day.
Trading sessions are time intervals during which a specific financial market is active and trades are conducted. The Asia, London, and New York sessions are the most important trading sessions throughout the 24-hour period, during which a significant amount of money and liquidity enters the market.
🟣 Kill Zone
Traders in financial markets profit from the difference between the price at which they buy or sell and the current market price. Traders have different time horizons for trading.
Among these, some traders engage in daily or even hourly trading and must operate during times when the market has desirable trading volumes and significant price movements.
Kill zones are segments of a session with higher trading volumes and price fluctuations compared to the rest of the session.
🔵 How to Use
🟣 Session Time
The "Asia Session" consists of two sessions: "Sydney" and "Tokyo." The beginning of this session, according to the "UTC" time zone, is at 23:00 and ends at 06:00. Similarly, the beginning of the "Asia KillZone," according to the "UTC" time zone, is at 23:00, and it ends at 03:55.
The "London Session" consists of two sessions: "Frankfurt" and "London." The beginning of this session, according to the "UTC" time zone, is at 07:00, and it ends at 14:25. Similarly, the beginning of the "London KillZone," according to the "UTC" time zone, is at 07:00, and it ends at 09:55.
The beginning of the "New York am" session, according to the "UTC" time zone, is at 14:30, and it ends at 19:25. Similarly, the beginning of the "New York am KillZone," according to the "UTC" time zone, is at 14:30, and it ends at 16:55.
The beginning of the "New York pm" session, according to the "UTC" time zone, is at 19:30, and it ends at 22:55. Similarly, the beginning of the "New York pm KillZone," according to the "UTC" time zone, is at 19:30, and it ends at 20:55.
Important : To prevent session overlap, the working hours of each session have slightly changed.
🔵 Features
🟣 Simultaneous Session and Kill Zone
With this indicator, you can simultaneously view the kill zone and session. High and low lines are used to indicate sessions, while filled areas with color represent kill zones. If you do not want to see kill zones, you can turn off the display settings.
🟣 Candle, Time, and Volume
Using the "More Info" feature, you can see the number of candles, elapsed time, and traded volume within the colored filled area.
🔵 Settings
•Show More Info: To display "More Info," you need to turn on this feature and turn it off whenever you don't need it.
• You can also customize these settings for each session separately :
o Display or hide session.
o Choose session color.
o Set session time range.
o Display or hide kill zone.
o Set kill zone time range.
Papercuts Recency CandlesPapercuts Recency Candles
V0.8 by Joel Eckert @PapercutsTrading
***This is currently an experimental visual exploratory concept.***
*** Experimental tools should only be explored by fellow coders and experienced traders.***
DESCRIPTION:
As coders, how can we seamlessly transition between actual and smoothed price data sets as data ages?
This is a visual experiment to see if and how data can be smoothly transitioned from one value to another over a set number of candles. If we visualize a chart in 3 zones, a head, a body, and a tail we can start to understand how this could work. The head zone would represent the first data set of actual asset prices. The body zone would represent the transition period from the first to the to the second data set. Last, the tail zone would represent the second data set made of a Hull Moving Average of the asset.
CONCEPT:
It is conceived that data and position precision constantly shift as they decay or age, therefore making older price levels act more like price regions or zones vs exact price points. This is what I am calling Recency.
This indicator utilizes the concept of "Recency" to explore the possibility of a new style of candle. It aims to maintain accurately on recent prices action but loosen up accuracy on older price action. The very nature of this requires ALTERING HISTORICAL DATA within the body zone or transition candles to achieve the effect. It is similar to trying to merge a line chart type with a candle chart type.
This experiment of using recency for candles was to create candles that stay more accurate near current price but fade away into a simple line as they age out, resulting in a simplified view of the big picture which consists of older price action.
This experimental design theoretically will help you stay focused only on what is currently unfolding and to minimize distractions from older price nuances.
USAGE:
WHO:
This is not recommended for new traders or novices that are unfamiliar with standard tools. Standardized tools should always be used to get grounded and build a foundation.
Active traders who are familiar with trading comfortably should experiment with this to see if they find it interesting or usable.
Pine coders may find this concept interesting enough, and may adapt the idea to other elements of their own scripts if they find it interesting… I just ask they give credit where credit is due.
HOW:
The best way to visualize how this works is to do the following:
Load it on a chart.
Turn off Standard candles in Chart Setting of the current window. I actually just turn off the bodies and borders, and dim the old wicks as I like the way the old wicks look when left alone with these new candles.
Enable chart replay at a faster speed, like 3x, and play back the chart to watch the behavior of the candles.
You’ll be able to see how the head of the candle type preserves OHLC, and indicates direction but as the candle starts to age it progressively flowers into the HMA
While it plays back try adjusting settings to see how they affect behavior.
You can see the data average in real-time which often reveals how unstable actual price noise really is.
The head candle diagonals indicate the candle body direction.
SETTINGS:
Coloring: You can choose your own bullish or bearish colors to match your scheme.
Price Line: The price line is colored according to the trend and
Head Length: These candles are true to the source high and low. They remain slightly brighter than transition candles. We have a max of 50 to keep things responsive.
Time Decay Length: This is the amount of candles it takes to transition to the tail. Max is 300 to keep things responsive.
Decay Continuity: This forces transition candles to complete the HMA curve instead of creating gaps when conforming to it. The best way to visualize this feature is to run a 3x replay of an asset, and toggle the result on and off. On is preferred.
Tail HMA Length: This is the smoothing amount for the resulting HMA stepline that calculates every close, but has a delayed draw until after the transition candles. You can optionally turn off the delayed visibility to help with comprehension.
Tail HMA Weight: This is simply an option to make the tail thicker or thinner. This also adjusts the border on the head candles to help them stand out.
Show Side Bias Dots: Default true: Draws a dot when bias to one side changes to help keep you on the right side of trade. Side bias is simply the alignment of 3 moving averages in one direction.
IMPORTANT NOTES:
You'll have to turn off or dim the standard candles in your view "Chart Settings" to see this properly.
Be aware that since the candles are based on boxes and utilize the “recency concept”, which means their data decays and changes as it ages. This results in a cleaner chart overall, but exact highs and lows will be averaged out as the data decays, forming a Hull Moving Average stepline of your defined length once decay has finished.
SUMMARY OF HOW IT WORKS:
First it takes candle information and creates unique boxes that represent each candle based on the high and low. It utilizes boxes because standard candles once written, cannot be later altered or removed… which is a key element for this effect to work.
Next it creates a second box and line from open to close for the body of the Head candles. This indicates direction at a glance.
As candles age beyond the defined distance of the “Head” they enter the "Body" aka "Time Decay" zone. Here the accuracy of the high and low will be averaged down using an incremental factor of the HMA, defined by "Time Decay Length" amount of candles.
The resulting tail is an HMA of Tail HMA Length. This tail is always calculate at close, but is not drawn instantly. The draw is delayed so that there is not overlapping data, and this makes the effect look more elegant.
There are also two EMAs within the script that do nothing but help candle coloring and help provide a trade side bias. When both EMA's and the HMA align, a side bias is defined. Only when the side bias changes will a new dot is formed.
Head candles have been simplified from previous versions to be easier to read at a a glance.
Oscillator Suite [KFB Quant]Oscillator Suite is a indicator designed to revolutionize your trading strategy. Developed by kikfraben, this innovative tool aggregates eleven powerful oscillators into one intuitive interface, providing you with a comprehensive view of market sentiment like never before.
Originality and Innovation:
Unlike traditional indicators that focus on single aspects of market analysis, Oscillator Suite stands out by integrating multiple oscillators, making it a pioneering solution in technical analysis. This unique approach empowers traders to gain deeper insights into market dynamics and make more informed trading decisions.
Functionality:
Oscillator Suite calculates signals for each selected oscillator based on its specific formula, offering a diverse range of market insights. Whether you're assessing trend strength, market momentum, or price movements, this indicator has you covered.
Aggregated Score:
The indicator combines signals from all chosen oscillators into an aggregated score, providing a holistic assessment of market sentiment. This aggregated score serves as a powerful tool for identifying trends and potential trading opportunities.
Customization and Ease of Use:
With customizable parameters such as colors, smoothing options, and oscillator settings, Oscillator Suite can be tailored to suit your unique trading style and preferences. Its user-friendly interface makes it easy to interpret and act upon the information presented.
How to Use:
Identify Trends: Analyze the aggregated score and individual oscillator signals to identify prevailing market trends.
Confirm Trade Signals: Use multiple oscillator alignments to strengthen the conviction behind trade signals.
Manage Risk: Gain insight into potential reversals or trend continuations to effectively manage risk.
This is not financial advice. Trading is risky & most traders lose money. Past performance does not guarantee future results. This indicator is for informational & educational purposes only.
Dual RSI Differential - Strategy [presentTrading]█ Introduction and How it is Different
The Dual RSI Differential Strategy introduces a nuanced approach to market analysis and trading decisions by utilizing two Relative Strength Index (RSI) indicators calculated over different time periods. Unlike traditional strategies that employ a single RSI and may signal premature or delayed entries, this method leverages the differential between a shorter and a longer RSI. This approach pinpoints more precise entry and exit points, providing a refined tool for traders to exploit market conditions effectively, particularly in overbought and oversold scenarios.
Most important: it is a good eductional code for swing trading.
For beginners, this Pine Script provides a complete function that includes crucial elements such as holding days and the option to configure take profit/stop loss settings:
- Hold Days: This feature ensures that trades are not exited too hastily, helping traders to ride out short-term market volatility. It's particularly valuable for swing trading where maintaining positions slightly longer can lead to capturing significant trends.
- TPSL Condition (None by default): This setting allows traders to focus solely on the strategy's robust entry and exit signals without being constrained by preset profit or loss limits. This flexibility is crucial for learning to adjust strategy settings based on personal risk tolerance and market observations.
BTCUSD 6h LS Performance
█ Strategy, How It Works: Detailed Explanation
🔶 RSI Calculation:
The RSI is a momentum oscillator that measures the speed and change of price movements. It is calculated using the formula:
RSI = 100 - (100 / (1 + RS))
Where RS (Relative Strength) = Average Gain of up periods / Average Loss of down periods.
🔶 Dual RSI Setup:
This strategy involves two RSI indicators:
RSI_Short (RSI_21): Calculated over a short period (21 days).
RSI_Long (RSI_42): Calculated over a longer period (42 days).
Differential Calculation:
The strategy focuses on the differential between these two RSIs:
RSI Differential = RSI_Long - RSI_Short
This differential helps to identify when the shorter-term sentiment diverges from longer-term trends, signaling potential trading opportunities.
BTCUSD Local picuture
🔶 Signal Triggers:
Entry Signal: A buy (long) signal is triggered when the RSI Differential exceeds -5, suggesting strengthening short-term momentum. Conversely, a sell (short) signal occurs when the RSI Differential falls below +5, indicating weakening short-term momentum.
Exit Signal: Trades are generally exited when the RSI Differential reverses past these thresholds, indicating a potential momentum shift.
█ Trade Direction
This strategy accommodates various trading preferences by allowing selections among long, short, or both directions, thus enabling traders to capitalize on diverse market movements and volatility.
█ Usage
The Dual RSI Differential Strategy is particularly suited for:
Traders who prefer a systematic approach to capture market trends.
Those who seek to minimize risks associated with rapid and unexpected market movements.
Traders who value strategies that can be finely tuned to different market conditions.
█ Default Settings
- Trading Direction: Both — allows capturing of upward and downward market movements.
- Short RSI Period: 21 days — balances sensitivity to market movements.
- Long RSI Period: 42 days — smoothens out longer-term fluctuations to provide a clearer market trend.
- RSI Difference Level: 5 — minimizes false signals by setting a moderate threshold for action.
Use Hold Days: True — introduces a temporal element to trading strategy, holding positions to potentially enhance outcomes.
- Hold Days: 5 — ensures that trades are not exited too hastily, helping to ride out short-term volatility.
- TPSL Condition: None — enables traders to focus solely on the strategy's entry and exit signals without preset profit or loss limits.
- Take Profit Percentage: 15% — aims for significant market moves to lock in profits.
- Stop Loss Percentage: 10% — safeguards against large losses, essential for long-term capital preservation.
Fair Value Calculator V 1.0Fair Value Calculator V 1.0
This indicator calculates the fair value of a stock based on the revenue growth rate and net profit margin of a company, providing a quick estimate of its intrinsic worth. The calculation takes into account:
Current Revenue: The company's current revenue
5-Year Growth Rate: Expected revenue annual growth rate (CAGR) over the next 5 years
Average PE Ratio: The average Price-to-Earnings ratio for the next 5 years
Average Profit Margin: The average profit margin for the next 5 years
Share Outstanding: The total number of shares outstanding
Yearly Share Buyback Rate: The percentage of shares bought back by the company each year
Discount Rate: The rate used to calculate the present value of the fair value
Using these inputs, the indicator estimates the fair value of the stock, providing a valuable tool for investors and traders to make informed decisions.
Note: all values can be adjusted by the user by entering the desired value and selecting the item in the setup menu.
How it works
The indicator calculates the future revenue based on the current revenue and the expected revenue annual growth rate (CAGR).
It then estimates the future earnings using the average profit margin.
The future price is calculated using the exit value of the PE ratio.
The present value of the fair value is calculated using the discount rate.
The indicator adjusts the fair value based on the yearly share buyback rate.
Benefits
Provides a quick but valuable estimate of a stock's fair value based on the revenue growth and the expected profit.
Helps investors and traders identify undervalued or overvalued stocks.
Allows users to adjust inputs to suit their own assumptions and scenarios.
Note
This indicator is for informational purposes only and should not be considered as investment advice. Always do your own research and consider multiple perspectives before making investment decisions.
Turn of the Month Strategy [Honestcowboy]The end of month effect is a well known trading strategy in the stock market. Quite simply, most stocks go up at the end of the month. What's even better is that this effect spills over to the next phew days of the next month.
In this script we backtest this theory which should work especially well on SP500 pair.
By default the strategy buys 2 days before the end of each month and exits the position 3 days into the next month.
The strategy is a long only strategy and is extremely simple. The SP500 is one of the #1 assets people use for long term investing due to it's "9.8%" annualised return. However as a trader you want the best deal possible. This strategy is only inside the market for about 25% of the time while delivering a similar return per exposure with a lower drawdown.
Here are some hypothesis why turn of the month effect happens in the stock markets:
Increased inflow from savings accounts to stocks at end of month
Rebalancing of portfolios by fund managers at end of month
The timing of monthly cash flows received by pension funds, which are reinvested in the stock market.
The script also has some inputs to define how many days before end of the month you want to buy the asset and how long you want to hold it into the next month.
It is not possible to buy the asset exactly on this day every month as the market closes on the weekend. I've added some logic where it will check if that day is a friday, saturdady or sunday. If that is the case it will send the buy signal on the end of thursday, this way we enter on the friday and don't lose that months trading opportunity.
The backtest below uses 4% exposure per trade as to show the equity curve more clearly and because of publishing rules. However, most fund managers and investors use 100% exposure. This way you actually risk money to earn money. Feel free to adjust the settings to your risk profile to get a clearer picture of risks and rewards before implementing in your portfolio.
Smart Money Concept [TradingFinder] Major OB + FVG + Liquidity🔵 Introduction
"Smart Money" refers to funds under the control of institutional investors, central banks, funds, market makers, and other financial entities. Ordinary people recognize investments made by those who have a deep understanding of market performance and possess information typically inaccessible to regular investors as "Smart Money".
Consequently, when market movements often diverge from expectations, traders identify the footprints of smart money. For example, when a classic pattern forms in the market, traders take short positions. However, the market might move upward instead. They attribute this contradiction to smart money and seek to capitalize on such inconsistencies in their trades.
The "Smart Money Concept" (SMC) is one of the primary styles of technical analysis that falls under the subset of "Price Action". Price action encompasses various subcategories, with one of the most significant being "Supply and Demand", in which SMC is categorized.
The SMC method aims to identify trading opportunities by emphasizing the impact of large traders (Smart Money) on the market, offering specific patterns, techniques, and trading strategies.
🟣 Key Terms of Smart Money Concept (SMC)
• Market Structure (Trend)
• Change of Character (ChoCh)
• Break of Structure (BoS)
• Order Blocks (Supply and Demand)
• Imbalance (IMB)
• Inefficiency (IFC)
• Fair Value Gap (FVG)
• Liquidity
• Premium and Discount
🔵 How Does the "Smart Money Concept Indicator" Work?
🟣 Market Structure
a. Accumulation
b. Market-Up
c. Distribution
d. Market-Down
a) Accumulation Phase : During the accumulation period, typically following a downtrend, smart money enters the market without significantly affecting the pricing trend.
b) Market-Up Phase : In this phase, the price of an asset moves upward from the accumulation range and begins to rise. Usually, the buying by retail investors is the main driver of this trend, and due to positive market sentiment, it continues.
c) Distribution Phase : The distribution phase, unlike the accumulation stage, occurs after an uptrend. In this phase, smart money attempts to exit the market without causing significant price fluctuations.
d) Market-Down Phase : In this stage, the price of an asset moves downward from the distribution phase, initiating a prolonged downtrend. Smart money liquidates all its positions by creating selling pressure, trapping latecomer investors.
The result of these four phases in the market becomes the market trend.
Types of Trends in Financial Markets :
a. Up-Trend
b. Down Trend
c. Range (No Trend)
a) Up-Trend : The market breaks consecutive highs.
b) Down Trend : The market breaks consecutive lows.
c) No Trend or Range : The market oscillates within a range without breaking either highs or lows.
🟣 Change of Character (ChoCh)
The "ChoCh" or "Change of Character" pattern indicates an initial change in order flow in financial markets. This structural change occurs when a major pivot in the opposite direction of the market trend fails. It signals a potential change in the market trend and can serve as a signal for short-term or long-term trend changes in a trading symbol.
🟣 Break of Structure (BoS)
The "BoS" or "Break of Structure" pattern indicates the continuation of the trend in financial markets. This structure forms when, in an uptrend, the price breaks its ceiling or, in a downtrend, the price breaks its floor.
🟣 Order Blocks (Supply and Demand)
Order blocks consist of supply and demand areas where the likelihood of price reversal is higher. There are six order blocks in this indicator, categorized based on their origin and formation reasons.
a. Demand Main Zone, "ChoCh" Origin.
b. Demand Sub Zone, "ChoCh" Origin.
c. Demand All Zone, "BoS" Origin.
d. Supply Main Zone, "ChoCh" Origin.
e. Supply Sub Zone, "ChoCh" Origin.
f. Supply All Zone, "BoS" Origin.
🟣 FVG | Inefficiency | Imbalance
These three terms are almost synonymous. They describe the presence of gaps between consecutive candle shadows. This inefficiency occurs when the market moves rapidly. Primarily, imbalances and these rapid movements stem from the entry of smart money and the imbalance between buyer and seller power. Therefore, identifying these movements is crucial for traders.
These areas are significant because prices often return to fill these gaps or even before they occur to fill price gaps.
🟣 Liquidity
Liquidity zones are areas where there is a likelihood of congestion of stop-loss orders. Liquidity is considered the driving force of the entire market, and market makers may manipulate the market using these zones. However, in many cases, this does not happen because there is insufficient liquidity in some areas.
Types of Liquidity in Financial Markets :
a. Trend Lines
b. Double Tops | Double Bottoms
c. Triple Tops | Triple Bottoms
d. Support Lines | Resistance Lines
All four types of liquidity in this indicator are automatically identified.
🟣 Premium and Discount
Premium and discount zones can assist traders in making better decisions. For instance, they may sell positions in expensive ranges and buy in cheaper ranges. The closer the price is to the major resistance, the more expensive it is, and the closer it is to the major support, the cheaper it is.
🔵 How to Use
🟣 Change of Character (ChoCh) and Break of Structure (BoS)
This indicator detects "ChoCh" and "BoS" in both Minor and Major states. You can turn on the display of these lines by referring to the last part of the settings.
🟣 Order Blocks (Supply and Demand)
Order blocks are Zones where the probability of price reversal is higher. In demand Zones you can buy opportunities and in supply Zones you can check sell opportunities.
The "Refinement" feature allows you to adjust the width of the order block according to your strategy. There are two modes, "Aggressive" and "Defensive," in the "Order Block Refine". The difference between "Aggressive" and "Defensive" lies in the width of the order block.
For risk-averse traders, the "Defensive" mode is suitable as it provides a lower loss limit and a greater reward-to-risk ratio. For risk-taking traders, the "Aggressive" mode is more appropriate. These traders prefer to enter trades at higher prices, and this mode, which has a wider order block width, is more suitable for this group of individuals.
🟣 Fair Value Gap (FVG) | Imbalance (IMB) | Inefficiency (IFC)
In order to identify the "fair value gap" on the chart, it must be analyzed candle by candle. In this process, it is important to pay attention to candles with a large size, and a candle and a candle should be examined before that.
Candles before and after this central candle should have long shadows and their bodies should not overlap with the central candle body. The distance between the shadows of the first and third candles is known as the FVG range.
These areas work in two ways :
• Supply and demand area : In this case, the price reacts to these areas and the trend is reversed.
• Liquidity zone : In this scenario, the price "fills" the zone and then reaches the order block.
Important note : In most cases, the FVG zone of very small width acts as a supply and demand zone, while the zone of significant width acts as a liquidity zone and absorbs price.
When the FVG filter is activated, the FVG regions are filtered based on the specified algorithm.
FVG filter types include the following :
1. Very Aggressive Mode : In addition to the initial condition, an additional condition is considered. For bullish FVG, the maximum price of the last candle must be greater than the maximum price of the middle candle.
Similarly, for a bearish FVG, the minimum price of the last candle must be lower than the minimum price of the middle candle. This mode removes the minimum number of FVGs.
2. Aggressive : In addition to the very aggressive condition, the size of the middle candle is also considered. The size of the center candle should not be small and therefore more FVGs are removed in this case.
3. Defensive : In addition to the conditions of the very aggressive mode, this mode also considers the size of the middle pile, which should be relatively large and make up the majority of the body.
Also, to identify bullish FVGs, the second and third candles must be positive, while for bearish FVGs, the second and third candles must be negative. This mode filters out a significant number of FVGs and keeps only those of good quality.
4. Very Defensive : In addition to the conditions of the defensive mode, in this mode the first and third candles should not be very small-bodied doji candles. This mode filters out most FVGs and only the best quality ones remain.
🟣 Liquidity
These levels are where traders intend to exit their trades. "Market makers" or smart money usually accumulate or distribute their trading positions near these levels, where many retail traders have placed their "stop loss" orders. When liquidity is collected from these losses, the price often reverses.
A "Stop hunt" is a move designed to offset liquidity generated by established stop losses. Banks often use major news events to trigger stop hunts and capture liquidity released into the market. For example, if they intend to execute heavy buy orders, they encourage others to sell through stop-hots.
Consequently, if there is liquidity in the market before reaching the order block area, the validity of that order block is higher. Conversely, if the liquidity is close to the order block, that is, the price reaches the order block before reaching the liquidity limit, the validity of that order block is lower.
🟣 Alert
With the new alert functionality in this indicator, you won't miss any important trading signals. Alerts are activated when the price hits the last order block.
1. It is possible to set alerts for each "symbol" and "time frame". The system will automatically detect both and include them in the warning message.
2. Each alert provides the exact date and time it was triggered. This helps you measure the timeliness of the signal and evaluate its relevance.
3. Alerts include target order block price ranges. The "Proximal" level represents the initial price level strike, while the "Distal" level represents the maximum price gap in the block. These details are included in the warning message.
4. You can customize the alert name through the "Alert Name" entry.
5. Create custom messages for "long" and "short" alerts to be sent with notifications.
🔵 Setting
a. Pivot Period of Order Blocks Detector :
Using this parameter, you can set the zigzag period that is formed based on the pivots.
b. Order Blocks Validity Period (Bar) :
You can set the validity period of each Order Block based on the number of candles that have passed since the origin of the Order Block.
c. Demand Main Zone, "ChoCh" Origin :
You can control the display or not display as well as the color of Demand Main Zone, "ChoCh" Origin.
d. Demand Sub Zone, "ChoCh" Origin :
You can control the display or not display as well as the color of Demand Sub Zone, "ChoCh" Origin.
e. Demand All Zone, "BoS" Origin :
You can control the display or not display as well as the color of Demand All Zone, "BoS" Origin.
f. Supply Main Zone, "ChoCh" Origin :
You can control the display or not display as well as the color of Supply Main Zone, "ChoCh" Origin.
g. Supply Sub Zone, "ChoCh" Origin :
You can control the display or not display as well as the color of Supply Sub Zone, "ChoCh" Origin.
h. Supply All Zone, "BoS" Origin :
You can control the display or not display as well as the color of Supply All Zone, "BoS" Origin.
i. Refine Demand Main : You can choose to be refined or not and also the type of refining.
j. Refine Demand Sub : You can choose to be refined or not and also the type of refining.
k. Refine Demand BoS : You can choose to be refined or not and also the type of refining.
l. Refine Supply Main : You can choose to be refined or not and also the type of refining.
m. Refine Supply Sub : You can choose to be refined or not and also the type of refining.
n. Refine Supply BoS : You can choose to be refined or not and also the type of refining.
o. Show Demand FVG : You can choose to show or not show Demand FVG.
p. Show Supply FVG : You can choose to show or not show Supply FVG
q. FVG Filter : You can choose whether FVG is filtered or not. Also specify the type of filter you want to use.
r. Show Statics High Liquidity Line : Show or not show Statics High Liquidity Line.
s. Show Statics Low Liquidity Line : Show or not show Statics Low Liquidity Line.
t. Show Dynamics High Liquidity Line : Show or not show Dynamics High Liquidity Line.
u. Show Dynamics Low Liquidity Line : Show or not show Dynamics Low Liquidity Line.
v. Statics Period Pivot :
Using this parameter, you can set the Swing period that is formed based on Static Liquidity Lines.
w. Dynamics Period Pivot :
Using this parameter, you can set the Swing period that is formed based Dynamics Liquidity Lines.
x. Statics Liquidity Line Sensitivity :
is a number between 0 and 0.4. Increasing this number decreases the sensitivity of the "Statics Liquidity Line Detection" function and increases the number of lines identified. The default value is 0.3.
y. Dynamics Liquidity Line Sensitivity :
is a number between 0.4 and 1.95. Increasing this number increases the sensitivity of the "Dynamics Liquidity Line Detection" function and decreases the number of lines identified. The default value is 1.
z. Alerts Name : You can customize the alert name using this input and set it to your desired name.
aa. Alert Demand Main Mitigation :
If you want to receive the alert about Demand Main 's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
bb. Alert Demand Sub Mitigation :
If you want to receive the alert about Demand Sub's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
cc. Alert Demand BoS Mitigation :
If you want to receive the alert about Demand BoS's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
dd. Alert Supply Main Mitigation :
If you want to receive the alert about Supply Main's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
ee. Alert Supply Sub Mitigation :
If you want to receive the alert about Supply Sub's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
ff. Alert Supply BoS Mitigation :
If you want to receive the alert about Supply BoS's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.
gg. Message Frequency :
This parameter, represented as a string, determines the frequency of announcements. Options include: 'All' (triggers the alert every time the function is called), 'Once Per Bar' (triggers the alert only on the first call within the bar), and 'Once Per Bar Close' (activates the alert only during the final script execution of the real-time bar upon closure). The default setting is 'Once per Bar'.
hh. Show Alert time by Time Zone :
The date, hour, and minute displayed in alert messages can be configured to reflect any chosen time zone. For instance, if you prefer London time, you should input 'UTC+1'. By default, this input is configured to the 'UTC' time zone.
ii. Display More Info : The 'Display More Info' option provides details regarding the price range of the order blocks (Zone Price), along with the date, hour, and minute. If you prefer not to include this information in the alert message, you should set it to 'Off'.
You also have access to display or not to display, choose the Style and Color of all the lines below :
a. Major Bullish "BoS" Lines
b. Major Bearish "BoS" Lines
c. Minor Bullish "BoS" Lines
d. Minor Bearish "BoS" Lines
e. Major Bullish "ChoCh" Lines
f. Major Bearish "ChoCh" Lines
g. Minor Bullish "ChoCh" Lines
h. Minor Bearish "ChoCh" Lines
i. Last Major Support Line
j. Last Major Resistance Line
k. Last Minor Support Line
l. Last Minor Resistance Line
PML (Extended hours)This indicator provides basic pre-market level information. You have the flexibility to select your preferred time range for the lines and labels.
For the #90amestbox group, set the time between 8:57 am and 9:03 am (EST). Ensure to draw the box using these lines, as the indicator is designed for extended hours only and won't function during regular trading hours.
What it does:
1) makes lines for the high and the low of the time slot you pick,
2) makes a label for the price,
3) you can also set alerts for when the price breaks the upside or downside.
Alligator + MA Trend Catcher [TradeDots]The "Alligator + MA Trend Catcher" is a trading strategy that integrates the William Alligator indicator with a Moving Average (MA) to establish robust entry and exit conditions, optimized for capturing trends.
HOW IT WORKS
This strategy combines the traditional William Alligator set up with an additional Moving Average indicator for enhanced trend confirmation, creating a user-friendly backtesting tool for traders who prefer the Alligator method.
The original Alligator strategy can frequently present fluctuations, even in well-established trends, leading to potentially premature exits. To mitigate this, we incorporate a Moving Average as a secondary confirmation measure to ensure the market trend has indeed shifted.
Here’s the operational flow for long orders:
Entry Signal: When the price rises above the Moving Average, it confirms a bullish market state. Enter if Alligator spread in an upward direction. The trade remains active even if the Alligator indicator suggests a trend reversal.
Exit Signal: The position is closed when the price falls below the Moving Average, and the Alligator spreads in the downward direction. This setup helps traders to maintain positions through the entirety of the trend for maximum gain.
APPLICATION
This strategy is tailored for assets with significant, well-defined trends, such as Bitcoin and Ethereum, which are known for their high volatility and substantial price movements.
This strategy offers a low win-rate but high reward configuration, making asset selection critical for long-term profitability. If you choose assets that lack strong price momentum, there's a high chance that this strategy may not be effective.
For traders seeking to maximize gains from large trends without exiting prematurely, this strategy provides an aggressive yet controlled approach to riding out substantial market waves.
DEFAULT SETUP
Commission: 0.01%
Initial Capital: $10,000
Equity per Trade: 80%
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
Khaled Tamim's Avellaneda-Stoikov StrategyDescription:
This strategy applies the Avellaneda-Stoikov (A-S) model to generate buy and sell signals for underlying assets based on option pricing theory. The A-S model estimates bid and ask quotes for options contracts considering factors like volatility (sigma), time to expiration (T), and risk aversion (gamma).
Key Concepts:
Avellaneda-Stoikov Model: A mathematical framework for option pricing that incorporates volatility, time decay, and risk tolerance.
Bid-Ask Quotes: The theoretical buy and sell prices for an option contract.
Inventory Management: The strategy tracks its long or short position based on signals.
How it Works:
A-S Model Calculation: The avellanedaStoikov function calculates bid and ask quotes using the underlying asset's closing price, user-defined parameters (gamma, sigma, T, k, and M), and a small fee (adjustable).
Signal Generation: The strategy generates long signals when the closing price falls below the adjusted bid quote and short signals when it exceeds the adjusted ask quote.
Trade Execution: Buy and sell orders are triggered based on the generated signals (long for buy, short for sell).
Inventory Tracking: The strategy's net profit reflects the current inventory level (long or short position).
Customization:
Gamma (γ): Controls risk aversion in the A-S model (higher values imply lower risk tolerance).
Sigma (σ): Represents the underlying asset's expected volatility.
T: Time to expiration for the hypothetical option (defaults to a short-term option).
k: A constant factor in the A-S model calculations.
M: Minimum price buffer for buy/sell signals (prevents excessive churn).
Important Note:
This strategy simulates option pricing behavior for a theoretical option and does not directly trade options contracts. Backtesting results may not reflect actual market conditions.
Further Considerations:
The 0.1% fee is a placeholder and may need adjustment based on real-world trading costs.
Consider using realistic timeframes for T (e.g., expiry for a real option)
Disclaimer: This strategy is for educational purposes only and does not constitute financial advice.