5-0 Harmonic Pattern [TradingFinder] 0XABCD 50 Harmonic Detector🔵 Introduction
Harmonic patterns are a powerful tool in technical analysis, widely used to detect reversal points and trend changes. Among these, the 5-0 Harmonic Pattern stands out due to its reliance on specific Fibonacci ratios—1.13, 1.618, 2.24, and 0.45 to 0.55—anchored at points 0, X, A, B, C, and D. This pattern provides a structured approach for identifying critical buy and sell points, helping traders achieve optimal entry and exit levels in volatile markets.
This 5-0 Harmonic Pattern indicator automatically detects and marks bullish and bearish formations on the chart, offering precise trading signals based on established harmonic ratios. With its dynamic signals, the 5-0 pattern enables traders to anticipate market movements and capitalize on favorable price trends.
Especially in fast-moving markets, harmonic patterns, particularly the 5-0 Harmonic Pattern, equip traders with an essential framework for identifying reversal opportunities and refining their trading strategies.
Bullish 5-0 Pattern :
Bearish 5-0 Pattern :
🔵 How to Use
The 5-0 Harmonic Pattern indicator is designed to automatically mark the key levels of the harmonic structure: 0, X, A, B, C, and D. By doing so, it detects both bullish and bearish patterns and helps traders recognize optimal entry and exit points.
Formed through specific Fibonacci levels, this pattern signals potential shifts in trend direction, giving traders critical insights for managing entries and exits effectively. The tool proves valuable in high-volatility settings, enabling traders to leverage these signals for refined decision-making.
🟣 Bullish 5-0 Pattern
A bullish 5-0 pattern materializes when Fibonacci levels indicate a potential price reversal to the upside. With points 0, X, A, B, C, and D in alignment, the indicator highlights this upward momentum by displaying a green arrow as a buy signal on the chart. This marking provides a clear entry point, indicating that prices are likely to rise, making it a prime moment for traders to enter long positions.
Additionally, the bullish 5-0 pattern is equipped with tools for traders to set stop-loss and take-profit points based on harmonic lines within the pattern, which represent support and resistance levels. Using these dynamic points, traders can create a more effective risk-reward setup while following the bullish signals in a standalone harmonic strategy.
🟣 Bearish 5-0 Pattern
The bearish 5-0 pattern functions similarly but signals a likely downturn. This pattern emerges when Fibonacci ratios align at points 0, X, A, B, C, and D, predicting a reversal downward. The indicator generates a sell signal, marked by a red arrow, prompting traders to exit long positions or initiate short trades to capitalize on falling prices.
Traders can utilize this bearish pattern for defining exit strategies and setting key levels for stop-loss and take-profit orders. The bearish 5-0 pattern enhances traders’ abilities to gauge critical price levels and manage trade risk effectively, especially in volatile markets. For traders focused on profiting from downward trends, this indicator serves as a powerful tool for timely entries and exits.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
Conclusion
The 5-0 Harmonic Pattern indicator serves as a robust solution for technical analysts and traders looking to pinpoint market reversal points. By automatically recognizing 5-0 patterns and generating buy and sell signals based on Fibonacci ratios, this tool supports precise trend analysis and entry/exit timing. The indicator’s adjustable alerts, color themes, and pattern toggles allow for comprehensive customization, ensuring alignment with individual trading strategies.
Harmonic patterns, especially the 5-0 Harmonic Pattern, guide traders in identifying high-accuracy entry and exit points, thus aiding in more informed trading decisions. By combining Fibonacci ratio analysis with real-time signal updates, this indicator provides a well-rounded approach for risk management and capitalizing on trading opportunities. Professional traders can harness this tool to enhance technical analysis precision and capitalize on price trends effectively, maximizing profitability in both bullish and bearish markets.
Indikator dan strategi
India market cap and smart dataThis indicator displays important financial and technical data, such as Market Cap, P/E Ratio, ADR %, etc.
It is specially designed for swing traders.
Key Features and Highlights
- Market Cap Alert: If the Market Cap of a stock is below 1000 crore , it is displayed in red to indicate a potential liquidity issue.
- P/E Ratio for Loss-Making Companies : For companies with net losses, the P/E ratio is shown as 0 and displayed in red , alerting you to the unprofitable status of the company.
- ADR Alert: When the ADR is below 4% , it is highlighted in red . Swing traders typically look for stocks with high ADR.
- 52-Week High Proximity: If a stock is more than 20% below its 52-week high , this data is shown in red .
- 52-Week Low Performance: If a stock is up by more than 70% from its 52-week low , the data is displayed in green , indicating strong performance.
Additional Features
- Toggle data points on or off as desired.
- Supports both dark and light modes.
- Position the table wherever preferred on the chart.
- Customize the ADR % calculation based on the desired number of days (default is 20 days).
Note: The calculation for the percentage away from the 52-week high is based on the closing price of the 52-week high candle, not the high price.
Dynamic Volume-Based Buy/Sell IndicatorThis script provides a powerful volume-based indicator that visualizes buy and sell volumes, issues alerts for volume spikes, and adjusts color intensity dynamically based on volume size. It includes customizable settings for volume averaging and thresholds, making it adaptable to various trading strategies.
Flashtrader´s Statistical BandwidthsThe vast majority of traders exclusively concern
themselves with trend-following in all its facets. Scoring
points with trends on a regular basis is a difficult task
since prices do not constantly move in one direction
or another. In the case of the DAX future, for example,
only about 30 per cent of all trading days in a year are
trend days. And of these, there are x percent long ones
and x per cent short ones. Catching the very days when
prices rise or fall from the opening to the close is a major
challenge for a trader who also needs to have previously
recognised the corresponding direction.
However, there are also other ways of profit-taking
every day – for example, by using the mean reversion
strategy. The idea behind this is the fact that prices reach
a high and a low every day – but very rarely close at the
high or the low. This means that prices always move
away from these extreme points and the closing price is
somewhere in between. A profitable trading strategy can
be developed out of this.
But how can you know where the high and the low
will be tomorrow? Is it possible for you to know this in
advance? No – because no one can predict the future. Or
can they? At least it can be statistically determined how
high or low prices could go tomorrow. There is a high
degree of probability that one of the two possibilities
will materialise. It will then be necessary to act.
Calculation
Classic pivot points for the following day are calculated
from the high, low and closing price. But does it really
make sense to use such a mix? I don’t think so and
use a different calculation for this strategy. In a first step,
only the differences between the start and the high or low
are calculated on a daily basis. To avoid being dependent
on individual days and outliers, it is advisable to calculate,
in a second step, the average of these differences over
the past five days. Finally, this average will then be added
at the opening price of the current trading day for the
upper statistical bandwidth and subtracted for the lower
bandwidth.
upper bandwidth = oSTB (violet dashed line in the chart)
lower bandwidth = uSTB (violet dashedline in the chart)
The second interesting question is, if the previous day's high has been exceeded, how much further can the price rise from a mathematical/statistical point of view?
These calculated previous day highs expansions are shown as red dashed lines
Previous day's high expansion = VTHA
Previous day's low expansion = VTTA
For further orientation, the previous day's high (VTH) and the previous day's low (VTT) are shown in light blue dashed lines
And as a supplement, the previous day's close in the DAX Future at 10:00 p.m. VTSA in violet solid lines and the previous day's close in the cash register at 5:30 p.m. VTSN in yellow solid lines
Reaching the calculated extreme values does not mean that the trend has to change immediately, but there is at least temporary exhaustion potential with which you can earn a few points every day in the area of scalping.
Example for cheap entry long:
Example for cheap entry short:
Deutsch:
Die Masse der Trader beschäftigt sich ausschließlich mit Trendfolge in all ihren Facetten. Mit Trends regelmäßig zu punkten ist ein schwieriges Unterfangen, da die Kurse nicht ständig in die eine oder andere Richtung laufen. Beim DAX-Future zum Beispiel sind von allen Börsentagen im Jahr lediglich zirka 30 Prozent Trendtage. Davon sind dann auch noch x Prozent Long und x Prozent Short. Hier genau die Tage abzupassen, an denen die Kurse von Börsenbeginn bis zum Schluss steigen beziehungsweise fallen, ist eine große Herausforderung – wobei der Trader zuvor noch die entsprechende Richtung erkannt haben muss. Es gibt jedoch auch noch andere Methoden täglich Gewinne mitzunehmen, zum Beispiel mit der Mean-Reversion-Strategie (Mittelwertumkehr).
Hintergrund ist die Tatsache, dass die Kurse jeden Tag ein Hoch und ein Tief erreichen – aber sehr selten am Hoch oder am Tief schließen. Das bedeutet, dass die Preise sich immer wie der von diesen Extrempunkten wegbewegen und der Schlusskurs irgendwo dazwischen liegt. Hieraus lässt sich eine profitable Handelsstrategie entwickeln. Aber woher kannst Du wissen, wo morgen das Hoch und das Tief sein wird? Kannst Du das vorher schon wissen? Nein – denn niemand kann die Zukunft vorhersagen. Oder doch? Statistisch lässt sich zumindest bestimmen, wie hoch und wie tief die Kurse morgen steigen oder fallen könnten. Eine Seite wird mit sehr hoher Wahrscheinlichkeit ein treffen. Dann gilt es zu handeln.
Berechnung Klassischer Pivot-Punkte für den folgenden Tag werden aus Hoch, Tief und Schlusskurs berechnet. Aber ist es wirklich sinnvoll, einen solchen Mix zu verwenden? Ich finde das nicht und verwenden für diese Strategie eine andere Berechnung. Im ersten Schritt werden täglich die Differenzen nur vom Start bis zum Hoch beziehungsweise Tief errechnet. Um nicht von einzelnen Tagen und Ausreißern abhängig zu sein, empfiehlt es sich, in einem zweiten Schritt den Durchschnitt dieser Differenzen über die letzten fünf Tage zu errechnen. Zuletzt wird dann dieser Durchschnitt zum Eröffnungskurs des aktuellen Handelstages für die obere statistische Bandbreite addiert und für die untere Bandbreite subtrahiert.
Obere statistische Bandbreite = oSTB (violette gestrichelte Linie im Chart)
Untere statistische Bandbreite = uSTB (violette gestrichelte Linie im Chart)
Die zweite interessante Frage ist, wenn das Vortageshoch überschritten wurde, wie weit kann der Kurs dann noch steigen aus mathematisch/statistischer Sicht?
Diese berechneten Vortagesextremausdehnungen sind als rote gestrichelte Linien dargestellt
Vortageshochausdehnung = VTHA
Vortagestiefausdehnung = VTTA
Für die weitere Orientierung sind die Vortageshochs (VTH) und die Vortagestiefs (VTT) als hellblaue gestrichelte Linien abgebildet.
Als Ergänzung wird noch der Vortages Schluss im Dax Future um 22:00 Uhr VTSA mit einer violetten durchgezogenen Linie und der Kassamarktschluss um 17:30 Uhr mit einer gelben durchgezogenen Linie gezeigt.
Das Erreichen der berechneten Extremwerte bedeutet nicht, das der Trend sofort drehen muss, aber es sind zumindest temporäre Erschöpfungspotentiale mit denen sich im Bereich scalping täglich einige Punkte verdienen lassen.
Beispiel für günstigen Einstieg Long:
Beispiel für günstigen Einstieg Short:
Screener MA CrossThe Screener MA Cross is an efficient tool designed to help traders quickly identify potential buy and sell signals across multiple currency pairs and timeframes. This script monitors the crossover behavior of two moving averages (MA8 and MA50) to determine possible entry points for trades.
Key Features:
Multi-Pair Monitoring: The indicator allows users to screen popular assets, including XAUUSD, US30, GBPUSD, EURUSD, USDJPY, USDCAD, and GBPJPY. You can add or remove symbols based on your preference.
Dual Timeframe Analysis: It tracks moving average crossovers on both 15-minute and 1-hour charts, giving users insights into short-term and medium-term trends without switching between timeframes.
Color-Coded Signals:
Green: Indicates a bullish "Buy" signal when the MA8 crosses above the MA50, suggesting upward momentum.
Red: Indicates a bearish "Sell" signal when the MA8 crosses below the MA50, signaling downward momentum.
Gray: Represents a neutral or no-cross state, indicating no clear trend.
Clean Table Format: Displays all relevant signals directly on your chart in a structured, easy-to-read table format, allowing you to quickly scan and assess trading opportunities.
How It Works: The script uses moving averages (MA8 and MA50) to analyze crossover patterns, a common method for identifying trend changes. A crossover occurs when a shorter moving average (MA8) crosses above or below a longer moving average (MA50). By requesting data from the 15-minute and 1-hour timeframes, the Screener MA Cross provides a clear overview of the market situation across various assets, helping you decide on potential trades.
This tool is particularly useful for trend-following strategies and can be used to spot momentum shifts on smaller timeframes, making it ideal for day traders and scalpers.
How to Use:
Add the indicator to your chart and customize the asset symbols to match your trading preferences.
Monitor the signals on the table. Green signals indicate potential buying opportunities, while red signals suggest possible selling points.
Use alongside other analysis: While the Screener MA Cross offers valuable insights, it's best used in combination with other indicators and analysis techniques to confirm trade setups.
RPS Trading Signals & Backtesting
Overview:
The Enhanced Relative Price Strength (RPS) Indicator is designed for trend traders looking to identify the relative strength of stocks within a select universe. By comparing the price movements of chosen stocks over a specified period, this indicator helps traders make informed decisions about potential buying and selling opportunities.
Key Features:
Relative Strength Ranking: Our RPS indicator ranks the price performance of individual stocks against a curated selection, enabling users to pinpoint which stocks are exhibiting relative strength or weakness.
Customizable Stock Universe: The script evaluates 40 stocks, which include 30 high-weight NDX100 stocks, 4 major index ETFs (SPY, QQQ, DIA, IWM), and allows for the addition of 6 user-defined custom stocks.
Dynamic Color Gradients: The visual representation of the RPS score utilizes a gradient color scheme ranging from purple at low scores to red at high scores, leveraging the color for clear, immediate insight into stock performance.
Threshold Visualization: Users can set specific high (default 85) and low (default 15) thresholds for RPS, highlighted with solid line indicators and area fills. This visual aspect aids traders in quickly spotting entry and exit points.
Trading Signal Generation: The script includes logic for generating buy and sell signals according to defined RPS behaviors relative to the set thresholds, factoring in market conditions based on a long-term moving average.
Backtesting Capabilities: Users can backtest trading signals by inputting desired start and end dates, allowing traders to evaluate the effectiveness of the RPS strategy on historical data for various assets including stocks and cryptocurrencies (e.g., NVDA, LLY, GOOG, BTC, ETH, SOL).
User-Friendly Options: The script allows for adjustments such as moving average lengths, visibility of trading signals, and fills for ease of use and customization according to trading preferences.
How It Works:
The RPS Indicator functions by calculating the performance of stocks relative to each other. Based on the RPS trends, the indicator identifies when to enter or exit trades, providing a framework to capitalize on market movements.
Conclusion:
The Enhanced RPS Indicator aims to empower traders with a powerful analytical tool in their arsenal, tailored to simplify decision-making and bolster trading strategies. As this script evolves, we encourage feedback and collaboration from users to refine and enhance its capabilities further.
Trade Less, Earn More!
EMA and ATR Indicator BY DemirkanEMA 10 and ATR Indicator BY Demirkan
The EMA 10 and ATR Indicator combines two powerful technical indicators used to analyze trends and identify potential trading opportunities.
Indicator Components:
Exponential Moving Average (EMA):
EMA 10: Calculates the weighted average of the last 10 closing prices. This indicator is effective in tracking short-term price movements. When the price is above the EMA, it is considered that the trend is upward; when it is below, it is assessed as a downward trend.
Average True Range (ATR):
ATR: A measure of market volatility. When the ATR value falls within a specified range (between 10 and 14 in this indicator), the price movement is considered significant. This helps you base your trading decisions on more solid grounds.
Usage Recommendations:
Buy Signal: When the price is above the EMA and the ATR is within the specified range, this can be interpreted as a potential buy signal.
Sell Signal: When the price is below the EMA, this can be interpreted as a potential sell signal.
Chart Displays:
EMA Line: Displayed as a blue line, allowing you to see how the EMA relates to current price levels.
Price Status: Circles are used to indicate whether the price is above or below the EMA. A green circle indicates the price is above the EMA, while a red circle indicates it is below.
Background Colors: The chart background changes to green or red to highlight buy and sell conditions.
Aesthetic Presentation:
Using the "Flag" and "Below" parameters for the Price vs EMA indicator provides an aesthetically pleasing appearance on the chart. This type of visual presentation helps users quickly and easily grasp trading signals. Additionally, this aesthetic touch makes investors' charts look more professional and appealing.
This indicator is a useful tool for traders looking to develop short-term trading strategies. However, it should always be used in conjunction with additional analysis and other indicators.
Note: This indicator is for educational purposes only and should not be taken as investment advice.
Hull Moving Averages 10, 20, 50, 100, 200This script generates multiple Hull Moving Averages (HMAs) on a trading chart, allowing for comprehensive trend analysis across different timeframes. Five HMAs with lengths of 10, 20, 50, 100, and 200 periods are plotted on the chart, providing insights into short, medium, and long-term market trends.
Each HMA can be customized with individual colors to easily distinguish between the different timeframes, helping traders visually track momentum changes and trend strength across these intervals. The Hull Moving Average is known for reducing lag compared to other moving averages, which makes it particularly useful for identifying turning points more accurately.
With this script:
You can adjust the colors of each HMA line individually, ensuring optimal visual differentiation.
You can analyze short-term trends with HMA 10 and HMA 20, medium-term trends with HMA 50, and long-term trends with HMA 100 and HMA 200.
The chart provides an at-a-glance view of multi-timeframe trends, making it useful for trading strategies that rely on crossovers or divergence patterns.
This tool is ideal for traders who want to identify trend direction, strength, and possible reversal points with minimal lag.
VOLUME DIRECTION INDICATORDesigned for the 1-hour chart, this indicator shows:
Green Line: Volume when price rises, suggesting buying.
Red Line: Volume when price falls, indicating selling.
How to Use:
Watch for Crossover: When the Green Line moves above the Red, it might signal a budding uptrend.
Check Retracement: If the Green Line pulls back but stays above the Red, the uptrend could be strengthening.
Price Check: Look for a small price drop but not a reversal.
Trade Entry:
Enter at the high of the retracement candle.
Or wait for the Green Line to rise again.
For Precision: Draw a line at the retracement peak and switch to a shorter timeframe to find entry patterns above this line.
Remember: Use this with other tools for better trading decisions.
The Volume Direction Indicator provides a visual representation of market activity by assuming volume can be attributed to buying or selling based on price action within each bar. When the price closes higher than it opened, the volume for that period is considered as 'Bought Shares', plotted in green. Conversely, if the price closes lower, the volume is treated as 'Sold Shares', shown in red. This indicator resets daily to give a fresh perspective on trading activity each day.
Key Features:
Buying Pressure: Green line represents the cumulative volume during periods where the price increased.
Selling Pressure: Red line indicates the cumulative volume during price decreases.
Daily Reset: Accumulated values reset at the start of each new trading day, focusing on daily market sentiment.
Note: This indicator simplifies market dynamics by linking volume directly to price changes. It does not account for complex trading scenarios like short selling or market manipulations. Use this indicator as a tool to gauge general market direction and activity, not for precise transaction data.
Gold scalper 1 min or 30 secThis Pine Script code for TradingView is designed to create a trading indicator titled "Gold scalper 1 min or 30 sec." The indicator is primarily used for scalping gold and is focused on short-term timeframes (1 minute or 30 seconds).
### Key Components of the Code:
1. **Inputs:**
- **Resolution:** Users can set the timeframe for analysis (default is 240 minutes).
- **SMA (Simple Moving Average):** Users can specify the period for the SMA used in the calculations.
2. **Daily Highs and Lows:**
- The script calculates the previous day’s high (`yesterdayHigh`) and low (`yesterdayLow`) prices using the `request.security` function.
3. **SMA Calculation:**
- An SMA is computed based on the closing prices of the selected timeframe.
4. **Breakout Conditions:**
- The script detects breakouts using the SMA in relation to yesterday's high and low:
- A breakout upwards occurs when the SMA crosses above the previous day's high.
- A breakout downwards occurs when the SMA crosses below the previous day's low.
5. **RSI (Relative Strength Index) Calculations:**
- Two RSI values are calculated to assess market momentum:
- **Banker RSI:** Used for buy conditions.
- **Hot Money RSI:** Used for sell conditions.
- These include adjustable sensitivity factors and periods to customize the indicator’s sensitivity.
6. **Trade Direction Selection:**
- Users can select whether to trade long, short, or both directions.
7. **Buy and Sell Signals:**
- Buy conditions are set when the Retail Moving Average crosses the Banker Moving Average under certain conditions.
- Sell conditions are marked when the Banker Moving Average crosses under the specified sell threshold.
- These signals are visually represented on the chart with specific shapes (up arrows for buys and down arrows for sells).
8. **Alerts:**
- Alerts are generated for buy and sell signals to notify users when certain conditions are met.
9. **Trend Visualization:**
- The script visually indicates uptrends and downtrends on the chart by plotting colors based on the relationship between the current price, yesterday's high, and low.
### General Purpose:
This indicator is designed to assist traders in identifying potential buying and selling opportunities in the gold market based on short-term price movements and momentum indicators, helping them capitalize on quick price fluctuations that are characteristic of scalping strategies.
Bar count with New day Markerbased on bar count, highlight the first Bar with special colour on every day.
30D Vs 90D Historical VolatilityVolatility equals risk for an underlying asset's price meaning bullish volatility is bearish for prices while bearish volatility is bullish. This compares 30-Day Historical Volatility to 90-Day Historical Volatility.
When the 30-Day crosses under the 90-day, this is typically when asset prices enter a bullish trend.
Conversely, When the 30-Day crosses above the 90-Day, this is when asset prices enter a bearish trend.
Peaks in volatility are bullish divergences while troughs are bearish divergences.
Cumulative Volume Distribution Spread Intrabar with BandsUpdated Description:
This script, "Cumulative Volume Spread by Levels with Histogram", analyzes cumulative buying and selling pressure at various price levels of each bar, based on intra-bar data from a lower timeframe (like 1-second bars). It visualizes the results using lines, histograms, and color-filled areas.
Key Concepts:
Price Levels: The script splits each bar into four distinct levels:
High to max(open, close): The range from the highest price of the bar to the higher of the open or close prices.
Max(open, close) to midline: The range from the higher of the open or close to the midpoint of the bar.
Midline to min(open, close): The range from the midpoint to the lower of the open or close.
Min(open, close) to low: The range from the lower of the open or close to the lowest price of the bar.
Volume Pressures:
The script fetches volume data from a lower timeframe (default is 1-second bars) to capture intra-bar buying and selling pressure.
Buying Pressure: Calculated when the close is greater than the open.
Selling Pressure: Calculated when the close is less than the open.
Cumulative Pressures:
The script accumulates buy and sell volumes within each of the four price levels described above.
At the beginning of a new day, these cumulative values are reset.
Spread Calculation:
For each level, the script calculates the spread between cumulative buying and selling volumes (i.e., buy pressure minus sell pressure). A positive spread indicates more buying pressure, and a negative spread indicates more selling pressure.
The script calculates an Exponential Moving Average (EMA) of the spread changes for each section:
EMA Spread High to Max Open/Close
EMA Spread Max Open/Close to Midline
EMA Spread Midline to Min Open/Close
EMA Spread Min Open/Close to Low
Fill Between Levels:
The areas between the key price levels are filled based on whether the EMA of the spread is positive (green) or negative (red). This helps to visually indicate where buying or selling pressure is stronger.
Background Color:
The script determines an overall background color based on the relative strength of cumulative buying vs. selling pressure. If cumulative buying pressure is stronger across the levels, the background turns green; if selling pressure dominates, it turns red.
CMF and Scaled EFI OverlayCMF and Scaled EFI Overlay Indicator
Overview
The CMF and Scaled EFI Overlay indicator combines the Chaikin Money Flow (CMF) and a scaled version of the Elder Force Index (EFI) into a single chart. This allows traders to analyze both indicators simultaneously, facilitating better insights into market momentum and volume dynamics , specifically focusing on buying/selling pressure and momentum , without compromising the integrity of either indicator.
Purpose
Chaikin Money Flow (CMF): Measures buying and selling pressure by evaluating price and volume over a specified period. It indicates accumulation (buying pressure) when values are positive and distribution (selling pressure) when values are negative.
Elder Force Index (EFI): Combines price changes and volume to assess the momentum behind market moves. Positive values indicate upward momentum (prices rising with strong volume), while negative values indicate downward momentum (prices falling with strong volume).
By scaling the EFI to match the amplitude of the CMF, this indicator enables a direct comparison between pressure and momentum , preserving their shapes and zero crossings. Traders can observe the relationship between price movements, volume, and momentum more effectively, aiding in decision-making.
Understanding Pressure vs. Momentum
Chaikin Money Flow (CMF):
- Indicates the level of demand (buying pressure) or supply (selling pressure) in the market based on volume and price movements.
- Accumulation: When institutional or large investors are buying significant amounts of an asset, leading to an increase in buying pressure.
- Distribution: When these investors are selling off their holdings, increasing selling pressure.
Elder Force Index (EFI):
- Measures the strength and speed of price movements, indicating how forceful the current trend is.
- Positive Momentum: Prices are rising quickly, indicating a strong uptrend.
- Negative Momentum: Prices are falling rapidly, indicating a strong downtrend.
Understanding the difference between pressure and momentum is crucial. For example, a market may exhibit strong buying pressure (positive CMF) but weak momentum (low EFI), suggesting accumulation without significant price movement yet.
Features
Overlay of CMF and Scaled EFI: Both indicators are plotted on the same chart for easy comparison of pressure and momentum dynamics.
Customizable Parameters: Adjust lengths for CMF and EFI calculations and fine-tune the scaling factor for optimal alignment.
Preserved Indicator Integrity: The scaling method preserves the shape and zero crossings of the EFI, ensuring accurate analysis.
How It Works
CMF Calculation:
- Calculates the Money Flow Multiplier (MFM) and Money Flow Volume (MFV) to assess buying and selling pressure.
- CMF is computed by summing the MFV over the specified length and dividing by the sum of volume over the same period:
CMF = (Sum of MFV over n periods) / (Sum of Volume over n periods)
EFI Calculation:
- Calculates the EFI using the Exponential Moving Average (EMA) of the price change multiplied by volume:
EFI = EMA(n, Change in Close * Volume)
Scaling the EFI:
- The EFI is scaled by multiplying it with a user-defined scaling factor to match the CMF's amplitude.
Plotting:
- Both the CMF and the scaled EFI are plotted on the same chart.
- A zero line is included for reference, aiding in identifying crossovers and divergences.
Indicator Settings
Inputs
CMF Length (`cmf_length`):
- Default: 20
- Description: The number of periods over which the CMF is calculated. A higher value smooths the indicator but may delay signals.
EFI Length (`efi_length`):
- Default: 13
- Description: The EMA length for the EFI calculation. Adjusting this value affects the sensitivity of the EFI to price changes.
EFI Scaling Factor (`efi_scaling_factor`):
- Default: 0.000001
- Description: A constant used to scale the EFI to match the CMF's amplitude. Fine-tuning this value ensures the indicators align visually.
How to Adjust the EFI Scaling Factor
Start with the Default Value:
- Begin with the default scaling factor of `0.000001`.
Visual Inspection:
- Observe the plotted indicators. If the EFI appears too large or small compared to the CMF, proceed to adjust the scaling factor.
Fine-Tune the Scaling Factor:
- Increase or decrease the scaling factor incrementally (e.g., `0.000005`, `0.00001`, `0.00005`) until the amplitudes of the CMF and EFI visually align.
- The optimal scaling factor may vary depending on the asset and timeframe.
Verify Alignment:
- Ensure that the scaled EFI preserves the shape and zero crossings of the original EFI.
- Overlay the original EFI (if desired) to confirm alignment.
How to Use the Indicator
Analyze Buying/Selling Pressure and Momentum:
- Positive CMF (>0): Indicates accumulation (buying pressure).
- Negative CMF (<0): Indicates distribution (selling pressure).
- Positive EFI: Indicates positive momentum (prices rising with strong volume).
- Negative EFI: Indicates negative momentum (prices falling with strong volume).
Look for Indicator Alignment:
- Both CMF and EFI Positive:
- Suggests strong bullish conditions with both buying pressure and upward momentum.
- Both CMF and EFI Negative:
- Indicates strong bearish conditions with selling pressure and downward momentum.
Identify Divergences:
- CMF Positive, EFI Negative:
- Buying pressure exists, but momentum is negative; potential for a bullish reversal if momentum shifts.
- CMF Negative, EFI Positive:
- Selling pressure exists despite rising prices; caution advised as it may indicate a potential bearish reversal.
Confirm Signals with Other Analysis:
- Use this indicator in conjunction with other technical analysis tools (e.g., trend lines, support/resistance levels) to confirm trading decisions.
Example Usage
Scenario 1: Bullish Alignment
- CMF Positive: Indicates accumulation (buying pressure).
- EFI Positive and Increasing: Shows strengthening upward momentum.
- Interpretation:
- Strong bullish signal suggesting that buyers are active, and the price is likely to continue rising.
- Action:
- Consider entering a long position or adding to existing ones.
Scenario 2: Bearish Divergence
- CMF Negative: Indicates distribution (selling pressure).
- EFI Positive but Decreasing: Momentum is positive but weakening.
- Interpretation:
- Potential bearish reversal; price may be rising but underlying selling pressure suggests caution.
- Action:
- Be cautious with long positions; consider tightening stop-losses or preparing for a possible trend reversal.
Tips
Adjust for Different Assets:
- The optimal scaling factor may differ across assets due to varying price and volume characteristics.
- Always adjust the scaling factor when analyzing a new asset.
Monitor Indicator Crossovers:
- Crossings above or below the zero line can signal potential trend changes.
Watch for Divergences:
- Divergences between the CMF and EFI can provide early warning signs of trend reversals.
Combine with Other Indicators:
- Enhance your analysis by combining this overlay with other indicators like moving averages, RSI, or Ichimoku Cloud.
Limitations
Scaling Factor Sensitivity:
- An incorrect scaling factor may misalign the indicators, leading to inaccurate interpretations.
- Regular adjustments may be necessary when switching between different assets or timeframes.
Not a Standalone Indicator:
- Should be used as part of a comprehensive trading strategy.
- Always consider other market factors and indicators before making trading decisions.
Disclaimer
No Guarantee of Performance:
- Past performance is not indicative of future results.
- Trading involves risk, and losses can exceed deposits.
Use at Your Own Risk:
- This indicator is provided for educational purposes.
- The author is not responsible for any financial losses incurred while using this indicator.
Code Summary
//@version=5
indicator(title="CMF and Scaled EFI Overlay", shorttitle="CMF & Scaled EFI", overlay=false)
cmf_length = input.int(20, minval=1, title="CMF Length")
efi_length = input.int(13, minval=1, title="EFI Length")
efi_scaling_factor = input.float(0.000001, title="EFI Scaling Factor", minval=0.0, step=0.000001)
// --- CMF Calculation ---
ad = high != low ? ((2 * close - low - high) / (high - low)) * volume : 0
mf = math.sum(ad, cmf_length) / math.sum(volume, cmf_length)
// --- EFI Calculation ---
efi_raw = ta.ema(ta.change(close) * volume, efi_length)
// --- Scale EFI ---
efi_scaled = efi_raw * efi_scaling_factor
// --- Plotting ---
plot(mf, color=color.green, title="CMF", linewidth=2)
plot(efi_scaled, color=color.red, title="EFI (Scaled)", linewidth=2)
hline(0, color=color.gray, title="Zero Line", linestyle=hline.style_dashed)
- Lines 4-6: Define input parameters for CMF length, EFI length, and EFI scaling factor.
- Lines 9-11: Calculate the CMF.
- Lines 14-16: Calculate the EFI.
- Line 19: Scale the EFI by the scaling factor.
- Lines 22-24: Plot the CMF, scaled EFI, and zero line.
Feedback and Support
Suggestions: If you have ideas for improvements or additional features, please share your feedback.
Support: For assistance or questions regarding this indicator, feel free to contact the author through TradingView.
---
By combining the CMF and scaled EFI into a single overlay, this indicator provides a powerful tool for traders to analyze market dynamics more comprehensively. Adjust the parameters to suit your trading style, and always practice sound risk management.
4AM-5AM BRT HighlighterThe 4AM-5AM BRT Highlighter is a simple yet effective tool designed to visually mark your preferred trading time on the chart. It highlights the period between 4:00 AM and 5:00 AM Brazilian Time (BRT/UTC-3) by default, helping you stay focused and aware of your prime trading window.
Key Features:
Clear Visual Highlight: Colors the background of your chart during the chosen timeframe, making it easy to see when your trading session starts and ends.
Customizable Colors: Easily adjust the highlight color and transparency to suit your visual preferences.
Accurate Time Conversion: Automatically accounts for Brazilian Time (BRT), ensuring the highlight appears correctly no matter your chart’s default timezone.
Whether you're trading currencies, metals, indexes, or cryptocurrencies, this indicator helps you maintain focus during your dedicated trading hour by clearly marking your active period on the chart.
Price in Time MarkerThis is intended to get the price of a market at a specific time of day, the intent being to mark the price of 'bankers fixes' such as the 'London 4pm fix' or the 'Tokyo fix', though can be used to mark any time of interest.
It shows the price up until the next days selected time. You can select the time you want to see, in a designated time zone, and it should find the correct time in your brokers zone and mark a line.
The sample chart also shows the price at this brokers day / close for reference in purple.
There are still some glitches where at least some AU, NZ and JP times don't show, but I hope to address this later.
Dynamic 4-Hour Candle (Accurate Highs and Lows)This gives a dynamic 4 hour history of the current price, so that you can assess the current trend. I found lots of indicators that looked at the previous 4 hr candle, but they then immediately switched to the new 4 hr candle when it started to be formed. this indicator looks back at the rolling previous 4 hours.
70% rule strength/trend/reversalThis indicator tells you which candle closed strong for the day by identifying if the price closed above 70% of the candle's total height. this can help you identify reversals/new trends/ renewed strength in the current trend.
The indicator colors such candle green and if the candle closes with increase in price by 5% or higher then marks an asterisk under the candle.
HOPE THIS HELPS
Smart Money Concepts IndicatorBEST ICT AND SMC INDICATOR
The **Smart Money Concepts Indicator** is designed to enhance trading decisions by incorporating key principles from Smart Money Concepts (SMC), focusing on the detection of market structure changes, liquidity zones, order flow, and order blocks. This indicator is particularly useful for traders looking to understand market dynamics and make informed trading decisions based on advanced market analysis.
#### Key Features:
1. **Break of Structure (BOS)**:
- Identifies upward and downward breaks in market structure, indicating potential trend reversals.
- Visual markers on the chart help traders spot these critical levels.
2. **Change of Character (CHOCH)**:
- Detects significant changes in market direction, highlighting potential shifts in momentum.
- Clearly labeled signals indicate when the market may be changing its character.
3. **Order Blocks**:
- Highlights order blocks, which are key areas where significant buying or selling has occurred.
- Provides visual cues for potential support and resistance zones.
4. **Liquidity Zones**:
- Marks liquidity zones, indicating areas where buy-side or sell-side liquidity may be targeted.
- Helps traders understand where the market might draw liquidity.
5. **Dynamic Take Profit and Stop Loss Levels**:
- Calculates and plots take profit (TP) and stop loss (SL) levels based on the Average True Range (ATR) for adaptive risk management.
- Customizable multipliers allow traders to adjust levels based on their risk tolerance.
6. **Order Flow Analysis**:
- Displays bullish and bearish order flow signals based on candle close relative to open.
- Provides insights into market sentiment and potential future price action.
#### How to Use:
- **Identifying Entry and Exit Points**: Use BOS and CHOCH signals to find potential entry points, while leveraging TP and SL levels for risk management.
- **Market Analysis**: Analyze order blocks and liquidity zones to make informed decisions on market behavior.
- **Visual Confirmation**: The clear visual cues provided by the indicator make it easier to interpret market movements and align trades with institutional behavior.
#### Conclusion:
The Smart Money Concepts Indicator is an invaluable tool for traders looking to enhance their understanding of market structure and make more informed trading decisions. By integrating advanced concepts like BOS, CHOCH, and liquidity analysis, this indicator helps traders navigate the complexities of the market with greater confidence.
Indicator SELL UBScript Name: UB Sell Indicator based on 10Y Volume and Trend
Description: This indicator uses the 10-year interest rate (10Y1!) volume and price data to generate sell signals on the UB contract. When the 10Y1! volume exceeds a fixed threshold and the 10Y1! price is rising, a sell signal is issued to help traders anticipate bearish moves on the UB.
Features:
10Y1! Volume: Identifies periods of high volume.
10Y1! Price: Detects bullish trends in the 10Y1!.
Sell Signals: Displays red arrows to indicate selling opportunities on UB when conditions are met.
Visual Indicators: Colors and arrows for easy signal interpretation.
Parameters:
Fixed Volume Threshold: 114 (modifiable as needed).
Moving Average Period: 10 (to calculate the 10Y1! price trend).
Usage:
Watch for red arrows to identify selling opportunities on UB.
Combine with other analyses and indicators for a complete trading strategy.
Author: Jm Smeers
Publication Date: 26/10/2024
Delta Candle ColorsThe Delta Divergences indicator provides a visual representation of volume delta, which measures the difference between buying pressure and selling pressure within a candle. This is achieved by using intrabar (lower timeframe) volume and price fluctuations to estimate the delta between buying and selling pressure within each bar.
By color-coding candles based on this volume delta, traders can gain insight into the strength behind price movements and spot potential divergences. When a candle closes positively (higher than the previous close) but the volume delta is negative (more selling than buying), or when a candle closes negatively with a positive delta (more buying than selling), it indicates a divergence. These divergences can signal potential trend exhaustion or possible reversals.
The indicator includes custom alerts that notify the trader when these divergences occur:
Positive close with negative delta: Signals that the price is rising, but selling pressure is higher.
Negative close with positive delta: Signals that the price is falling, but buying pressure is higher.
In addition to color-coding candles based on delta, the indicator provides an option to display delta labels directly on the chart for each candle.
Finally, the option to only show divergences can be turned on. When enabled, non-divergent candles are colored normally, while only candles with delta divergences are highlighted, allowing traders to focus on the most relevant market information.
Dynamic Buy/Sell VisualizationDynamic Trend Visualization Indicator
Description:
This simple and easy to use indicator has helped me stay in trades longer.
This indicator is designed to visually represent potential buy and sell signals based on the crossover of two Simple Moving Averages (SMA). It's crafted to assist traders in identifying trend directions in a straightforward manner, making it an excellent tool for both beginners and experienced traders.
Features:
Customizable Moving Averages: Users can adjust the period length for both short-term (default: 10) and long-term (default: 50) SMAs to suit their trading strategy.
Visual Signals: Dynamic lines appear at the points of SMA crossover, with labels to indicate 'BUY' or 'SELL' opportunities.
Color and Style Customization: Customize the appearance of the buy and sell lines for better chart readability.
Alert Functionality: Alerts are set up to notify users when a crossover indicating a buy or sell condition occurs.
How It Works:
A 'BUY' signal is generated when the short-term SMA crosses above the long-term SMA, suggesting an upward trend.
A 'SELL' signal is indicated when the short-term SMA crosses below the long-term SMA, pointing to a potential downward trend.
Use Cases:
Trend Following: Ideal for markets with clear trends. For example, if trading EUR/USD on a daily chart, setting the short SMA to 10 days and the long SMA to 50 days might help in capturing longer-term trends.
Scalping: In a volatile market, setting shorter periods (e.g., 5 for short SMA and 20 for long SMA) might catch quicker trend changes, suitable for scalping.
Examples of how to use
* Short-term for Quick Trades:
SMA 5 and SMA 21:
Purpose: This combination is tailored for day traders or those looking to engage in scalping. The 5 SMA will react rapidly to price changes, providing early signals for buy or sell opportunities. The 21 SMA, being a Fibonacci number, offers a slightly longer-term view to confirm the short-term trend, helping to filter out minor fluctuations that might lead to false signals.
* Middle-term for Swing Trading:
SMA 10 and SMA 50:
Purpose: Suited for swing traders who aim to capitalize on medium-term trends. The 10 SMA picks up on immediate market movements, while the 50 SMA gives insight into the medium-term direction. This setup helps in identifying when a short-term trend aligns with a longer-term trend, providing a good balance for trades that might last several days to a couple of weeks.
* Long-term Trading:
SMA 50 and SMA 200:
Purpose: Investors focusing on long-term trends would benefit from this pair. The crossover of the 50 SMA over the 200 SMA can indicate the beginning or end of major market trends, ideal for making decisions about long-term holdings that might span months or years.
Example Strategy if not using the Buy / Sell Label Alerts:
Entry Signal: Enter a long position when the shorter SMA crosses above the longer SMA. For example:
SMA 10 crosses above SMA 50 for a medium-term bullish signal.
Exit Signal: Consider exiting or initiating a short position when:
SMA 10 crosses below SMA 50, suggesting a bearish turn in the medium-term trend.
Confirmation: Use these crossovers in conjunction with other indicators like volume or momentum indicators for better confirmation. For instance, if you're using the 5/21 combination, look for volume spikes on crossovers to confirm the move's strength.
When Not to Use:
Sideways or Range-Bound Markets: The indicator might generate many false signals in a non-trending market, leading to potential losses.
High Volatility Without Clear Trends: Rapid price movements without a consistent direction can result in misleading crossovers.
As a Standalone Tool: It should not be used in isolation. Combining with other indicators like RSI or MACD for confirmation can enhance trading decisions.
Practical Example:
Buy Signal: If you're watching Apple Inc. (AAPL) on a weekly chart, a crossover where the 10-week SMA moves above the 50-week SMA could suggest a buying opportunity, especially if confirmed by volume increase or other technical indicators.
Sell Signal: Conversely, if the 10-week SMA dips below the 50-week SMA, it might be time to consider selling, particularly if other bearish signals are present.
Conclusion:
The "Dynamic Trend Visualization" indicator provides a visual aid for trend-following strategies, offering customization and alert features to streamline the trading process. However, it's crucial to use this in conjunction with other analysis methods to mitigate the risks of false signals or market anomalies.
Legal Disclaimer:
This indicator is for educational purposes only. It does not guarantee profits or provide investment advice. Trading involves risk; please conduct thorough or consult with a financial advisor. The creator is not responsible for any losses incurred. By using this indicator, you agree to these terms.
MT Enhanced Trend Reversal Strategy 2This strategy, called **"Enhanced Trend Reversal Strategy with Take Profit,"** is designed to identify trend reversal points based on several indicators: **Exponential Moving Averages (EMA), MACD**, and **RSI**. The strategy also includes **take-profit levels** to provide traders with suggested profit-taking points.
Key Components of the Strategy
1. **Exponential Moving Averages (EMA)**:
- The strategy uses **20 and 50-period EMAs** to determine trend direction. The shorter period (EMA 20) reacts more quickly to price changes, while the longer period (EMA 50) smooths out fluctuations.
- An **uptrend** (bullish market) is indicated when the EMA 20 is above the EMA 50. In this case, the main trend line is colored green.
- A **downtrend** (bearish market) is indicated when the EMA 20 is below the EMA 50, in which case the trend line is colored red.
- This visual indication simplifies analysis and allows traders to quickly assess the market condition.
2. **MACD (Moving Average Convergence Divergence)**:
- MACD is an oscillator that shows the difference between two EMAs (with periods 6 and 13) and a **signal line** with a period of 5.
- A **buy signal** is generated when the MACD line crosses above the signal line, indicating a potential bullish trend.
- A **sell signal** is generated when the MACD line crosses below the signal line, indicating a possible bearish trend.
- Shorter MACD periods make the strategy more sensitive to price changes, allowing for more frequent trading signals.
3. **RSI (Relative Strength Index)**:
- RSI measures the speed and magnitude of directional price movements to determine if an asset is overbought or oversold.
- The strategy uses a standard RSI period of 14, but with relaxed levels for more signals.
- **For buy entries**, RSI should be above 40, signaling the start of a bullish impulse without indicating overbought conditions.
- **For sell entries**, RSI should be below 60, signaling potential bearish movement without being oversold.
Entry Conditions
- **Buy Signal**:
- The MACD line crosses above the signal line.
- EMA 20 is above EMA 50 (uptrend).
- RSI is above 40, indicating a potential rise without overbought conditions.
- When these conditions are met, the strategy enters a **long position**.
- **Sell Signal**:
- The MACD line crosses below the signal line.
- EMA 20 is below EMA 50 (downtrend).
- RSI is below 60, indicating a possible decline without being oversold.
- When these conditions are met, the strategy enters a **short position**.
Take-Profit Levels
- **Take Profit** is calculated at 1.5% of the entry price:
- **For long positions**, take profit is set at a level 1.5% above the entry price.
- **For short positions**, take profit is set at a level 1.5% below the entry price.
- This take-profit level is displayed as a blue line on the chart, giving traders a clear idea of the target profit point for each trade.
Visualization and Colors
- The main trend line (EMA 20) changes to green in an uptrend and red in a downtrend. This provides a clear visual indicator of the current trend direction.
- Take-profit levels are displayed as blue lines, helping traders follow targets and lock in profits at recommended levels.
Usage Recommendations
- **Timeframe**: The strategy is optimized for a 30-minute timeframe. At this interval, signals are frequent enough without being overly sensitive to noise.
- **Applicability**: The strategy works well for assets with moderate to high volatility, such as stocks, cryptocurrencies, and currency pairs.
- **Risk Management**: In addition to take profit, a stop loss at around 1-2% is recommended to minimize losses in case of sudden trend reversals.
Conclusion
This strategy is designed for more frequent signals by using faster indicators and relaxed RSI conditions. It is suitable for traders seeking quick trade opportunities and clearly defined take-profit levels.