Price Change IndicatorEnglish:
This indicator calculates the percentage change in price from the opening to the high and from the opening to the low for the current candle. It allows users to set a threshold percentage for both price increases and decreases. If the price change exceeds the specified threshold, the indicator generates signals and marks them on the chart. A green triangle indicates a price increase exceeding the set threshold, and a red triangle indicates a price decrease exceeding the set threshold.
Inputs:
% UP: Percentage threshold for a price increase.
% DOWN: Percentage threshold for a price decrease.
------------------------
Russian:
Этот индикатор рассчитывает процентное изменение цены от открытия до максимума и от открытия до минимума для текущей свечи. Он позволяет установить пороговый процент как для увеличения, так и для уменьшения цены. Если изменение цены превышает установленный порог, индикатор генерирует сигналы и отмечает их на графике. Зеленый треугольник указывает на увеличение цены сверх установленного порога, а красный треугольник - на уменьшение цены сверх установленного порога.
Настройки:
% ВВЕРХ: Пороговый процент для увеличения цены.
% ВНИЗ: Пороговый процент для уменьшения цены.
Volatilidad
Heikin Ashi Smoothed Buy Sell with FiltersWhat is the Heikin Ashi Smoothed Buy-Sell Indicator?
This Pine Script code defines a complex indicator used to determine buy-sell signals on financial charts. The indicator operates based on the smoothed version of Heikin Ashi and is fortified with various filters.
1. Parameters and Settings:
At the start of the code, there are a series of input parameters for the user to customize the indicator. These parameters include:
Trend Filter: Checks whether it is above or below the long-term moving average.
Momentum Filter: Uses the RSI (Relative Strength Index) indicator to check if the market is overbought or oversold.
Volatility Filter: Evaluates the market's volatility level using the ATR (Average True Range) indicator.
Volume Filters: Uses various volume-related parameters to measure the strength of the trade signal.
Trade Settings: Specifies percentage values for target and stop-loss levels to be used in trading.
Moving Average Settings: Allows you to select which moving average to use and its duration.
2. Heikin Ashi Smoothed Calculations:
Heikin Ashi is a charting method used to more clearly represent price movements. The smoothed Heikin Ashi ensures smoother price movements.
3. Moving Average Calculations:
The indicator contains a function to calculate different types of moving averages. These moving averages are used to determine the market trend.
4. Filters:
This indicator includes a series of filters to enhance the quality of the signal. Filters help reduce false signals and produce more robust trading signals.
5. Buy-Sell Signals:
All these filters and calculations are brought together to determine potential buy and sell signals. Signals are triggered when all the specified conditions are met.
6. Chart Visualizations:
This indicator uses various plotting functions to visualize signals and trend information on the chart. This allows the user to easily see signals and the trend on the chart.
7. Trade Settings:
When buy and sell signals are triggered, this section checks if it has reached the specified targets and stop-loss levels.
8. Alerts:
This indicator also sends alerts to the user when specific conditions are met. This ensures that the user doesn't miss potential trading opportunities.
In conclusion, this Pine Script indicator produces buy-sell signals by analyzing market movements and applying various filters. Based on the smoothed version of Heikin Ashi, this indicator is useful for trend followers and is fortified with various filters, thus enhancing the quality of trading signals.
Heikin Ashi Yumuşatılmış Al-Sat Göstergesi Nedir?
Bu Pine Script kodu, finansal grafiklerde al-sat sinyallerini belirlemek için kullanılan karmaşık bir göstergeyi tanımlar. Gösterge, Heikin Ashi'nin yumuşatılmış sürümünü temel alarak çalışır ve çeşitli filtrelerle güçlendirilmiştir.
1. Parametreler ve Ayarlar:
Kodun başlangıcında, kullanıcının göstergeyi kişiselleştirmesi için bir dizi giriş parametresi bulunmaktadır. Bu parametreler şunları içerir:
Trend Filtresi: Uzun vadeli hareketli ortalamanın üstünde veya altında olup olmadığını kontrol eder.
Momentum Filtresi: RSI (Göreceli Güç Endeksi) göstergesini kullanarak piyasanın aşırı alım veya aşırı satım durumunu kontrol eder.
Oynaklık Filtresi: ATR (Ortalama Gerçek Aralık) göstergesi ile piyasanın oynaklık seviyesini değerlendirir.
Hacim Filtreleri: Ticaret sinyalinin gücünü ölçmek için hacimle ilgili çeşitli parametreleri kullanır.
Ticaret Ayarları: Ticarette kullanılacak hedef ve stop-loss seviyeleri için yüzdelik değerleri belirtir.
Hareketli Ortalama Ayarları: Hangi hareketli ortalamayı kullanacağınızı ve bu ortalamanın süresini seçmenizi sağlar.
2. Heikin Ashi Yumuşatılmış Hesaplamaları:
Heikin Ashi, fiyat hareketlerini daha net bir şekilde göstermek için kullanılan bir grafikleme yöntemidir. Yumuşatılmış Heikin Ashi, fiyat hareketlerinin daha pürüzsüz olmasını sağlar.
3. Hareketli Ortalama Hesaplamaları:
Gösterge, farklı türde hareketli ortalamaları hesaplamak için bir fonksiyon içerir. Bu hareketli ortalamalar, piyasa trendini belirlemek için kullanılır.
4. Filtreler:
Bu gösterge, sinyal kalitesini artırmak için bir dizi filtre içerir. Filtreler, yanlış sinyalleri azaltmaya yardımcı olur ve daha sağlam ticaret sinyalleri üretir.
5. Al-Sat Sinyalleri:
Tüm bu filtreler ve hesaplamalar, potansiyel al ve sat sinyallerini belirlemek için bir araya getirilir. Sinyaller, belirlenen koşulların tümü karşılandığında tetiklenir.
6. Grafik Görselleştirmeleri:
Bu gösterge, sinyalleri ve trend bilgisini grafik üzerinde görselleştirmek için çeşitli çizim fonksiyonları kullanır. Bu, kullanıcının grafik üzerinde kolayca sinyalleri ve trendi görmesini sağlar.
7. Ticaret Ayarları:
Alış ve satış sinyalleri tetiklendiğinde, bu bölüm belirlenen hedeflere ve stop-loss seviyelerine ulaşıp ulaşmadığını kontrol eder.
8. Uyarılar:
Bu gösterge ayrıca, belirli koşullar karşılandığında kullanıcıya uyarı gönderir. Bu, kullanıcının potansiyel ticaret fırsatlarını kaçırmamasını sağlar.
Sonuç olarak, bu Pine Script göstergesi, piyasa hareketlerini analiz ederek ve çeşitli filtreleri uygulayarak al-sat sinyalleri üretir. Heikin Ashi'nin yumuşatılmış sürümüne dayanan bu gösterge, trend takipçileri için kullanışlıdır ve çeşitli filtrelerle güçlendirilmiştir, böylece ticaret sinyallerinin kalitesi artar.
[Spinn] Average True RangeThe "Average True Range" indicator is a popular tool that measures price volatility. In this modified indicator, I present two methods of calculating ATR: the outdated classical one based on RMA (EMA, SMA, WMA), and the modernized one using the Super Smoother filter.
Why has exponential smoothing become outdated?
Exponential smoothing (EMA) has drawbacks, especially when it comes to identifying cyclical components in the data (and RMA is a variant of EMA). EMA creates phase shifts and distortions, making it less predictable and accurate in tracking real price movements. Modern filters, such as Super Smoother, offer a higher degree of adaptability and precision while ensuring significantly less lag, better smoothness, and superior cycle detection.
Why use more contemporary filters like Super Smoother?
The Super Smoother filter combines exponential smoothing and trigonometric functions for more accurate and smooth tracking of price movements. This filter enhances cycle tracking and reduces the lag often found when using EMA. As a result, signals based on Super Smoother are often more precise and representative of real price movements.
Drawbacks of other smoothing filters commonly used with ATR:
SMA. The lag is (N-1)/2, where N = period. This is terrible.
WMA. According to John F. Ehlers, "It appears that the WMA was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag". It has been proven that WMA has worse suppression than the equivalent SMA, and WMA has more delay in the passband than the equivalent EMA. In short, WMA has drawbacks but no advantages compared to other popular moving averages.
It is also a good idea to use the median to average the results.
Test, experiment, use!
Wick Percentage IndicatorIndicator for upper and lower wicks. One plot for upper wick, one for lower.
Percentage of wick is based on the opening price of the candle.
Candlestick Percentile RankCANDLESTICK PERCENTILE RANK
█ OVERVIEW
This script is designed to sample all available candles within a chosen time frame and provide a candlestick percentile rank to each candle. This script works by measuring a candle's body or its low to high value to the upside, or to the downside in percentage or in dollar value. Once the candle is measured its given a value based on all the previous measurements. You will be able to know if a body ( or a full candle/bar ) is above, or below a certain percentile level. By doing this you're effectively going to know if a candle is under performing or under-performing compared to the chart's history.
Example : A candle that did a 30% move vs another did a 10% and a third did a 5%. Here we 3 candles. The one that did a 30% is going to be ranked at 100 because it's the highest while the 5% candle ranks at 0 and the 10% candles ranks at 50. you see how this works. Having a candle in the 90th percentile means at that time it scored better than 90% of the preceding candles based on its move ( in dollar or percentage ).
So imagine you have an organic move of an up trend, ideally and what you want to see is this ; a candle with a low rank followed by one that's higher, followed by one that's also higher until the trend stops and you see a pin bar or whatever topping candle. You expect to see a rank going from low value to high value to suddenly sharply decrease to low value.
Constant low values may indicate lower volatility or time to change. For example, a doji candle will create a very low percentile rank value ( body-wise ). A high percentile rank value means high volatility on body and full candle calculations.
^ This is only one use of it.
A trendline may also form with a breakout points and information about the trend of the volatility of recent candles. Moving averages when applied to these calculations and to the percentile ranks can absolutely help in making these trends a bit smoother which is why you can add them to the graph. if you wish.
This script can be used in multiple ways including as a measure of volatility. or for statistical purposes. If I know the 50th percentile of a candle value I can know a very critical information about an asset's behavior and how volatile it is compared to another. There are many questions that can be answered using this script. How many times has this asset printed a candle of x% in the past y amount of time and how often does that happen. Is this candle or that truly rare ?
This script also has an option to highlight a specific percentile level showing its value. You can also see the number of sampled candles for clarity on the reliability of the data.
In conclusion, candlesticks effect each others. The whole candlestick/bars patterns is based on this. The percentile Rank is an effective way to observe and study these effects. The percentile rank shows you how on a measuring stick from 0 to 100 how a candle ( body or full low-high ) ranks compared to other candles in the past based on dollar value or percentage value. There are many untapped usages of the percentile rank when applied to candlesticks calculations and I hope this script can help you with this. If one can study the behavior of an asset and its bars percentile ranks they can unlock some probabilistic advantages.
█ Future Plans and upgrades to this script may include :
1. Count the times a percentile level is hit.
2. Display details about the highest/lowest levels.
and more! feel free to let me know what you'd like to see!
█ How to use :
1. Put the script on your chart
2. Navigate to the settings
give the script a few seconds and you should be set.
pips barThis indicator displays a line (pips bar) of lengths corresponding to the set number of pips on the chart. This pips bar serves as a reference for assessing the volatility of the displayed chart. One pip for currency pairs is distinguished for JPY pairs and for others.
The horizontal position of the pips bar is offset to the right of the latest bar by the specified bar amount, and the vertical position can be selected from Top, Middle, or Bottom, calculated using the maximum and minimum values visible on the chart.
[BCT] Option Pricing via Markov Chain Monte Carlo SimulationOverview:
This script offers a toolkit for quantitative options trading, using Monte Carlo simulations based on actual historical returns to model potential future price paths for underlying assets. A range of metrics related to options trading are also provided.
Monte Carlo Simulations:
The script employs Monte Carlo simulations to model future price paths based on the historical returns of the underlying asset. These simulated paths are represented as parabolas at the 2-sigma, 25th percentile, and median levels for quick reference.
Methodologies:
For calculating options prices at At-the-Money (or any user-selected strike), two methodologies are used:
Simple Averaging: Takes the mean of the simulated asset price paths.
Kernel Density Estimation (KDE): Applied to the simulated asset price paths to produce a smoothed estimate of its probability density function, thereby aiding in a more nuanced option price calculation.
Bootstrap Resampling:
Bootstrap resampling is specifically applied to the simulated asset price paths to generate an estimate of the standard deviation of the options prices. Note that while bootstrap methods are employed, they serve as statistical tools and do not guarantee statistical reliability.
Metrics Displayed:
Model-Estimated At-the-Money (or selected strike) Straddle Price
Model-Estimated At-the-Money (or selected strike) Call Price
Model-Estimated At-the-Money (or selected strike) Put Price
Model-Estimated Standard deviation for Option Prices from simulated price paths
Underlying Monte Carlo Simulation Results (represented as parabolas at the 2 sigma, 25 percentile and median)
This is not financial advice. Use at your own risk.
Disclaimer: Options trading carries a high level of risk and may not be suitable for all investors. This script is intended to serve as an educational tool and should not be considered financial advice. While designed to aid in decision-making, the script's indicators are not guarantees of performance or outcomes. Always conduct your own due diligence before making trading decisions.
Auto Trailing stoploss By InvestYourAsset💥The Auto Trailing Stop-Loss indicator is a technical indicator that uses the ATR (Average True Range) to calculate a trailing stop-loss for both long and short positions.
💥The signals according to the indicator allows traders to exit from the position before its too late! The indicator can be used to determine when to enter and exit trades.
💥To use the indicator, you simply need to set the input parameters to suit your trading style and risk tolerance. The default values for the parameters are:
p: The ATR period (14)
q: The stop period (20)
x: The multiplier used to calculate the initial high and initial low (1.5)
Calculations:
📈Calculates the ATR using the specified period you can modify ATR period according to your trading style.
📈Calculates the initial high and low stop levels based on the highest high and lowest low over the user defined ATR period.
📈Calculates short and long stoploss levels using the initial high and low stops.
💥Once you have set the input parameters according to your trading style whether you are a day trader or a swing trader, the indicator will plot the short stoploss, long stoploss, and stoploss hit signals on your chart.
💥You can use the indicator to enter and exit trades in a various ways.
For example,
🚀 you could enter a long trade when the price crosses above both red and green lines plotted on the chart. (or when price crosses over both short stoploss and long stoploss.) You could also use the indicator to secure your profits by moving your stop-loss up as the price moves in your favor.
Here is an example of how you could use the indicator to enter and exit trades:
🚀Enter a long trade when the price crosses above the red line or short stoploss.
✅keep Moving your stop-loss upward with the long stoploss or green line.
✅Exit the trade when the price crosses below the long stoploss or green line.
💥You can also use the indicator to protect your existing trades. For example, if you are already in a long trade, you could move your stop-loss up to the short stop when the price moves up 10%. This will help you to protect your profits in case the price starts to move against you.
💥💥some additional tips for using the Auto Trailing Stop-Loss indicator:
✅Use the indicator in conjunction with other technical indicators or your own trading strategy to generate entry and exit signals.
✅Backtest your trading strategy before using it live to make sure that it is profitable.
✅Use the indicator to protect your profits by moving your stop-loss up as the price moves in your favor.
✅ Always follow risk management rules and manage your position sizing according to your risk appetite.
✅ Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
This script essentially provides a visual representation of a trading strategy that automatically adjusts stop-loss levels based on market volatility (ATR). It also includes signals for entering long or short positions and visually highlights these signals on the chart.
📣📣Follow us for timely updates regarding future indicators and give it a like if you appreciate the work.📣📣
Opposite Side Liquidity Dominance NJROpposite Side Liquidity Dominance Indicator Explanation :
Imagine you're trading in the financial markets, and you want to understand who's in control - the buyers or the sellers. The "Opposite Side Liquidity Dominance" indicator is here to help you do just that in a simple and visual way.
1. **Lookback Period**: This indicator looks at historical data to make its assessments. You can choose how far back it should look by adjusting the "lookback period." For example, setting it to 50 means it'll consider the last 50 days.
2. **Opposite Side Volume**: It calculates the total trading volume on the side opposite to the current market price. This helps us understand how strong the trading activity is from traders who have a different view than the current market price.
3. **Dominance Calculation**: We determine the "Opposite Side Liquidity Dominance" by comparing the current trading volume to the historical average. If the current volume is larger than what's typical, it suggests dominance, and we color the background of the chart green. If it's smaller, we color it red to indicate a lack of dominance.
4. **Visual Representation**: In addition to the background color, we also provide a line on the chart. This line shows the Opposite Side Liquidity Dominance over time. When it goes up, it means that traders who disagree with the market are in control; when it goes down, it means the market price is dominating.
So, in a nutshell, this indicator helps you see at a glance whether the buyers or sellers who disagree with the current market price are taking control. When the background is green, it suggests they are, and when it's red, it suggests the market price is holding sway. The line on the chart provides a more detailed view of how this dominance changes over time.
You can easily customize this indicator to fit your specific trading needs by adjusting the lookback period and colors to match your preferences.
For better trading compare 30 minutes time frame in forex
DMI Based Consolidation InidcatorDescription:
The Consolidation Indicator (DMI + MA) combines the power of the Directional Movement Index (DMI) and Moving Averages (MA) to help traders identify both trends and consolidation phases in the market. This versatile indicator provides valuable insights into the market's behavior, making it an essential tool for traders seeking to optimize their strategies.
Key Features:
- **Directional Movement Analysis:** Utilizes the DMI to assess the strength of bullish and bearish trends, helping traders identify trend direction and momentum.
- **Moving Average Confirmation:** Integrates Moving Averages to confirm trend signals, enhancing the reliability of trend identification.
- **Trend and Consolidation Recognition:** Displays +DI and -DI trends with color-coded boxes, allowing traders to distinguish between bullish, bearish trends, and consolidation phases.
How to Use:
- **Trend Identification:** +DI Trend box (green) indicates a bullish trend, suggesting potential buying opportunities. -DI Trend box (red) signifies a bearish trend, indicating potential selling opportunities.
- **Consolidation Phase:** When both boxes are white, the market is in a consolidation phase. During consolidation, prices often move within a range. Traders may consider range-bound strategies or wait for a clear trend signal.
Customization:
- **ADX Smoothing:** Adjust the ADX smoothing factor (lensig) to fine-tune the sensitivity of trend signals.
- **DI Length:** Set the length of the Directional Index (DI) to control the responsiveness of the indicator to price changes.
- **Moving Average Length:** Define the length of the Moving Averages for additional confirmation of trend signals.
- **Moving Average Type:** Choose from SMA, EMA, WMA, or VWMA to customize the Moving Averages based on your trading preferences.
Disclaimer:
Trading involves risk, and past performance is not indicative of future results. Always perform your analysis and consider risk management strategies before making trading decisions.
Consolidation indicator█ Overview
The "Consolidation Indicator" is a custom indicator for TradingView designed to identify consolidation periods in the price chart. Consolidation typically occurs when the price of an asset moves within a narrow range, and this indicator helps traders recognize such conditions. It can be a useful tool for traders looking to identify potential breakouts or periods of reduced volatility.
█ Indicator Settings
1 — Timeframe: This setting allows you to select the timeframe for which you want to analyze consolidation. You can choose from various timeframes available in TradingView.
2 — Price Smoothing Length: This parameter controls the smoothing of price data. You can adjust the value, with a minimum of 1, to control the level of smoothing applied to the price data.
3 — Average Range Length (range_len): This setting defines the length of the average range used in the calculation of the indicator. By default, it is set to 14.
4 — Threshold for Narrow Range (NR_threshold): The indicator will consider a price range as narrow if it falls below this threshold as a percentage of the average range. It is set to 80% by default.
5 — Consecutive Narrow Ranges for Consolidation: This parameter allows you to specify how many consecutive narrow price ranges are required to confirm a consolidation period. The default value is 3.
6 — Candle Color: You can choose the color for the consolidation candles. The default is a bright green color.
█ Indicator Output
The indicator visually displays consolidation and breakout periods on the price chart using colored candles and breakout icons.
• Candles: During a consolidation period, the indicator colorizes the candles in a specified color (default is green) with a transparency that decreases as the number of consecutive narrow ranges increases. This allows you to easily spot consolidation periods on the chart.
• Breakout Icons: The indicator also places a breakout icon (💥) below the price chart to indicate potential breakout opportunities. When a breakout condition is met, the icon appears with an orange color.
█ Alerts
The indicator provides two alert conditions:
1 — Consolidation Begins: This alert triggers when a consolidation period starts. It indicates that the price is moving within a narrow range compared to the average range.
2 — Breakout: This alert triggers when a potential breakout from the consolidation is detected.
█ How to Use
1 — Apply the "Consolidation Indicator" to your TradingView chart by adding it as a custom indicator.
2 — Customize the indicator settings based on your trading preferences, such as timeframe, smoothing length, and threshold for a narrow range.
3 — Monitor the chart for colored candles. The indicator will color candles to highlight consolidation periods.
4 — Look for the breakout icon (💥) below the chart, which indicates potential breakout opportunities.
5 — Set up alerts to be notified when a consolidation begins or a breakout is detected, helping you stay on top of potential trading opportunities.
Keep in mind that this indicator is a tool to assist in identifying consolidation periods, and it should be used in conjunction with other analysis methods for comprehensive trading decisions.
Directional Bollinger Bands PredictorThis strategy works on the principal that if Bollinger bands are closer to each other then the price is sideways and if it expands then the market is trending.
The strategy is built with a standard deviation of 2 from the EMA 20 and with a range of 0.25.
Explanation of Input Settings:
1. EMA Length: Set as a standard 20 EMA however the trader can make changes if required
2. Standard Deviation Multiplier: This depicts the value of the bands that are formed in association to the EMA value. The default is set to 2 however the same can be changed by the trader.
3. Threshold Value: The threshold Value is the percentage of squeeze within the bands that show if the market is sideways or not. The standard is set at 0.25 however it can be changed.
Unlike the standard Bollinger Bands this indicator will help the user differentiate between rangebound markets and trending markets as a result of which the user can deploy the following trading systems
A. Small reversal trades from the upper band to the lower band when the area is highlighted and the market is range bound and
B. Trend following trades when the bands start expanding and the highlight is omitted.
Fiboborsa+BistTitle: "Fiboborsa+Bist Indicator for TradingView"
Description: The "Fiboborsa+Bist" indicator is a powerful tool designed for TradingView users. This indicator offers a comprehensive set of technical indicators to assist you in your technical analysis and trading decisions.
Features:
Simple Moving Averages (SMA): You can enable or disable SMA with different periods (20, 50, 100, 200) to observe different timeframes and trends.
SMA Strategy: Use SMA crossovers to determine trends. Watch for the 20-period SMA crossing above the 50-period SMA for a bullish signal. For a bearish signal, observe the 50-period SMA crossing below the 100-period SMA.
Exponential Moving Averages (EMA): Similar to SMA, you can enable or disable EMA with different periods (5, 8, 14, 21, 34, 55, 89, 144, 233) for more precise trend analysis.
EMA Strategy: Use EMA crossovers and crossunders for short-term trend changes. A buy signal may occur when the 5-period EMA crosses above the 14-period EMA, while a crossunder suggests a selling opportunity.
Weighted Moving Averages (WMA): Customize WMA settings with various periods (5, 13, 21, 34, 89, 144, 233, 377, 610, 987) to suit your trading style.
WMA Strategy: Use WMA crossovers to verify trends. When the 13-period WMA crosses above the 34-period WMA, it may indicate an uptrend.
Buy and Sell Signals: The indicator provides buy and sell signals based on EMA crossovers and crossunders. Strong signals are also highlighted.
EMA Buy and Sell Strategy: Make informed trading decisions using buy and sell signals generated by EMA crossovers and crossunders.
Ichimoku Cloud: You can enable the Ichimoku Cloud for a clear visual representation of support and resistance levels.
Ichimoku Strategy: Use the Ichimoku Cloud to determine trend direction. Entering long positions is common when the price is above the cloud and considering short positions when it's below the cloud. Verify the trend with the Chikou Span.
Bollinger Bands: Easily visualize price volatility by enabling the Bollinger Bands feature.
Bollinger Bands Strategy: Bollinger Bands help you visualize price volatility. Look for potential reversal points when the price touches or crosses the upper or lower bands.
Use the "Fiboborsa+Bist" indicator to enhance your trading strategies and make informed decisions in the dynamic world of financial markets.
Additional Information:
Bollinger Bands: Bollinger Bands are a technical analysis tool used to monitor price volatility and determine overbought or oversold conditions. This indicator consists of three components:
Middle Moving Average (SMA): Typically, a 20-day SMA is used.
Upper Band: Calculated by adding two times the standard deviation to the SMA.
Lower Band: Calculated by subtracting two times the standard deviation from the SMA.
As the price moves between these two bands, it becomes possible to identify potential buying or selling points by comparing its height or low with these bands.
Ichimoku Cloud: The Ichimoku Cloud is a comprehensive indicator used for trend identification, defining support and resistance levels, and measuring trend strength. The Ichimoku Cloud comprises five key components:
Tenkan Sen (Conversion Line): Used to identify short-term trends.
Kijun Sen (Base Line): Used to identify medium-term trends.
Senkou Span A (Leading Span A): Calculated as (Tenkan Sen + Kijun Sen) / 2 and shows future support and resistance levels.
Senkou Span B (Leading Span B): Calculated as (highest high + lowest low) / 2 and indicates future support and resistance levels.
Chikou Span (Lagging Line): Enables tracking the price backward.
The Ichimoku Cloud interprets a price above the cloud as an uptrend and below the cloud as a downtrend. The Chikou Span assists in verifying the current trend.
ADDITIONAL STRATEGY WITH RSI AND MACD INDICATORS
**Strategy: Two-Stage Trading Strategy Using RSI, MACD, and Fiboborsa+Bist Indicators**
**Stage 1: Determining the Trend and Selecting the Trading Direction**
1. **Trend Identification with Fiboborsa+Bist Indicator:**
- Analyze the simple moving averages (SMA), exponential moving averages (EMA), and weighted moving averages (WMA) used with the Fiboborsa+Bist indicator. These indicators will provide information about the direction of the market trend.
2. **Identifying Overbought and Oversold Conditions with RSI:**
- Use the RSI indicator to identify overbought (70 and above) and oversold (30 and below) conditions. This helps in measuring the strength of the trend. If RSI enters the overbought zone, a downward correction is likely. If RSI enters the oversold zone, an upward correction is probable.
3. **Evaluating Momentum with MACD:**
- Examine price momentum using the MACD indicator. When the MACD line crosses above the signal line, it may indicate an increasing upward momentum. Conversely, a downward cross can suggest an increasing downward momentum.
**Stage 2: Generating Buy and Sell Signals**
4. **Combining RSI, MACD, and Fiboborsa+Bist Indicators:**
- To generate a buy signal, wait for RSI to move out of the oversold region into an uptrend and for the MACD line to cross above the signal line.
- To generate a sell signal, wait for RSI to move out of the overbought region into a downtrend and for the MACD line to cross below the signal line.
5. **Confirmation with Fiboborsa+Bist Indicator:**
- When you receive a buy or sell signal, use the Fiboborsa+Bist indicator to confirm the market trend. Confirming the trend can strengthen your trade signals.
6. **Setting Stop-Loss and Take-Profit Levels:**
- Remember to manage risk when opening buy or sell positions. Set stop-loss and take-profit levels to limit your risk.
7. **Monitor and Adjust Your Trades:**
- Continuously monitor your trade positions and adjust your strategy as per market conditions.
This two-stage trading strategy offers the ability to determine trends and generate trade signals using different indicators. However, every trading strategy involves risks, so risk management and practical application are essential. Also, it's recommended to test this strategy in a demo account before using it in a real trading account.
Energy Remainder based on ATR % passedDescription:
This indicator presents a visual representation of the percentage of the Daily Average True Range (ATR) that an asset has covered. The core idea behind the indicator is to gauge the remaining “ energy ” or potential price movement capacity of an asset within the trading day. By comparing the current intraday range to the daily ATR, traders can determine if there's still room for the asset to move, and hence, if it's an opportune moment to take a position.
Concept:
The indicator primarily helps in understanding how much of the daily ATR an asset has covered. If an asset has covered less than 50% of the ATR, it implies that there's still significant energy left. In other words, there's a good potential for further movement, making it a viable point to consider entering a trade. Conversely, if an asset has covered more than 50% of the ATR, the remaining energy or potential for further significant movement is low. In such scenarios, entering a trade might be late, as the potential returns could be limited.
Usage:
1. Green Bars: Represents the asset has covered less than 50% of its daily ATR. This suggests there's still ample energy left, and the asset has the potential for further movement.
2. Orange Bars: Indicates the asset has covered more than 50% but less than 100% of its daily ATR. It implies that the asset has used a good chunk of its daily range, but there's still some energy left.
3. Red Bars: Represents the asset has covered more than 100% of its daily ATR. This typically suggests that the asset has exhausted its daily range potential, and there's limited energy left for significant movement.
Considerations:
While this indicator provides valuable insights into the potential price movement of an asset, it's always recommended to use it in conjunction with other technical analysis tools and methods for a comprehensive trading approach.
Happy trading!
@tk · spectral█ OVERVIEW
This script is an indicator that helps traders to identify the price difference between spot and futures of the current crypto plotted into the chart. It works in both types of markets, when the chart is plotting the crypto in spot market, it will compare with its respective futures ticker and vice-versa. If the current asset isn't a crypt ticker, the indicator will not be plotted into the chart.
█ MOTIVATION
Since crypto's derivative market is based on spot market asset's price, to calculate the arbitrage mechanisms that attempts to balance the asset price, this indicator can help traders to identify some spot and futures price divergence that can create an anomaly of funding rate and can push it to an extreme negative — or positive — rate. So, easing to track the price difference between both markets will bring more evidences to identify an artificial price move, specially in crypto assets with low market cap.
█ CONCEPT
The trading concept to use this indicator is the concept of the arbitrage machamism created by exchanges that calculates the funding rate based on spot and futures price difference that will vary from exchange to exchange. This strategy don't works alone. It needs to be aligned together with others indicators like Exponential Moving Averages, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of price difference table to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
Position
Changes the position of price difference table.
Type: string
Options: `top_left`, `top_center`, `top_right`, `middle_left`, `middle_center`, `middle_right`, `bottom_left`, `bottom_center`, `bottom_right`.
Default: `bottom_right`
Pair Quote
The ticker quote symbol that will be used to base the ticker comparison from spot to futures (e.g. BTCUSDT which `USDT` is the quote. ETHBTC which `BTC` is the quote).
Type: string
Default: USDT
Spectrum Color
The color of the spectrum candles. Spectrum candles are the candles of the opposite market. If the current ticker is in the spot market, the spectrum candles will be the price of the futures market.
Type: color
Default: #434651
█ FUNCTIONS
The indicator contains the following functions:
stripStarts(src, str)
Strips a defined pattern from a string.
Parameters:
src: (string) Source string
str: (string) String pattern to be stripped from start of source string.
Returns: (string) Stripped string with matched regex pattern.
US Market Strength IndexIntro:
It is quite a task to track multiple Indices and market internals to decide which way markets are going, especially when you are in a Trade. You may also get conflicting signals making it harder to confidently decide on your trade bias.
US Market Strength Index a.k.a. US MSI indicator aims to simplify decision-making by coloring the lower panel Green when a majority of market participants are bullish and Red when they are bearish. The code analyses the direction and strength of various US indices & market internal futures contracts to decide the color. The shade of color also changes from Dark to Bright when the momentum is relatively strong. A weighted score is assigned to individual contracts and the color (& shade) are selected based on average score in real-time, for changes in direction and momentum.
A Futures contract provides a proxy and generates price & volume data to analyze the direction and strength. Also, they are traded by sophisticated market participants for about 23 hours a day!
Trading with the general market sentiment in your favor can potentially improve a trade's edge. For example, if various market indices (DOW JONES, S&P 500, NASDAQ, etc.) are positive; bullish, or LONG trades might work out in individual stocks. This may occur due to the following reasons:
Seeing prices rise, Sellers may choose to Sell at Higher prices
Buyers might be attracted to buy into stocks, as the prices are trending higher
SHORT sellers might get cautious of rising prices and may not Open SHORT positions until the current bullish sentiment dies off
Existing SHORT sellers may close their positions due to margin squeeze, possibily fueling more buying
The same logic applies when the market indices are in the negative territory, SHORT trades may have a higher probability of working out.
Features:
The bright Green color in the lower panel indicates a strong bullish market strength
The dark Green color in the lower panel indicates bullish market strength, but a relatively weaker
The bright Red color in the lower panel indicates a strong bearish market strength
The dark Red color in the lower panel indicates bearish market strength, but a relatively weaker
Basic Set-Up:
Add the Indicator to the chart
You can change the default colors for Market Bearish, Market Bullish, Market Bearish weak, and Market Bullish weak
Important Notes:
You should analyze the stock’s technical data and use prudent risk management for every trade. Trade entries and exits should always be based on the symbol you are trading.
Use the US Market Strength Index as one of the factors to decide your trade bias and filter symbols that support your analysis.
Just because Indices and Market Internals point in a certain direction, it does not guaranteed that a stock could behave the same way.
Also, since this script uses futures contracts, you would need real-time futures data subscription for real-time analysis. At the minimum, you need CME/ CBOE exchange data.
This tool is suited for US Regular Trading Session, but since the US MSI is using futures contracts, the tool tracks pre- and post-market sentiment as well.
Machine Learning: Donchian DCA Grid Strategy [YinYangAlgorithms]This strategy uses a Machine Learning approach on the Donchian Channels with a DCA and Grid purchase/sell Strategy. Not only that, but it uses a custom Bollinger calculation to determine its Basis which is used as a mild sell location. This strategy is a pure DCA strategy in the sense that no shorts are used and theoretically it can be used in webhooks on most exchanges as it’s only using Spot Orders. The idea behind this strategy is we utilize both the Highest Highs and Lowest Lows within a Machine Learning standpoint to create Buy and Sell zones. We then fraction these zones off into pieces to create Grids. This allows us to ‘micro’ purchase as it enters these zones and likewise ‘micro’ sell as it goes up into the upper (sell) zones.
You have the option to set how many grids are used, by default we use 100 with max 1000. These grids can be ‘stacked’ together if a single bar is to go through multiple at the same time. For instance, if a bar goes through 30 grids in one bar, it will have a buy/sell power of 30x. Stacking Grid Buy and (sometimes) Sells is a very crucial part of this strategy that allows it to purchase multitudes during crashes and capitalize on sales during massive pumps.
With the grids, you’ll notice there is a middle line within the upper and lower part that makes the grid. As a Purchase Type within our Settings this is identified as ‘Middle of Zone Purchase Amount In USDT’. The middle of the grid may act as the strongest grid location (aside from maybe the bottom). Therefore there is a specific purchase amount for this Grid location.
This DCA Strategy also features two other purchase methods. Most importantly is its ‘Purchase More’ type. Essentially it will attempt to purchase when the Highest High or Lowest Low moves outside of the Outer band. For instance, the Lowest Low becomes Lower or the Higher High becomes Higher. When this happens may be a good time to buy as it is featuring a new High or Low over an extended period.
The last but not least Purchase type within this Strategy is what we call a ‘Strong Buy’. The reason for this is its verified by the following:
The outer bounds have been pushed (what causes a ‘Purchase More’)
The Price has crossed over the EMA 21
It has been verified through MACD, RSI or MACD Historical (Delta) using Regular and Hidden Divergence (Note, only 1 of these verifications is required and it can be any).
By default we don’t have Purchase Amount for ‘Strong Buy’ set, but that doesn’t mean it can’t be viable, it simply means we have only seen a few pairs where it actually proved more profitable allocating money there rather than just increasing the purchase amount for ‘Purchase More’ or ‘Grids’.
Now that you understand where we BUY, we should discuss when we SELL.
This Strategy features 3 crucial sell locations, and we will discuss each individually as they are very important.
1. ‘Sell Some At’: Here there are 4 different options, by default its set to ‘Both’ but you can change it around if you want. Your options are:
‘Both’ - You will sell some at both locations. The amount sold is the % used at ‘Sell Some %’.
‘Basis Line’ - You will sell some when the price crosses over the Basis Line. The amount sold is the % used at ‘Sell Some %’.
‘Percent’ - You will sell some when the Close is >= X% between the Lower Inner and Upper Inner Zone.
‘None’ - This simply means don’t ever Sell Some.
2. Sell Grids. Sell Grids are exactly like purchase grids and feature the same amount of grids. You also have the ability to ‘Stack Grid Sells’, which basically means if a bar moves multiple grids, it will stack the amount % wise you will sell, rather than just selling the default amount. Sell Grids use a DCA logic but for selling, which we deem may help adjust risk/reward ratio for selling, especially if there is slow but consistent bullish movement. It causes these grids to constantly push up and therefore when the close is greater than them, accrue more profit.
3. Take Profit. Take profit occurs when the close first goes above the Take Profit location (Teal Line) and then Closes below it. When Take Profit occurs, ALL POSITIONS WILL BE SOLD. What may happen is the price enters the Sell Grid, doesn’t go all the way to the top ‘Exiting it’ and then crashes back down and closes below the Take Profit. Take Profit is a strong location which generally represents a strong profit location, and that a strong momentum has changed which may cause the price to revert back to the buy grid zone.
Keep in mind, if you have (by default) ‘Only Sell If Profit’ toggled, all sell locations will only create sell orders when it is profitable to do so. Just cause it may be a good time to sell, doesn’t mean based on your DCA it is. In our opinion, only selling when it is profitable to do so is a key part of the DCA purchase strategy.
You likewise have the ability to ‘Only Buy If Lower than DCA’, which is likewise by default. These two help keep the Yin and Yang by balancing each other out where you’re only purchasing and selling when it makes logical sense too, even if that involves ignoring a signal and waiting for a better opportunity.
Tutorial:
Like most of our Strategies, we try to capitalize on lower Time Frames, generally the 15 minutes so we may find optimal entry and exit locations while still maintaining a strong correlation to trend patterns.
First off, let’s discuss examples of how this Strategy works prior to applying Machine Learning (enabled by default).
In this example above we have disabled the showing of ‘Potential Buy and Sell Signals’ so as to declutter the example. In here you can see where actual trades had gone through for both buying and selling and get an idea of how the strategy works. We also have disabled Machine Learning for this example so you can see the hard lines created by the Donchian Channel. You can also see how the Basis line ‘white line’ may act as a good location to ‘Sell Some’ and that it moves quite irregularly compared to the Donchian Channel. This is due to the fact that it is based on two custom Bollinger Bands to create the basis line.
Here we zoomed out even further and moved back a bit to where there were dense clusters of buy and sell orders. Sometimes when the price is rather volatile you’ll see it ‘Ping Pong’ back and forth between the buy and sell zones quite quickly. This may be very good for your trades and profit as a whole, especially if ‘Only Buy If Lower Than DCA’ and ‘Only Sell If Profit’ are both enabled; as these toggles will ensure you are:
Always lowering your Average when buying
Always making profit when selling
By default 8% commission is added to the Strategy as well, to simulate the cost effects of if these trades were taking place on an actual exchange.
In this example we also turned on the visuals for our ‘Purchase More’ (orange line) and ‘Take Profit’ (teal line) locations. These are crucial locations. The Purchase More makes purchases when the bottom of the grid has been moved (may dictate strong price movement has occurred and may be potential for correction). Our Take Profit may help secure profit when a momentum change is happening and all of the Sell Grids weren’t able to be used.
In the example above we’ve enabled Buy and Sell Signals so that you can see where the Take Profit and Purchase More signals have occurred. The white circle demonstrates that not all of the Position Size was sold within the Sell Grids, and therefore it was ALL CLOSED when the price closed below the Take Profit Line (Teal).
Then, when the bottom of the Donchian Channel was pushed further down due to the close (within the yellow circle), a Purchase More Signal was triggered.
When the close keeps pushing the bottom of the Buy Grid lower, it can cause multiple Purchase More Signals to occur. This is normal and also a crucial part of this strategy to help lower your DCA. Please note, the Purchase More won’t trigger a Buy if the Close is greater than the DCA and you have ‘Only Purchase If Lower Than DCA’ activated.
By turning on Machine Learning (default settings) the Buy and Sell Grid Zones are smoothed out more. It may cause it to look quite a bit different. Machine Learning although it looks much worse, may help increase the profit this Strategy can produce. Previous results DO NOT mean future results, but in this example, prior to turning on Machine Learning it had produced 37% Profit in ~5 months and with Machine Learning activated it is now up to 57% Profit in ~5 months.
Machine Learning causes the Strategy to focus less on Grids and more on Purchase More when it comes to getting its entries. However, if you likewise attempt to focus on Purchase More within non Machine Learning, the locations are different and therefore the results may not be as profitable.
PLEASE NOTE:
By default this strategy uses 1,000,000 as its initial capital. The amount it purchases in its Settings is relevant to this Initial capital. Considering this is a DCA Strategy, we only want to ‘Micro’ Buy and ‘Micro’ Sell whenever conditions are met.
Therefore, if you increase the Initial Capital, you’ll likewise want to increase the Purchase Amounts within the Settings and Vice Versa. For instance, if you wish to set the Initial Capital to 10,000, you should likewise can the amounts in the Settings to 1% of what they are to account for this.
We may change the Purchase Amounts to be based on %’s in a later update if it is requested.
We will conclude this Tutorial here, hopefully you can see how a DCA Grid Purchase Model applied to Machine Learning Donchian Channels may be useful for making strategic purchases in low and high zones.
Settings:
Display Data:
Show Potential Buy Locations: These locations are where 'Potentially' orders can be placed. Placement of orders is dependant on if you have 'Only Buy If Lower Than DCA' toggled and the Price is lower than DCA. It also is effected by if you actually have any money left to purchase with; you can't buy if you have no money left!
Show Potential Sell Locations: These locations are where 'Potentially' orders will be sold. If 'Only Sell If Profit' is toggled, the sell will only happen if you'll make profit from it!
Show Grid Locations: Displaying won't affect your trades but it can be useful to see where trades will be placed, as well as which have gone through and which are left to be purchased. Max 100 Grids, but visuals will only be shown if its 20 or less.
Purchase Settings:
Only Buy if its lower than DCA: Generally speaking, we want to lower our Average, and therefore it makes sense to only buy when the close is lower than our current DCA and a Purchase Condition is met.
Compound Purchases: Compounding Purchases means reinvesting profit back into your trades right away. It drastically increases profits, but it also increases risk too. It will adjust your Purchase Amounts for the Purchase Type you have set at the same % rate of strategy initial_capital to the amounts you have set.
Adjust Purchase Amount Ratio to Maintain Risk level: By adjusting purchase levels we generally help maintain a safe risk level. Basically we generally want to reserve X amount of % for each purchase type being used and relocate money when there is too much in one type. This helps balance out purchase amounts and ensure the types selected have a correct ratio to ensure they can place the right amount of orders.
Stack Grid Buys: Stacking Buy Grids is when the Close crosses multiple Buy Grids within the same bar. Should we still only purchase the value of 1 Buy Grid OR stack the grid buys based on how many buy grids it went through.
Purchase Type: Where do you want to make Purchases? We recommend lowering your risk by combining All purchase types, but you may also customize your trading strategy however you wish.
Strong Buy Purchase Amount In USDT: How much do you want to purchase when the 'Strong Buy' signal appears? This signal only occurs after it has at least entered the Buy Zone and there have been other verifications saying it's now a good time to buy. Our Strong Buy Signal is a very strong indicator that a large price movement towards the Sell Zone will likely occur. It almost always results in it leaving the Buy Zone and usually will go to at least the White Basis line where you can 'Sell Some'.
Buy More Purchase Amount In USDT: How much should you purchase when the 'Purchase More' signal appears? This 'Purchase More' signal occurs when the lowest level of the Buy Zone moves lower. This is a great time to buy as you're buying the dip and generally there is a correction that will allow you to 'Sell Some' for some profit.
Amount of Grid Buy and Sells: How many Grid Purchases do you want to make? We recommend having it at the max of 10, as it will essentially get you a better Average Purchase Price, but you may adjust it to whatever you wish. This amount also only matters if your Purchase Type above incorporates Grid Purchases. Max 100 Grids, but visuals will only be shown if it's 20 or less.
Each Grid Purchase Amount In USDT: How much should you purchase after closing under a grid location? Keep in mind, if you have 10 grids and it goes through each, it will be this amount * 10. Grid purchasing is a great way to get a good entry, lower risk and also lower your average.
Middle Of Zone Purchase Amount In USDT: The Middle Of Zone is the strongest grid location within the Buy Zone. This is why we have a unique Purchase Amount for this Grid specifically. Please note you need to have 'Middle of Zone is a Grid' enabled for this Purchase Amount to be used.
Sell:
Only Sell if its Profit: There is a chance that during a dump, all your grid buys when through, and a few Purchase More Signals have appeared. You likely got a good entry. A Strong Buy may also appear before it starts to pump to the Sell Zone. The issue that may occur is your Average Purchase Price is greater than the 'Sell Some' price and/or the Grids in the Sell Zone and/or the Strong Sell Signal. When this happens, you can either take a loss and sell it, or you can hold on to it and wait for more purchase signals to therefore lower your average more so you can take profit at the next sell location. Please backtest this yourself within our YinYang Purchase Strategy on the pair and timeframe you are wanting to trade on. Please also note, that previous results will not always reflect future results. Please assess the risk yourself. Don't trade what you can't afford to lose. Sometimes it is better to strategically take a loss and continue on making profit than to stay in a bad trade for a long period of time.
Stack Grid Sells: Stacking Sell Grids is when the Close crosses multiple Sell Grids within the same bar. Should we still only sell the value of 1 Sell Grid OR stack the grid sells based on how many sell grids it went through.
Stop Loss Type: This is when the Close has pushed the Bottom of the Buy Grid More. Do we Stop Loss or Purchase More?? By default we recommend you stay true to the DCA part of this strategy by Purchasing More, but this is up to you.
Sell Some At: Where if selected should we 'Sell Some', this may be an important way to sell a little bit at a good time before the price may correct. Also, we don't want to sell too much incase it doesn't correct though, so its a 'Sell Some' location. Basis Line refers to our Moving Basis Line created from 2 Bollinger Bands and Percent refers to a Percent difference between the Lower Inner and Upper Inner bands.
Sell Some At Percent Amount: This refers to how much % between the Lower Inner and Upper Inner bands we should well at if we chose to 'Sell Some'.
Sell Some Min %: This refers to the Minimum amount between the Lower Inner band and Close that qualifies a 'Sell Some'. This acts as a failsafe so we don't 'Sell Some' for too little.
Sell % At Strong Sell Signal: How much do we sell at the 'Strong Sell' Signal? It may act as a strong location to sell, but likewise Grid Sells could be better.
Grid and Donchian Settings:
Donchian Channel Length: How far back are we looking back to determine our Donchian Channel.
Extra Outer Buy Width %: How much extra should we push the Outer Buy (Low) Width by?
Extra Inner Buy Width %: How much extra should we push the Inner Buy (Low) Width by?
Extra Inner Sell Width %: How much extra should we push the Inner Sell (High) Width by?
Extra Outer Sell Width %: How much extra should we push the Outer Sell (High) Width by?
Machine Learning:
Rationalized Source Type: Donchians usually use High/Low. What Source is our Rationalized Source using?
Machine Learning Type: Are we using a Simple ML Average, KNN Mean Average, KNN Exponential Average or None?
Machine Learning Length: How far back is our Machine Learning going to keep data for.
k-Nearest Neighbour (KNN) Length: How many k-Nearest Neighbours will we account for?
Fast ML Data Length: What is our Fast ML Length?? This is used with our Slow Length to create our KNN Distance.
Slow ML Data Length: What is our Slow ML Length?? This is used with our Fast Length to create our KNN Distance.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Rug Pull DetectorOverview
Have you ever wondered why tickers have such erratic movements that seemingly come from nowhere? These "rug pull" events happen quite often and can catch even the most seasoned traders off-guard.
Unlike most other indicators which rely on historical data to make inferences about future price movements, the Rug Pull Detector (RPD) enables you to take a glimpse into market makers' delta-neutral hedging in real-time.
Market makers by nature must be delta-neutral which means that they cannot position themselves to profit from providing liquidity (either long or short). Liquidity provided to the short or long side must end up in a stock purchase or sale to neutralize the trade.
Volatile movements in a ticker's price movement most often result directly after a period of extremely low volatility. These volatile movements are very often "rug pulled" which ends up reverting the ticker back to the price at which the event first occurred. RPD shows these events in real-time. This knowledge can be used to help determine the most probable near-future direction a ticker will gravitate towards after a rug pull event occurs.
Usage
RPD works on any ticker and on any timeframe and can be used as a tool in determining an exit price for a trade. Vertical shading on the chart indicates a warning signal that a rug pull event may be about to kick-off. Once a rug pull event has occurred and is confirmed, a blue label will appear on the chart with a price. A line is then drawn from the bar at which the event occurred and is extended to each subsequent bar until the price is reached once more; thus concluding the event. Furthermore, red or green shading will be present to easily visually identify rug pull events on the chart and whether they are risks to the downside (red) or upside (green). RPD is broken down into 2 main types of events:
Active Event - These events are characterized by a red or green shading and a blue price line.
Dormant Event - These events do not have shading but are still identifiable via a blue price line. Active events that are superseded by newer events will become dormant.
Active events tend to have a higher chance to return to the initial price point and tend to arrive there quicker.
Dormant events have a slightly lower chance to return to the initial price point and may take longer to arrive there.
Please note:
This indicator has no way of telling the exact amount of time that will pass before the ticker returns to the identified price; however, in more cases than not - the ticker will return to that price within a reasonable amount of time relative to the timeframe you are viewing.
There is a small chance any single event will never conclude. These are anomalies and do occur on occasion.
Using RPD alongside tools such as the RSI, Anchored VWAP, or other trend-based indicators will help determine when the ticker's price might be about to pivot and head back towards the identified price point.
Seeing is Believing:
SPY 1D downside rug-pull
----------------------------------------------
AAPL 15s downside and upside rug-pulls
----------------------------------------------
AMD 2D downside rug-pull
----------------------------------------------
VIX 1h downside and upside rug-pulls
Want to see more? Check out my recent Ideas for more examples of the Rug Pull Detector in action.
Disclaimer:
Any information in relation to the Rug Pull Detector does not constitute any financial, investment, or trading advice. Trade or invest at your own risk.
Noa: Z-distance from VWAP with Kalman Smoother
Title: Noa: Z-distance from VWAP with Kalman Smoother
Description:
The "Z-distance from VWAP with Kalman Smoother" is a tool constructed on the premise that price evolves in distinct stages: normal or extreme trends (upward or downward) and transitional periods, termed as 'flips'. The Volume Weighted Average Price (VWAP) serves as a benchmark, representing the market's expectation of a fair value over a given time frame. However, since each stock trades on its unique price scale, direct comparisons are not feasible. This script introduces a standardized method, using the Z-score from the VWAP, to understand and compare these relationships across diverse scales.
Core Principles:
Stages of Price Movement:
- Prices don't move purely randomly; while they contain a random element, they oscillate in discernible patterns or stages—either maintaining a trend (normal or extreme) or undergoing transition (flip).
- VWAP as Fair Value: VWAP offers a dynamic representation of what the market perceives as fair value for a stock over a specific period.
- Standardizing Price Relations: Given the varied scales at which different stocks trade, a model was imperative to standardize these relations. The Z-score from the VWAP fulfills this role, offering a normalized measure of how far the price deviates from its perceived fair value.
Features:
Z-score Levels:
The indicator demarcates various stages of price movements, offering clarity on potential overbought or oversold conditions.
- Extreme Up Trend: Indicated when the Z-score surpasses the upper limit.
- Normal Up Trend: Represented when the Z-score lies between the flip upper and the upper limit.
- Transition (Flip): Recognized when the Z-score oscillates within the flip range.
- Normal Down Trend: Denoted when the Z-score is between the flip lower and the lower limit.
- Extreme Down Trend: Marked when the Z-score falls below the lower limit.
Visual Aids:
- Color-coded regions between specific Z-score levels and the Z-score plot itself elucidate the current market state.
- Kalman Filter: By incorporating a Kalman filter, the indicator offers a less noisy and smoother representation of the Z-score, enhancing its interpretability.
Usage:
Trend Analysis:
- The Z-score states and the color-coded plot facilitate a nuanced understanding of the prevailing market trend.
- Potential Reversal Points: Extremely positive or negative Z-scores might hint at impending reversals.
- Buy/Sell Signals: Z-score's interactions with the flip level can be interpreted as potential trading signals.
Example (for illustration purposes only):
AAPL since April 2022: The stock exited from a normal uptrend and transitioned potentially towards a downtrend. By the end of April, AAPL flipped twice before transitioning to a normal downtrend. By early May, the stock moved into an aggressive downtrend. Market buyers were able to counter this downtrend by June, but selling pressure persisted, pushing the stock back into an aggressive downtrend. By the end of June, buyers halted the aggressive selling and transitioned the stock from an aggressive to normal downtrend, then to a flip, and finally to a normal uptrend by the end of August. AAPL briefly peaked into an aggressive uptrend before being pressured back to a normal downtrend. The rest of 2022 saw AAPL attempting several short-lived uptrend flips. However, 2023 brought a change, with AAPL flipping into a normal uptrend by the end of January, maintaining it until August of that year.
Credits:
This script, inspired by Z distance from VWAP by LazyBear and Kalman Smoother by alexgrover, was revamped and enriched by nord-ouestadvisors to embed these core principles and heighten its usability. A special acknowledgment to ChatGPT by OpenAI for the guidance.
Intraday Volatility Bands [Honestcowboy]The Intraday Volatility Bands aims to provide a better alternative to ATR in the calculation of targets or reversal points.
How are they different from ATR based bands?
While ATR and other measures of volatility base their calculations on the previous bars on the chart (for example bars 1954 to 1968). The volatility used in these bands measure expected volatility during that time of the day.
Why would you take this approach?
Markets behave different during certain times of the day, also called sessions.
Here are a couple examples.
Asian Session (generally low volatility)
London Session (bigger volatility starts)
New York Session (overlap of New York with London creates huge volatility)
Generally when using bands or channel type indicators intraday they do not account for the upcoming sessions. On London open price will quickly spike through a bollinger band and it will take some time for the bands to adjust to new volatility.
This script will show expected volatility targets at the start of each new bar and will not adjust during the bar. It already knows what price is expected to do at this time of day.
Script also plots arrows when price breaches either the top or bottom of the bands. You can also set alerts for when this occurs. These are non repainting as the script knows the level at start of the bar and does not change.
🔷 CALCULATION
Think of this script like an ATR but instead it uses past days data instead of previous bars data. Charts below should visualise this more clearly:
The scripts measure of volatility is based on a simple high-low.
The script also counts the number of bars that exist in a day on your current timeframe chart. After knowing that number it creates the matrix used in it's calculations and data storage.
See how it works perfectly on a lower timeframe chart below:
Getting this right was the hardest part, check the coding if you are interested in this type of stuff. I commented every step in the coding process.
🔷 SETTINGS
Every setting of the script has a tooltip but I provided a breakdown here:
Some more examples of different charts:
RSI Box Strategy (pseudo- Grid Bot)This is a strategy intended primarily for algorithmic traders. It's a pseudo-grid bot that uses a dynamic, volume-weighted grid that only updates when the RSI meets certain conditions. It's also a breakout strategy, whereas normal grid bots are not (typical grid bots sell when a higher grid is reached, whereas this strategy sells when a lower grid is breached under specific conditions). This strategy also sells 100% of pyramiding orders on close.
In a nutshell, the strategy updates its grid to the volume-weighted highest/lowest values of your given source ("src" in the settings) each time that there is a RSI crossunder/crossover. From this range it produces an evenly-spaced grid of five lines, and uses the current source to determine which grid line is closest to the source. Then, if the source crosses over the line directly above the current line, it enters a buy order. If the source crosses under the line directly below the current line, it enters a sell order.
You can configure shorts, source, RSI length, and overbought/oversold levels in the settings.
For the strategy results below: fees are at 0.1% per trade, with order size 1% of equity and a max pyramiding value of 33. For a greater R/R profile, you can increase the order size, which will increase drawdown but potentially yield better results.
Supertrend with RSI OB/OS Arrows @ClearTradingMindt.me
Supertrend with RSI OB/OS Arrows
Credit: KingForex2022 (ClearTradingMind)
Overview:
This indicator combines the power of Supertrend and RSI to help traders identify potential trend reversals and overbought/oversold conditions in the market. The Supertrend component highlights the prevailing trend direction, while RSI (Relative Strength Index) signals potential reversal points based on overbought and oversold levels.
Parameters:
- Supertrend Settings:
- ATR Length: 50
- Factor: 10.0
- RSI Settings:
- Period: 14
- Oversold Level: 30
- Overbought Level: 70
How to Use:
- Supertrend: The colored line indicates the current trend direction. Green for an uptrend and red for a downtrend.
- RSI Arrows:
- Buy Arrow: Plots when the Supertrend is in a downtrend ( red ) and RSI crosses below the oversold level (30).
- Sell Arrow: Plots when the Supertrend is in an uptrend ( green ) and RSI crosses above the overbought level (70).
Note: This indicator is best used in conjunction with other analysis tools for comprehensive trade decision-making. Always consider risk management principles when trading.
* Disclaimer: Trading involves risk, and past performance is not indicative of future results. Use this indicator responsibly and perform your own analysis before making trading decisions.*
---
Bist Manipulation [Projeadam]
OVERVIEW | GENEL BAKIŞ
ENG: Indicator that detects manipulation candles according to changing market conditions.
TR: Değişen piyasa koşullarına göre manipülasyon mumlarını tespit eden gösterge.
ENG: IMPORTANT NOTE: This indicator works in BIST Market and only in Future Parities.
Example ->> PETKM1! --SASA1!
TR: ÖNEMLİ NOT: Bu indikatör BİST Piyasasında ve sadece Future Paritelerde Çalışır.
Örnek- >> PETKM1! -- SASA1!
ENG: Market makers manipulate the market because most people who trade on the stock exchange act with their emotions and are forced to close the transaction at a loss.
TR: Piyasada market yapıcı oluşumlar manipülasyon yaparlar çünkü borsada işlem alan insanların birçoğu duygularıyla hareket eder ve zararla işlem kapatılmaya zorlanır.
ENG: If we detect manipulation candles in the market, we can control our fragile psychology and close our transactions in profit by trading with market-making formations in these areas.
TR: Marketde manipülasyon mumlarını tespit edersek kırılgan psikolojimizi kontrol edebilir ve bu alanlardan market yapıcı oluşumlarla beraber işlem alarak işlemlerimizi karda kapatabiliriz.
ALGORITHM | ALGORİTMA
ENG: With the help of this indicator, you can detect manipulation candles in the BIST exchange with the help of the algorithm I created by using volumetric data and wicks created by the price.
When there is excessive volatility in price movement, the algorithm in this indicator notices this price volatility and calculates a manipulation value by dividing it by the volatility value in past price movements.
TR: Bu indikatör yardımıyla hacimsel veriler ve fiyatın oluşturduğu fitillerden yararlanarak oluşturduğum algoritma yardımıyla siz de BİST borsasında manipülasyon mumlarını tespit edebilirsiniz.
Fiyat hareketinde aşırı derece oynaklık olduğunda bu indikatördeki algoritma bu fiyat oynaklığını fark eder ve geçmiş fiyat hareketlerindeki oylanklık degerine bölerek bize bir manipülasyon degeri hesaplar.
How does the indicator work? | Gösterge nasıl çalışır?
ENG: The manipulation candle does not give us information about the direction of price movement, it is only used as an auxiliary indicator.
TR: Manipülasyon mumu bize fiyat hareketinin yönü hakkında bilgi vermez sadece yardımcı bir gösterge olarak kullanılır.
ENG: We show our manipulation values as columns. We draw a channel over the values we show and we understand that there is manipulation in the candle of our values above this channel.
TR: Manipülasyon degerlerimiz kolonlar şeklinde gösteriyoruz. Gösterdiğimiz değerlerimizin üzerine bir kanal çizdiriyoruz ve bu kanalın üzerinde kalan değerlerimizdeki mumda manipülasyon yapıldığını anlıyoruz.
ENG: The indicator shows the manipulation value in the form of columns. Our manipulation value that goes outside the channel we have determined is colored red, within the channel it is colored yellow, and below the channel it is colored green. Red columns indicate candles that are manipulations.
TR: İndikatör manipülasyon degerini kolonlar şeklinde gösteriyor. Bizim belirlediğimiz kanal dışına çıkan manipülasyon degerimiz kırmızı, kanal içerisinde sarı, kanal altında yeşil olarak renklendiriliyor. Kırmızı kolonlar manipülasyon olan mumları göstermektedir.
Example | Örnek
ENG: In our example above, we see a manipulation candle that clears the price gaps, while the market maker clears the orders in the price gaps at the bottom to move the price up.
TR: Yukarıdaki örneğimizde oluşan fiyat boşluklarını temizleyen bir manipülasyon mumu görmekteyiz, alt kısımdaki fiyat boşluklarındaki emirleri temizleyen market maker fiyatı yukarı taşımak için buradaki emirleri temizliyor.
SETTINGS PANEL | AYARLAR PANELİ
ENG: We have only one setting in this indicator.
TR: Bu indikatörde tek ayarımız vardır.
ENG: Our multiplier value determines the width of the band value formed above our manipulation value. In the chart above, our multiplier value is 3.3. If we reduce our multiplier value, our manipulation sensitivity will decrease as there will be much more candles on the band.
TR: Çarpan değerimiz manipülasyon değerimizin üstünde oluşşan band değerinin genişliğini belirlemektedir.Yukarıdaki grafikte çarpan değerimiz 3.3, Eğer çarpan değerimizi azaltırsak band üstünde çok daha fazla mum olacağı için manipülasyon hassasiyetimiz azalacaktır.
ENG: When we set our multiplier value to 2.3, we have a more sensitive manipulation skin and it gives signals in more candles.
TR: Çarpan değerimizi 2.3 yapınca daha hassas manipülasyon derimiz oluyor ve daha fazla mumda sinyal veriyor.
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .