@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.
Oszillatoren
Ichimoku Oscillator With Divergences [ChartPrime]The Ichimoku Oscillator is a trading indicator designed to streamline the interpretation of Ichimoku clouds. It aims to refine and condense the complexities of the Chikou (the lag line), presenting its implications in real-time through an oscillator format, beneficial for those familiar with Ichimoku components but to have a new interpretation of their indicators.
The basics of an Ichimoku:
Conversion Line (Tenkan-Sen): It represents a midpoint of the highest and lowest prices over a specific period, usually 9 periods, reflecting short-term price movements.
Base Line (Kijun-Sen): It acts similarly to the Conversion Line but over a longer period, typically 26 periods, representing medium-term price movements.
Leading Span A & B (Kumo): Span A is the average of the Conversion Line and Base Line, and Span B is the midpoint of the highest and lowest prices over a usually longer period, typically 52 periods. Their interaction denotes trend direction, and the cloud color changes depending on whether Span A is above or below Span B, indicating bullish or bearish market conditions, respectively.
Lagging Span (Chikou Span): It is the current closing price plotted 26 periods behind, assisting in confirming the trend direction and potential momentum.
Advantage of an Oscillator:
Utilizing the oscillator format allows traders to interpret market dynamics more efficiently by visualizing the momentum and trend strength in a bounded range, enabling quick assessments of overbought or oversold conditions. Creating this oscillator provides multiple advantageous; particularly in sideway markets, helping to identify potential reversal points and offering insights on market entries and exits. When building this oscillator we've put a focus on unique interpretations such as overbought and sold areas and divergences; otherwise not found in traditional Ichimoku techniques. It is important to note these divergences are naturally not 100% real time.
When the oscillator turns green; the market is in an uptrend, red for downtrend and yellow for a transitioning market. The center line and the inner most cloud represent a balanced market state.
Key Features & Input Parameters:
Signal Source: Allows the selection of the price data source for signal generation, such as closing prices, and it’s the foundational parameter upon which the oscillator functions.
Normalization Settings: Users can select the normalization mode (“All”, “Window”, or “Disabled”), influencing how the oscillator scales its values. When enabled, it will scale from 100 to -100, allowing the user to understand better the relative positioning of price data.
Smoothing: This indicator offers advanced smoothing features, with options for additional smoothing, allowing traders to adjust the signal's sensitivity to price movements.
Kumo & Chikou Visibility: Traders can customize the visibility settings of Kumo and Chikou, tailoring the display of each component to their preference, enabling a cleaner and more intuitive view of market conditions.
Color Coding: Each component and condition, like bullish or bearish states, can be color-coded, providing visual cues to enhance the interpretability of market trends and states.
Color on Conversion: The oscillator provides an option to color the signal based on the crossover of the conversion and base lines.
Divergence: The oscillator can detect and highlight regular and hidden bullish and bearish divergences between the signal and price, aiding traders in identifying potential trend reversals or continuations.
Alerts:
The list of inbuilt alerts are provided below:
Inside Cloud: The signal line is inside the cloud.
Up Out of Cloud: The signal line crossed above the cloud.
Down Out of Cloud: The signal line crossed below the cloud.
Future Kumo Cross Bullish: The future Kumo lines have crossed in a bullish manner.
Future Kumo Cross Bearish: The future Kumo lines have crossed in a bearish manner.
Current Kumo Cross Bullish: The current Kumo lines have crossed in a bullish manner.
Current Kumo Cross Bearish: The current Kumo lines have crossed in a bearish manner.
Conversion Base Bullish: The conversion line crossed above the base line.
Conversion Base Bearish: The conversion line crossed below the base line.
Signal Bullish on Conversion Base: The signal line crossed above the maximum of conversion and base lines.
Signal Bearish on Conversion Base: The signal line crossed below the minimum of conversion and base lines.
Chikou Bullish: The Chikou line crossed above zero.
Chikou Bearish: The Chikou line crossed below zero.
Signal Over Max: The signal line crossed above the max level.
Signal Over High: The signal line crossed above the high level.
Signal Under Min: The signal line crossed below the min level.
Signal Under Low: The signal line crossed below the low level.
Chikou Over Max: The Chikou line crossed above the max level.
Chikou Over High: The Chikou line crossed above the high level.
Chikou Under Min: The Chikou line crossed below the min level.
Chikou Under Low: The Chikou line crossed below the low level.
Signal Crossover MA: The signal line crossed over the moving average.
Signal Crossunder MA: The signal line crossed under the moving average.
Regular Bullish Divergence: Regular bullish divergence detected.
Hidden Bullish Divergence: Hidden bullish divergence detected.
Regular Bearish Divergence: Regular bearish divergence detected.
Hidden Bearish Divergence: Hidden bearish divergence detected.
Bounce off of Kumo Up: Bullish Bounce off of Kumo.
Bounce off of Kumo Down: Bearish Bounce off of Kumo.
By providing a cohesive visualization of the Ichimoku elements and market momentum within a bounded range, this oscillator is a unique tool and insight into markets.
YD_Divergence_RSI+CMFThe ‘YD_Divergence_RSI+CMF’ indicator can find divergence using RSI (Relative Strength Index) and CMF (Chaikin Money Flow) indicators.
📌 Key functions
1. Search pivot high and pivot low points in a certain length of price.
2. Connect pivot high to pivot high , pivot low to pivot low , forming two standards for divergence in result.
The marker then plots only the higher high, lower low lines.
(higher low and lower high in prices are referred to hidden divergence, which are not considered in this indicator)
3. Compare the two standards with RSI and CMF indicators, send an alert if there is a divergence. As a result, the indicator will find four combination of divergence.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 Details
Developing the indicators, we put a lot of effort in making a customizable and user-friendly interface.
#1. Pivot Setting
Users can set the length to find the pivot high / pivot low in ‘Pivot Settings – Pivot Length.’
Increased pivot Length takes more candles to interpret the chart but reduce false signals since the it uses only the most certain pivot high / pivot low values. Obviously, decreased pivot length will act the opposite.
Users can choose whether to use ‘High/Low’ or ‘Close’ in ‘Pivot Reference’ to set the swing point of prices.
Users can also choose whether to display the pivot high / pivot low marker on the chart.
#2 RSI & CMF Settings
Users can adjust the length of RSI & CMF separately. (The default values are set to 14 and 20 each.)
#3 Label Setting
Users can adjust the text displayed on the chart label. (The default values is set to ‘Bullish / Bearish’, ‘RSI/CMF’, ‘Divergence’.)
Users can reduce the length of text label or simply turn the label off. Just click the ‘Bull/Bear’ or ‘None’ button. ‘Divergence’ works the same.
Users can decide whether to display the ‘Divergence Line and Label’, set custom settings for the label and line. (color, thickness, style, etc)
📌 Alert
Alert are provided as a combination of the chart's symbol and the set label text. For example,
‘BINANCE:BTCUSDT.P, Bullish RSI Divergence’
====================================================
"YD_Divergence_RSI+CMF" 지표 는 RSI와 CMF 지표를 이용해서 Divergence 를 찾아낼 수 있습니다.
📌 주요 기능
1. 정해진 가격 움직임 안에서 pivot high와 pivot low 포인트 를 찾아냅니다.
2. Pivot high로만 이어진 라인과, Pivot low로만 이어진 두 라인을 작도한 뒤 divergence의 기준으로 삼습니다.
이 지표에서는 normal divergence만 사용하기 때문에 차트에 higher high와 lower low만 표기 합니다.
(higher low와 lower high는 hidden divergence로 정의되며, 이 지표에서는 다루지 않습니다.
3. 두 기준선과 RSI, CMF 지표를 각각 비교하고, 결과적으로 4개의 조합을 구할 수 있습니다.
A. Higher high price / Lower RSI (Bearish RSI Divergence)
B. Lower low price / Higher RSI (Bullish RSI Divergence)
C. Higher high price / Lower CMF (Bearish CMF Divergence)
D. Lower low price / Higher CMF (Bullish CMF Divergence)
📌 세부 사항
지표를 개발하며 사용자들이 원하는 방향으로 지표를 설정할 수 있게 작업에 많은 공을 들였습니다. 굉장히 다양한 옵션을 선택할 수 있으며, 원하는 방식으로 지표를 사용할 수 있습니다.
#1 Pivot Setting
Pivot setting에서는 Pivot Length를 변경할 수 있습니다.
Pivot Length를 늘릴 경우, 보다 확실한 Swing High와 Swing Low만을 사용하게 되므로, False signal이 줄어들 수 있습니다. 하지만 Swing High/ Low를 판정하는 데에 더 긴 시간이 걸리게 되므로, Signal이 다소 늦게 발생하는 단점이 생기게 됩니다.
Pivot Length를 줄일 경우, 반대로 Swing High/Low의 판정이 더 빨리 일어나기 때문에, Signal을 거래에 이용하기는 좋을 수 있습니다. 다만, Swing High와 Low가 훨씬 더 잦은 빈도로 발생하기 때문에 False Signal을 줄 가능성이 높아집니다.
Pivot Reference에서는 가격의 Swing Point를 설정함에 있어, High/Low(고가/저가)를 이용할 지 Close (종가)를 이용할 지 선택할 수 있습니다.
Pivot High/Low Marker를 선택할 경우 Pivot High/ Low에 Marker가 찍히게 됩니다.
#2 RSI와 CMF Setting
RSI와 CMF Setting에서는 RSI와 CMF의 길이를 각각 설정할 수 있습니다. 기본값은 14와 20으로 설정되어 있습니다.
#3 Label Setting
Label Setting에서는 Label에 표시되는 글자를 선택할 수 있습니다.
기본값은 "Bullish / Bearish", "RSI/CMF", "Divergence"로 선택되어 있으며, 너무 길다고 느껴질 경우 "Bull/Bear" 혹은 "None"을 클릭하여 길이를 줄일 수 있습니다. 마찬가지로 Divergence의 경우도 생략이 가능합니다.
하단에서는 Divergence Line과 Label을 켜고 끌 수 있으며, 선의 색깔, 굵기, 종류, 그리고 Label의 색깔, 크기, 종류를 선택할 수 있습니다. Label의 Text 색 역시 변경이 가능합니다.
📌 얼러트
얼러트는 자신이 설정한 차트의 심볼과 Label의 문구의 조합으로 제공되며 예를 들면 다음과 같습니다.
"BINANCE:BTCUSDT.P, Bullish RSI Divergence"
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.*
---
Worm *Public*This Pine Script code is designed to create a custom technical indicator called "Worm" that helps identify trends in the market based on momentum. Let's break down the code and its settings:
Indicator Title and Overlay:
The indicator is named "Worm (Clean)" and is set to be overlaid on the price chart.
Input Settings:
The code defines various input settings, which can be customized by the user. These settings include:
Indicator Settings (e.g., Alpha, Gap)
Backtest Settings (e.g., HighlightCrossovers, ApplyNorm)
Color Settings (e.g., Buy Color, Sell Color, Wait Color)
Location Settings for displaying the indicator above, below, or at the price.
Toggleable Inputs:
These settings allow you to choose whether the momentum indicator should be displayed above, below, or at the price chart. You can also specify the colors for buy, sell, and wait signals.
Indicator Calculations:
The code calculates momentum using various formulas involving the source price data (e.g., open, high, low, close). Momentum values are stored in variables L0, L1, L2, L3, and lrsi.
It also calculates the Color values for the indicator based on certain conditions and user-defined settings.
Bcolor and Scolor are used to determine the color of the plotted indicator based on buy and sell conditions.
Bollinger Bands (BB) and Keltner Channels (KC) Calculation:
The code calculates Bollinger Bands (UpperBB and LowerBB) and Keltner Channels (UpperKC and LowerKC) using the source price data.
It also determines whether the market is in a squeeze (SqzOn) or not (NoSqz) based on the relationship between BB and KC.
Signal Generation:
Buy and sell signals are generated based on various conditions, including momentum values and the squeeze state.
The color of the indicator line is determined based on the buy and sell signals.
LagF Calculation:
The LagF variable is calculated based on certain formulas involving the L0Line, L1Line, L2Line, and L3Line values.
Control Color:
The Color variable is used to control the color of the LagF indicator line based on certain conditions.
Plotting:
The momentum indicator (Val) is plotted on the chart with the specified colors and style.
The LagF indicator (Worm) is also plotted with a dynamic color based on market conditions.
Alerts are triggered when buy or sell signals are generated.
Experimental Section:
This section appears to be left for experimentation and may contain additional code or features.
Overall, this Pine Script code calculates and displays a custom momentum-based indicator called "Worm" on a price chart. It generates buy and sell signals based on momentum and squeeze conditions and allows users to customize various settings, including indicator location and colors. The code is designed for technical analysis and trend identification in financial markets.
Supertrend with Stochastic OB/OS Arrows @KING
TradingView Idea: Supertrend with Stochastic Arrows @KING
Overview:
- Combining the Supertrend indicator with Stochastic arrows for a comprehensive market
view, providing insights into trend direction and potential reversal points.
Supertrend Settings:
- ATR Length: The length parameter for calculating the Average True Range (ATR).
- Factor: A multiplier used to determine the distance of the Supertrend line from the
price.
Supertrend Display:
The Supertrend is color-coded:
- During an uptrend, it is displayed in green .
- During a downtrend, it is displayed in red .
- The body of the candlesticks is filled with color during the corresponding trend direction.
Stochastic Settings:
- K Length: The period length for the %K line in the Stochastic oscillator.
- K Smoothing: Smoothing factor for %K.
- D Smoothing: Smoothing factor for %D.
- Overbought Level: The threshold indicating an overbought condition.
- Oversold Level: The threshold indicating an oversold condition.
Arrows:
- Buy arrows are displayed below the bars during a downtrend when Stochastic is below the
oversold level.
- Sell arrows are displayed above the bars during an uptrend when Stochastic is above the
overbought level.
Supertrend Display:
- The Supertrend line is plotted with a color change based on its direction.
- The body of the candlesticks is filled with green during an uptrend and red during a downtrend.
Usage:
- Traders can use this script to identify potential entry and exit points, leveraging the
insights provided by both the Supertrend indicator and Stochastic oscillator. This
combination aims to capture trend strength and potential reversal opportunities.
Crypto Daily WatchList And Screener [M]
Hi, this is a watchlist and screener indicator designed for traders in the field of cryptocurrencies who want to monitor developments in other currency pairs and indices.
The indicator consists of two tables. One of them is the table containing indices such as BTC dominance, total, total2, which allows you to track market developments and changes. In this table, you will find price information, daily change, stochastic, and trend information.
The other table includes cryptocurrencies like BTC/USDT, ETH/USDT, DOT/USDT, and more. In this table, you will see real-time prices, daily volume, daily change, stochastic, the correlation coefficient between the pair and Bitcoin, and the trend value calculated based on MACD.
The "Customize" section in the settings enables you to personalize the appearance of the tables according to your preferences.
Multi Time Frame RSI PanelDescription:
The "Multi Time Frame RSI Panel" indicator is a powerful tool designed to help traders analyze the Relative Strength Index (RSI) across multiple timeframes simultaneously. While the core logic of this indicator is proprietary, this description aims to provide traders with an understanding of its functionality and utility.
Key Features:
Multi-Timeframe Analysis: This indicator displays RSI values for different timeframes, including 1 minute (1m), 5 minutes (5m), 15 minutes (15m), 30 minutes (30m), 1 hour (1h), 2 hours (2h), 4 hours (4h), and 1 day (1d). Traders can choose which timeframes to display on their chart based on their trading strategy.
Customizable Thresholds: Users can set upper and lower RSI thresholds for each timeframe, allowing for the identification of overbought and oversold conditions. The indicator highlights RSI values that breach these thresholds in green (for overbought) or red (for oversold), providing visual cues for potential trading opportunities.
How to Use:
1. Add the "Multi Time Frame RSI Panel" indicator to your TradingView chart.
2. Configure the settings by selecting the timeframes you want to monitor and setting your preferred RSI thresholds.
3. Monitor the RSI values for each selected timeframe in the panel located at the top right corner of your chart.
4. Look for potential trading signals based on RSI conditions, such as overbought or oversold levels, across different timeframes.
MA RSI @KINGThis Pine Script is designed to create a trading indicator with moving averages (MA) and relative strength index (RSI), along with arrow signals and background color changes based on those signals. Here's a description of its functions:
1. Moving Averages and RSI Calculation:
- Two moving averages (`fastMA` and `slowMA`) are calculated based on user-input lengths.
- The Relative Strength Index (`rsi`) is calculated based on a user-defined length.
2. Crossover Conditions:
- `crossoverUp` is true when the fastMA crosses above the slowMA and RSI is above an overbought level.
- `crossoverDown` is true when the fastMA crosses below the slowMA and RSI is below an oversold level.
3. Arrow Signals:
- Triangle-shaped arrows (`arrowUp` and `arrowDown`) are plotted below and above bars, indicating buy (green) and sell (red) signals, respectively.
4. Background Color Changes:
- The background color (`bgColor`) changes based on buy and sell signals.
- If there's a buy signal (`crossoverUp`), the background color is set to a light blue with 40% transparency.
- If there's a sell signal (`crossoverDown`), the background color is set to a light red with 40% transparency.
- On the next opposite signal, the background color is scaled up (transparency set to 80%) to indicate a stronger signal.
In summary, this script provides visual cues through arrows and background color changes to assist traders in identifying potential buy and sell signals based on moving average crossovers and RSI conditions. The background color variations aim to highlight the strength of the signal, with scaling based on consecutive signals in the same direction.
********************************************************************************
1. Buy Signal:
- Condition: The arrow points up (green) with a background color indicating a buy signal.
- Confirmation: Ensure that there is a strong upward crossover (fastMA above slowMA) and RSI is above the overbought level.
2. Sell Signal:
- Condition: The arrow points down (red) with a background color indicating a sell signal.
- Confirmation: Ensure that there is a strong downward crossover (fastMA below slowMA) and RSI is below the oversold level.
3. Exit Signal:
- Condition: No arrow is present, and the background color is reset.
- Confirmation: Confirm that there is no active buy or sell signal.
Example Trading Rules:
Opening a Long Position (Buy):
- Enter a long (buy) position when:
- The green arrow appears with a light blue background.
- Confirm that the fastMA is above the slowMA.
- Confirm that RSI is above the overbought level.
Opening a Short Position (Sell):
- Enter a short (sell) position when:
- The red arrow appears with a light red background.
- Confirm that the fastMA is below the slowMA.
- Confirm that RSI is below the oversold level.
Exiting a Position:
- Close the position when:
- There is no arrow present (neither green nor red).
- The background color is reset, indicating no active signal.
Risk Management:
Position Sizing: Determine the size of your positions based on your risk tolerance and the size of your trading account.
Stop-Loss and Take-Profit: Set stop-loss orders to limit potential losses and take-profit orders to secure profits.
Risk-Reward Ratio: Consider maintaining a favorable risk-reward ratio in your trades.
Notes:
Backtesting: Before applying this strategy in a live market, it's crucial to backtest it using historical data to assess its performance.
Market Conditions: Adapt the strategy to different market conditions, and be aware that no strategy is guaranteed to be profitable.
Continuous Monitoring: Regularly monitor the performance of the strategy and make adjustments as needed.
Educational Purpose: This strategy is for educational purposes only. Always consult with financial professionals and use your judgment when making trading decisions.
Remember that trading involves risk, and past performance is not indicative of future results. It's recommended to paper trade or use a demo account to test the strategy before risking real capital.
Best wishes on your trading journey! May your strategies be profitable, your risks well-managed, and your decisions guided by wisdom and success. Happy trading!
Better RSIThis script is an enhancement of the original RSI (Relative Strength Index) indicator for TradingView. While the core RSI functionality remains intact, several powerful features have been added to make it a "Better RSI" tool for traders and investors.
Key Features:
1. Divergence Detection: The script now includes both Bullish and Hidden Divergence detection. Bullish Divergence helps identify potential trend reversals when the price makes lower lows, but the RSI makes higher lows. Conversely, Hidden Divergence highlights instances where the RSI and price move in opposite directions, signaling potential trend continuation or reversal.
2. Bollinger Band Breakout Highlight: Users have the option to select "Bollinger Bands" as the Moving Average (MA) type in the settings. When enabled, this feature highlights RSI-Bollinger Band breakouts. It's a valuable tool for traders looking to capitalize on RSI movements in conjunction with Bollinger Bands.
3. Customizable Settings: The script provides a range of customizable settings, allowing you to adjust parameters like RSI length, MA type, Bollinger Bands standard deviation, and more to suit your trading strategy.
4. Clear Visuals: The script offers clear visual cues, with colored backgrounds indicating RSI overbought and oversold levels, as well as extreme breakouts. Bullish and bearish divergence points are also marked with distinct crosses, making it easy to spot potential trading opportunities.
Whether you're a seasoned trader or just starting, the "Better RSI" script empowers you with advanced tools to make more informed trading decisions. Use it to identify potential trend reversals, continuation patterns, and RSI-Bollinger Band breakouts in the market.
Adaptive SMI Ergodic StrategyThe Adaptive SMI Ergodic Strategy aims to capture the momentum and direction of a financial asset by leveraging the Stochastic Momentum Index Indicator (SMI) in an ergodic form. The strategy uses two lengths for the SMI, a shorter and a longer one, and an Exponential Moving Average (EMA) to serve as the signal line. Additionally, the strategy incorporates customizable overbought and oversold thresholds to improve the probability of successful trade execution.
How It Works:
Long Entry: A long position is taken when the ergodic SMI crosses over the EMA signal line, and both the SMI and EMA are below the oversold threshold.
Short Entry: A short position is initiated when the ergodic SMI crosses under the EMA signal line, and both the SMI and EMA are above the overbought threshold.
The strategy plots the SMI in yellow and the EMA signal line in purple. Horizontal lines indicate the overbought and oversold thresholds, and a colored background helps in visually identifying these zones.
Parameters:
Long Length: The length of the long EMA in SMI calculation.
Short Length: The length of the short EMA in SMI calculation.
Signal Line Length: The length for the EMA serving as the signal line.
Oversold: Customizable threshold for the oversold condition.
Overbought: Customizable threshold for the overbought condition.
Historical Context: The SMI Indicator
The Stochastic Momentum Index (SMI) was developed by William Blau in the early 1990s as an enhancement to traditional stochastic oscillators. The SMI provides a range of values like a traditional stochastic, but it differs in that it calculates the distance of the current close relative to the median of the high/low range, as opposed to the close relative to the low. As a result, the SMI is less erratic and more responsive, offering a clearer picture of market trends.
In recent years, the SMI has been adapted into ergodic forms to facilitate smoother data analysis, reduce lag, and improve trading accuracy. The Adaptive SMI Ergodic Strategy leverages these modern enhancements to offer a more robust, customizable trading strategy that aligns with various market conditions.
Double RSI 00 1.0This script creates a custom indicator, visualizes two RSI values (RSI1 and RSI2) on the chart and generates alerts based on different RSI-related conditions, which can be used for technical analysis and trading strategies. Users can customize the RSI parameters and alert levels according to their preferences.
It includes several input parameters that allow the user to customize the RSI calculations and overbought/oversold levels. These parameters include:
length_1: RSI1 Length (default: 7)
length_2: RSI2 Length (default: 12)
overbought_1: Overbought Signal level for RSI1 (default: 75)
oversold_1: Oversold Signal level for RSI1 (default: 25)
overbought_2: High Overbought Signal level for RSI1 (default: 85)
oversold_2: High Oversold Signal level for RSI1 (default: 15)
The script calculates two RSI values: rsi_1 and rsi_2, based on the high and low prices averaged (hl2) and the specified RSI lengths.
It plots these RSI values on the chart using different colors and line widths.
Several horizontal lines are drawn on the chart to represent key levels:
h0: 0 (Lower Band)
h1: 50 (Middle Band)
h2: 100 (Upper Band)
h3: The Oversold level (customizable)
h4: The Overbought level (customizable)
h5: The High Oversold level (customizable)
h6: The High Overbought level (customizable)
The script defines alert conditions for various signals, including overbought, oversold, high overbought, high oversold, long (crossover between RSI1 and RSI2), and short (crossunder between RSI1 and RSI2).
It sends alerts when these conditions are met, indicating potential trading signals.
Please note that this script is meant for educational purposes and should be used cautiously in a real trading environment. It's important to have a thorough understanding of technical analysis and risk management when using such indicators in actual trading.
Volume-Weighted RSI [wbburgin]The Volume-Weighted RSI takes a new approach to the traditional calculation of the RSI in using a price::volume calculation. As some traders consider volume to be a leading indicator for price, the volume-weighted RSI can come in handy if you want to visualize volume easier.
Usage
This indicator builds the RSI from the square of the volume change and the price. If the volume decreases rapidly with the price, the volume-weighted RSI will fall; if the volume increases rapidly with the price, the volume-weighted RSI will rise.
You may notice crosses and circles appearing above and below the indicator. These indicate abnormal volume or price:
A green cross indicates abnormal upward price
A red cross indicates abnormal downward price
A green circle indicates abnormal positive volume
A red circle indicates abnormal negative volume
A green bar indicates both abnormal price and volume (positive), while a red bar indicates both abnormal price and volume (negative).
The thresholds of what are considered "normal" and "abnormal" are controlled by the "SD Multiple" in your settings (standard deviation). A higher multiple will make less of these signals occur, and you can turn them and the bars off at any time.
I have a built-in Light Style and Dark Style so that your preference of background won't affect seeing the indicator. You can also change the colors and the overbought/oversold lines in your settings.
RMI Trend SniperThe "RMI Trend Sniper" is a powerful trend-following indicator designed to help traders identify potential buy and sell signals in the market.
It combines elements of the Relative Strength Index (RSI) and the Money Flow Index (MFI) to provide a comprehensive view of market momentum and strength.
🔷 Key Features:
🔹 Customizable Settings : Tailor the indicator to your trading preferences with customizable input parameters, including RSI and MFI lengths, threshold levels, and visual settings.
🔹 Momentum Signals : The indicator generates clear bullish and bearish momentum signals, allowing you to spot potential trend reversals or continuations.
🔹 The positive condition considers the previous RMI value, current RMI value, and positive change in the 5-period exponential moving average (EMA) of the closing price.
🔹 The negative condition looks at the current RMI value and negative change in the 5-period EMA.
🔹 Visual Bands : Visualize market volatility with dynamically plotted bands around the Range Weighted Moving Average (RWMA), providing insights into potential price fluctuations.
🔹 Candlestick Coloring : Easily identify bullish and bearish conditions with color-coded candlesticks, helping you make informed trading decisions.
The "RMI Trend Sniper" is a versatile tool suitable for traders of all experience levels. Whether you are a novice or an experienced trader, this indicator can help you enhance your technical analysis and improve your trading strategies.
Machine Learning: MFI Heat Map [YinYangAlgorithms]Overview:
MFI Heat Maps are a visually appealing way to display the values of 29 different MFIs at the same time while being able to make sense of it. Each plot within the Indicator represents a different MFI value. The higher you get up, the longer the length that was used for this MFI. This Indicator also features the use of Machine Learning to help balance the MFI levels. It doesn’t solely rely upon Machine Learning but instead incorporates a growing length MFI averaged with the Machine Learning MFI at any given index.
For instance, say we are calculating the 10th plot from the bottom, the MFI would be an average of:
MFI(source, 11)
Machine Learning MFI at Index of 10
We do it this way as they both help smooth each other out without relying solely on just one calculation method.
Due to plot limitations, you are capped at 28 Plot Amounts within this indicator, but that is still quite a bit of information you can glean from a Heat Map.
The Machine Learning used in this indicator is of the K-Nearest Neighbor (KNN). It uses a Fast and Slow MFI calculation then sorts through them over Machine Learning Length and calculates the differences between them. It then slices off KNN length to create our Max/Min Distances allotted. It adds the average between Fast and Slow MFIs to a Viable Distances array if their distances are within the KNN Min/Max distance. It then averages all distances in the Viable Distances array and returns the result.
The result of the KNN Function is saved to another ML Data array whose length is that of Plot Amount (Heat Map Size). This way each Index of the ML Data array can be indexed according to the Heat Map Size.
The Average of the ML Data array is the MFI line (white) that you’ll see plotted on the Indicator. There is also the SMA of the MFI Average (orange) which is likewise plotted. These plots allow you to visualize where the ML MFI is sitting and can potentially be useful for seeing when the MFI Average and SMA cross over and under each other.
We’ve heard many people talk highly of RSI, but sadly not too many even refer to MFI. MFI oftentimes may be overlooked, especially with new traders who may not even know what it is. Essentially MFI is an RSI but it also incorporates Volume into its calculations, which in our opinion leads to a more accurate reading; afterall, what is price movement without Volume.
Tutorial:
You may be thinking, this Indicator looks appealing to the eye, but how do I benefit from it trading wise?
Before we get into our visual examples, let's talk briefly about what makes Heat Maps in general a useful tool for trading. Heat Maps give us the ability to visualize and understand lots of data while removing the clutter. We can understand the data of 29 different MFIs without having to look at and decipher 29 different MFI plots. When you overlay too many MFI lines on top of each other, they can be very difficult to read and oftentimes end up actually hindering your Technical Analysis. For this reason, we have a simple solution to this problem; Heat Maps. This MFI Heat Map allows you to easily know (in a relative %) what the MFI level is for varying lengths. For Instance, the First (bottom) plot indexes an MFI of (K(0) (loop of Plot Amount) + Smoothing Length (default 1)) = 1. Since this is indexing (usually) a very low length, it will change much quicker. Whereas the Last (top) plot indexes an MFI of (K(27) (loop of Plot Amount) + Smoothing Length (default 1)) = 28. This is indexing a much higher length of MFI which results in the MFI the higher you go up in the Heat Map to move much slower.
Heat Maps give us the ability to see changes happening over multiple MFIs at the same time, which can be very useful for seeing shifts in MFI / Momentum. Remember, MFI incorporates Volume, so even if the price goes up a lot, if there was low volume, the MFI won’t move as much as an RSI would. However, likewise, if there is high volume but low price movement, the MFI will move slightly more than the RSI.
Heat Maps change color based on their MFI level. If the MFI is >= 90 it is HOT (red), if the MFI <= 9 it is COLD (teal, think of ICE). Green represents an MFI of 50-59 and Dark Blue represents an MFI of 40-49. Green and Dark blue are the most common colors as all the others are more ‘Extreme’ MFI levels.
Okay, time to get to the Examples :
Since there is so much going on in Heat Maps, we’ve decided to focus this tutorial to this specific area and talk about individual locations before talking about it as a whole.
If you refer to the example above where there are 2 white circles; these white circles are highlighting a key location you’ll be wanting to identify within your Heat Maps, many things are happening here:
The MFI crossed over the SMA (bullish).
The Heat Map started changing from mid/dark Blue (30-50 MFI) to Green (50-59 MFI) around the midline (the 50% dashed like).
The Lower levels of the Heat Map are turning Yellow/Orange/Red (60-100 MFI).
The Upper Levels of the Heat Map are still Light Blue - Green (10-50 MFI).
The 4 Key points above, all point towards potential Bullish Momentum changes. You’re likely wondering, but why? Let's discuss about each one in more specific detail:
1. The MFI crossed over the SMA (bullish): What this tells us is that the current MFI Average is now greater than its average over the last (default) 16 bars. This means there's been a large amount of Money Flow (Price and Volume) recently (subjectively based on the last (default) 16 average). This is one of the leading Bullish / Bearish signals you will see within this Indicator. You can enable Signals within the Settings and/or even add Alerts for when these crossings occur.
2. The Heat Map started changing from mid/dark Blue (30-50 MFI) to Green (50-59 MFI) around the midline (the 50% dashed like): This shows us that the index’s in the mid (if using all 28 heat map plots it would be at 14) has already received some of this momentum change. If you look at the second white circle (right), you’ll also notice the higher MFI plot indexes are also green. This is because since their length is long they still have some momentum and strength from the first white circle (left). Just because the first white circle failed in its bullish push, doesn’t mean it didn’t achieve momentum that would later on help to push the price up.
3. The Lower levels of the Heat Map are turning Yellow/Orange/Red (60-100 MFI): It occurred somewhat in the left white circle, but mainly in the right white circle. This shows us the MFI is very high on the lower lengths, this may lead to the current, middle and higher length MFIs following suit soon. Remember it has to work its way up, the higher levels can’t go red unless the lower levels go red first and the higher levels can also lag quite a bit behind and take awhile to catch up, this is normal, expected and meant to happen. Vice versa is also true with getting higher levels to go cold (light teal (think of ICE)).
4. The Upper Levels of the Heat Map are still Light Blue - Green (10-50 MFI): You might think at first that this is a bad thing, but it's not! Remember you want to be Fearful when others are Greedy and Greedy when others are Fearful! You don’t want to buy when the higher levels have a high MFI, you want to buy when you see the momentum pushing up in the lower MFI levels (getting yellow/orange/red in the low levels) while it is still Cold in the higher levels (BLUE OR GREEN, nothing higher than green as it is already slightly too high). There will be many times that it is Yellow or possibly Orange in the high levels and the bullish push still happens, but this is much more risky! The key to trading is to minimize risks while maximizing potential.
Hopefully now you’re getting an idea of how to spot potential bullish momentum changes, but what about bearish momentum changes? Technically they are the exact opposite, so we don’t need to go into as much detail, but lets still take a look at a few examples:
In the example above we marked the 3 times where it was displaying overly bullish characteristics. We marked the bullish momentum occurring with arrows. If you look closely at the start of the arrow to where it finishes, you’ll notice how the heat (HOT)(RED) works its way up from the lower levels to the higher levels. We then see the MFI to SMA cross under. In all 3 of these examples the heat made it all the way to the top of the chart. These are all very bearish signals that represent a bearish momentum movement that may occur soon.
Also, please note, the level the MFI is at DOES matter! That line isn’t there simply for you to see when there are crosses over and under. The MFI is considered to be Overbought when it is greater than 70 (the upper white dashed line, it is just formatted to be on a different scale cause there are 28 plots, but it represents 70). The MFI is considered to be Oversold when it is less than 30 (the lower white dashed line).
If we look to the left a little here where a big drop in price occurred shortly after our MFI and SMA crossed, would we have been able to identify it using the Heat Maps? Likely, No. There was some color change in the lower levels a few bars prior that went yellow/orange/red but before this cross happened they all went back to Dark Blue. In the middle section when the cross happened it was only Green and Yellow and in the upper section we are Blue. This would be a very risky trade to go on as the only real Bearish Indication was the MFI to SMA cross under. Remember, you want to reduce risk, you don’t want to simply trade on everytime the MFI and SMA cross each other or you’ll be getting yourself into many risky trades based on false signals.
Based on what you’ve learned above, can you see the signs that are indicating where this white circle may have potential for a bullish momentum change?
Now that we are more zoomed in, you may also be noticing there are colors to the price bars. This can be disabled in the settings, but just so you know what they mean, let’s zoom in a little more and talk about it.
We’ve condensed the Indicator a bit so you can see the bars better here. The colors that are displayed on these bars are the Heat Map value for your MFI (the white line in the Indicator). This way you can better see when the Price is Hot and Cold. As you may see while looking, the colors generally go from cold to hot when bullish momentum is happening and hot to cold when bearish momentum is happening. We don’t recommend solely looking at the bars as indicators to MFI momentum change, as seeing the Heat Map will give you much more data; however it can be nice to see the Heat Map projected on the bars rather than trying to eyeball it yourself or hover over each bar specifically to see their levels.
We will conclude our Tutorial here. Hopefully this has given you some insight to how useful Heat Maps can be and why it works well with a Machine Learning (KNN) Model applied to the MFI.
PLEASE NOTE: You can adjust the line width for the Heat Map within the settings. If you condense the Indicator a lot or have a small screen, likely use a length of 1-2. If you have it stretched out or a large screen, a length of 2-3 will work nice. You just don’t want to have the lines overlapping or it defeats the purpose of a Heat Map. Also, the bigger the linewidth, generally you’ll want to increase the Transparency within the Settings also as it can get quite bright and hurt your eyes over time.
Settings:
MFI:
Show MFI and SMA Crossing Signals: MFI and SMA Crossing is one of the leading Bullish and Bearish Signals in this Indicator. You can also add alerts for these signals.
Plot Amount: How many plots are used in this Heat Map. (2 - 28).
Source: The Source to use in all MFI calculations.
Smooth Initial MFI Length: How much to smooth the Fast and Slow MFI calculation by. 1 = No smoothing.
MFI SMA Length: What length we smooth the MFI Average over to get our MFI SMA.
Machine Learning:
Average MFI data by adding a lookback to the Source: While populating our Heat Map with the MFI's, should use use the Source each MFI Length increase or should we also lookback a Source each MFI Length Increase.
KNN Distance Requirement: To be a valid KNN, it needs to abide by a Distance calculation. Generally only Max is used, but you can change it if it suits your trading style better.
Machine Learning Length: How much ML data should we store? The longer the length generally the smoother the result; which may not be as accurate for something like a Heat Map, so keeping this relatively low may lead to more accurate results.
KNN Length: How many KNN are used in the slice to calculate max/min distance allowed.
Fast Length: Fast MFI length used in KNN to calculate distances by comparing its distance with the Slow MFI Length.
Slow Length: Slow MFI length used in KNN to calculate distances by comparing its distance with the Fast MFI Length.
Smoothing Length: When populating our Heat Map, at what length do we start our MFI calculations with (A Higher value with result in a slower and more smoothed MFI / Heat Map).
Colors:
Change Bar Color: Change bar colors to MFI Avg Color.
Heat Map Transparency: If there isn't any transparency it can be a little hard on the eyes. The Greater the Line Width, generally the more transparency you'll want for your eyes.
Line Width: Set how wide the Heat Map lines are
MFI 90-100 Color: Color when the MFI is between these levels.
MFI 80-89 Color: Color when the MFI is between these levels.
MFI 70-79 Color: Color when the MFI is between these levels.
MFI 60-69 Color: Color when the MFI is between these levels.
MFI 50-59 Color: Color when the MFI is between these levels.
MFI 40-49 Color: Color when the MFI is between these levels.
MFI 30-39 Color: Color when the MFI is between these levels.
MFI 20-29 Color: Color when the MFI is between these levels.
MFI 10-19 Color: Color when the MFI is between these levels.
MFI 0-100 Color: Color when the MFI is between these levels.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Blockchain FundamentalThis indicator is made for traders to harness fundamental blockchain data for better decision-making. Unlike traditional tools, this indicator doesn't depend on standard technical indicators. It offers a novel perspective by focusing on core blockchain metrics like capitalization, miner activity, and other intrinsic data elements. I've designed a distinct scoring logic, exclusive to BF, ensuring it's user-friendly and provides actionable insights for traders at all levels.
Mainly created for Bitcoin , but can be applied to any other crypto assets in cost of losing some metrics in the analysis.
Ethereum chart:
Features:
Customizable Moving Averages:
Choose from an array of moving averages, with the flexibility to adjust the length for a tailored analysis, aiding in pinpointing asset trends.
Blockchain Metrics Integration:
Incorporates a range of blockchain metrics such as Market Cap to Realised Cap ratio, Spent Output Profit Ratio, ATH Drawdown, and more.
Blockchain Metrics Evaluation:
Each metric can be toggled on/off to customize the analysis. Using default settings, traders can use all of the metrics combined.
Every metric is essentially evaluated on a scale from -100 to 100 and then combined with others. If any metric is uncertain about its direction (equals to 0), then the score of it is not accounted in a final calculation.
Kalman Filter:
This indicator offers the option to apply a Kalman filter to the signals, enhancing the smoothness and accuracy of the indicator’s output. This is my approach to mitigate the noise in the final output.
Signal Oscillator:
Displays the aggregated score of all selected blockchain metrics.
Offers visual signals with adjustable upper and lower bounds for easy interpretation based on particular asset observation.
Visual Elements:
Signal Oscillator:
A visual representation of the aggregated blockchain fundamental score.
(White line for a raw calculation, orange line for kalman-filtered one)
Signal Counter:
Displays the count of metrics currently being considered in the fundamental score calculation. (grey line at the middle of an indicator)
Buy/Sell Signal Coloring:
The background color changes to indicate potential buying or selling opportunities based on user-defined bounds.
Usage:
Analysis:
Use the signal oscillator to identify potential market tops and bottoms based on blockchain fundamental data.
Adjust the bounds to customize the sensitivity of buy/sell signals.
Customization:
Enable/disable specific blockchain metrics to tailor the indicator to your analytical needs.
Adjust the moving average type and length for better analysis.
Integration:
Combine with other technical indicators to create a comprehensive trading strategy.
Utilize in conjunction with volume and price action analysis for enhanced decision-making. Every output could be used in traders custom strategies and indicators.
[dharmatech] KBDR Mean ReversionBased on the criteria described in the book "Mean Revision Trading" by Nishant Pant.
Bullish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near bottom bband
DI+ increasing
DI- decreasing
RSI near bottom and increasing
Bearish signal criteria:
Bollinger Bands must be outside Keltner Channel
Price near upper bband
DI+ decreasing
DI- increasing
RSI near upper and decreasing
A single triangle indicates that all 4 criteria are met.
If letters appear with the triangle, this indicates that there was a partial criteria match.
K : bbands outside Keltner
B : bbands criteria met
D : DI criteria met
R : RSI criteria met
You can use the settings to turn off partial signals. For example:
"Partial 3" means show signals where 3 of the criteria are met.
If you want more insight into the underlying criteria, load these indicators as well:
Bollinger Bands (built-in to TradingView)
Keltner Channels (built-in to TradingView)
RSI (built-in to TradingView)
ADX and DI
Warning:
Not meant to be used as a stand-alone buy/sell signal.
It regularly provides signals which would not be profitable.
It's meant to be used in conjunction with other analysis.
Think of this as a time-saving tool. Instead of manually checking RSI, DI+/DI-, bbands, distance, etc. this does all of that for you on the fly.
Volatility Adjusted Composite RSI with SMA and EMA SignalsOverview
The script "VAC - RSI with SMA and EMA Signals" combines the traditional Relative Strength Index (RSI) with Time-based RSI (T-RSI), and adjusts it for volatility to create a Composite RSI (C-RSI). The script further uses Simple Moving Average (SMA) and Exponential Moving Average (EMA) to generate signals for potential trading opportunities. In the "VAC - RSI with SMA and EMA Signals" script, the combination of price, time, and volatility works as follows:
Price: The script calculates the traditional RSI based on price changes over a specified period.
Time: Alongside the price-based RSI, a Time-based RSI (T-RSI) is calculated, which considers the number of upward and downward closes over the same period.
Volatility: Volatility is integrated into the Composite RSI (C-RSI) by adjusting it with a Z-score based on a standard deviation of closing prices.
These three factors work together to create a more holistic and robust indicator.
How can it be used?
This script is used to identify potential overbought and oversold conditions in the market. It plots the VAC-RSI, SMA, and EMA on a chart, along with overbought and oversold levels, providing visual signals to the trader. When the EMA is below the SMA, it is a bullish signal, and vice versa for a bearish signal.
Default Values for Different Inputs:
Price RSI Weightage (%): 65
Unified Period for RSI & T-RSI: 14
C-RSI SMA Period: 13
C-RSI EMA Period: 33
C-RSI Bull Trend Support: 35
C-RSI Bear Trend Resistance: 65
Use Volatility Adjusted C-RSI (VAC-RSI): true
Standard Deviation Period: 14
Volatility Scaling Factor (α): 5
These values can be adjusted according to the trading strategy to optimize the signals for different assets or timeframes.
Strategies this Can be Used for:
The script can be used in various trading strategies including:
Trend Following: By observing the crosses of EMA and SMA, traders can follow the trend.
Reversion to the Mean: Using the overbought and oversold levels to identify potential reversal points.
Breakout: Identifying breakout points using the Bull and Bear Market Support and Resistance levels.
Comparison with the Standard Indicator:
Enhanced Sensitivity to Market Conditions
Improved Signal Quality
Versatility
Volatility Adjustment
Interpretation of Output Values:
VAC-RSI Value:
The script provides additional overbought (80) and oversold (20) lines to help identify extreme conditions.
SMA and EMA Values:
When the EMA is below the SMA, it is generally considered a bullish signal.
When the EMA is above the SMA, it is generally considered a bearish signal.
The cross of EMA and SMA can be used as a trigger for entry or exit points.
Bull and Bear Market Support and Resistance Lines:
The Bull Market VAC-RSI Support (default at 35) and Bear Market VAC-RSI Resistance (default at 65) lines can be used to identify potential breakout or breakdown points.
In a bull market, if the VAC-RSI stays above the support line, it indicates a strong uptrend.
In a bear market, if the VAC-RSI stays below the resistance line, it indicates a strong downtrend.
BTC hash rate oscillatorOVERVIEW:
This script looks to identify entry point opportunities when moving averages over Bitcoin's hash rate are indicative of Miner capitulation. The script implements an oscillator based on Charles Capriole's "Hash Ribbons & Bitcoin Bottoms" concept. It analyses the short-term and long-term moving averages of Bitcoin's hash rate and then identifies potential entry opportunities from this.
KEY FEATURES:
Signal Generation: The script identifies entry points when the short-term moving average crosses under the long-term moving average and the rate of change falls below a specified threshold. These conditions suggest potential trading opportunities.
Historical Signals: Optionally the script displays historical signals, indicating past instances where hash rate conditions suggested favourable entry points. Users can also assess the script's historical performance.
USAGE:
The generated opportunities can be used as potential entry points for BTC. The script provides visual cues on the chart (blue labels above the miner capitulation zones) for identification of signals. Customisable moving average lengths and threshold values are supported, which allow adaptation to various strategies.
CONSIDERATIONS:
Validation: It's recommended that careful backtesting over historical data be done before acting on any identified opportunities.
User Discretion: Trading decisions should not rely solely on this script. Users should exercise their judgment and consider market conditions.
Note: This script identifies opportunities based on historical data and should be used with caution, as past performance is not indicative of future results.
Intraday Intensity Index [SyntaxGeek]Intraday Intensity Index
This is a volume-based technical indicator that integrates volume with a security’s price. Use this to follow how intraday highs and lows are moving with volume.
The Intraday Intensity Index was developed by Dave Bostian.
It is one of several indicators that can be used to follow how volume is influencing a security’s price. It provides a continuous volume-focused indicator by using a security’s most recent close, high and low in its calculation while also factoring in volume.
I've searched high and low for the correct implementation of this measure and I can only find it buried within old books or in PineScript's own ta.iii, but no one has provided it as a histogram indicator correctly.
The main difference I can find is that most are not restricting volumes influence to the denominator solely, which is how Dave designed it.
For illustration the correct implementation is:
(2 * close - high - low) / ((high - low) * volume)
Such a simple change but compare to many other indicators that claim to implement the measure and it's easy to see the difference.
I also provided a high/low mode that aims to ease comparison to Bollinger Bands which is something that John Bollinger references when utilizing III.
Setting III to 20 trend and high/low mode can present similar areas of extreme breaks to the high or low and may be great entries for trades but you must complete your own analysis.
K's Reversal Indicator IIK’s Reversal Indicator II uses a moving average timing technique to deliver its signals. The method of calculation is as follows:
* Calculate a moving average (by default, a 13-period moving average).
* Calculate the number of times where the market is above its moving average. Whenever that number hits 21, a bearish signal is generated, and whenever that number if zero, a bullish signal is generated.
The indicator signals short-term to mid-term reversals as a mean-reversion move.
Gann's square of 9 overextended indicatorThis indicator is inspired by the book “The Definitive Guide to Forecasting Using W.D. Gann’s Square of Nine”. It’s designed to identify overextended price levels in the market.
The indicator uses the concept of Gann’s Square of 9, which is a method for forecasting price movements by observing geometric relationships between price and time. It calculates the square root of the price, then subtracts the square root of a simple moving average of the price. The difference is then converted to degrees to create the indicator values.
The indicator plots four horizontal lines, representing two upper and two lower thresholds. When the indicator crosses these lines, it suggests that the price may be overextended and a reversal could be imminent.
Please note that the Price Multiplier parameter needs to be adjusted for each timeframe and security to ensure accurate results. This is because different securities and timeframes can have different price scales, and the multiplier helps to normalize the price data for the calculation.
The indicator also includes a Moving Average Size parameter, which determines the length of the simple moving average used in the calculation.
This indicator can be a useful tool for traders looking to identify potential reversal points in the market. However, like all indicators, it should be used in conjunction with other forms of analysis and it’s not recommended to rely solely on this indicator for trading decisions.
Auto Fibo on IndicatorsThis drawing tool aims to draw auto Fibonacci Retracement Levels on desired indicators.
Users can define the target indicator to draw Auto Fibo Lines, from the "settings tab":
There are six commonly used indicators below the charts that can be selected to draw Fibonacci Retracement lines on:
RSI : Relative Strength Index
CCI : Commodity Channel Index
MFI : Money Flow Index
STOCHASTIC : Stochastic Oscillator
CMF : Chaikin Money Flow
CMO : Chande Momentum Oscillator
Fibonacci Retracement Levels will appear automatically after applying the indicator.
The "Auto Fibo on Indicators" tool looks back. It checks the indicator levels for a desired number of bars and then draws the Fibonacci Levels automatically in the right way, considering the final movements of the indicator.
There are five commonly used Fibonacci Levels added between the Highest and Lowest values such as:
%23.6
%38.2
%50 (Not precisely a Fibonacci Level, indeed)
%61.8 (Golden Ratio)
%78.6
Four extra levels can be added from the settings tab by checking their boxes:
%127.2 (adjustable level)
%161.8
%261.8
%361.8
Default lookback bars of Auto Fibo Levels: 144 (which is also a Fibonacci number)
Default Indicator: RSI
Default Indicator length: 14
Default data source: CLOSE
Users can also define and show overbought and oversold levels by unchecking the "Do not Show Indicator Overbought / Oversold Levels?" button from the settings menu.
In technical analysis, Fibonacci Levels on price can guide valuable trading signals for investors.
Levels can be significant support and resistance levels for breakouts and turning points.
This drawing tool aims to follow those necessary levels on indicators to observe critical levels and breakouts.