FalconRed 5 EMA Indicator (Powerofstocks)Improved version:
This indicator is based on Subhashish Pani's "Power of Stocks" 5 EMA Strategy, which aims to identify potential buying and selling opportunities in the market. The indicator plots the 5 EMA (Exponential Moving Average) and generates Buy/Sell signals with corresponding Target and Stoploss levels.
Subhashish Pani's 5 EMA Strategy is a straightforward approach. For intraday trading, a 5-minute timeframe is recommended for selling. In this strategy, you can choose to sell futures, sell calls, or buy puts as part of your selling strategy. The goal is to capture market tops by selling at the peak, anticipating a reversal for profitable trades. Although this strategy may result in frequent stop losses, they are typically small, while the minimum target should be at least three times the risk taken. By staying aligned with the trend, significant profits can be achieved. Subhashish Pani claims that this strategy has a 60% success rate.
Strategy for Selling (Short Future/Call/Stock or Buy Put):
1. When a candle completely closes above the 5 EMA (with no part of the candle touching the 5 EMA), it is considered an Alert Candle.
2. If the next candle is also entirely above the 5 EMA and does not break the low of the previous Alert Candle, ignore the previous Alert Candle and consider the new candle as the new Alert Candle.
3. Continue shifting the Alert Candle in this manner. However, when the next candle breaks the low of the Alert Candle, take a short trade (e.g., short futures, calls, stocks, or buy puts).
4. Set the stop loss above the high of the Alert Candle, and the minimum target should be 1:3 (at least three times the stop loss).
Strategy for Buying (Buy Future/Call/Stock or Sell Put):
1. When a candle completely closes below the 5 EMA (with no part of the candle touching the 5 EMA), it is considered an Alert Candle.
2. If the next candle is also entirely below the 5 EMA and does not break the high of the previous Alert Candle, ignore the previous Alert Candle and consider the new candle as the new Alert Candle.
3. Continue shifting the Alert Candle in this manner. However, when the next candle breaks the high of the Alert Candle, take a long trade (e.g., buy futures, calls, stocks, or sell puts).
4. Set the stop loss below the low of the Alert Candle, and the minimum target should be 1:3 (at least three times the stop loss).
Buy/Sell with Additional Conditions:
An additional condition is added to the buying/selling strategy:
1. Check if the closing price of the current candle is lower than the closing price of the Alert Candle for selling, or higher than the closing price of the Alert Candle for buying.
- This condition aims to filter out false moves, potentially preventing entering trades based on temporary fluctuations. However, it may cause you to miss out on significant moves, as you will enter trades after the candle closes, rather than at the breakout point.
Note: According to Subhashish Pani, the recommended timeframe for intraday buying is 15 minutes. However, this strategy can also be applied to positional/swing trading. If used on a monthly timeframe, it can be beneficial for long-term investing as well. The rules remain the same for all types of trades and timeframes.
If you need a deeper understanding of this strategy, you can search for "Subhashish Pani's (Power of Stocks) 5 EMA Strategy" on YouTube for further explanations.
Note: This strategy is not limited to intraday trading and can be applied to positional/swing
Forecasting
Trendilo (OPEN-SOURCE)The provided code is a custom indicator called "Trendilo" in TradingView. It helps traders identify trends in price data. The indicator calculates the percentage change of the chosen price source and applies smoothing to it. Then, it calculates the Arnaud Legoux Moving Average (ALMA) of the smoothed percentage change. The ALMA is compared to a root mean square (RMS) band, which represents the expected range of the ALMA values. Based on this comparison, the indicator determines whether the trend is up, down, or sideways. The indicator line is plotted in a color corresponding to the trend direction. The indicator also provides the option to fill the area between the indicator line and the RMS band. Additionally, users can choose to color the bars of the chart based on the trend direction. Overall, the "Trendilo" indicator helps traders visually identify trends and potential reversals in the price data.
Futures All List / Sell SignalAs of May 2023, there are more than 180 usdt perpetual coins on the binance futures exchange. These coins are included in the indicator in lists of 40. They are sorted instantly in the table from largest to smallest. The sorting style can be changed in the indicator settings. This indicator collects RSI and TSI values at desired values. The result has a maximum value of 600. A value of 600 signals that the price will decrease or remain stable for a certain period of time. Generally, a short can be expected from the closest point to 600. If 3 separate lists are selected by using 3 of these indicators, 120 coins can be analyzed at the same time. Available in all time zones. Examine it in a 3-minute timeframe. The line inside the indicator draws the instantaneous values of the relevant coin.
Point and Figure Vertical Price TargetsThis is the first ever Point and Figure vertical price target script. Just hover over any column and the price target will be shown on the upper left hand side where the script name is. It is for both upside and downside vertical targets. It is based on a 3 box reversal, but that can be changed within the code, and the box size can be changed within the code or within the settings.
ReversalThe primary objective of this indicator is to discern candles that exhibit characteristics suggestive of potential market reversals through the application of candlestick analysis. Extensive observation across various assets and timeframes has revealed the existence of a recurrent reversal pattern. This pattern typically manifests as a sequence of one to three candles that abruptly diverge from the prevailing price action or trend, offering a distinctive signal indicating a potential reversal.
By leveraging the insights gained from this observation, the indicator aims to assist traders in identifying these noteworthy candle patterns that hold the potential to indicate significant market shifts.
The indicator operates as follows: initially, it identifies the lowest close (in the case of a bullish reversal) or the highest close (in the case of a bearish reversal) within a specified number of previous candles, as determined by user input (referred to as "Candle Lookback").
Next, the indicator examines whether the closing price surpasses the high of the previously identified lowest (bullish reversal) or highest (bearish reversal) closed candle within a designated number of candles, as specified by the user (referred to as "Confirm Within").
Session Bar Color (US Time)This script is designed to change the color of bars on a trading chart based on different trading sessions in Eastern Time (ET). It is different from currently published scripts in that it specifically focuses on US time sessions and provides a customizable approach to defining and coloring each session.
To use this script, you can apply it to a chart by selecting it from the list of available indicators or overlays.
The script is meant for traders who are interested in visualizing different trading sessions on their charts. By coloring the bars based on session boundaries, it can help traders quickly identify session changes and potentially adjust their trading strategies accordingly. Mostly it's used to draw the high and low zones of each session.
The markets this script is suitable for are those that operate within the US time zones, as it specifically focuses on Eastern Time (ET) sessions. It can be used for various types of markets, including stocks, futures, and forex.
The conditions for each session are defined using the input. session function, which allows you to specify the start and end times for each session. The script includes four sessions: Asian, London, USA, and New York. By modifying the defval parameter for each session input, you can customize the session times to fit your specific trading preferences or time zone.
The script uses the time function to check if the current bar falls within a particular session. If the condition is met, it sets the color of the bar using the bar color function. Each session is assigned a different color: black for the Asian session, teal for the London session, a custom RGB color (dark red) for the USA session, and red for the New York session.
It's important to note that this script assumes the time zone of the trading platform is set to "Etc/GMT+4" to align with Eastern Time (ET). If your platform uses a different time zone, you may need to adjust the time function calls to match your desired time zone.
terrible financial advisorThe script you're looking at is a humorous "financial advisor" that places funny and non-traditional investment advice labels on a trading chart. The advice doesn't really have any meaningful connection to real financial indicators or market trends, and it's meant for entertainment purposes only.
Here's how it works:
Every 23 bars on the chart (a bar could represent a day, an hour, or another period, depending on the chart settings), the script places a new label.
The content of each label is determined by the remainder when the current bar number is divided by 10.
Keep in mind that this script is just for fun, and you shouldn't base any real investment decisions on its output!
it works as intended.
Precision Trader Indicator, v1.01Overview:
The PTI is a custom indicator designed to provide buy and sell signals based on price movements and volatility. It uses the Average True Range (ATR) to calculate stop levels and identifies potential trend changes.
Parameters:
The indicator has several customizable parameters that you can adjust according to your preferences. These parameters include:
- ATR Period (length): Determines the lookback period for calculating the ATR.
- ATR Multiplier (mult): Specifies the multiplier applied to the ATR to determine the stop levels.
- Show Buy/Sell Labels (showLabels): Allows you to choose whether to display buy/sell labels on the chart.
- Use Close Price for Extremums (useClose): Determines whether the indicator considers the close price for calculating extremums.
- Highlight State (highlightState): Enables highlighting of the long and short state on the chart.
Calculation:
1. ATR Calculation: The indicator calculates the Average True Range (ATR) using the specified length parameter and multiplies it by the ATR Multiplier (mult) to obtain the ATR value.
2. Long Stop Calculation: The long stop level is calculated based on the highest price over the specified length period (using either the high or close price, depending on the useClose parameter) minus the ATR value. It ensures that the long stop is below the recent highest point.
3. Short Stop Calculation: The short stop level is calculated based on the lowest price over the specified length period (using either the low or close price) plus the ATR value. It ensures that the short stop is above the recent lowest point.
4. Direction Calculation: The indicator determines the current direction based on the close price compared to the previous long stop and short stop levels. If the close price is above the previous long stop, the direction is set to 1 (indicating a bullish trend). If the close price is below the previous short stop, the direction is set to -1 (indicating a bearish trend). Otherwise, the direction remains unchanged.
Plotting:
The indicator plots several visual elements on the chart:
- Long Stop: Draws a line representing the long stop level.
- Long Stop Start: Plots a small circle marker indicating the start of a long stop (buy signal).
- Buy Label: Displays a "Buy" label near the long stop start marker.
- Short Stop: Draws a line representing the short stop level.
- Short Stop Start: Plots a small circle marker indicating the start of a short stop (sell signal).
- Sell Label: Displays a "Sell" label near the short stop start marker.
- Long State Filling: Fills the area between the mid price and the long stop line with a color (optional).
- Short State Filling: Fills the area between the mid price and the short stop line with a color (optional).
Alerts:
The indicator includes three types of alerts:
- PTI Direction Change: Triggers an alert when the PTI direction changes (from bullish to bearish or vice versa).
- PTI Buy: Triggers an alert when a buy signal occurs (long stop start).
- PTI Sell: Triggers an alert when a sell signal occurs (short stop start).
By using the PTI indicator, traders can monitor potential trend changes and receive alerts when buy or sell signals are generated based on price and volatility dynamics.
Please note that the interpretation and effectiveness of this indicator should be evaluated through rigorous backtesting and analysis before making any trading decisions.
Planetary Tunings Moving AveragesThe Pine Script "Planetary Tunings Moving Averages" is a unique tool that plots moving averages (MAs) on a chart, representing the wavelengths of different planets as derived from the book Quadrivium. These wavelengths, also referred to as 'planetary tunings', are related to the orbital resonance of each planet.
Each planetary tuning value is first transformed into a whole number by multiplying it by 1000 and removing the decimal. This whole number is then used as the length parameter for a Simple Moving Average (SMA) function. This function calculates the average of the closing prices over the defined number of periods, thereby creating a moving average line on the chart.
The moving average lines are color-coded according to the planet they represent, allowing for quick and easy interpretation. For example, Mercury's moving average line is blue, Venus's line is orange, and so forth. These colors can be adjusted directly in the Pine Script code if desired.
Additionally, the script computes the mean of all these moving averages and plots it on the chart. This line provides an overall trend line, summarizing the collective behavior of all the planetary tuning moving averages.
The drawings in the chart are fib channels and fib circles that I use to capture liquidity in time.
Please note that this script is written for Pine Script Version 4. It's crucial to ensure your TradingView platform is compatible with this version. For any issues or further clarification, consider referring to TradingView's Pine Script documentation or its community forums.
Adaptive Mean Reversion IndicatorThe Adaptive Mean Reversion Indicator is a tool for identifying mean reversion trading opportunities in the market. The indicator employs a dynamic approach by adapting its parameters based on the detected market regime, ensuring optimal performance in different market conditions.
To determine the market regime, the indicator utilizes a volatility threshold. By comparing the average true range (ATR) over a 14-period to the specified threshold, it determines whether the market is trending or ranging. This information is crucial as it sets the foundation for parameter optimization.
The parameter optimization process is an essential step in the indicator's calculation. It dynamically adjusts the lookback period and threshold level based on the identified market regime. In trending markets, a longer lookback period and higher threshold level are chosen to capture extended trends. In ranging markets, a shorter lookback period and lower threshold level are used to identify mean reversion opportunities within a narrower price range.
The mean reversion calculation lies at the core of this indicator. It starts with computing the mean value using the simple moving average (SMA) over the selected lookback period. This represents the average price level. The deviation is then determined by calculating the standard deviation of the closing prices over the same lookback period. The upper and lower bands are derived by adding and subtracting the threshold level multiplied by the deviation from the mean, respectively. These bands serve as dynamic levels that define potential overbought and oversold areas.
In real-time, the indicator's adaptability shines through. If the market is trending, the adaptive mean is set to the calculated mean value. The adaptive upper and lower bands are adjusted by scaling the threshold level with a factor of 0.75. This adjustment allows the indicator to be less sensitive to minor price fluctuations during trending periods, providing more robust mean reversion signals. In ranging market conditions, the regular mean, upper band, and lower band are used as they are more suited to capture mean reversion within a confined price range.
The signal generation component of the indicator identifies potential trading opportunities based on the relationship between the current close price and the adaptive upper and lower bands. If the close price is above the adaptive upper band, it suggests a potential short entry opportunity (-1). Conversely, if the close price is below the adaptive lower band, it indicates a potential long entry opportunity (1). When the close price is within the range defined by the adaptive upper and lower bands, no clear trading signal is generated (0).
To further strengthen the quality of signals, the indicator introduces a confluence condition based on the RSI. When the RSI exceeds the threshold levels of 70 or falls below the threshold level of 30, it indicates a strong momentum condition. By incorporating this confluence condition, the indicator ensures that mean reversion signals align with the prevailing market momentum. It reduces the likelihood of false signals and provides traders with added confidence when entering trades.
The indicator offers alert conditions to notify traders of potential trading opportunities. Alert conditions are set to trigger when a potential long entry signal (1) or a potential short entry signal (-1) aligns with the confluence condition. These alerts allow traders to stay informed about favorable mean reversion setups, even when they are not actively monitoring the charts. By leveraging alerts, traders can efficiently manage their time and take advantage of market opportunities.
To enhance visual interpretation, the indicator incorporates background coloration that provides valuable insights into the prevailing market conditions. When the indicator generates a potential short entry signal (-1) that aligns with the confluence condition, the background color is set to lime. This color suggests a bullish trend that is potentially reaching an exhaustion point and about to revert downwards. Similarly, when the indicator generates a potential long entry signal (1) that aligns with the confluence condition, the background color is set to fuchsia. This color represents a bearish trend that is potentially reaching an exhaustion point and about to revert upwards. By employing background coloration, the indicator enables traders to quickly identify market conditions that may offer mean reversion opportunities with a directional bias.
The indicator further enhances visual clarity by incorporating bar coloring that aligns with the prevailing market conditions and signals. When the indicator generates a potential short entry signal (-1) that aligns with the confluence condition, the bar color is set to lime. This color signifies a bullish trend that is potentially reaching an exhaustion point, indicating a high probability of a downward reversion. Conversely, when the indicator generates a potential long entry signal (1) that aligns with the confluence condition, the bar color is set to fuchsia. This color represents a bearish trend that is potentially reaching an exhaustion point, indicating a high probability of an upward reversion. By using distinct bar colors, the indicator provides traders with a clear visual distinction between bullish and bearish trends, facilitating easier identification of mean reversion opportunities within the context of the broader trend.
While the "Adaptive Mean Reversion Indicator" offers a robust framework for identifying mean reversion opportunities, it's important to remember that no indicator is foolproof. Traders should exercise caution and employ risk management strategies. Additionally, it is recommended to use this indicator in conjunction with other technical analysis tools and fundamental factors to make well-informed trading decisions. Regular backtesting and refinement of the indicator's parameters are crucial to ensure its effectiveness in different market conditions.
Correlation TrackerCorrelation Tracker Indicator
The Correlation Tracker indicator calculates and visualizes the correlation between two symbols on a chart. It helps traders and investors understand the relationship and strength of correlation between the selected symbol and another symbol of their choice.
Indicator Features:
- Correlation Calculation: The indicator calculates the correlation between two symbols based on the provided lookback period.
- Correlation Scale: The correlation value is normalized to a scale ranging from 0 to 1 for easy interpretation.
- Table Display: A table is displayed on the chart showing the correlation value and a descriptive label indicating the strength of the correlation.
- Customization Options: Users can customize the text color, table background color, and choose whether to display the Pearson correlation value.
- The Correlation Tracker indicator utilizes a logarithmic scale calculation, making it particularly suitable for longer timeframes such as weekly charts, thereby providing a more accurate and balanced measure of correlations across a wide range of values.
How to Use:
1. Select the symbol for which you want to track the correlation (default symbol is "SPX").
2. Adjust the lookback period to define the historical data range for correlation calculation.
3. Customize the text color and table background color according to your preference.
4. Choose whether to display the Pearson correlation value or a descriptive label for correlation strength.
5. Observe the correlation line on the chart, which changes color based on the strength of the correlation.
6. Refer to the correlation table for the exact correlation value or the descriptive label indicating the correlation strength.
Note: The indicator can be applied to any time frame chart and is not limited to logarithmic scale.
US Market SentimentThe "US Market Sentiment" indicator is designed to provide insights into the sentiment of the US market. It is based on the calculation of an oscillator using data from the High Yield Ratio. This indicator can be helpful in assessing the overall sentiment and potential market trends.
Key Features:
Trend Direction: The indicator helps identify the general trend direction of market sentiment. Positive values indicate a bullish sentiment, while negative values indicate a bearish sentiment. Traders and investors can use this information to understand the prevailing market sentiment.
Overbought and Oversold Levels: The indicator can highlight overbought and oversold conditions in the market. When the oscillator reaches high positive levels, it suggests excessive optimism and a potential downside correction. Conversely, high negative levels indicate excessive pessimism and the possibility of an upside rebound.
Divergence Analysis: The indicator can reveal divergences between the sentiment oscillator and price movements. Divergences occur when the price reaches new highs or lows, but the sentiment oscillator fails to confirm the move. This can signal a potential trend reversal or weakening of the current trend.
Confirmation of Trading Signals: The "US Market Sentiment" indicator can be used to confirm other trading signals or indicators. For instance, if a momentum indicator generates a bullish signal, a positive reversal in the sentiment oscillator can provide additional confirmation for the trade.
Usage and Interpretation:
Positive values of the "US Market Sentiment" indicate a bullish sentiment, suggesting potential buying opportunities.
Negative values suggest a bearish sentiment, indicating potential selling or shorting opportunities.
Extreme positive or negative values may signal overbought or oversold conditions, respectively, and could precede a market reversal.
Divergences between the sentiment oscillator and price trends may suggest a potential change in the current market direction.
Traders and investors can combine the "US Market Sentiment" indicator with other technical analysis tools to enhance their decision-making process and gain deeper insights into the US market sentiment.
Enhanced Strategy (Buy/Sell Signals)The provided script is an enhanced strategy that combines multiple indicators to generate buy and sell signals. Here's a breakdown of its features and usage:
Indicators used:
1. Moving Averages (MA): It uses two moving averages, fast and slow, to identify trend direction.
2. Relative Strength Index (RSI): It measures the momentum and overbought/oversold conditions of the asset.
3. Moving Average Convergence Divergence (MACD): It indicates trend direction and potential trend reversals.
4. Stochastic Momentum Index (Stch Mtm): It identifies overbought and oversold conditions and potential reversals.
5. Awesome Oscillator: It helps to gauge the market momentum and potential trend changes.
How to use:
1. The strategy is designed to be used as a study on the TradingView platform.
2. Apply the script to your preferred chart and adjust the input parameters as desired.
3. The buy and sell signals will be plotted as green "Buy" and red "Sell" labels on the chart.
4. You can also observe the plotted indicators to gain insights into the market conditions.
Combination of indicators:
1. Buy Signal: The strategy generates a buy signal when the following conditions are met:
- The fast moving average crosses over the slow moving average (bullish crossover).
- RSI value is above the specified threshold (30 by default), indicating potential oversold conditions.
- MACD line is above the signal line, suggesting a bullish trend.
- Stch Mtm is above 50, indicating bullish momentum.
- The Awesome Oscillator is positive, implying bullish market sentiment.
2. Sell Signal: The strategy generates a sell signal when the following conditions are met:
- The fast moving average crosses under the slow moving average (bearish crossover).
- RSI value is below the specified threshold (100 - RSI threshold), indicating potential overbought conditions.
- MACD line is below the signal line, suggesting a bearish trend.
- Stch Mtm is below 50, indicating bearish momentum.
- The Awesome Oscillator is negative, implying bearish market sentiment.
Market conditions:
- The strategy aims to identify potential entry and exit points based on the combination of indicators.
- It can be used in various market conditions, but it's important to consider the overall market context, news events, and risk management principles.
- It's recommended to use this strategy as a tool for analysis and decision-making, and validate the signals with additional analysis before executing trades.
Please note that the effectiveness and profitability of any trading strategy can vary depending on various factors, including market conditions and individual trading preferences. It's always advisable to conduct thorough backtesting and consider risk management techniques before applying any strategy to live trading.
TGIF StatsTGIF - "Thank God it's Friday"
After a heavily bearish week (tuesday, wednesday and thursday) price sometimes looks for some retracement on fridays. Vice versa for bullish weeks.
This script shows how often that specific scenario happens and displays that data in a table.
The user has the option to input a starting year for the statistic and is able to filter between bearish or bullish weeks.
*disclaimer : if paired with a higher timeframe pd array taught by ICT the stats should be better, that's not included in the code though*
⚠️ Open Source ⚠️
Coders and TV users are authorized to copy this code base, but a paid distribution is prohibited. A mention to the original author is expected, and appreciated.
⚠️ Terms and Conditions ⚠️
This financial tool is for educational purposes only and not financial advice. Users assume responsibility for decisions made based on the tool's information. Past performance doesn't guarantee future results. By using this tool, users agree to these terms.
The Golden Candlestick PatternThe Golden pattern is a three-candlestick configuration based on a variation of the golden ratio (2.618) from the Fibonacci sequence.
The bullish Golden pattern is composed of a normal bullish candlestick with any type of body, followed by a bigger bullish candlestick with a close price that is at least 2.618 times the size of the first candlestick (high to low). Finally, there must be an important condition that is, a third candlestick that comes back to test the open of the second candlestick from where the entry is given.
The bearish Golden pattern is composed of a normal bearish candlestick with any type of body, followed by a bigger bearish candlestick with a close price that is at least 2.618 times the size of the first candlestick (high to low). Finally, there must be an important condition that is, a third candlestick that comes back to test the open of the second candlestick from where the entry is given.
Inverted ProjectionThe "Inverted Projection" indicator calculates the Simple Moving Average (SMA) and draws lines representing an inverted projection. The indicator swaps the highs and lows of the projection to provide a unique perspective on price movement.
This indicator is a simple study that should not be taken seriously as a tool for predicting future price movements; it is purely intended for exploratory purposes.
Pro Trading Art - Head And ShouldersHow the Script Works:
1. The script identifies potential Head and Shoulders patterns by searching for specific pivot highs and pivot lows in the price data.
2. It checks for the presence of a left shoulder, head, and right shoulder based on the conditions defined in the script.
3. If a valid Head and Shoulders pattern is found, the script plots lines and labels on the chart to visualize the pattern.
4. The script also identifies Inverted Head and Shoulders patterns using similar logic but with different conditions.
5. It plots lines and labels for the Inverted Head and Shoulders pattern.
6. The script generates short and long conditions based on the patterns. Short conditions trigger when the close price crosses below the neck level of a Head and Shoulders pattern, while long conditions trigger when the close price crosses above the neck level of an Inverted Head and Shoulders pattern.
7. It plots sell and buy signal shapes on the chart when the short and long conditions are met, respectively.
8. The script can also trigger alerts to notify the user when a valid Head and Shoulders or Inverted Head and Shoulders pattern is detected.
9. The script provides visual cues on the chart to help users identify potential trading opportunities.
10. The logic and parameters of the script can be modified by the user to customize the behavior and adapt it to different trading strategies.
How Users Can Make Profit Using This Script:
1. Identify potential short-selling opportunities: When a valid Head and Shoulders pattern is detected and a short condition is met, it indicates a potential trend reversal. Traders can consider opening short positions to profit from a downward price movement.
2. Identify potential long-buying opportunities: When a valid Inverted Head and Shoulders pattern is detected and a long condition is met, it suggests a potential trend reversal. Traders can consider opening long positions to profit from an upward price movement.
3. Combine with additional analysis: Users can utilize this script as a tool in their overall trading strategy. They can combine the signals generated by the script with other technical indicators, fundamental analysis, or market sentiment to make more informed trading decisions.
4. Define appropriate entry and exit points: Traders can use the lines and labels plotted by the script to determine entry and exit points for their trades. For example, they may choose to enter a short position after the price crosses below the neck level and exit when the price reaches a predetermined target or when the pattern is invalidated.
5. Set risk management measures: It is important for users to implement proper risk management strategies when trading based on the script's signals. They should define stop-loss orders to limit potential losses if the trade goes against them and consider setting profit targets to secure profits when the trade moves in their favor.
Ultimate Trend LineThe "Ultimate Trend Line" indicator, designed for overlay on financial charts, calculates and plots a global trend line. It works by first allowing users to input several parameters such as different lengths for up to 21 groups, a multiplier that defines the deviation from the linear regression line for calculating the upper and lower bands, and a color for the fill.
Using these inputs, it calculates the upper and lower bands for each length group based on a multiple of the standard deviation from the linear regression line. It then averages these bands to define the global trend line, which is plotted on the graph.
Although the code includes commented-out lines for plotting each individual upper and lower band, the indicator as it stands only displays the overall average trend line. The line's color and linewidth can be adjusted according to user preferences.
This indicator can be effectively used on both logarithmic and linear scales. This versatility allows it to be adaptable to various types of financial charts and trading styles, providing a flexible tool for users to assess and visualize trend patterns across different market conditions and time frames. It maintains its accuracy and relevance, regardless of the scale used, thus making it a comprehensive solution for trend line analysis in diverse scenarios.
It's important to note that the "Ultimate Trend Line" indicator requires a substantial amount of historical data to function properly. If insufficient historical data is available, the indicator may not display accurately or at all. This issue is particularly prevalent when using larger time units, such as weekly or monthly charts, where the available data may not stretch back far enough to satisfy the requirements of the indicator. As such, users should ensure they are operating on a time scale and data set that provides adequate historical depth for the reliable operation of this indicator.
Exponential ADR with Price TargetsThis script is designed to help you analyze price movements in the financial markets by calculating the Average Daily Range (ADR), adjusting it based on exponentiality and generating price targets based on that range.
The ADR represents the average range between the highest and lowest prices of a trading instrument during a specific period. It gives you an idea of how much the price typically moves in a day. In this script, we calculate the ADR using Simple Moving Averages (SMA) of the high and low prices over a certain length of time. You can customize this length according to your preference.
To make the ADR smoother and more responsive to recent price changes, we apply an Exponential Moving Average (EMA) to the ADR values. The EMA places more weight on recent data, giving you a more up-to-date measure of the ADR. The length of the EMA is also adjustable.
Once we have the Exponential ADR, we can generate price targets based on it. Price targets are potential levels where the price may reach in the future. We calculate these targets by adding or subtracting a certain multiple of the Exponential ADR from the current closing price. The multiple is determined by a parameter called the "Target Multiplier." You can adjust this value to control the distance of the price targets from the closing price.
In addition to plotting the Exponential ADR as a histogram on the chart, we create a table that displays the price targets. The table shows three bullish (positive) targets and three bearish (negative) targets. The targets are labeled as "Bull Target" or "Bear Target" followed by a number indicating the target's order. For each target, we display the corresponding price level.
To estimate the potential price levels, we used a formula that takes into account the current closing price and a value called the Exponential Average Daily Range (Exponential ADR). The Exponential ADR represents the average range of price movement over a specific period.
To calculate the price targets, we multiplied the Exponential ADR by a user-defined value called the target multiplier. This target multiplier allows traders to control the distance of the price targets from the current price. The resulting value indicates the desired distance from the current price for each target level.
For bullish targets, we added the calculated value to the current closing price. This suggests potential upward movement in the price. On the other hand, for bearish targets, we subtracted the calculated value from the current closing price. This indicates potential downward movement in the price.
By providing multiple target levels, such as level 1, level 2, and level 3, traders can assess different scenarios and potential price outcomes. These target levels help traders identify possible price levels where they might consider taking profit or adjusting their trading positions.
It's important to note that these price targets are not guaranteed to be reached, but they serve as reference points based on historical price behavior and the Exponential ADR. Traders can use them as part of their overall trading strategy and decision-making process.
Adjust the input parameters according to your desired settings, such as the ADR length, EMA length, target multiplier, table position, and table style. The indicator will then calculate and display the Exponential ADR and price targets on the chart, helping you identify potential levels of support and resistance for your trading decisions.
Matrix Momentum Expansion [IkkeOmar]The indicator consists of several features:
Candlestick chart: The indicator plots a candlestick chart based on the input parameters of the user. The candlesticks are colored blue or orange depending on whether the closing price is above or below the upper and lower bands.
Support and Resistance levels: The indicator also plots support and resistance levels based on the CCI (Commodity Channel Index) of the asset's price. These levels are dynamic and change based on the user's input parameters.
Momentum: The indicator calculates the momentum of the market based on the smoothed and standard deviation of the asset's price. It uses this momentum to calculate upper and lower bands that are plotted on the chart.
Warning signals: The indicator can also be used to identify potential warning signals. When the closing price of the asset moves above the upper band, it could indicate that the market is overbought and a potential reversal could occur. Conversely, when the closing price moves below the lower band, it could indicate that the market is oversold and a potential reversal could occur.
Contractions and expansions in the bands can provide important information to traders about potential price movements.
When the bands contract, it indicates that the market is experiencing low volatility and the price is likely to move sideways. During these periods, traders may look for other signals, such as support and resistance levels or price patterns, to determine potential entry and exit points.
On the other hand, when the bands expand, it indicates that the market is experiencing high volatility and the price is likely to move in a particular direction. Traders can use this information to identify potential trend reversals or continuation patterns. When the upper and lower bands move further apart, it indicates that the trend is becoming stronger, while when they move closer together, it indicates that the trend may be weakening.
When the price moves outside of the bands, it can also provide important information to traders. If the price moves above the upper band, it could indicate that the market is overbought and a potential reversal could occur. Conversely, if the price moves below the lower band, it could indicate that the market is oversold and a potential reversal could occur.
Very important note!
When you see contractions, please understand that it's a wonderful opportunity to pivot into position to catch a good trade because we will see an expansion after!
Bull Bear Correlation Tracker PaneThe Bull Bear Correlation Tracker is a versatile indicator designed to help traders identify the direction and strength of market trends by comparing the price action of multiple assets. It is particularly useful for those who are familiar with the carry trade principle, as it can detect when positively or negatively correlated assets move in favor or against the asset being traded. This indicator can be used for various markets, including crypto and forex, by simply adjusting the default options.
Key features of the Bull Bear Correlation Tracker include:
Multiple methods for determining trend direction: Supertrend, Pivot Point SuperTrend by LonesomeTheBlue, MACD - Zero Cross, and MACD - Grow/Shrink. These methods help traders identify the primary trend direction and potential trade opportunities.
Optional slow trend display for additional insights into market trends, allowing traders to analyze both short-term and long-term trends simultaneously.
Supports up to three symbols, enabling traders to analyze multiple assets simultaneously and better understand their correlation.
Assumed correlation settings to test traders' hypotheses about asset relationships, allowing traders to make informed decisions about potential correlations between different assets.
Customizable correlation period and smoothing settings to fine-tune the indicator's performance, providing traders with the ability to optimize the indicator based on their preferred trading style and market conditions.
Market hours filter to focus on specific trading hours, ensuring that the indicator only displays data during the hours specified.
Customizable color settings for easy visualization of trends, helping traders quickly identify the direction and strength of market trends.
Correlation histogram display to visualize asset relationships, providing traders with a clear visual representation of how different assets are correlated.
This indicator can be used to either force the correlation to be assumed positive or negative if the trader knows the correlation, or to use the actual data calculated between the traded asset and other assets if the correlation is broken often. This flexibility makes the Bull Bear Correlation Tracker suitable for trading various assets, including cryptocurrencies and forex, as well as for traders with different levels of experience.
By utilizing the Bull Bear Correlation Tracker, traders can gain valuable insights into market trends and correlations between different assets, helping them make more informed decisions and improve their trading strategies.
Note: I used back-testing for fine tuning do not base your trades on signals from the testing framework.
Price Action Color Forecast (Expo)█ Overview
The Price Action Color Forecast Indicator , is an innovative trading tool that uses the power of historical price action and candlestick patterns to predict potential future market movements. By analyzing the colors of the candlesticks and identifying specific price action events, this indicator provides traders with valuable insights into future market behavior based on past performance.
█ Calculations
The Price Action Color Forecast Indicator systematically analyzes historical price action events based on the colors of the candlesticks. Upon identifying a current price action coloring event, the indicator searches through its past data to find similar patterns that have happened before. By examining these past events and their outcomes, the indicator projects potential future price movements, offering traders valuable insights into how the market might react to the current price action event.
The indicator prioritizes the analysis of the most recent candlesticks before methodically progressing toward earlier data. This approach ensures that the generated candle forecast is based on the latest market dynamics.
The core functionality of the Price Action Color Forecast Indicator:
Analyzing historical price action events based on the colors of the candlesticks.
Identifying similar events from the past that correspond to the current price action coloring event.
Projecting potential future price action based on the outcomes of past similar events.
█ Example
In this example, we can see that the current price action pattern matches with a similar historical price action pattern that shares the same characteristics regarding candle coloring. The historical outcome is then projected into the future. This helps traders to understand how the past pattern evolved over time.
█ How to use
The indicator provides traders with valuable insights into how the market might react to the current price action event by examining similar historical patterns and projecting potential future price movements.
█ Settings
Candle series
The candle lookback length refers to the number of bars, starting from the current one, that will be examined in order to find a similar event in the past.
Forecast Candles
Number of candles to project into the future.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
hidden & regular rsi divergenceThis is a divergence indicator that draws regular and hidden divergences based on the Zigzag indicator and RSI indicator. There are two degrees of Zigzag. So, in each Zigzag degree, there are two types of regular divergences and one type of hidden divergence.
👉(The logic is written in case of a bearish regular divergence. The opposite will apply for a bullish one.)
Type 1 of regular divergence (Logic 1):
Zigzag has to form a higher high. The highest RSI within both Zigzag legs must form lower highs, but the RSI values which are exactly at the Zigzag highs should not form lower highs.
Type 2 of regular divergence (Logic 2):
Zigzag has to form a higher high. The highest RSI within both Zigzag legs must form lower highs, and the RSI values which are exactly at the Zigzag highs should form lower highs.
👉(The logic is written in case of a bearish hidden divergence. The opposite will apply for a bullish one.)
Zigzag has to form a lower high. The highest RSI within both Zigzag legs must form higher highs.
👉There is also a filter that will be applied to all the divergences. It only shows the divergences whose corresponding RSI value was above/below a level (overbought level/oversold level).
Logic for regular divergences:
Bearish regular divergence's first high's (leftmost) RSI value should be greater than or equal to 70.
Bullish regular divergence's first low's (leftmost) RSI value should be less than or equal to 30.
Logic for hidden divergences:
Bearish hidden divergence's second high's (rightmost) RSI value should be greater than or equal to 70.
Bullish hidden divergence's second low's (rightmost) RSI value should be less than or equal to 30.
👉There is another feature also. This indicator colors the background based on whether the RSI is in a bullish or bearish range.
If it's within 80-60, the background will be colored green (this means that RSI is in a bullish range).
If it's within 40-20, the background will be colored red (this means that RSI is in a bearish range).