FiboSequFiboSequ: Fibonacci Sequence Marking
Leonardo Fibonacci was an Italian mathematician who lived in the 12th century. His real name was Leonardo of Pisa, but he is commonly known as "Fibonacci." Fibonacci is famous for introducing the Hindu-Arabic numeral system to the Western world. This system is the basis of the modern decimal number system we use today.
Fibonacci Sequence
The Fibonacci sequence is a series of numbers that frequently appears in mathematics and nature. The first two numbers in the sequence are 0 and 1, and each subsequent number is the sum of the two preceding numbers.
The sequence is as follows:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, ...
Fibonacci Time Zones:
Fibonacci time zones are used to identify potential turning points in the market at specific time intervals. These time zones correspond to the Fibonacci sequence in terms of consecutive days or weeks.
The Fibonacci sequence has a wide range of applications in both mathematics and nature. Leonardo Fibonacci's work has had a significant impact on the development of modern mathematics and numeral systems. In financial markets, the Fibonacci sequence and ratios are frequently used by technical analysts to predict and analyze market movements.
Description:
Overview:
The FiboSequ indicator marks significant days on a price chart based on the Fibonacci sequence. This can help traders identify potential turning points or areas of interest in the market. The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones, often found in nature and financial markets.
Fibonacci Sequence:
The sequence used in this indicator includes: 1, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, and 2584.
These numbers represent the days to be marked on the chart, highlighting possible significant market movements.
How It Works:
User Input:
Users can input the starting date (Year, Month, and Day) from which the Fibonacci sequence will begin to be calculated.
This allows flexibility and customization based on the trader's analysis needs.
Calculation:
The starting date is converted into a timestamp in seconds.
For each bar on the chart, the number of days since the starting date is calculated.
The indicator checks if the current day matches any of the Fibonacci sequence days, the previous day, or the next day.
In this indicator, Fibonacci numbers can be displayed on the chart as plus and minus 2 days. For example, for the 145th day, signals start to appear as 143,144 and 145. This is due to dates that sometimes coincide with weekends and public holidays.
Marking the Chart:
When a match is found, a label is placed above the bar indicating the day number from the Fibonacci sequence.
These labels are colored blue with white text for easy visibility.
Usage:
This indicator can be used on any timeframe and market to help identify potential areas where price might react.
It is especially useful for those who employ Fibonacci analysis in their trading strategy.
Example:
If the starting date is January 1, 2020, the indicator will mark significant Fibonacci days (e.g., 1, 3, 5, 8 days, etc.) on the chart from this date onward.
Community Guidelines Compliance:
This indicator adheres to TradingView's Pine Script community guidelines.
It provides customizable user inputs and does not violate any terms of use.
By using the FiboSequ indicator, traders can enhance their technical analysis by incorporating time-based Fibonacci levels, potentially leading to better market timing and decision-making.
Frequently Asked Questions (FAQ)
Q: What is the FiboSequ indicator?
A: The FiboSequ indicator is a technical analysis tool that marks significant days on a price chart based on the Fibonacci sequence. This indicator helps traders identify potential turning points or areas of interest in the market.
Q: What is the Fibonacci sequence and why is it important?
A: The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones. The first two numbers are 0 and 1. This sequence frequently appears in nature and financial markets and is used in technical analysis to identify important support and resistance levels.
Q: How do the Fibonacci time zones in the indicator work?
A: Fibonacci time zones are used to identify potential market turning points at specific time intervals. The indicator calculates days based on the Fibonacci sequence (e.g., 1, 3, 5, 8 days, etc.) from the starting date and marks them on the chart.
Q: How can users set the starting date?
A: Users can input the starting date by specifying the year, month, and day. This sets the date from which the indicator begins its calculations, providing flexibility for user analysis.
Q: What do the labels in the indicator represent?
A: The labels mark specific days in the Fibonacci sequence. For example, 1st day, 3rd day, 5th day, etc. These labels are displayed in blue with white text for easy visibility.
Q: Which timeframes can I use the FiboSequ indicator on?
A: The FiboSequ indicator can be used on any timeframe. This includes daily, weekly, or monthly charts, as well as shorter timeframes.
Q: Which markets can the FiboSequ indicator be used in?
A: The FiboSequ indicator can be used in various financial markets, including stocks, forex, cryptocurrencies, commodities, and more.
Q: How can I achieve better market timing with the FiboSequ indicator?
A: The FiboSequ indicator helps identify potential market turning points using time-based Fibonacci levels. This can lead to better market timing and more informed trading decisions for traders.
-Please feel free to write your valuable comments and opinions. I attach importance to your valuable opinions so that I can improve myself.
Dönemler
Bull Market Drawdowns V1.0 [ADRIDEM]Bull Market Drawdowns V1.0
Overview
The Bull Market Drawdowns V1.0 script is designed to help visualize and analyze drawdowns during a bull market. This script calculates the highest high price from a specified start date, identifies drawdown periods, and plots the drawdown areas on the chart. It also highlights the maximum drawdowns and marks the start of the bull market, providing a clear visual representation of market performance and potential risk periods.
Unique Features of the New Script
Default Timeframe Configuration: Allows users to set a default timeframe for analysis, providing flexibility in adapting the script to different trading strategies and market conditions.
Customizable Bull Market Start Date: Users can define the start date of the bull market, ensuring the script calculates drawdowns from a specific point in time that aligns with their analysis.
Drawdown Calculation and Visualization: Calculates drawdowns from the highest high since the bull market start date and plots the drawdown areas on the chart with distinct color fills for easy identification.
Maximum Drawdown Tracking and Labeling: Tracks the maximum drawdown for each period and places labels on the chart to indicate significant drawdowns, helping traders identify and assess periods of higher risk.
Bull Market Start Marker: Marks the start of the bull market on the chart with a label, providing a clear reference point for the beginning of the analysis period.
Originality and Usefulness
This script provides a unique and valuable tool by combining drawdown analysis with visual markers and customizable settings. By calculating and plotting drawdowns from a user-defined start date, traders can better understand the performance and risks associated with a bull market. The script’s ability to track and label maximum drawdowns adds further depth to the analysis, making it easier to identify critical periods of market retracement.
Signal Description
The script includes several key visual elements that enhance its usefulness for traders:
Drawdown Area : Plots the upper and lower boundaries of the drawdown area, filling the space between with a semi-transparent color. This helps traders easily identify periods of market retracement.
Maximum Drawdown Labels : Labels are placed on the chart to indicate the maximum drawdown for each period, providing clear markers for significant drawdowns.
Bull Market Start Marker : A label is placed at the start of the bull market, marking the beginning of the analysis period and helping traders contextualize the drawdown data.
These visual elements help quickly assess the extent and impact of drawdowns within a bull market, aiding in risk management and decision-making.
Detailed Description
Input Variables
Default Timeframe (`default_timeframe`) : Defines the timeframe for the analysis. Default is 720 minutes
Bull Market Start Date (`start_date_input`) : The starting date for the bull market analysis. Default is January 1, 2023
Functionality
Highest High Calculation : The script calculates the highest high price on the specified timeframe from the user-defined start date.
```pine
var float highest_high = na
if (time >= start_date)
highest_high := na(highest_high ) ? high : math.max(highest_high , high)
```
Drawdown Calculation : Determines the drawdown starting point and calculates the drawdown percentage from the highest high.
```pine
var float drawdown_start = na
if (time >= start_date)
drawdown_start := na(drawdown_start ) or high >= highest_high ? high : drawdown_start
drawdown = (drawdown_start - low) / drawdown_start * 100
```
Maximum Drawdown Tracking : Tracks the maximum drawdown for each period and places labels above the highest high when a new high is reached.
```pine
var float max_drawdown = na
var int max_drawdown_bar_index = na
if (time >= start_date)
if na(max_drawdown ) or high >= highest_high
if not na(max_drawdown ) and not na(max_drawdown_bar_index) and max_drawdown > 10
label.new(x=max_drawdown_bar_index, y=drawdown_start , text="Max -" + str.tostring(max_drawdown , "#") + "%",
color=color.red, style=label.style_label_down, textcolor=color.white, size=size.normal)
max_drawdown := 0
max_drawdown_bar_index := na
else
if na(max_drawdown ) or drawdown > max_drawdown
max_drawdown := drawdown
max_drawdown_bar_index := bar_index
```
Drawdown Area Plotting : Plots the drawdown area with upper and lower boundaries and fills the area with a semi-transparent color.
```pine
drawdown_area_upper = time >= start_date ? drawdown_start : na
drawdown_area_lower = time >= start_date ? low : na
p1 = plot(drawdown_area_upper, title="Drawdown Area Upper", color=color.rgb(255, 82, 82, 60), linewidth=1)
p2 = plot(drawdown_area_lower, title="Drawdown Area Lower", color=color.rgb(255, 82, 82, 100), linewidth=1)
fill(p1, p2, color=color.new(color.red, 90), title="Drawdown Fill")
```
Current Maximum Drawdown Label : Places a label on the chart to indicate the current maximum drawdown if it exceeds 10%.
```pine
var label current_max_drawdown_label = na
if (not na(max_drawdown) and max_drawdown > 10)
current_max_drawdown_label := label.new(x=bar_index, y=drawdown_start, text="Max -" + str.tostring(max_drawdown, "#") + "%",
color=color.red, style=label.style_label_down, textcolor=color.white, size=size.normal)
if (not na(current_max_drawdown_label))
label.delete(current_max_drawdown_label )
```
Bull Market Start Marker : Places a label at the start of the bull market to mark the beginning of the analysis period.
```pine
var label bull_market_start_label = na
if (time >= start_date and na(bull_market_start_label))
bull_market_start_label := label.new(x=bar_index, y=high, text="Bull Market Start", color=color.blue, style=label.style_label_up, textcolor=color.white, size=size.normal)
```
How to Use
Configuring Inputs : Adjust the default timeframe and start date for the bull market as needed. This allows the script to be tailored to different market conditions and trading strategies.
Interpreting the Indicator : Use the drawdown areas and labels to identify periods of significant market retracement. Pay attention to the maximum drawdown labels to assess the risk during these periods.
Signal Confirmation : Use the bull market start marker to contextualize drawdown data within the overall market trend. The combination of drawdown visualization and maximum drawdown labels helps in making informed trading decisions.
This script provides a detailed view of drawdowns during a bull market, helping traders make more informed decisions by understanding the extent and impact of market retracements. By combining customizable settings with visual markers and drawdown analysis, traders can better align their strategies with the underlying market conditions, thus improving their risk management and decision-making processes.
D9 IndicatorD9 Indicator
Category
Technical Indicators
Overview
The D9 Indicator is designed to identify potential trend reversals by counting the number of consecutive closes that are higher or lower than the close four bars earlier. This indicator highlights key moments in the price action where a trend might be exhausting and potentially reversing, providing valuable insights for traders.
Features
Up Signal: Plots a downward triangle or a cross above the bar when the count of consecutive closes higher than the close four bars earlier reaches 7, 8, or 9.
Down Signal: Plots an upward triangle or a checkmark below the bar when the count of consecutive closes lower than the close four bars earlier reaches 7, 8, or 9.
Visual Signals
Red Downward Triangle (7): Indicates the seventh consecutive bar with a higher close.
Red Downward Triangle (8): Indicates the eighth consecutive bar with a higher close.
Red Cross (❌): Indicates the ninth consecutive bar with a higher close, suggesting a potential bearish reversal.
Green Upward Triangle (7): Indicates the seventh consecutive bar with a lower close.
Green Upward Triangle (8): Indicates the eighth consecutive bar with a lower close.
Green Checkmark (✅): Indicates the ninth consecutive bar with a lower close, suggesting a potential bullish reversal.
Usage
The D9 Indicator is useful for traders looking for visual cues to identify potential trend exhaustion and reversals. It can be applied to any market and timeframe, providing flexibility in various trading strategies.
How to Read
When a red cross (❌) appears above a bar, it may signal an overextended uptrend and a potential bearish reversal.
When a green checkmark (✅) appears below a bar, it may signal an overextended downtrend and a potential bullish reversal.
Example
When the price has consecutively closed higher than four bars ago for nine bars, a red cross (❌) will appear above the ninth bar. This suggests that the uptrend might be exhausting, and traders could look for potential short opportunities. Conversely, when the price has consecutively closed lower than four bars ago for nine bars, a green checkmark (✅) will appear below the ninth bar, indicating a potential buying opportunity.
Bitcoin Rainbow WaveBitcoin ultimate price model:
1. Power Law + 2. Rainbow Narrowing Bands + 3. Halving Cycle Harmonic Wave + 3. Wave bands
This powerful tool is designed to help traders of all levels understand and navigate the Bitcoin market. It works exclusively with BTC on any timeframe, but looks best on weekly or daily charts. The indicator provides valuable insights into historical price behavior and offers forecasts for the next decade, making it essential for both mid-term and long-term strategies.
How the Model Works
Power Law (Logarithmic Trend) : The green line represents the expected long-term price trajectory of Bitcoin based on a logarithmic regression model (power law). This suggests that Bitcoin's price generally increases as a power of 5.44 over time passed.
Rainbow Chart : Colored bands around the power law trend line illustrate a range of potential price fluctuations. The bands narrow esponentially over time, indicating increasing model accuracy as Bitcoin matures. This chart visually identifies overbought and oversold zones, as well as fair value zones.
Blue Zone : Below the power law trend, indicating an undervalued condition and a potential buying zone.
Green Zone : Around the power law trend, suggesting fair value.
Yellow Zone : Above the power law trend, but within the rainbow bands. Exercise caution, as the price may be overextended.
Red Zone : Far above the power law trend, indicating strong overbought conditions. Consider taking profits or reducing exposure.
Halving Cycle Wave : The fuchsia line represents the cyclical wave component of the model, tied to Bitcoin's halving events (approximately every four years). This wave accounts for the price fluctuations that typically occur around halvings, with price tending to increase leading up to a halving and correct afterwards. The amplitude of the wave decreases over time as the impact of halvings potentially lessens. Additional bands around the wave show the expected range of price fluctuations, aiding traders in making informed decisions.
Customizing Parameters
You can fine-tune the model's appearance by adjusting these input parameters:
show Power Law (true/false): Toggle visibility of the power law trend line.
show Wave (true/false): Toggle visibility of the halving cycle wave.
show Rainbow Chart (true/false): Toggle visibility of the rainbow bands.
show Block Marks (true/false): Toggle visibility of the 70,000 block interval markers.
Using the Model in Your Trading Strategy
Combine this indicator with technical analysis, fundamental analysis, and risk management techniques to develop a comprehensive Bitcoin trading strategy. The model can help you identify potential entry and exit points, assess market sentiment, and manage risk based on Bitcoin's position relative to the power law trend, halving cycle wave, and rainbow chart zones.
PROWIN STUDY BITCOIN DOMINANCE CYCLE**Title: PROWIN STUDY BITCOIN DOMINANCE CYCLE**
**Overview:**
This TradingView script analyzes the relationship between Bitcoin dominance and Bitcoin price movements, as well as the performance of altcoins. It categorizes market conditions into different scenarios based on the movements of Bitcoin dominance and Bitcoin price, and plots the Exponential Moving Average (EMA) of the altcoins index.
**Key Components:**
1. **Bitcoin Dominance:**
- `dominanceBTC`: Fetches the Bitcoin dominance from the "CRYPTOCAP:BTC.D" symbol for the current timeframe.
2. **Bitcoin Price:**
- `priceBTC`: Uses the closing price of Bitcoin from the current chart (assumed to be BTC/USD).
3. **Altcoins Index:**
- `altcoinsIndex`: Fetches the total market cap of altcoins (excluding Bitcoin) from the "CRYPTOCAP:TOTAL2" symbol.
4. **EMA of Altcoins:**
- `emaAltcoins`: Calculates the 20-period Exponential Moving Average (EMA) of the altcoins index.
**Conditions:**
1. **Bitcoin Dominance and Price Up:**
- `dominanceBTC_up`: Bitcoin dominance crosses above its 20-period Simple Moving Average (SMA).
- `priceBTC_up`: Bitcoin price crosses above its 20-period SMA.
2. **Bitcoin Dominance Up and Price Down:**
- `priceBTC_down`: Bitcoin price crosses below its 20-period SMA.
3. **Bitcoin Dominance Up and Price Sideways:**
- `priceBTC_lateral`: Bitcoin price change is less than 5% of its 10-period average change.
4. **Altseason:**
- `altseason_condition`: Bitcoin dominance crosses below its 20-period SMA while Bitcoin price crosses above its 20-period SMA.
5. **Dump:**
- `dump_altcoins_condition`: Bitcoin dominance crosses below its 20-period SMA while Bitcoin price crosses below its 20-period SMA.
6. **Altcoins Up:**
- `altcoins_up_condition`: Bitcoin dominance crosses below its 20-period SMA while Bitcoin price moves sideways.
**Current Condition:**
- Determines the current market condition based on the above scenarios and stores it in the `currentCondition` variable.
**Plotting:**
- Plots the EMA of the altcoins index on the chart in green with a linewidth of 2.
- Displays the current market condition in a table at the top-right of the chart, with appropriate background and text colors.
**Background Color:**
- Sets a semi-transparent blue background color for the chart.
This script helps traders visualize and understand the market dynamics between Bitcoin dominance, Bitcoin price, and altcoin performance, providing insights into different market cycles and potential trading opportunities.
PROWIN STUDY BASIC CURRENT CANDLE TABLE**PROWIN STUDY BASIC CURRENT CANDLE TABLE**
**Description:**
The PROWIN STUDY BASIC CURRENT CANDLE TABLE indicator provides an insightful analysis of the current candle's volume and its comparative performance against the last 50 candles. This script includes several features designed to help traders understand volume trends and potential market direction.
**Key Features:**
1. **Volume Analysis**:
- Accesses the current candle's volume and compares it with the highest and lowest volumes over the past 50 candles.
- Calculates the average volume between the highest and lowest values for a better perspective.
2. **Candle Trend Identification**:
- Identifies whether the current candle is bullish or bearish by comparing the current close price with the previous close price.
3. **Average Volume Calculation**:
- Computes the average volume of bullish (green) and bearish (red) candles over the last 50 periods.
- Derives an average value between the green and red volume averages.
4. **Volume Slope Calculation**:
- Calculates the difference in volume averages (EMAs) between successive periods to determine the slope.
- Computes the angle of inclination for green, red, and average volume lines in degrees.
5. **Plotting**:
- Plots the average volumes of green and red candles as well as the combined average on the chart.
- Visualizes these metrics with color-coded lines for quick interpretation.
6. **Dynamic Table**:
- Displays a dynamic table on the chart that updates in real-time.
- Shows the angles of inclination for buy (green), sell (red), and average volume (blue) with corresponding background colors.
7. **Customizable Background**:
- Includes an option to set a semi-transparent background color for the chart, enhancing visual clarity.
This indicator is designed to help traders gain deeper insights into market volume dynamics and make more informed trading decisions. Whether you're analyzing short-term movements or long-term trends, the PROWIN STUDY BASIC CURRENT CANDLE TABLE offers valuable data at a glance.
Wall Street Cheat Sheet IndicatorThe Wall Street Cheat Sheet Indicator is a unique tool designed to help traders identify the psychological stages of the market cycle based on the well-known Wall Street Cheat Sheet. This indicator integrates moving averages and RSI to dynamically label market stages, providing clear visual cues on the chart.
Key Features:
Dynamic Stage Identification: The indicator automatically detects and labels market stages such as Disbelief, Hope, Optimism, Belief, Thrill, Euphoria, Complacency, Anxiety, Denial, Panic, Capitulation, Anger, and Depression. These stages are derived from the emotional phases of market participants, helping traders anticipate market movements.
Technical Indicators: The script uses two key technical indicators:
200-day Simple Moving Average (SMA): Helps identify long-term market trends.
50-day Simple Moving Average (SMA): Aids in recognizing medium-term trends.
Relative Strength Index (RSI): Assesses the momentum and potential reversal points based on overbought and oversold conditions.
Clear Visual Labels: The current market stage is displayed directly on the chart, making it easy to spot trends and potential turning points.
Usefulness:
This indicator is not just a simple mashup of existing tools. It uniquely combines the concept of market psychology with practical technical analysis tools (moving averages and RSI). By labeling the psychological stages of the market cycle, it provides traders with a deeper understanding of market sentiment and potential future movements.
How It Works:
Disbelief: Detected when the price is below the 200-day SMA and RSI is in the oversold territory, indicating a potential bottom.
Hope: Triggered when the price crosses above the 50-day SMA, with RSI starting to rise but still below 50, suggesting an early uptrend.
Optimism: Occurs when the price is above the 50-day SMA and RSI is between 50 and 70, indicating a strengthening trend.
Belief: When the price is well above the 50-day SMA and RSI is between 70 and 80, showing strong bullish momentum.
Thrill and Euphoria: Identified when RSI exceeds 80, indicating overbought conditions and potential for a peak.
Complacency to Depression: These stages are identified based on price corrections and drops relative to moving averages and declining RSI values.
Best Practices:
High-Time Frame Focus: This indicator works best on high-time frame charts, specifically the 1-week Bitcoin (BTCUSDT) chart. The longer time frame provides a clearer picture of the overall market cycle and reduces noise.
Trend Confirmation: Use in conjunction with other technical analysis tools such as trendlines, Fibonacci retracement levels, and support/resistance zones for more robust trading strategies.
How to Use:
Add the Indicator: Apply the Wall Street Cheat Sheet Indicator to your TradingView chart.
Analyze Market Stages: Observe the dynamic labels indicating the current stage of the market cycle.
Make Informed Decisions: Use the insights from the indicator to time your entries and exits, aligning your trades with the market sentiment.
This indicator is a valuable tool for traders looking to understand market psychology and make informed trading decisions based on the stages of the market cycle.
AMDX/XAMD indicatorThe AMDX/XAMD indicator is designed to highlight specific trading sessions on the chart using distinct colors and optional vertical lines. Users can choose between two session types, AMDX or XAMD, and customize the visual appearance of the sessions. This tool is particularly useful for traders who want to analyze market behavior during different trading periods.
Meaning of AMDX:
A: Accumulation
M: Manipulation
D: Distribution
X: Continuation Or Reversal
Features:
Session Highlighting:
AMDX Sessions: Split into four segments - A, M, D, X.
XAMD Sessions: Split into four segments - X, A, M, D.
Customizable Colors:
Choose individual colors for each session (A, M, D, X).
Adjust the transparency of the session boxes for better visual integration with the chart.
Drawing Styles:
Box Style: Draws colored boxes around the session ranges.
Line Style: Draws vertical lines at session start and end times.
Vertical Lines:
Option to enable or disable vertical lines at session boundaries.
Customizable line style: Solid, Dotted, or Dashed.
Session Labels:
Automatically labels each session for easy identification.
Customization Options:
Session Type: Select between AMDX and XAMD session types.
Colors: Set custom colors for each session and vertical lines.
Border Width: Adjust the width of the session box borders.
Transparency: Control the transparency level of the session boxes.
Drawing Style: Choose between Box and Line styles for session representation.
Vertical Lines: Enable or disable vertical lines and select the line style.
How It Works:
The indicator calculates the start and end times for each session based on the selected session type (AMDX or XAMD). It then draws either boxes or lines to highlight these sessions on the chart. The indicator also includes options to draw vertical lines at the session boundaries and labels each session with a corresponding letter (A, M, D, X).
Use Cases:
Market Session Analysis: Easily identify and analyze market behavior during different trading sessions.
Intraday Trading: Helps intraday traders to focus on specific time segments of the trading day.
Visual Segmentation: Provides a clear visual segmentation of the trading day, aiding in better decision-making.
Times for AMDX/XAMD session:
A Session: 18:00 (previous day) to 03:00 (current day)
M Session: 03:00 to 09:00
D Session: 09:00 to 12:00
X Session: 12:00 to 18:00
Time for the XAMD session :
X Session: 18:00 (previous day) to 00:00 (current day)
A Session: 00:00 to 09:00
M Session: 09:00 to 12:00
D Session: 12:00 to 18:00
trend_switch
█ Description
Asset price data was time series data, commonly consisting of trends, seasonality, and noise. Many applicable indicators help traders to determine between trend or momentum to make a better trading decision based on their preferences. In some cases, there is little to no clear market direction, and price range. It feels much more appropriate to use a shorter trend identifier, until clearly defined market trend. The indicator/strategy developed with the notion aims to automatically switch between shorter and longer trend following indicator. There were many methods that can be applied and switched between, however in this indicator/strategy will be limited to the use of predictive moving average and MESA adaptive moving average (Ehlers), by first determining if there is a strong trend identified by calculating the slope, if slope value is between upper and lower threshold assumed there is not much price direction.
█ Formula
// predictive moving average
predict = (2*wma1-wma2)
trigger = (4*predict+3*predict +2*predict *predict)
// MESA adaptive moving average
mama = alpha*src+(1-alpha)*mama
fama = .5*alpha*mama+(1-.5-alpha)*fama
█ Feature
The indicator will have a specified default parameter of:
source = ohlc4
lookback period = 10
threshold = 10
fast limit = 0.5
slow limit = 0.05
Strategy type can be switched between Long/Short only and Long-Short strategy
Strategy backtest period
█ How it works
If slope between the upper (red) and lower (green) threshold line, assume there is little to no clear market direction, thus signal predictive moving average indicator
If slope is above the upper (red) or below the lower (green) threshold line, assume there is a clear trend forming, the signal generated from the MESA adaptive moving average indicator
█ Example 1 - Slope fall between the Threshold - activate shorter trend
█ Example 2 - Slope fall above/below Threshold - activate longer trend
Retail Sales v Inflation YoYAre high retail sales increases really positive if the inflation rate is higher?
This year over year indicator of retail sales versus inflation levels can be placed in concert with any security to determine how symbols trade when inflation or retail sales are higher. A green histogram is when retail sales are higher than the inflation rate on a year over year basis. Red indicates inflation is higher rate.
The indicator can work with any symbols to see divergences. Feel free to change the positive and negative symbols to run other comparisons.
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.
Ichimoku Theories [LuxAlgo]The Ichimoku Theories indicator is the most complete Ichimoku tool you will ever need. Four tools combined into one to harness all the power of Ichimoku Kinkō Hyō.
This tool features the following concepts based on the work of Goichi Hosoda:
Ichimoku Kinkō Hyō: Original Ichimoku indicator with its five main lines and kumo.
Time Theory: automatic time cycle identification and forecasting to understand market timing.
Wave Theory: automatic wave identification to understand market structure.
Price Theory: automatic identification of developing N waves and possible price targets to understand future price behavior.
🔶 ICHIMOKU KINKŌ HYŌ
Ichimoku with lines only, Kumo only and both together
Let us start with the basics: the Ichimoku original indicator is a tool to understand the market, not to predict it, it is a trend-following tool, so it is best used in trending markets.
Ichimoku tells us what is happening in the market and what may happen next, the aim of the tool is to provide market understanding, not trading signals.
The tool is based on calculating the mid-point between the high and low of three pre-defined ranges as the equilibrium price for short (9 periods), medium (26 periods), and long (52 periods) time horizons:
Tenkan sen: middle point of the range of the last 9 candles
Kinjun sen: middle point of the range of the last 26 candles
Senkou span A: middle point between Tankan Sen and Kijun Sen, plotted 26 candles into the future
Senkou span B: midpoint of the range of the last 52 candles, plotted 26 candles into the future
Chikou span: closing price plotted 26 candles into the past
Kumo: area between Senkou pans A and B (kumo means cloud in Japanese)
The most basic use of the tool is to use the Kumo as an area of possible support or resistance.
🔶 TIME THEORY
Current cycles and forecast
Time theory is a critical concept used to identify historical and current market cycles, and use these to forecast the next ones. This concept is based on the Kihon Suchi (translating to "Basic Numbers" in Japanese), these are 9 and 26, and from their combinations we obtain the following sequence:
9, 17, 26, 33, 42, 51, 65, 76, 129, 172, 200, 257
The main idea is that the market moves in cycles with periods set by the Kihon Suchi sequence.
When the cycle has the same exact periods, we obtain the Taito Suchi (translating to "Same Number" in Japanese).
This tool allows traders to identify historical and current market cycles and forecast the next one.
🔹 Time Cycle Identification
Presentation of 4 different modes: SWINGS, HIGHS, KINJUN, and WAVES .
The tool draws a horizontal line at the bottom of the chart showing the cycles detected and their size.
The following settings are used:
Time Cycle Mode: up to 7 different modes
Wave Cycle: Which wave to use when WAVE mode is selected, only active waves in the Wave Theory settings will be used.
Show Time Cycles: keep a cleaner chart by disabling cycles visualisation
Show last X time cycles: how many cycles to display
🔹 Time Cycle Forecast
Showcasing the two forecasting patterns: Kihon Suchi and Taito Suchi
The tool plots horizontal lines, a solid anchor line, and several dotted forecast lines.
The following settings are used:
Show time cycle forecast: to keep things clean
Forecast Pattern: comes in two flavors
Kihon Suchi plots a line from the anchor at each number in the Kihon Suchi sequence.
Taito Suchi plot lines from the anchor with the same size detected in the anchored cycle
Anchor forecast on last X time cycle: traders can place the anchor in any detected cycle
🔶 WAVE THEORY
All waves activated with overlapping
The main idea behind this theory is that markets move like waves in the sea, back and forth (making swing lows and highs). Understanding the current market structure is key to having realistic expectations of what the market may do next. The waves are divided into Simple and Complex.
The following settings are used:
Basic Waves: allows traders to activate waves I, V and N
Complex Waves: allows traders to activate waves P, Y and W
Overlapping waves: to avoid missing out on any of the waves activated
Show last X waves: how many waves will be displayed
🔹 Basic Waves
The three basic waves
The basic waves from which all waves are made are I, V, and N
I wave: one leg moves
V wave: two legs move, one against the other
N wave: Three legs move, push, pull back, and another push
🔹 Complex Waves
Three complex waves
There are other waves like
P wave: contracting market
Y wave: expanding market
W wave: double top or double bottom
🔶 PRICE THEORY
All targets for the current N wave with their calculations
This theory is based on identifying developing N waves and predicting potential price targets based on that developing wave.
The tool displays 4 basic targets (V, E, N, and NT) and 3 extended targets (2E and 3E) according to the calculations shown in the chart above. Traders can enable or disable each target in the settings panel.
🔶 USING EVERYTHING TOGETHER
Please DON'T do this. This is not how you use it
Now the real example:
Daily chart of Nasdaq 100 futures (NQ1!) with our Ichimoku analysis
Time, waves, and price theories go together as one:
First, we identify the current time cycles and wave structure.
Then we forecast the next cycle and possible key price levels.
We identify a Taito Suchi with both legs of exactly 41 candles on each I wave, both together forming a V wave, the last two I waves are part of a developing N wave, and the time cycle of the first one is 191 candles. We forecast this cycle into the future and get 22nd April as a key date, so in 6 trading days (as of this writing) the market would have completed another Taito Suchi pattern if a new wave and time cycle starts. As we have a developing N wave we can see the potential price targets, the price is actually between the NT and V targets. We have a bullish Kumo and the price is touching it, if this Kumo provides enough support for the price to go further, the market could reach N or E targets.
So we have identified the cycle and wave, our expectations are that the current cycle is another Taito Suchi and the current wave is an N wave, the first I wave went for 191 candles, and we expect the second and third I waves together to amount to 191 candles, so in theory the N wave would complete in the next 6 trading days making a swing high. If this is indeed the case, the price could reach the V target (it is almost there) or even the N target if the bulls have the necessary strength.
We do not predict the future, we can only aim to understand the current market conditions and have future expectations of when (time), how (wave), and where (price) the market will make the next turning point where one side of the market overcomes the other (bulls vs bears).
To generate this chart, we change the following settings from the default ones:
Swing length: 64
Show lines: disabled
Forecast pattern: TAITO SUCHI
Anchor forecast: 2
Show last time cycles: 5
I WAVE: enabled
N WAVE: disabled
Show last waves: 5
🔶 SETTINGS
Show Swing Highs & Lows: Enable/Disable points on swing highs and swing lows.
Swing Length: Number of candles to confirm a swing high or swing low. A higher number detects larger swings.
🔹 Ichimoku Kinkō Hyō
Show Lines: Enable/Disable the 5 Ichimoku lines: Kijun sen, Tenkan sen, Senkou span A & B and Chikou Span.
Show Kumo: Enable/Disable the Kumo (cloud). The Kumo is formed by 2 lines: Senkou Span A and Senkou Span B.
Tenkan Sen Length: Number of candles for Tenkan Sen calculation.
Kinjun Sen Length: Number of candles for the Kijun Sen calculation.
Senkou Span B Length: Number of candles for Senkou Span B calculation.
Chikou & Senkou Offset: Number of candles for Chikou and Senkou Span calculation. Chikou Span is plotted in the past, and Senkou Span A & B in the future.
🔹 Time Theory
Show Time Cycle Forecast: Enable/Disable time cycle forecast vertical lines. Disable for better performance.
Forecast Pattern: Choose between two patterns: Kihon Suchi (basic numbers) or Taito Suchi (equal numbers).
Anchor forecast on last X time cycle: Number of time cycles in the past to anchor the time cycle forecast. The larger the number, the deeper in the past the anchor will be.
Time Cycle Mode: Choose from 7 time cycle detection modes: Tenkan Sen cross, Kijun Sen cross, Kumo change between bullish & bearish, swing highs only, swing lows only, both swing highs & lows and wave detection.
Wave Cycle: Choose which type of wave to detect from 6 different wave types when the time cycle mode is set to WAVES.
Show Time Cycles: Enable/Disable time cycle horizontal lines. Disable for better performance.
how last X time cycles: Maximum number of time cycles to display.
🔹 Wave Theory
Basic Waves: Enable/Disable the display of basic waves, all at once or one at a time. Disable for better performance.
Complex Waves: Enable/Disable complex wave display, all at once or one by one. Disable for better performance.
Overlapping Waves: Enable/Disable the display of waves ending on the same swing point.
Show last X waves: 'Maximum number of waves to display.
🔹 Price Theory
Basic Targets: Enable/Disable horizontal price target lines. Disable for better performance.
Extended Targets: Enable/Disable extended price target horizontal lines. Disable for better performance.
Untested Levels Dynamic Timeframes**WORKS BEST ON 30M TIMEFRAME**
This indicator, titled "Untested Levels with Timeframes" is designed to identify and visualize price levels within different timeframes that have not been tested recently. Here's a breakdown of its benefits and usage:
Identifying Untested Price Levels: The indicator helps traders identify support and resistance levels that haven't been tested for a specified period within different timeframes. This can be valuable because untested levels may represent potential areas where price could reverse or encounter significant movement.
Customizable Timeframes: The indicator allows users to specify different timeframes (e.g., 30 minutes, 1 hour, 4 hours, daily) for analyzing untested levels. This flexibility enables traders to adapt the tool to their trading style and preferences.
Visual Representation: Untested levels are plotted on the chart as rays extending to the right. This visual representation makes it easy for traders to identify and assess these levels at a glance, enhancing their chart analysis process.
Dynamic Management: The indicator dynamically manages untested and tested levels over time, ensuring that traders focus on the most relevant price levels within each timeframe. This feature helps prevent clutter on the chart and maintains the indicator's effectiveness.
Potential Trading Opportunities: By identifying untested levels, traders may uncover potential trading opportunities, such as entering trades near untested support or resistance levels or waiting for confirmation of a breakout or reversal at these levels.
Risk Management: Understanding untested levels can also assist in risk management by providing traders with additional context when setting stop-loss levels or determining the risk-reward ratio for a trade.
Overall, this indicator can be a valuable tool for traders seeking to enhance their technical analysis and identify potential trading opportunities based on untested price levels across different timeframes. However, like any trading tool, it's essential to combine it with other analysis techniques and thoroughly backtest it to assess its effectiveness within your trading strategy.
Single Prints - BrightSingle Prints - Bright is a Pine Script indicator designed to identify and visualize significant price levels based on the concept of "single prints." Single prints are price levels where trading activity occurred but with little or no follow-up trading. This indicator plots these levels as lines on the chart, allowing traders to easily identify areas of potential support and resistance.
Features:
Customizable Line Distance: Adjust the distance between single print lines to suit your trading style and time frame.
Maximum Array Size: Set the maximum number of single print lines to be displayed on the chart.
Remove Gaps: Option to remove lines if the price gaps over them.
Multiple Time Frames: Choose to display single prints for daily, weekly, monthly, or yearly sessions.
Color Gradient: Lines are color-coded from red (oldest) to green (newest), providing a visual indication of their relative age.
Thicker, Lime-Colored Lines: Improved visibility with thicker lines and a more lime-like color scheme for easier identification on the chart.
How to Use:
Adding the Indicator:
Open TradingView and navigate to the chart where you want to apply the indicator.
Click on "Indicators" in the top menu.
Select "Pine Editor" and paste the provided Pine Script code into the editor.
Click "Add to Chart" to apply the indicator to your chart.
Configuring the Indicator:
Distance Between Lines (i_line_distance): Set the distance between single print lines. Adjust this value based on the volatility and time frame of the asset you are trading.
Maximum Array Size (i_max_array): Define the maximum number of single print lines to be displayed on the chart. This helps in managing the clutter on the chart.
Remove Gaps (i_remove_gaps): Enable or disable the option to remove lines if the price gaps over them.
Show Daily Single Prints (ShowDailySP): Enable or disable the display of daily single print lines.
Show Daily Extended Single Prints (ShowDailyExtendSP): Enable or disable the display of extended daily single print lines.
Show Weekly Single Prints (ShowWeeklySP): Enable or disable the display of weekly single print lines.
Show Monthly Single Prints (ShowMonthlySP): Enable or disable the display of monthly single print lines.
Show Yearly Single Prints (ShowYearlySP): Enable or disable the display of yearly single print lines.
Interpreting the Lines:
Color Gradient: The lines are color-coded to indicate their relative age. Red lines are the oldest, transitioning through orange and yellow to green, which are the newest. This color gradient helps in identifying how long a particular level has been significant.
Support and Resistance: Use the lines as potential support and resistance levels. Multiple lines close together indicate stronger levels of support or resistance.
Volatility Analysis: The number of lines within a gap can provide insights into market volatility. More lines indicate higher volatility and multiple potential reversal points within that range.
Trading Strategies:
Entry Points: Consider using the single print lines as entry points. For example, if the price approaches a support level with multiple lines, it may be a good buying opportunity.
Stop Loss and Take Profit: Use the single print lines to set stop-loss and take-profit levels. Placing stop-loss orders below multiple support lines can provide additional protection.
Trend Analysis: Analyze the overall trend and momentum in conjunction with the single print lines to make informed trading decisions. If the price is in an uptrend and approaching resistance lines, watch for potential breakouts or reversals.
Olegorov: Volume + EMAThis script creates an indicator that displays the volume of each interval along with two Exponential Moving Averages (EMAs). Here's how the code works:
Interval Length and EMA Lengths: Users can specify the length of each interval in candles and the lengths of two EMAs (EMA 1 and EMA 2) using input parameters.
Calculating EMAs: The script calculates two EMAs (ema1 and ema2) based on the closing prices of the candles. The lengths of these EMAs are determined by the user inputs.
Calculating Interval Volume: The calcIntervalVolume() function calculates the total volume for the current interval by summing up the volume of the past intervalLength candles.
Plotting Volume: The script plots the total volume of the current interval on the chart using plot(). The volume is displayed as an area plot with the specified color and transparency.
Comparing Current and Previous Intervals: The script compares the total volume of the current interval with that of the previous interval. If the current interval's volume is less than the previous interval's volume, it sets a boolean variable isCurrentLessThanPrevious to true; otherwise, it sets it to false.
Comparing EMAs: It compares the values of ema1 and ema2. If ema1 is greater than ema2, it sets the boolean variable isEMA1GreaterThanEMA2 to true; otherwise, it sets it to false.
Coloring the Background: Based on the comparison results, the script colors the background of the chart. If the current interval's volume is less than the previous interval's volume and ema1 is greater than ema2, it colors the background green. If the current interval's volume is less than the previous interval's volume and ema1 is less than ema2, it colors the background red. Otherwise, it colors the background gray.
This indicator can be useful for identifying periods of high and low volume relative to the previous interval, along with the relationship between two EMAs. It can be used in various trading strategies, such as trend following or momentum trading, where volume and moving averages play important roles in decision-making. For example, traders might look for bullish signals when the current interval's volume is higher than the previous interval's volume and ema1 is above ema2, indicating potential upward momentum. Conversely, bearish signals might be considered when the current interval's volume is lower than the previous interval's volume and ema1 is below ema2, suggesting potential downward momentum.
Seasonality Widget [LuxAlgo]The Seasonality Widget tool allows users to easily visualize seasonal trends from various data sources.
Users can select different levels of granularity as well as different statistics to express seasonal trends.
🔶 USAGE
Seasonality allows us to observe general trends occurring at regular intervals. These intervals can be user-selected from the granularity setting and determine how the data is grouped, these include:
Hour
Day Of Week
Day Of Month
Month
Day Of Year
The above seasonal chart shows the BTCUSD seasonal price change for every hour of the day, that is the average price change taken for every specific hour. This allows us to obtain an estimate of the expected price move at specific hours of the day.
Users can select when data should start being collected using the "From Date" setting, any data before the selected date will not be included in the calculation of the Seasonality Widget.
🔹 Data To Analyze
The Seasonality Widget can return the seasonality for the following data:
Price Change
Closing price minus the previous closing price.
Price Change (%)
Closing price minus the previous closing price, divided by the
previous closing price, then multiplied by 100.
Price Change (Sign)
Sign of the price change (-1 for negative change, 1 for positive change), normalized in a range (0, 100). Values above 50 suggest more positive changes on average.
Range
High price minus low price.
Price - SMA
Price minus its simple moving average. Users can select the SMA period.
Volume
Amount of contracts traded. Allow users to see which periods are generally the most /least liquid.
Volume - SMA
Volume minus its simple moving average. Users can select the SMA period.
🔹 Filter
In addition to the "From Date" threshold users can exclude data from specific periods of time, potentially removing outliers in the final results.
The period type can be specified in the "Filter Granularity" setting. The exact time to exclude can then be specified in the "Numerical Filter Input" setting, multiple values are supported and should be comma separated.
For example, if we want to exclude the entire 2008 period we can simply select "Year" as filter granularity, then input 2008 in the "Numerical Filter Input" setting.
Do note that "Sunday" uses the value 1 as a day of the week.
🔶 DETAILS
🔹 Supported Statistics
Users can apply different statistics to the grouped data to process. These include:
Mean
Median
Max
Min
Max-Min Average
Using the median allows for obtaining a measure more robust to outliers and potentially more representative of the actual central tendency of the data.
Max and Min do not express a general tendency but allow obtaining information on the highest/lowest value of the analyzed data for specific periods.
🔶 SETTINGS
Granularity: Periods used to group data.
From Data: Starting point where data starts being collected
🔹 Data
Analyze: Specific data to be processed by the seasonality widget.
SMA Length: Period of the simple moving average used for "Price - SMA" and "Volume - SMA" options in "Analyze".
Statistic: Statistic applied to the grouped data.
🔹 Filter
Filter Granularity: Period type to exclude in the processed data.
Numerical Filter Input: Determines which of the selected hour/day of week/day of month/month/year to exclude depending on the selected Filter Granularity. Only numerical inputs can be provided. Multiple values are supported and must be comma-separated.
NY Killzone (Morning, Lunch, Afternoon)Indicator for New York session that splits Morning, Lunch and Afternoon part of the session.
Works on Time Frames of 30m and below.
Bulls And Bears [CHE]This Pine Script™ indicator, Bulls And Bears , aims to provide traders with potential entry points by analyzing market conditions. Here's how it works:
Calculation of Maximum and Minimum Values: The script calculates the highest and lowest values based on the high, open, close, and low prices of the asset.
Relative Strength Index (RSI) Condition: It evaluates whether the RSI value (with a period of 14) is above 50, indicating bullish momentum.
Bullish and Bearish Conditions: Based on the calculated maximum and minimum values, along with the RSI condition, it determines bullish and bearish conditions. If the current maximum value is higher than the previous maximum and the RSI condition is met, it suggests a bullish condition. Conversely, if the current maximum value is lower than the previous maximum and the RSI condition is not met, it suggests a bearish condition.
Super Smoother Function: This function is used to calculate a smoother moving average, reducing noise in the data.
Input Parameters: Traders can adjust the "Length Difference" and "Length threshold" parameters to customize the indicator according to their trading preferences.
Calculation of Super Smooth Moving Averages: The script calculates super smooth moving averages for both bullish and bearish conditions.
Plotting: It plots the super smooth moving averages on the chart, indicating potential entry points for bullish (green) and bearish (red) conditions.
Filling Areas: It fills the areas between the moving averages and the threshold line based on the conditions. Green filling represents bullish conditions, while red filling represents bearish conditions.
By using this indicator, traders can potentially identify favorable entry points based on market conditions, helping them make informed trading decisions.
Wyckoff Method IndicatorThe Wyckoff Method Market Cycle Indicator is a powerful tool designed to help traders identify the current market phase based on the principles of the Wyckoff Method. This indicator analyzes price action and volume patterns to determine whether the market is in an accumulation, markup, distribution, or markdown phase.
The Wyckoff Method, developed by Richard D. Wyckoff, is a time-tested approach to understanding market dynamics and identifying potential trading opportunities. By studying the interaction between price and volume, the Wyckoff Method aims to provide insight into the actions of market participants and the potential direction of the market.
This indicator automatically detects the key market phases as defined by the Wyckoff Method:
Accumulation: This phase occurs when large institutional investors are quietly accumulating positions, often leading to a period of consolidation with low volatility and decreasing volume.
Markup: Following the accumulation phase, the markup phase is characterized by a breakout above the accumulation range, accompanied by increasing volume. This indicates a potential bullish trend.
Distribution: After a significant price advance, the distribution phase emerges. It is marked by high volatility and increasing volume as large investors begin to distribute their holdings to the public.
Markdown: The markdown phase follows the distribution phase and is characterized by a breakdown below the distribution range, accompanied by increasing volume. This suggests a potential bearish trend.
The indicator plots the detected market phases on the chart using the following signals:
Green triangle pointing upwards: Accumulation phase
Blue triangle pointing downwards: Markup phase
Red triangle pointing downwards: Distribution phase
Orange triangle pointing upwards: Markdown phase
By utilizing this indicator, traders can gain valuable insights into the underlying market structure and make more informed trading decisions. However, it is important to note that the Wyckoff Method Market Cycle Indicator should be used in conjunction with other technical analysis tools and risk management strategies.
The indicator provides two input parameters:
Lookback Period: The number of bars used to calculate the volatility and determine the market phases. The default value is 50.
Volume Condition Multiple: The multiple used to compare the current volume with the volume of the lookback period. The default value is 2.
Traders can adjust these parameters to suit their specific trading style and the characteristics of the asset being analyzed.
Please note that this indicator is intended for educational and informational purposes only. It does not constitute financial advice. Always conduct your own analysis and exercise proper risk management when trading.
Happy trading!
Session TimesDescription:
This indicator simply when enabled will draw dashed lines at each of the session openings. This is based on UTC+1 Time. There will be lines at 00:00 & 08:00 (Asian Session), lines at 08:00 & 13:00 (London Session) and finally lines at 13:00 & 00:00 (New York Session).
Potential Use:
There are many ways you could use this indicator to benefit your trading, but the best way I find is that it makes it clear where the previous highs and lows are of a session, which are potential areas you could trade off. Obviously, there are many other ways you can use this to help you.
How The Script Works:
The way the script works isn't too complicated as it is only a short script. Simply it firstly calculates what are the weekdays (Whenever it isn't Saturday or Sunday). Then from there simply finds the times which I mentioned above, and adds a vertical dashed line there.
Future Updates:
In the future I will mainly be looking to make the indicator more customisable. Firstly, I will look to make it so that the user can adjust the times that the lines are drawn at so it still works wherever you are in the world. I would also like to make it so the user can choose the colour of the lines. If you have any other additions you would like added to this, then feel free to message me.
CME Gap Detector [CryptoSea]The CME Gap Indicator , is a tool designed to identify and visualize potential price gaps in the cryptocurrency market, particularly focusing on gaps that occur during the weekend trading sessions. By highlighting these gaps, traders can gain insights into potential market movements and anticipate price behavior.
Key Features
Gap Identification: The indicator identifies gaps in price between the Friday close and the subsequent opening price on Monday. It plots these gaps on the chart, allowing traders to easily visualize and analyze their significance.
Weekend Price Comparison: It compares the closing price on Friday with the opening price on Monday to determine whether a gap exists and its magnitude.
Customizable Visualization: Traders have the option to customize the visualization of the gaps, including the color scheme for better clarity and visibility on the chart.
Neutral Candle Color Option: Users can choose to display neutral candle colors, enhancing the readability of the chart and reducing visual clutter.
How it Works
Data Fetching and Calculation: The indicator fetches the daily close price and calculates whether a gap exists between the Friday close and the subsequent Monday opening price.
Plotting: It plots the current price and the previous Friday's close on the chart, making it easy for traders to compare and analyze.
Gradient Fill: The indicator incorporates a gradient fill feature to visually represent the magnitude of the gap, providing additional insights into market sentiment.
Weekend Line Logic: It includes logic to identify Sunday bars and mark them on the chart, aiding traders in distinguishing weekend trading sessions.
Application
Gap Trading Strategy: Traders can use the identified gaps as potential entry or exit points in their trading strategies, considering the tendency of price to fill gaps over time.
Market Sentiment Analysis: Analyzing the presence and size of weekend gaps can provide valuable insights into market sentiment and participant behavior.
Risk Management: Understanding the existence and significance of gaps can help traders manage their risk exposure and make informed decisions.
The CME Gap indicator offers traders a valuable tool for analyzing weekend price gaps in the cryptocurrency market, empowering them to make informed trading decisions and capitalize on market opportunities.
Advanced MACD [CryptoSea]Advanced MACD (AMACD) enhances the traditional MACD indicator, integrating innovative features for traders aiming for deeper insights into market momentum and sentiment. It's crafted for those seeking to explore nuanced behaviors of the MACD histogram, thus offering a refined perspective on market dynamics.
Divergence moves can offer insight into continuation or potential reversals in structure, the example below is a clear continuation signal.
Key Features
Enhanced Histogram Analysis: Precisely tracks movements of the MACD histogram, identifying growth or decline periods, essential for understanding market momentum.
High/Low Markers: Marks the highest and lowest points of the histogram within a user-defined period, signaling potential shifts in the market.
Dynamic Averages Calculation: Computes average durations of histogram phases, providing a benchmark against historical performance.
Color-Coded Histogram: Dynamically adjusts the histogram's color intensity based on the current streak's duration relative to its average, offering a visual cue of momentum strength.
Customisable MACD Settings: Enables adjustments to MACD parameters, aligning with individual trading strategies.
Interactive Dashboard: Showcases an on-chart table with average durations for each phase, aiding swift decision-making.
Settings & Customisation
MACD Settings: Customise fast length, slow length, and signal smoothing to tailor the MACD calculations to your trading needs.
Reset Period: Determine the number of bars to identify the histogram's significant high and low points.
Histogram High/Lows: Option to display critical high and low levels of the histogram for easy referencing.
Candle Colours: Select between neutral or traditional candle colors to match your analytical preferences.
When in strong trends, you can use the average table to determine when to look to get into a position. This example we are in a strong downtrend, we then see the histogram growing above the average in these conditions which is where we should look to get into a shorting position.
Strategic Applications
The AMACD serves not just as an indicator but as a comprehensive analytical tool for spotting market trends, momentum shifts, and potential reversal points. It's particularly useful for traders to:
Spot Momentum Changes Utilise dynamic coloring and streak tracking to alert shifts in momentum, helping anticipate market movements.
Identify Market Extremes Use high and low markers to spot potential market turning points, aiding in risk management and decision-making.
Alert Conditions
Above Average Movement Alerts: Triggered when the duration of the MACD histogram's growth or decline is unusually long, these alerts signal sustained momentum:
Above Zero: Alerts for both growing and declining movements above zero, indicating either continued bullish trends or potential bearish reversals.
Below Zero: Alerts for growth and decline below zero, pointing to potential bullish reversals or confirmed bearish trends.
High/Low Break Alerts: Activated when the histogram reaches new highs or falls to new lows beyond the set thresholds, these alerts are crucial for identifying shifts in market dynamics:
Break Above Last High: Indicates a potential upward trend as the histogram surpasses recent highs.
Break Below Last Low: Warns of a possible downward trend as the histogram drops below recent lows.
These alert conditions enable traders to automate part of their market monitoring or potential to automate the signals to take action elsewhere.
RSI w/Hann WindowingThis RSI by John Ehlers of "Yet Another" Improved RSI. Taking advantage of the Hann windowing. As seen on PRC and published by John Ehlers, it has a zero mean and appears smoother than the classic RSI. In his own words " I prefer oscillator-type indicators to have a zero mean. We can achieve this simply by multiplying the classic RSI by 2 so it swings from 0 to 2, and then subtract 1 from the product so the indicator swings from -1 to +1." Ehlers goes on to say " Bear in mind 14 may not be the best length to analysis. So, the best length to use for the RSIH indicator is on the order of the dominant cycle period of the data."
This indicator works well with both bullish and bearish divergences. It also works well with oversold and overbought indications. Shown by the Red zone on top (Overbought) and the green zone on the bottom(oversold). Each which have an adjustable buffer zone. You may need to adjust the length of the RSIH to suit your asset. There are also multiply signal line's to choose from. Also take note of when the RSIH crosses up or down on the signal line.
None of this is financial advice.