Risk Metric combinedAttempt at replicating a simplified Risk-Metric for BTC.
Original code written by user Oakley Wood.
Based on 3 different approaches:
- deviation from 4 year sma
- ln(btc / 20 wma)
- 50D MA / 50W MA
M-oscillator
QQE MOD + SSL Hybrid + Waddah Attar Explosion IndicatorINDICATOR PURPOSE
This indicator is designed to complement my original QQE MOD + SSL Hybrid + Waddah Attar Explosion strategy.
Multiple users have requested that I convert the strategy to an indicator because alertconditions do not work on strategies and people want to specific set alerts for BUY, SELL, CLOSE BUY and CLOSE SELL. This can only be achieved using alertcondition().
This indicator functions in the exact same way as the strategy, but it doesn't have any backtesting functionality. I recomment that you use the original QQE MOD + SSL Hybrid + Waddah Attar Explosion strategy for parameter tuning and backtesting, then if you need more control on alerts you can use this indicator for that purpose.
Only other difference is that I have added grey exit labels on the chart since it's not obvious where the exits would happen like it was in the strategy version.
CREDITS
QQE MOD byMihkel00
SSL Hybrid by Mihkel00
Waddah Attar Explosion by shayankm
RSI in Candlestick MODEDescription:
The "RSI Bar" indicator is a versatile tool designed to enhance your technical analysis on trading charts. This Pine Script™ code calculates the Relative Strength Index (RSI) for open, close, high, and low prices, and represents the results as bars on the chart. The bars are color-coded based on whether the closing RSI is higher or lower than the opening RSI.
Additionally, the indicator incorporates advanced features such as Pareto analysis and Gaussian smoothing. The Pareto analysis helps identify significant lows and highs in the RSI, providing insights into potential trend reversals. The Gaussian smoothing further refines the analysis, contributing to a more accurate representation of the average RSI trend.
Key Features:
RSI calculation for open, close, high, and low prices.
Color-coded bars for easy visualization of RSI trends.
Pareto analysis to highlight key RSI levels indicating potential reversals.
Gaussian smoothing for improved trend analysis and visualization.
Heiken-Ashi
Rotation Factor for TPO and OHLC (Plot)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as a plot, which, unlike its classic variation, shows you how the rotation factor is developing. It also includes lines indicating the Top Rotation Factor and the Bottom Rotation Factor individually, the better to observe the developing auction.
Link to the Classic Variation:
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels and Lines : The colour and sizes used by the labels and lines are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
4. Individual Top Rotation Factor and Bottom Rotation Factor plots : These two parts which becomes of the Rotation Factor are also presented individually, on their own plots, the better to observe the developing auction.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.
Standardized Orderflow [AlgoAlpha]Introducing the Standardized Orderflow indicator by AlgoAlpha. This innovative tool is designed to enhance your trading strategy by providing a detailed analysis of order flow and velocity. Perfect for traders who seek a deeper insight into market dynamics, it's packed with features that cater to various trading styles. 🚀📊
Key Features:
📈 Order Flow Analysis: At its core, the indicator analyzes order flow, distinguishing between bullish and bearish volume within a specified period. It uses a unique standard deviation calculation for normalization, offering a clear view of market sentiment.
🔄 Smoothing Options: Users can opt for a smoothed representation of order flow, using a Hull Moving Average (HMA) for a more refined analysis.
🌪️ Velocity Tracking: The indicator tracks the velocity of order flow changes, providing insights into the market's momentum.
🎨 Customizable Display: Tailor the display mode to focus on either order flow, order velocity, or both, depending on your analysis needs.
🔔 Alerts for Critical Events: Set up alerts for crucial market events like crossover/crossunder of the zero line and overbought/oversold conditions.
How to Use:
1. Setup: Easily configure the indicator to match your trading strategy with customizable input parameters such as order flow period, smoothing length, and moving average types.
2. Interpretation: Watch for bullish and bearish columns in the order flow chart, utilize the Heiken Ashi RSI candle calculation, and look our for reversal notations for additional market insights.
3. Alerts: Stay informed with real-time alerts for key market events.
Code Explanation:
- Order Flow Calculation:
The core of the indicator is the calculation of order flow, which is the sum of volumes for bullish or bearish price movements. This is followed by normalization using standard deviation.
orderFlow = math.sum(close > close ? volume : (close < close ? -volume : 0), orderFlowWindow)
orderFlow := useSmoothing ? ta.hma(orderFlow, smoothingLength) : orderFlow
stdDev = ta.stdev(orderFlow, 45) * 1
normalizedOrderFlow = orderFlow/(stdDev + stdDev)
- Velocity Calculation:
The velocity of order flow changes is calculated using moving averages, providing a dynamic view of market momentum.
velocityDiff = ma((normalizedOrderFlow - ma(normalizedOrderFlow, velocitySignalLength, maTypeInput)) * 10, velocityCalcLength, maTypeInput)
- Display Options:
Users can choose their preferred display mode, focusing on either order flow, order velocity, or both.
orderFlowDisplayCond = displayMode != "Order Velocity" ? display.all : display.none
wideDisplayCond = displayMode != "Order Flow" ? display.all : display.none
- Reversal Indicators and Divergences:
The indicator also includes plots for potential bullish and bearish reversals, as well as regular and hidden divergences, adding depth to your market analysis.
bullishReversalCond = reversalType == "Order Flow" ? ta.crossover(normalizedOrderFlow, -1.5) : (reversalType == "Order Velocity" ? ta.crossover(velocityDiff, -4) : (ta.crossover(velocityDiff, -4) or ta.crossover(normalizedOrderFlow, -1.5)) )
bearishReversalCond = reversalType == "Order Flow" ? ta.crossunder(normalizedOrderFlow, 1.5) : (reversalType == "Order Velocity" ? ta.crossunder(velocityDiff, 4) : (ta.crossunder(velocityDiff, 4) or ta.crossunder(normalizedOrderFlow, 1.5)) )
In summary, the Standardized Orderflow indicator by AlgoAlpha is a versatile tool for traders aiming to enhance their market analysis. Whether you're focused on short-term momentum or long-term trends, this indicator provides valuable insights into market dynamics. 🌟📉📈
Standardized Median Proximity [AlgoAlpha]Introducing the Standardized Median Proximity by AlgoAlpha 🚀📊 – a dynamic tool designed to enhance your trading strategy by analyzing price fluctuations relative to the median value. This indicator is built to provide clear visual cues on the price deviation from its median, allowing for a nuanced understanding of market trends and potential reversals.
🔍 Key Features:
1. 📈 Median Tracking: At the core of this indicator is the calculation of the median price over a specified lookback period. By evaluating the current price against this median, the indicator provides a sense of whether the price is trending above or below its recent median value.
medianValue = ta.median(priceSource, lookbackLength)
2. 🌡️ Normalization of Price Deviation: The deviation of the price from the median is normalized using standard deviation, ensuring that the indicator's readings are consistent and comparable across different time frames and instruments.
standardDeviation = ta.stdev(priceDeviation, 45)
normalizedValue = priceDeviation / (standardDeviation + standardDeviation)
3. 📌 Boundary Calculations: The indicator sets upper and lower boundaries based on the normalized values, helping to identify overbought and oversold conditions.
upperBoundary = ta.ema(positiveValues, lookbackLength) + ta.stdev(positiveValues, lookbackLength) * stdDevMultiplier
lowerBoundary = ta.ema(negativeValues, lookbackLength) - ta.stdev(negativeValues, lookbackLength) * stdDevMultiplier
4. 🎨 Visual Appeal and Clarity: With carefully chosen colors, the plots provide an intuitive and clear representation of market states. Rising trends are indicated in a shade of green, while falling trends are shown in red.
5. 🚨 Alert Conditions: Stay ahead of market movements with customizable alerts for trend shifts and impulse signals, enabling timely decisions.
alertcondition(ta.crossover(normalizedValue, 0), "Bullish Trend Shift", "Median Proximity Crossover Zero Line")
🔧 How to Use:
- 🎯 Set your preferred lookback lengths and standard deviation multipliers to tailor the indicator to your trading style.
- 💹 Utilize the boundary plots to understand potential overbought or oversold conditions.
- 📈 Analyze the color-coded column plots for quick insights into the market's direction relative to the median.
- ⏰ Set alerts to notify you of significant trend changes or conditions that match your trading criteria.
Basic Logic Explained:
- The indicator first calculates the median of the selected price source over your chosen lookback period. This median serves as a baseline for measuring price deviation.
- It then standardizes this deviation by dividing it by the standard deviation of the price deviation over a 45-period lookback, creating a normalized value.
- Upper and lower boundaries are computed using the exponential moving average (EMA) and standard deviation of these normalized values, adjusted by your selected multiplier.
- Finally, color-coded plots provide a visual representation of these calculations, offering at-a-glance insights into market conditions.
Remember, while this tool offers valuable insights, it's crucial to use it as part of a comprehensive trading strategy, complemented by other analysis and indicators. Happy trading!
🚀
Volume Oscillators Focus IndicatorVolume Oscillators Focus Indicator
Short name VolumeFocus
This indicator seeks to show episodes of high and low volumes analyzing these by calculating three lines and create colorings on the basis of where these lines go relative to each other.
The first line is a percent based on the current volume level, for which a 3 period sma is taken.
It is calculated by using the lowest volume in the lookback as zero, the highest as 100 percent
This line is called “current volume level”
The second line is a percent, based on the median volume of the last five periods. This line is called “new normal volume”
The third line is a percent, based on the median volume of the lookback period. This is called “old normal volume”
For the second and third line the lowest “new normal volume” in the lookback is used as zero while the 100 percent level is the same as in the calculation of the first line.
The reasoning for the colors is as follows:
When both current en new normal level are below old normal, the volume is to be considered ‘low’. When volume is low, the background color is gray and the fill color between the old normal and current lines is navy.
When both current and new normal level are above old normal, the volume is to be considered ‘significantly expanded’. When this happens the fill color between current and old normal is orange.
When volume is not low it is considered normal or high and the background color is green.
The lookback is set to 50, it advise to keep it that way.
Use of the indicator.
Volume results from focus of the market on the instrument. When the price seems correct, some buy it, some sell it but most don’t care. Then the volume is low, the background is gray. The navy fill color indicates ‘how low’.
When the price seems off, many will care and start trading. Then volume is high, background is green. When the trading is really heating up the orange fill color appears, showing that the market has high focus on this instrument, perhaps move in a trend.
Of course we don’t know in which way the market tries to ‘correct’ the price, for that purpose I use this indicator together with REVE Cohorts which provide useful markers to explain what the excess volume means.
Eykpunter
Composite Bull-Bear Dominance IndexNote: CREDITS: This is based on the Up Down Volume Indicator (published in Trading View) and Elder Ray Index (Bull Bear Power).
The Composite Bull Bear Dominance Index (CBBDI) is a indicator that combines up down volume analysis with Bull and Bear Power to provide a comprehensive view of market dynamics. It calculates Z-scores for up down volume delta and bull bear power measures, averages them, and then smoothes the result using Weighted Moving Average (WMA) for Bull and Bear Power and Volume Weighted Moving Average (VWMA) for Up and Down Volume Delta. The advantages include responsiveness to short-term trends, noise reduction through weighting, incorporation of volume information, and the ability to identify significant changes in buying and selling pressure. The indicator aims to offer clear signals for traders seeking insights into overall market dominance and indicate if the bulls or the bears have the upper hand.
Volume Analysis (Up/Down Volume Delta):
Up/Down Volume Delta reflects the net difference between buying and selling volume, providing insights into the prevailing market sentiment.
Positive Delta: Indicates potential bullish dominance due to higher buying volume.
Negative Delta: Suggests potential bearish dominance as selling volume surpasses buying volume.
Price Analysis (Bull and Bear Power):
Bull and Bear Power measure the strength of buying and selling forces based on price movements and the Exponential Moving Average (EMA) of the closing price.
Positive Bull Power: Reflects bullish dominance, indicating potential upward momentum.
Positive Bear Power: Suggests bearish dominance, indicating potential downward momentum.
Composite Bull Bear Dominance Index (CBBDI):
CBBDI combines the standardized Z-scores of Up/Down Volume Delta and Bull Bear Power, providing an average measure of both volume and price-related dominance.
Positive CBBDI: Indicates an overall bullish dominance in both volume and price dynamics.
Negative CBBDI: Suggests an overall bearish dominance in both volume and price dynamics.
Smoothing Techniques:
The use of Weighted Moving Average (WMA) for smoothing Bull and Bear Power Z-scores, and Volume Weighted Moving Average (VWMA) for smoothing Up/Down Volume Delta, reduces noise and provides a clearer trend signal.
Smoothing helps filter out short-term fluctuations and emphasizes more significant trends in both volume and price movements.
Color Coding:
CBBDI values are color-coded based on their direction, visually representing the prevailing market sentiment.
Green Colors: Positive values indicate potential bullish dominance.
Red Colors: Negative values suggest potential bearish dominance.
Median Proximity Percentile [AlgoAlpha]📊🚀 Introducing the "Median Proximity Percentile" by AlgoAlpha, a dynamic and sophisticated trading indicator designed to enhance your market analysis! This tool efficiently tracks median price proximity over a specified lookback period and finds it's percentile between 2 dynamic standard deviation bands, offering valuable insights for traders looking to make informed decisions.
🌟 Key Features:
Color-Coded Visuals: Easily interpret market trends with color-coded plots indicating bullish or bearish signals.
Flexibility: Customize the indicator with your preferred price source and lookback lengths to suit your trading strategy.
Advanced Alert System: Stay ahead with customizable alerts for key trend shifts and market conditions.
🔍 Deep Dive into the Code:
Choose your preferred price data source and define lookback lengths for median and EMA calculations. priceSource = input.source(close, "Source") and lookbackLength = input.int(21, minval = 1, title = "Lookback Length")
Calculate median value, price deviation, and normalized value to analyze market position relative to the median. medianValue = ta.median(priceSource, lookbackLength)
Determine upper and lower boundaries based on standard deviation and EMA. upperBoundary = ta.ema(positiveValues, lookbackLength) + ta.stdev(positiveValues, lookbackLength) * stdDevMultiplier
lowerBoundary = ta.ema(negativeValues, lookbackLength) - ta.stdev(negativeValues, lookbackLength) * stdDevMultiplier
Compute the percentile value to track market position within these boundaries. percentileValue = 100 * (normalizedValue - lowerBoundary)/(upperBoundary - lowerBoundary) - 50
Enhance your analysis with Hull Moving Average (HMA) for smoother trend identification. emaValue = ta.hma(percentileValue, emaLookbackLength)
Visualize trends with color-coded plots and characters for easy interpretation. plotColor = percentileValue > 0 ? colorUp : percentileValue < 0 ? colorDown : na
Set up advanced alerts to stay informed about significant market movements. // Alerts
alertcondition(ta.crossover(emaValue, 0), "Bullish Trend Shift", "Median Proximity Percentile Crossover Zero Line")
alertcondition(ta.crossunder(emaValue, 0), "Bearish Trend Shift", "Median Proximity Percentile Crossunder Zero Line")
alertcondition(ta.crossunder(emaValue,emaValue ) and emaValue > 90, "Bearish Reversal", "Median Proximity Percentile Bearish Reversal")
alertcondition(ta.crossunder(emaValue ,emaValue) and emaValue < -90, "Bullish Reversal", "Median Proximity Percentile Bullish Reversal")
🚨 Remember, the "Median Proximity Percentile " is a tool to aid your analysis. It’s essential to combine it with other analysis techniques and market understanding for best results. Happy trading! 📈📉
Blockunity Drawdown Visualizer (BDV)Monitor the drawdown (value of the drop between the highest and lowest points) of assets and act accordingly to reduce your risk.
Introducing BDV, the incredibly intuitive metric that visualizes asset drawdowns in the most visually appealing manner. With its color gradient display, BDV allows you to instantly grasp the state of retracement from the asset’s highest price level. But that’s not all – you have the option to display the oscillator’s colorization directly on your chart, enhancing your analysis even further.
The Idea
The goal is to provide the community with the best and most complete tool for visualizing the Drawdown of any asset.
How to Use
Very simple to use, the indicator takes the form of an oscillator, with colors ranging from red to green depending on the Drawdown level. A table summarizes several key data points.
Elements
On the oscillator, you'll find a line with a color gradient showing the asset's Drawdown. The flatter line represents the Max Drawdown (the lowest value reached).
In addition, the table summarizes several data:
The asset's All Time High (ATH).
Current Drawdown.
The Max Drawdown that has been reached.
Settings
First of all, you can activate a "Bar Color" in the settings (You must also uncheck "Borders" and "Wick" in your Chart Settings):
You can display Fibonacci levels on the oscillator. You'll see that levels can be relevant to drawdown. The color of the levels is also configurable.
In the calculation parameters, you can first choose between taking the High of the candles or the Close. By default this is Close, but if you change the parameter to High, the indication next to ATH in the table will change, and you'll see that the values in the table will be affected.
The second calculation parameter (Start Date) lets you modify the effective start date of the ATH, which will affect the drawdown level. Here's an example:
How it Works
First, we calculate the ATH:
var bdv_top = bdv_source
bdv_top := na(bdv_top ) ? bdv_source : math.max(bdv_source, bdv_top )
Then the drawdown is calculated as follows:
bdv = ((bdv_source / bdv_top) * 100) - 100
Then the max drawdown :
bdv_max = bdv
bdv_max := na(bdv_max ) ? bdv : math.min(bdv, bdv_max )
Osmosis [ChartPrime]Osmosis is a multi indicator, multi period heatmap. Lookback periods can be mysterious as it can tend to seem very arbitrary. This tool allows users to see how price/volume reacts to short to long periods by visualizing all of the periods at the same time. This is useful because small periods are only good for short term movements while long periods are useful for long term movements. This more detailed view of market trends is analogues of multi time frame analysis. The lookback periods are arranged from bottom up, where the bottom of the indicator is the shortest period while the top is the longest period.
One major feature of this indicator is its ability to signal potential trend reversals. For example, a shift in the direction at the lower end of the heatmap can indicate a weakening of the current trend, suggesting a possible reversal. On the other hand, when the heatmap is fully saturated at all levels, it may indicate a strong trend that could be nearing a reversal point.
Another important and unique aspect of the Osmosis indicator is its automatic highlighting feature. This feature emphasizes regions within the heatmap that score exceptionally high or low, drawing attention to significant market movements or potential anomalies.
All of the indicators are normalized using min/max scaling driven by the highest highs and lows. The period of this scaling is adjustable by changing the "Lookback" parameter under settings. Delta length changes the lookback for "MA Delta" and "Volume Delta". A longer period corresponds to a smoother output. Fast Mode scales back the range of the indicator, literally halving the increment.
Here is a short description of what each input does:
Alternate Source: A choice to use a different data source for the indicator.
Source: An option to turn on or off the alternate data source.
Style: A selection menu to choose the visual style of the indicator.
Lookback: Adjusts how far back in time the indicator looks for its calculations.
Delta Length: Changes the length of time over which changes are measured.
Fast Mode: A setting that adjusts the range of the indicator for quicker analysis.
Enable Smoothing: A choice to smooth out the data for a cleaner look.
Smooth: Activates the smoothing feature.
Max Region: Highlights the highest value regions in the heatmap.
Max Threshold: Sets the threshold for what counts as a 'max' region.
Minimum Max Width: Determines the smallest size for a 'max' region to be highlighted.
Max Region Color: Chooses the color for the maximum value regions.
Max Top Line Alpha: Adjusts the transparency of the top line in max regions.
Max Bottom Line Alpha: Adjusts the transparency of the bottom line in max regions.
Line Width: Sets the thickness of the lines in the max regions.
Region Start Indication: Specifies where the max region starts.
Fill Max: Decides if the max regions should be filled with color and sets the transparency level for the color fill in max regions.
Minimum Region: Highlights the lowest value regions in the heatmap.
Minimum Threshold: Sets the threshold for what counts as a 'min' region.
Minimum Minimum Width: Determines the smallest size for a 'min' region to be highlighted.
Minimum Region Color: Chooses the color for the minimum value regions.
Minimum Top Line Alpha: Adjusts the transparency of the top line in min regions.
Minimum Bottom Line Alpha: Adjusts the transparency of the bottom line in min regions.
Minimum Line Width: Sets the thickness of the lines in the min regions.
Minimum Region Start Indication: Specifies where the min region starts.
Fill Minimum: Decides if the min regions should be filled with color and sets the transparency level for the color fill in min regions.
Color Presets: Provides pre-set color schemes.
Invert Color Scale: Flips the color scale.
Gradient Colors: Customizes individual colors for the gradient scale.
Available styles include:
'MACD Histogram'
'Normalized MACD'
'Slow MACD'
'MACD Percent Rank'
'MA Delta' (Delta Length set to 2)
'BB Width'
'BB Width Percentile'
'Stochastic'
'RSI'
'True Range OSC'
'Normalized Volume'
'Volume Delta'
'True Range'
'Rate of Change' (Smoothing set to 1)
'OBV' (Smoothing set to 1)
'MFI' (Smoothing set to 1)
'Trend Angle' (Smoothing set to 2 and fast mode off)
Fibonacci Averages Trend OscillatorOverview:
The Fibonacci Averages Trend Oscillator is a unique technical indicator that leverages Fibonacci numbers to analyze market trends. It calculates the average trend sentiment over periods determined by Fibonacci numbers and smooths the result to create an oscillator.
Key Features:
Uses Fibonacci sequences for trend analysis.
Smooths the trend data to create a clear oscillator.
Offers adjustable oversold and overbought levels for customized analysis.
Inputs:
Max Fib Number: Select the highest Fibonacci number for trend calculation.
Smooth: Adjust the smoothness of the oscillator line.
Using the Oscillator:
A rising oscillator indicates a bullish trend, while a falling oscillator suggests bearish sentiment.
Oversold and overbought levels help identify potential reversal points.
Use the oscillator in conjunction with other indicators for comprehensive market analysis.
Tips for Effective Use:
Adjusting Fibonacci Levels: Experiment with different 'Max Fib Number' settings to find the one that best matches your trading style and the asset's characteristics. Higher Fibonacci numbers consider longer periods, which might be more suitable for long-term trend analysis.
Smoothing Level: The 'Smooth' input helps in reducing noise. A higher smooth level results in a less responsive but smoother line, which can be useful for identifying the overall trend direction.
Interpreting Overbought/Oversold: Watch for the oscillator reaching overbought or oversold levels. These points could signal potential trend reversals or consolidation phases.
Combination with Other Tools: For best results, combine the Fibonacci Averages Trend Oscillator with other technical tools like moving averages, RSI, or MACD to validate the signals and develop a robust trading strategy.
Conclusion:
The Fibonacci Averages Trend Oscillator offers a unique approach to trend analysis by incorporating Fibonacci numbers into its calculation. Its adjustable settings allow for customization to fit various trading styles and market conditions, making it a versatile tool for traders seeking to enhance their technical analysis capabilities.
ADX and DI (Colored Candles Open-Source)The "ADX and DI (Colored Candles Open-Source)" indicator is a technical analysis tool used in trading. It utilizes the Average Directional Index (ADX) and the Directional Movement Indicators (+DI and -DI) to assess the strength and direction of a price trend. The ADX is calculated based on a 14-period lookback and is displayed as a histogram.
The color of the ADX histogram varies depending on the ADX value and the relative positions of +DI and -DI. Green and purple colors represent bullish and bearish trends respectively, with variations in shades indicating trend strength. Yellow and red colors indicate potential trend exhaustion for bullish and bearish trends, respectively, when ADX is above 50. Gray color is used when ADX is below 10, indicating a neutral trend.
Additionally, the script plots +DI and -DI lines with a fill between them to visually represent their crossover. Horizontal dotted lines are drawn at key ADX levels (0, 10, 25, 50) for reference. The candles on the chart are also colored to match the ADX histogram, providing a clear visual representation of the market trend.
F.B_Vortex Indicator ProThe "F.B_Vortex Indicator Pro" is a technical analysis tool designed to identify trends in financial markets. It calculates two Vortex Indicators (VI) based on price movements, considering positive and negative price changes.
The smoothed VI+ line represents the smoothed negative trend, while the smoothed VI+ line represents the smoothed positive trend.
The crossing of the smoothed VI+ line above the smoothed VI+ line could indicate a potential bullish trend.
Conversely, the crossing of the smoothed VI+ line above the smoothed VI+ line suggests a possible bearish trend.
The "Smoothed VI-" line is also displayed.
When the Smoothed VI- line is above both the smoothed VI+ line and the smoothed VI+ line, it may signal a transition to a bearish main trend or indicate an expected one.
When the Smoothed VI- line is below both the smoothed VI+ line and the smoothed VI+ line, it may indicate a transition to a bullish main trend or suggest an expected one.
Adjustments can be made using input parameters such as length and smoothing periods to tailor the indicator to specific market conditions.
Monitor XThe Monitor X Indicator is a dynamic tool designed for any trading symbol, providing a quick and intuitive snapshot of price action relative to the latest closing level. With a user-friendly interface, this indicator allows traders to effortlessly gauge price movement and key levels.
Key Features:
1. Symbol Agnosticism:
Universally applicable to any trading symbol, the Monitor X Indicator ensures versatility and adaptability across various financial instruments.
2. Instant Price Insight:
Obtain immediate clarity on current market dynamics with a single glance. The indicator prominently displays the price line, facilitating swift analysis.
3. Last Close Comparison:
Easily assess the price's relationship to the most recent closing level. This feature provides valuable context for understanding market sentiment and potential support/resistance areas.
4. Customizable Display:
Tailor the indicator to your preferences with adjustable settings for line color, width, and opacity. This customization empowers traders to align the indicator with their unique trading strategies.
5. Intuitive Interface:
The clean and intuitive interface ensures a seamless user experience. Access crucial information effortlessly, allowing for quick decision-making.
How to Use:
1. Symbol Selection:
Apply the Monitor X Indicator to any trading symbol of your choice, ensuring a versatile tool for your entire portfolio.
2. Last Close Analysis:
Quickly assess how the current price relates to the previous close. This instant comparison aids in identifying potential entry and exit points.
3. Customization for Precision:
Fine-tune the indicator's appearance to suit your preferences. Adjust line colors, widths, and opacity settings for a personalized and efficient trading experience.
4. Swift Decision-Making:
Utilize the Monitor X Indicator for rapid decision-making. Gain insights into market movements at a glance, allowing you to stay ahead in dynamic trading environments.
Momentum Bias Index [AlgoAlpha]Description:
The Momentum Bias Index by AlgoAlpha is designed to provide traders with a powerful tool for assessing market momentum bias. The indicator calculates the positive and negative bias of momentum to gauge which one is greater to determine the trend.
Key Features:
Comprehensive Momentum Analysis: The script aims to detect momentum-trend bias, typically when in an uptrend, the momentum oscillator will oscillate around the zero line but will have stronger positive values than negative values, similarly for a downtrend the momentum will have stronger negative values. This script aims to quantify this phenomenon.
Overlay Mode: Traders can choose to overlay the indicator on the price chart for a clear visual representation of market momentum.
Take-profit Signals: The indicator includes signals to lock in profits, they appear as labels in overlay mode and as crosses when overlay mode is off.
Impulse Boundary: The script includes an impulse boundary, the impulse boundary is a threshold to visualize significant spikes in momentum.
Standard Deviation Multiplier: Users can adjust the standard deviation multiplier to increase the noise tolerance of the impulse boundary.
Bias Length Control: Traders can customize the length for evaluating bias, enabling them to fine-tune the indicator according to their trading preferences. A higher length will give a longer-term bias in trend.
F.B_Stochastic Trend HarmonizerThe "F.B_Stochastic Trend Harmonizer" has been developed to provide insights into market trends. It combines stochastic oscillations with moving averages. Stochastic oscillators are used to measure market fluctuations, while moving averages serve to smooth these fluctuations and identify trends. By linking these elements, the indicator aims to offer an enhanced representation of market dynamics and potential trend reversals.
You can choose various types of moving averages such as SMA, EMA, or WMA and control the sensitivity of the lines by adjusting the smoothing factors. The fast line displays harmonized stochastic values, while the slow line is smoothed by a moving average.
The "Fast Line 2" marks individual candles for better visibility. It is recommended to combine this indicator with other analysis tools to make trading decisions.
If the "Fast Line" is greater than the "Slow Line MA," it indicates an uptrend. Conversely, if the "Fast Line" is smaller than the "Slow Line MA," it signals a downtrend.
Instant MACD (IMACD)The "Instant MACD" is a tailored version of the traditional Moving Average Convergence Divergence indicator, specifically designed to begin plotting with minimal data, such as in cases of high timeframe charts or newly listed trading instruments. Unlike the standard MACD that requires a substantial amount of data to provide accurate readings, the Instant MACD can deliver insights with as few as two candlesticks.
This iteration of the MACD utilizes the Chebyshev filter for the computation of both the fast and slow moving averages as well as for the signal line. The Chebyshev filter is known for its effectiveness in smoothing data series and reducing ripple effects, which is particularly advantageous when working with limited datasets.
The Instant MACD comprises several components. The histogram, which illustrates the difference between the MACD line and the signal line, adjusts its color based on the directional momentum; it transitions between shades of green and red as the histogram moves above or below the zero line and increases or decreases in value. The MACD line, depicted in blue, represents the disparity between the fast and slow Chebyshev moving averages. Complementing it is the signal line in orange, which is a Chebyshev-filtered mean of the MACD line and serves as an indicator of potential momentum shifts.
Additionally, the indicator includes a zero line for reference, aiding in the visualization of the convergence or divergence of the MACD and signal lines. To enhance its utility, the script encompasses alert conditions to notify users when there is a change in the trend of the histogram—specifically, when it transitions from a rising to a falling state and vice versa, potentially indicating shifts in market momentum.
Overall, the Instant MACD is an innovative tool for traders who require early trend signals in scenarios where traditional MACD analysis might be hampered by the lack of extensive historical data.
tl;dr this is identical to the regular macd but it starts working almost instantly.
BTC Supply in Profits and Losses (BTCSPL) [AlgoAlpha]Description:
🚨The BTC Supply in Profits and Losses (BTCSPL) indicator, developed by AlgoAlpha, offers traders insights into the distribution of INDEX:BTCUSD addresses between profits and losses based on INDEX:BTCUSD on-chain data.
Features:
🔶Alpha Decay Adjustment: The indicator provides the option to adjust the data against Alpha Decay, this compensates for the reduction in clarity of the signal over time.
🔶Rolling Change Display: The indicator enables the display of the rolling change in the distribution of Bitcoin addresses between profits and losses, aiding in identifying shifts in market sentiment.
🔶BTCSPL Value Score: The indicator optionally displays a value score ranging from -1 to 1, traders can use this to carry out strategic dollar cost averaging and reverse dollar cost averaging based on the implied value of bitcoin.
🔶Reversal Signals: The indicator gives long-term reversal signals denoted as "▲" and "▼" for the price of bitcoin based on oversold and overbought conditions of the BTCSPL.
🔶Moving Average Visualization: Traders can choose to display a moving average line, allowing for better trend identification.
How to Use ☝️ (summary):
Alpha Decay Adjustment: Toggle this option to enable or disable Alpha Decay adjustment for a normalized representation of the data.
Moving Average: Toggle this option to show or hide the moving average line, helping traders identify trends.
Short-Term Trend: Enable this option to display the short-term trend based on the Aroon indicator.
Rolling Change: Choose this option to visualize the rolling change in the distribution between profits and losses.
BTCSPL Value Score: Activate this option to show the BTCSPL value score, ranging from -1 to 1, 1 implies that bitcoin is extremely cheap(buy) and -1 implies bitcoin is extremely expensive(sell).
Reversal Signals: Gives binary buy and sell signals for the long term
Smart Money Oscillator [ChartPrime]The "Smart Money Oscillator " is a premium and discount zone oscillator with BOS and CHoCH built in for further analysis of price action. This indicator works by first determining the the premium and discount zones by using pivot points and high/lows. The top of this oscillator represents the current premium zone while the bottom half of this oscillator represents the discount zone. This oscillator functionally works like a stochastic oscillator with more sophisticated upper and lower bounds generated using smart money concept theories. We have included a moving average to allow the user to visualize the currant momentum in the oscillator. Another key feature we have included lagging divergences to help traders visualize potential reversal conditions.
Understanding the concepts of Premium and Discount zones, as well as Break of Structure (BoS) and Change of Character (CHoCH), is crucial for traders using the Smart Money Oscillator. These concepts are rooted in market structure analysis, which involves studying price levels and movements.
Premium Zone is where the price is considered to be relatively high or 'overbought'. In this zone, prices have risen significantly and may indicate that the asset is becoming overvalued, potentially leading to a reversal or slowdown in the upward trend.
The Discount Zone represents a 'discount' or 'oversold' area. Here, prices have fallen substantially, suggesting that the asset might be undervalued. This could be an indicator of a potential upward reversal or a pause in the downward trend.
Break of Structure (BoS) is about the continuation of a trend. In a bullish trend, a BoS is identified by the break of a recent higher high. In a bearish trend, it's the break of a recent Lower Low. BoS indicates that the trend is strong and likely to continue in its current direction. It's a sign of strength in the prevailing trend, whether up or down.
Change of Character (CHoCH) is an indication of a potential end to a trend. It occurs when there's a significant change in the market's behavior, contradicting the current trend. For example, in an uptrend characterized by higher highs and higher lows, a CHoCH may occur if a new high is formed but then is followed by an impulsive move downwards. This suggests that the bullish trend may be weakening and a bearish reversal could be imminent. CHoCH is essentially a sign of trend exhaustion and potential reversal.
With each consecutive BoS, the signal line of the oscillator will deepen in color. This allows you to visually see the strength of the current trend. The maximum strength of the trend is found by keeping track of the maximum number of consecutive BoS's within a window of 10. This calculation excludes periods without any BoS's to allow for a more stable max.
Quick Update is a feature that implements a more aggressive algorithm to update the highs and lows. Instead of updating the pivot points exclusively to update the range levels, it will attempt to use the current historical highs/lows to update the bounds. This results in a more responsive range at the cost of stability. There are pros and cons for both settings. With Quick Update disabled, the indicator will allow for strong reversals to register without the indicator maxing out. With Quick Update enabled, the indicator will show shorter term extremes with the risk of the signal being pinned to the extremities during strong trends or large movements. With Quick Update disabled, the oscillator prioritizes stability, using a more historical perspective to set its bounds. When Quick Update is enabled, the oscillator becomes more responsive, adjusting its bounds rapidly to reflect the latest market movements.
The Scale Offset feature allows the indicator to break the boundaries of the oscillator. This can be useful when the market is breaking highs or lows allowing the user to identify extremities in price. With Scale Offset disabled the oscillator will always remain inside of the boundaries because the extremities will be updated instantly. When this feature is enabled it will update the boundaries one step behind instead of updating it instantly. This allows the user to more easily see overbought and oversold conditions at the cost of incurring a single bar lag to the boundaries. Generally this is a good idea as this behavior makes the oscillator more sensitive to recent price spikes or drops, reflecting sudden market movements more accurately. It accentuates the extremities of the market conditions, potentially offering a more aggressive analysis. The main trade-off with the Scale Offset feature is between sensitivity and potential overreaction. It offers a more immediate and exaggerated reflection of market conditions but might also lead to misinterpretations in certain scenarios, especially in highly volatile markets.
Divergence is used to predict potential trend reversals. It occurs when the price of an asset and the reading of an oscillator move in opposite directions. This discrepancy can signal a weakening of the current trend and possibly indicate a potential reversal.
Divergence doesn't always lead to a trend reversal, but it's a warning sign that the current trend might be weakening. Divergence can sometimes give false signals, particularly in strongly trending markets where the oscillator may remain in overbought or oversold conditions for extended periods. The lagging nature of using pivot points to calculate divergences means that all divergences are limited by the pivot look forward input. The upside of using a longer look forward is that the divergences will be more accurate. The obvious con here is that it will be more delayed and might be useless by the time it appears. Its recommended to use the built in divergences as a way to learn how these are formed so you can make your own in real time.
By default, the oscillator uses a smoothing of 3 to allow for a more price like behavior while still being rather smooth compared to raw price data. Conversely, you can increase this value to make this indicator behave smoother. Something to keep in mind is that the amount of delay from real time is equal to half of the smoothing period.
We have included a verity of alerts in this indicator. Here is a list of all of the available alerts: Bullish BOS, Bearish BOS, Bullish CHoCH, Bearish CHoCH, Bullish Divergence, Hidden Bullish Divergence, Bearish Divergence, Hidden Bearish Divergence, Cross Over Average, Cross Under Average.
Below are all of the inputs and their tooltips to get you started:
Settings:
Smoothing: Specifies the degree of smoothing applied to the oscillator. Higher values result in smoother but potentially less responsive signals.
Average Length: Sets the length of the moving average applied to the oscillator, affecting its sensitivity and smoothness.
Pivot Length: Specifies the forward-looking length for pivot points, affecting how the oscillator anticipates future price movements. This directly impacts the delay in finding a pivot.
Max Length: Sets the maximum length to consider for calculating the highest values in the oscillator.
Min Length: Defines the minimum length for calculating the lowest values in the oscillator.
Quick Update: Activates a faster update mode for the oscillator's extremities, which may result in less stable range boundaries.
Scale Offset: When enabled, delays updating minimum and maximum values to enhance signal directionality, allowing the signal to occasionally exceed normal bounds.
Candle Color: Enables coloring of candles based on the current directional signal of the oscillator.
Labels:
Enable BOS/CHoCH Labels: Activates the display of BOS (Break of Structure) and CHoCH (Change of Character) labels on the chart.
Visual Padding: Turns on additional visual padding at the top and bottom of the chart to accommodate labels. Determines the amount of visual padding added to the chart for label display.
Divergence:
Divergence Pivot: Defines the number of bars to the right of the pivot in divergence calculations, influencing the oscillator's responsiveness.
Divergence Pivot Forward: Directly impacts latency. Longer periods results in more accurate results at the sacrifice of delay.
Upper Range: Sets the upper range limit for divergence calculations, influencing the oscillator's sensitivity to larger trends.
Lower Range: Determines the lower range limit for divergence calculations, affecting the oscillator's sensitivity to shorter trends.
Symbol: Allows selection of the label style for divergence indicators, with options for text or symbolic representation.
Regular Bullish: Activates the detection and marking of regular bullish divergences in the oscillator.
Hidden Bullish: Enables the identification and display of hidden bullish divergences.
Regular Bearish: Turns on the feature to detect and highlight regular bearish divergences.
Hidden Bearish: Activates the functionality for detecting and displaying hidden bearish divergences.
Color:
Bullish: Determines the minimum/maximum color gradient for bullish signals, impacting the chart's visual appearance.
Bearish: Defines the minimum/maximum color gradient for bearish signals, affecting their visual representation.
Average: Specifies the color for the average line of the oscillator, enhancing chart readability.
CHoCH: Sets the color for bullish/bearish CHoCH (Change of Character) signals.
Premium/Discount: Determines the color for the premium/discount zone in the oscillator's visual representation.
Text Color: Sets the color for the text in BoS/CHoCH labels.
Regular Bullish: Defines the color used to represent regular bullish divergences.
Hidden Bullish: Specifies the color for hidden bullish divergences.
Regular Bearish: Determines the color for hidden bearish divergences.
Divergence Text Color: Specifies the color for the text in divergence labels.
Activity & Chop ScoreRelease Notes:
The Activity and Chop Score was designed to help traders quickly determine if a market is active and/or choppy (not moving with any urgency). Slow and chopping markets should be approached with caution or avoided.
How does it work? The Activity Score incorporates momentum and the linear regression. Momentum (change in price over time) is compared over a long and short time period. Active markets are when those are moving together. This is combined with a linear regression of the price to determine the Correlation Coefficient (r^2) to measure of trend strength. The score is a is the average of the two momentum values, normalized by the standard deviation, and scaled by the trend (r^2 value). Chop is defined as divergence between long and short momentum periods. The divergences (chop) are quantified with a Jaccard Similarity Score, normalized by the standard deviation, and averaged to create a score.
How can you use it? This indicator is best used on lower timeframes. Activity Scores Values below 1 are considered low and values over 2 are high. Avoid markets where the Activity Score is below 1. There is an alert threshold in the options. Pivots are worth paying attention too as well as they indicate the start and stop of a recent move. You can compare markets or assets with the Chop Score. You make chose to avoid those with higher Chop Score. The position of the two lines relative to each other are useful. Ideally, the Activity Score is higher than the Chop Score. As with any indicators, it should be used in combination with others that best suits your trading style.
Open Interest OscillatorIn the middle of a bustling cryptocurrency market, with Bitcoin navigating a critical phase and the community hype over potential ETF approvals, current funding rates, and market leverage, the timing is optimal to harness the capabilities of sophisticated trading tools.
Meet the Open Interest Oscillator – special indicator tailored for the volatile arena of cryptocurrency trading. This powerful instrument is adept at consolidating open interest data from a multitude of exchanges, delivering an in-depth snapshot of market sentiment across all timeframes, be it a 1-minute sprint or a weekly timeframe.
This versatile indicator is compatible with nearly all cryptocurrency pairs, offering an expansive lens through which traders can gauge the market's pulse.
Key Features:
-- Multi-exchange Data Aggregation: This feature taps into the heart of the crypto market by aggregating open interest data from premier exchanges such as BINANCE, BITMEX, BITFINEX, and KRAKEN. It goes a step further by integrating data from various pairs and stablecoins, thus providing traders with a rich, multi-dimensional view of market activities.
-- Open Interest Bars: Witness the flow of market dynamics through bars that depict the volume of positions being opened or closed, offering a clear visual cue of trading behavior. In this mode, If bars are going into negative zone, then traders are closing their positions. If they go into positive territory - leveraged positions are being opened.
-- Bollinger Band Integration: Incorporate a layer of statistical analysis with standard deviation calculations, which frame the open interest changes, giving traders a quantified edge to evaluate the market's volatility and momentum.
-- Oscillator with Customizable Thresholds: Personalize your trading signals by setting thresholds that resonate with your unique trading tactics. This customization brings the power of tailored analytics to your strategic arsenal.
-- Max OI Ceiling Setting: In the fast-paced crypto environment where data can surge to overwhelming levels, the Max OI Ceiling ensures you maintain a clear view by capping the open interest data, thus preserving the readability and interpretability of information, even when market activity reaches feverish heights.
ROC & EMAIn summary, this allows you to plot the ROC, its EMA, and dynamically display the value of this EMA on the chart.
You can configure different lengths and colors.
Unpretentious code, just for the pleasure of sharing.
Thank you for sharing your comments with me, which will be welcome.