Red Candle ATRThis ATR - Average True Range - Measures only red candles, giving the average true range of market declines.
Média de Amplitude de Variação (ATR)
RMI Trend Sync - Strategy [presentTrading]█ Introduction and How It Is Different
The "RMI Trend Sync - Strategy " combines the strength of the Relative Momentum Index (RMI) with the dynamic nature of the Supertrend indicator. This strategy diverges from traditional methodologies by incorporating a dual analytical framework, leveraging both momentum and trend indicators to offer a more holistic market perspective. The integration of the RMI provides an enhanced understanding of market momentum, while the Super Trend indicator offers clear insights into the end of market trends, making this strategy particularly effective in diverse market conditions.
BTC 4h long/short performance
█ Strategy: How It Works - Detailed Explanation
- Understanding the Relative Momentum Index (RMI)
The Relative Momentum Index (RMI) is an adaptation of the traditional Relative Strength Index (RSI), designed to measure the momentum of price movements over a specified period. While RSI focuses on the speed and change of price movements, RMI incorporates the direction and magnitude of those movements, offering a more nuanced view of market momentum.
- Principle of RMI
Calculation Method: RMI is calculated by first determining the average gain and average loss over a given period (Length). It differs from RSI in that it uses the price change (close-to-close) rather than absolute gains or losses. The average gain is divided by the average loss, and this ratio is then normalized to fit within a 0-100 scale.
- Momentum Analysis in the Strategy
Thresholds for Decision Making: The strategy uses predetermined thresholds (pmom for positive momentum and nmom for negative momentum) to trigger trading decisions. When RMI crosses above the positive threshold and other conditions align (e.g., a bullish trend), it signals a potential long entry. Similarly, crossing below the negative threshold in a bearish trend may trigger a short entry.
- Super Trend and Trend Analysis
The Super Trend indicator is calculated based on a higher time frame, providing a broader view of the market trend. This indicator uses the Average True Range (ATR) to adapt to market volatility, making it an effective tool for identifying trend reversals.
The strategy employs a Volume Weighted Moving Average (VWMA) alongside the Super Trend, enhancing its capability to identify significant trend shifts.
ETH 4hr long/short performance
█ Trade Direction
The strategy offers flexibility in selecting the trading direction: long, short, or both. This versatility allows traders to adapt to their market outlook and risk tolerance, whether looking to capitalize on bullish trends, bearish trends, or a combination of both.
█ Usage
To effectively use the "RMI Trend Sync" strategy, traders should first set their preferred trading direction and adjust the RMI and Super Trend parameters according to their risk appetite and trading goals.
The strategy is designed to adapt to various market conditions, making it suitable for different asset classes and time frames.
█ Default Settings
RMI Settings: Length: 21, Positive Momentum Threshold: 70, Negative Momentum Threshold: 30
Super Trend Settings: Length: 10, Higher Time Frame: 480 minutes, Super Trend Factor: 3.5, MA Source: WMA
Visual Settings: Display Range MA: True, Bullish Color: #00bcd4, Bearish Color: #ff5252
Additional Settings: Band Length: 30, RWMA Length: 20
RSI & Backed-Weighted MA StrategyRSI & MA Strategy :
INTRODUCTION :
This strategy is based on two well-known indicators that work best together: the Relative Strength Index (RSI) and the Moving Average (MA). We're going to use the RSI as a trend-follower indicator, rather than a reversal indicator as most are used to. To the signals sent by the RSI, we'll add a condition on the chart's MA, filtering out irrelevant signals and considerably increasing our winning rate. This is a medium/long-term strategy. There's also a money management method enabling us to reinvest part of the profits or reduce the size of orders in the event of substantial losses.
RSI :
The RSI is one of the best-known and most widely used indicators in trading. Its purpose is to warn traders when an asset is overbought or oversold. It was designed to send reversal signals, but we're going to use it as a trend indicator by increasing its length to 20. The RSI formula is as follows :
RSI (n) = 100 - (100 / (1 + (H (n)/L (n))))
With n the length of the RSI, H(n) the average of days closing above the open and L(n) the average of days closing below the open.
MA :
The Moving Average is also widely used in technical analysis, to smooth out variations in an asset. The SMA formula is as follows :
SMA (n) = (P1 + P2 + ... + Pn) / n
where n is the length of the MA.
However, an SMA does not weight any of its terms, which means that the price 10 days ago has the same importance as the price 2 days ago or today's price... That's why in this strategy we use a RWMA, i.e. a back-weighted moving average. It weights old prices more heavily than new ones. This will enable us to limit the impact of short-term variations and focus on the trend that was dominating. The RWMA used weights :
The 4 most recent terms by : 100 / (4+(n-4)*1.30)
The other oldest terms by : weight_4_first_term*1.30
So the older terms are weighted 1.30 more than the more recent ones. The moving average thus traces a trend that accentuates past values and limits the noise of short-term variations.
PARAMETERS :
RSI Length : Lenght of RSI. Default is 20.
MA Type : Choice between a SMA or a RWMA which permits to minimize the impact of short term reversal. Default is RWMA.
MA Length : Length of the selected MA. Default is 19.
RSI Long Signal : Minimum value of RSI to send a LONG signal. Default is 60.
RSI Short signal : Maximum value of RSI to send a SHORT signal. Default is 40.
ROC MA Long Signal : Maximum value of Rate of Change MA to send a LONG signal. Default is 0.
ROC MA Short signal : Minimum value of Rate of Change MA to send a SHORT signal. Default is 0.
TP activation in multiple of ATR : Threshold value to trigger trailing stop Take Profit. This threshold is calculated as multiple of the ATR (Average True Range). Default value is 5 meaning that to trigger the trailing TP the price need to move 5*ATR in the right direction.
Trailing TP in percentage : Percentage value of trailing Take Profit. This Trailing TP follows the profit if it increases, remaining selected percentage below it, but stops if the profit decreases. Default is 3%.
Fixed Ratio : This is the amount of gain or loss at which the order quantity is changed. Default is 400, which means that for each $400 gain or loss, the order size is increased or decreased by a user-selected amount.
Increasing Order Amount : This is the amount to be added to or subtracted from orders when the fixed ratio is reached. The default is $200, which means that for every $400 gain, $200 is reinvested in the strategy. On the other hand, for every $400 loss, the order size is reduced by $200.
Initial capital : $1000
Fees : Interactive Broker fees apply to this strategy. They are set at 0.18% of the trade value.
Slippage : 3 ticks or $0.03 per trade. Corresponds to the latency time between the moment the signal is received and the moment the order is executed by the broker.
Important : A bot has been used to test the different parameters and determine which ones maximize return while limiting drawdown. This strategy is the most optimal on BITSTAMP:ETHUSD with a timeframe set to 6h. Parameters are set as follows :
MA type: RWMA
MA Length: 19
RSI Long Signal: >60
RSI Short Signal : <40
ROC MA Long Signal : <0
ROC MA Short Signal : >0
TP Activation in multiple ATR : 5
Trailing TP in percentage : 3
ENTER RULES :
The principle is very simple:
If the asset is overbought after a bear market, we are LONG.
If the asset is oversold after a bull market, we are SHORT.
We have defined a bear market as follows : Rate of Change (20) RWMA < 0
We have defined a bull market as follows : Rate of Change (20) RWMA > 0
The Rate of Change is calculated using this formula : (RWMA/RWMA(20) - 1)*100
Overbought is defined as follows : RSI > 60
Oversold is defined as follows : RSI < 40
LONG CONDITION :
RSI > 60 and (RWMA/RWMA(20) - 1)*100 < -1
SHORT CONDITION :
RSI < 40 and (RWMA/RWMA(20) - 1)*100 > 1
EXIT RULES FOR WINNING TRADE :
We have a trailing TP allowing us to exit once the price has reached the "TP Activation in multiple ATR" parameter, i.e. 5*ATR by default in the profit direction. TP trailing is triggered at this point, not limiting our gains, and securing our profits at 3% below this trigger threshold.
Remember that the True Range is : maximum(H-L, H-C(1), C-L(1))
with C : Close, H : High, L : Low
The Average True Range is therefore the average of these TRs over a length defined by default in the strategy, i.e. 20.
RISK MANAGEMENT :
This strategy may incur losses. The method for limiting losses is to set a Stop Loss equal to 3*ATR. This means that if the price moves against our position and reaches three times the ATR, we exit with a loss.
Sometimes the ATR can result in a SL set below 10% of the trade value, which is not acceptable. In this case, we set the SL at 10%, limiting losses to a maximum of 10%.
MONEY MANAGEMENT :
The fixed ratio method was used to manage our gains and losses. For each gain of an amount equal to the value of the fixed ratio, we increase the order size by a value defined by the user in the "Increasing order amount" parameter. Similarly, each time we lose an amount equal to the value of the fixed ratio, we decrease the order size by the same user-defined value. This strategy increases both performance and drawdown.
Enjoy the strategy and don't forget to take the trade :)
Ranges With Targets [ChartPrime]The Ranges With Targets indicator is a tool designed to assist traders in identifying potential trading opportunities on a chart derived from breakout trading. It dynamically outlines ranges with boxes in real-time, providing a visual representation of price movements. When a breakout occurs from a range, the indicator will begin coloring the candles. A green candle signals a long breakout, suggesting a potential upward movement, while a red candle indicates a short breakout, suggesting a potential downward movement. Grey candles indicate periods with no active trade. Ranges are derived from daily changes in price action.
This indicator builds upon the common breakout theory in trading whereby when price breaks out of a range; it may indicate continuation in a trend.
Additionally, users have the ability to customize their risk-reward settings through a multiplier referred to as the Target input. This allows traders to set their Take Profit (TP) and Stop Loss (SL) levels according to their specific risk tolerance and trading strategy.
Furthermore, the indicator offers an optional stop loss setting that can automatically exit losing trades, providing an additional layer of risk management for users who choose to utilize this feature.
A dashboard is provided in the top right showing the statistics and performance of the indicator; winning trades; losing trades, gross profit and loss and PNL. This can be useful when analyzing the success of breakout trading on a particular asset or timeframe.
Anticipated Profit Targets (APT)Anticipated Profit Targets (APT)
Purpose:
The Anticipated Profit Targets script is a specialized tool designed to assist traders in visualizing potential exit points for their trades. This is achieved by leveraging the Average True Range (ATR), a renowned measure of market volatility.
How It Works:
ATR Computations: At its core, the script calculates the ATR based on a user-defined number of periods. The ATR captures the range between the high and low prices of an asset over a specific duration, providing a snapshot of its volatility.
Multiplier Application: To fine-tune the profit targets, the ATR is multiplied by a user-defined multiplier. This step adjusts the ATR value, setting the profit targets at a distance from the current price, thus accounting for potential price movements.
Adaptable Timeframes: One of the standout features of this script is its adaptability. Users can select their desired timeframe for the profit target calculations. This flexibility means that a trader can be on a 15-minute chart but visualize profit targets based on the volatility of a 1-hour chart.
Visual Representation: The calculated profit targets are then overlaid onto the current chart. This visual aid provides traders with a clear perspective of potential exit points in relation to ongoing price movements.
Originality and Usefulness:
While the concept of using ATR for setting profit targets isn't new, this script's adaptability across timeframes and its user-centric customization options make it a unique offering. The combination of ATR with dynamic multipliers and timeframe adaptability ensures that traders get a tool tailored to their specific needs, rather than a one-size-fits-all solution.
Usage Guidelines:
After adding the script to the chart, traders can adjust the input parameters to their preferences. The anticipated profit targets will then be displayed, offering potential exit points. It's recommended to use these targets in conjunction with other technical indicators and chart patterns for a holistic trading strategy.
Features:
ATR Periods: The ATR is calculated using a user-defined number of periods. By default, it's set to 14 periods, a standard setting. The ATR gauges the asset's volatility, and adjusting the periods can increase or decrease its sensitivity to recent price fluctuations.
ATR Multiplier: The ATR is multiplied by a user-defined factor to determine the profit targets. With a default multiplier of 1.5, the profit target will be positioned 1.5 times the ATR above (for bullish trades) or below (for bearish trades) the current price.
Target Timeframe: Traders can choose the timeframe for which the profit targets are calculated. This feature enables viewing of profit targets from higher timeframes on the current chart. For instance, while observing a 15-minute chart, one can see the 1-hour profit targets.
Visual Indicators:
1. Two lines are plotted: the bullish target (in green) and the bearish target (in red).
2. At the onset of each new candle in the selected higher timeframe, labels indicating the precise profit target values are displayed.
3. Price scale labels also showcase the profit targets, offering a quick reference for potential exit points.
Customization:
Traders can modify the following parameters:
1. ATR Periods: Adjusting the number of periods can refine the ATR's sensitivity to price changes.
2. Multiplier for ATR: Tweaking this value alters the distance between the profit targets and the current price.
3. Timeframe for Profit Targets: A variety of timeframes are available, granting flexibility in viewing profit targets.
How to Use:
After integrating the script into their chart, traders can modify the input parameters as desired. The anticipated profit targets will then be overlaid on the chart, offering potential exit points. When used alongside other technical indicators and chart patterns, this tool can enhance trading decision-making.
Note: This script is designed for educational purposes and should not be considered as financial advice. Always conduct your own research and consult with a financial advisor before making any trading decisions.
ATR SpikeALWAYS TRADE THE DIRECTION OF THE TREND
This indicator is useful for 5-minute Bank Nifty intraday trading.
It compares the Open-Close value for a 5-minute bar with the current ATR value.
When a bar has higher than the ATR value then it means that the current bar has a higher Open-Close than the ATR.
This means that after a period of dull action, some action has taken place.
And more action will follow in the direction of the immediate trend.
It signals the start of momentum which I look for as a intraday trader.
Feel free to experiment and change values as it suits you.
I use it on Bank Nifty only on 5 minute timeframe with 14 period ATR.
MA Slope [EMA Magic]█ Overview:
The MA Slope calculates the slope based on a given moving average.
The Moving Average Slope indicator allows you to identify the direction and the strength of a trend.
It calculates the rate of change in percentage based on the user-defined moving average.
█ Calculation: This indicator calculates the slope based on the changes of moving average and normalizes it with Average True Range(ATR).
The default value of ATR is 7.I recommend not changing it unless you know exactly what are you doing.
█ Input Settings:
The settings are divided into three sections:
The first section is for time frame adjustments. Modify it separately from the chart, Allows you to use moving averages from different time frames.
In the second section, you can configure the base calculation,including Moving Average and Average True Range(ATR) settings.
In the third section, you can detect breakout and sudden change signals, which are highlighted in the background of the indicator.
Note that When you change the breakout limit value, it also affects the band limit indicator on your chart.
To avoid signal confusion, use only one at a time.
Here is the example the breakout signals:
█ Usage:
When the slope is increasing, it indicates an uptrend.
When the slope is decreasing, it indicates a downtrend.
When the slope is moving around zero and choppy, it indicates no specific trend or price is in a range zone.
Uptrend and Range Zone example:
Downtrend example:
Slope peaks on extreme levels can signal a potential trend reversal point.
Breakout of the upper or lower bands can be translated into a trading signal.Indicating that price will probably continue to move in the direction of the breakout.
Favor long setups when the slope is increasing or it is positive and favor short setups when the slope is decreasing or it is negative.
Fits with any moving average you use, e.g., EMA, WMA, MA Ribbon, and more.
█ Alert
Alerts are available for both signal conditions.
█ Recap
Take the time to study price movements alongside this indicator for a deeper understanding.Whether you're a novice or experienced trader, this indicator can come helpful
Open, Open +/- EMA ATR Lines with LabelsThis indicator provides traders with a clear visualization of the opening price and its potential movement range for a specific timeframe, based on the Exponential Moving Average (EMA) of the Average True Range (ATR).
Features:
Opening Price Line: A green line representing the opening price for the chosen timeframe.
EMA ATR Lines:
An upper blue line, calculated as the opening price plus the EMA of the ATR.
A lower blue line, calculated as the opening price minus the EMA of the ATR.
Labels: Each line comes with a label on its right side, displaying the price level and, for the EMA ATR lines, the distance in pips from the opening price.
Custom Timeframes: Users can select their desired timeframe for calculations, making this tool versatile for different trading strategies.
Usage:
The EMA-smoothed ATR provides a measure of volatility. By plotting this value above and below the opening price, traders get a sense of potential price movement for the selected timeframe. This can be particularly useful for setting stop losses, take profit levels, or identifying breakout points.
For instance, if the price breaks above the upper EMA ATR line, it might indicate a potential upward move, especially if other market conditions align.
Customization:
Timeframe: Choose from various timeframes like 1-minute, 5-minutes, daily, weekly, and more.
ATR Length: Adjust the length of the ATR for more or less sensitivity.
This indicator is designed to offer traders a quick way to gauge potential price movement for their chosen timeframe. By combining the principles of the opening price and volatility measured by the EMA-smoothed ATR, it provides a straightforward yet powerful tool for various trading scenarios.
[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!
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.
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.*
---
ATR Multiples PlottedInspired by @jeffsuntrading and @Fred6724 's ATR% multiple from 50-MA .
There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.
The essence is the difference between price and the selected moving average, measured in ATRs.
Average True Range (ATR) % KTSLSome traders calculate using percentages when trading. The original ATR indicator calculates using price movements, so it differs for each stock. To avoid this, I changed the ATR indicator to show price movement as a percentage. The red line is the percentage value of the volatility of the original ATR indicator. The white line is 1.6 times the original indicator. The green line is 2.5 times the white line. These values can be adjusted. I wish you good luck.
True Range Moving Average Deviation🔶 Overview
The True Range Moving Average Deviation Indicator (TRMAD) is a technical analysis tool that combines elements of price deviation, volatility, and overbought/oversold conditions.
🔶 Key Components
Current price (Close) : most recent closing price of the asset.
Moving Average (MA) : represents a smoothed trendline of the asset's closing prices over a specified period. By default, TRMAD uses the Simple Moving Average (SMA) with a 20-period setting.
Average True Range (ATR) : reflects the average price range between the high and low over a given time frame. By default, TRMAD uses a 14-period ATR setting with a Simple Moving Average (SMA) calculation. ATR quantifies the historical price volatility of the asset, which is crucial for normalizing the price deviation.
🔶 Calculation
(Close - MA) / ATR
🔶 Interpretation
When TRMAD is above +3 ATR , it is often considered an indication that the asset may be overbought, suggesting a potential reversal or correction to the downside.
When TRMAD is below -3 ATR , it is often considered an indication that the asset may be oversold, suggesting a potential reversal or bounce to the upside.
TRMAD values around 0 ATR may indicate a balanced market condition.
🔶 Usage
🔹 Overbought and Oversold Conditions:
TRMAD can help identify overbought and oversold conditions. When TRMAD reaches or exceeds certain user-defined thresholds (e.g., +3 ATR or -3 ATR), it can signal that the asset is in an extreme condition.
Traders can use these extreme conditions to adjust their positions or look for potential reversal opportunities.
🔹 Divergence Analysis:
Traders often analyze divergences between the TRMAD indicator and price movements. For example, if the price is making higher highs while TRMAD is making lower highs (bearish divergence), it could indicate a potential trend reversal.
🔹 Trend Confirmation:
TRMAD can be used in conjunction with other technical indicators to confirm trends. For example, if TRMAD is consistently positive during an uptrend, it can provide confirmation of the trend's strength.
Positive TRMAD : When TRMAD is positive but hasn't reached the overbought threshold (e.g., +3 ATR), it suggests that there is some bullish momentum, but traders may exercise caution and look for other confirming signals before considering a long position.
Negative TRMAD : When TRMAD is negative but hasn't reached the oversold threshold (e.g., -3 ATR), it suggests some bearish sentiment, but traders may want to seek additional confirmation before considering a short position.
🔹 Risk Management:
Traders can use TRMAD as part of their risk management strategy. For instance, if TRMAD suggests that an asset is overbought, a trader might consider tightening their stop-loss orders to manage potential downside risk.
🔶 Credits
The idea about this indicator came from Fabio Figueiredo (Vlad)
VWAP Divergence | Flux ChartsThe VWAP Divergence indicator aims to find divergences between price action and the VWAP indicator. It uses filters to filter out many of the false divergences and alert high quality, accurate signals.
Red dots above the candle represent bearish divergences, while green dots below the candle represent bullish divergences.
The main filter for divergences focuses on ATR and the price movement in the past candles up to the lookback period. Divergences are determined when a price movement over the lookback period is sharp enough to be greater/less than the ATR multiplier multiplied by the ATR.
Settings
Under "Divergence Settings", both the lookback period and ATR multiplier can be adjusted.
Due to the nature of the calculations, the ATR multiplier and the lookback period should be set lower on higher time frames. As price movements become more averaged, for example on the 15 minute chart, sharp price movements happen less frequently and are often contained in fewer candles as they happen on lower time frames. Less volatile stocks such as KO, CL, or BAC should also use lower ATR multipliers and lower lookback periods.
Under "Visual Settings", you can change the color of the VWAP line, show alternating VWAP colors, adjust divergence signal size, and show the VWAP line.
3kilos BTC 15mThe "3kilos BTC 15m" is a comprehensive trading strategy designed to work on a 15-minute timeframe for Bitcoin (BTC) or other cryptocurrencies. This strategy combines multiple indicators, including Triple Exponential Moving Averages (TEMA), Average True Range (ATR), and Heikin-Ashi candlesticks, to generate buy and sell signals. It also incorporates risk management features like take profit and stop loss.
Indicators
Triple Exponential Moving Averages (TEMA): Three TEMA lines are used with different lengths and sources:
Short TEMA (Red) based on highs
Long TEMA 1 (Blue) based on lows
Long TEMA 2 (Green) based on closing prices
Average True Range (ATR): Custom ATR calculation with EMA smoothing is used for volatility measurement.
Supertrend: Calculated using ATR and a multiplier to determine the trend direction.
Simple Moving Average (SMA): Applied to the short TEMA to smooth out its values.
Heikin-Ashi Close: Used for additional trend confirmation.
Entry & Exit Conditions
Long Entry: Triggered when the short TEMA is above both long TEMA lines, the Supertrend is bullish, the short TEMA is above its SMA, and the Heikin-Ashi close is higher than the previous close.
Short Entry: Triggered when the short TEMA is below both long TEMA lines, the Supertrend is bearish, the short TEMA is below its SMA, and the Heikin-Ashi close is lower than the previous close.
Take Profit and Stop Loss: Both are calculated as a percentage of the entry price, and they are set for both long and short positions.
Risk Management
Take Profit: Set at 1% above the entry price for long positions and 1% below for short positions.
Stop Loss: Set at 3% below the entry price for long positions and 3% above for short positions.
Commission and Pyramiding
Commission: A 0.07% commission is accounted for in the strategy.
Pyramiding: The strategy does not allow pyramiding.
Note
This strategy is designed for educational purposes and should not be considered as financial advice. Always do your own research and consider consulting a financial advisor before engaging in trading.
ATR Adaptive RSI OscillatorThe " ATR Adaptive RSI Oscillator " is a versatile technical analysis tool designed to help traders make informed decisions in dynamic market conditions. It combines the Relative Strength Index (RSI) with the Average True Range (ATR) to provide adaptive and responsive insights into price trends.
Key Features :
Adaptive RSI Periods : The indicator introduces the concept of adaptive RSI periods based on the ATR (Average True Range) of the market. When enabled, it dynamically adjusts the RSI calculation period, offering longer periods during high volatility and shorter periods during low volatility. This adaptability enhances the accuracy of RSI signals across varying market conditions.
Volume-Based Smoothing : The indicator includes a smoothing feature that computes a time-decayed weighted moving average of RSI values over the last two bars, using volume-based weights. This approach offers a time-sensitive smoothing effect, reducing noise for a clearer view of trend strength compared to the standard RSI.
Divergence Detection : Traders can enable divergence detection to identify potential reversal points in the market. The indicator highlights regular bullish and bearish divergences, providing valuable insights into market sentiment shifts.
Customizable Parameters : Traders have the flexibility to customize various parameters, including RSI length, adaptive mode, ATR length, and divergence settings, to tailor the indicator to their trading strategy.
Overbought and Oversold Levels : The indicator includes overbought (OB) and oversold (OS) boundary lines that can be adjusted to suit individual preferences. These levels help traders identify potential reversal zones.
The "ATR Adaptive RSI Oscillator" is a powerful tool for traders seeking to adapt their trading strategies to changing market dynamics. Whether you're a trend follower or a contrarian trader, this indicator provides valuable insights to support your decision-making process.
ATR Trend Reversal Zone indicatorThis indicator helps avoid taking reversal trades too close to the 21 EMA, which may fail since the market often continues its trend after retracing from the 21 EMA level. It does not generate a direct signal for reversal trades but rather indicates points where you can consider potential reversal trades based on your trading methodology
This script defines an indicator that calculates the 21 Exponential Moving Average (EMA) and the Average True Range (ATR) for a given period. It then computes the distance between the most recent closing price and the 21 EMA in terms of ATR units. If this distance is equal to or greater than 3 ATRs, a small green circle is plotted below the corresponding bar on the chart, indicating a potential reversal condition.
Smoothing ATR bandThere are two bands calculated with the ATR and I added "Smoothing" into the script.
Smoothing ATR with multiplier can display two bands above and below the price.
We can ONLY find some ATR bands in Community Scripts with "Basic" setting which is used to set Stop Loss.
And yet , Smoothing ATR with multiplier is capable of making traders manifestly recognize OverBought & OverSold.
FurtherMore, I added a condition with "plotshape", which is "Stop Hunt"
Stop Hunt is an absolutely usual strategy to clean the leverage and it always makes high volatility moves.
When high> above band and close< above band , long signal, it means it had been abundantly bought but the larger traders weren't satisfied; therefore, they quickly sold out to lower the price. The sell condition is on the contrary.
The signals mainly make traders manifestly recognize OverBought & OverSold.
TTP SuperTrend ADXThis indicator uses the strength of the trend from ADX to decide how the SuperTrend (ST) should behave.
Motivation
ST is a great trend following indicator but it's not capable of adapting to the trend strength.
The ADX, Average Directional Index measures the strength of the trend and can be use to dynamically tweak the ST factor so that it's sensitivity can adapt to the trend strength.
Implementation
The indicator calculates a normalised value of the ADX based on the data available in the chart.
Based on these values ST will use different factors to increase or reduce the factor use by ST: expansion or compression.
ST expansion vs compression
Expanding the ST would mean that the stronger a trends get the ST factor will grow causing it to distance further from the price delaying the next ST trend flip.
Compressing the ST would mean that the stronger a trends get the ST factor will shrink causing it to get closer to the price speeding up the next ST trend flip.
Features
- Alerts for trend flip
- Alerts for trend status
- Backtestable stream
- SuperTrend color gets more intense with the strength of the trend
Advanced Weighted Residual Arbitrage AnalyzerThe Advanced Weighted Residual Arbitrage Analyzer is a sophisticated tool designed for traders aiming to exploit price deviations between various asset pairs. By examining the differences in normalized price relations and their weighted residuals, this indicator provides insights into potential arbitrage opportunities in the market.
Key Features:
Multiple Relation Analysis: Analyze up to five different asset relations simultaneously, offering a comprehensive view of potential arbitrage setups.
Normalization Functions: Choose from a variety of normalization techniques like SMA, EMA, WMA, and HMA to ensure accurate comparisons between different price series.
Dynamic Weighting: Residuals are weighted based on their correlation, ensuring that stronger correlations have a more pronounced impact on the analysis. Weighting can be adjusted using several functions including square, sigmoid, and logistic.
Regression Flexibility: Incorporate linear, polynomial, or robust regression to calculate residuals, tailoring the analysis to different market conditions.
Customizable Display: Decide which plots to display for clarity and focus, including normalized relations, weighted residuals, and the difference between the screen relation and the average weighted residual.
Usage Guidelines:
Configure the asset pairs you wish to analyze using the Symbol Relations group in the settings.
Adjust the normalization, volatility, regression, and weighting functions based on your preference and the specific characteristics of the asset pairs.
Monitor the weighted residuals for deviations from the mean. Larger deviations suggest stronger arbitrage opportunities.
Use the difference plot (between the screen relation and average weighted residual) as a quick visual cue for potential trade setups. When this plot deviates significantly from zero, it indicates a possible arbitrage opportunity.
Regularly update and adjust the parameters to account for changing market conditions and ensure the most accurate analysis.
In the Advanced Weighted Residual Arbitrage Analyzer , the value set in Alert Threshold plays a crucial role in delineating a normalized band. This band serves as a guide to identify significant deviations and potential trading opportunities.
When we observe the plots of the green line and the purple line, the Alert Threshold provides a boundary for these plots. The following points explain the significance:
Breach of the Band: When either the green or purple line crosses above or below the Alert Threshold , it indicates a significant deviation from the mean. This breach can be interpreted as a potential trading signal, suggesting a possible arbitrage opportunity.
Convergence to the Mean: If the green line converges with the purple line , it denotes that the price relation has reverted to its mean. This convergence typically suggests that the arbitrage opportunity has been exhausted, and the market dynamics are returning to equilibrium.
Trade Execution: A trader can consider entering a trade when the lines breach the Alert Threshold . The return of the green line to align closely with the purple line can be seen as a signal to exit the trade, capitalizing on the reversion to the mean.
By monitoring these plots in conjunction with the Alert Threshold , traders can gain insights into market imbalances and exploit potential arbitrage opportunities. The convergence and divergence of these lines, relative to the normalized band, serve as valuable visual cues for trade initiation and termination.
When you're analyzing relations between two symbols (for instance, BINANCE:SANDUSDT/BINANCE:NEARUSDT ), you're essentially looking at the price relationship between the two underlying assets. This relationship provides insights into potential imbalances between the assets, which arbitrage traders can exploit.
Breach of the Lower Band: If the purple line touches or crosses below the lower Alert Threshold , it indicates that the first symbol (in our example, SANDUSDT ) is undervalued relative to the second symbol ( NEARUSDT ). In practical terms:
Action: You would consider buying the first symbol ( SANDUSDT ) and selling the second symbol ( NEARUSDT ).
Rationale: The expectation is that the price of the first symbol will rise, or the price of the second symbol will fall, or both, thereby converging back to their historical mean relationship.
Breach of the Upper Band: Conversely, if the difference plot touches or crosses above the upper Alert Threshold , it suggests that the first symbol is overvalued compared to the second. This implies:
Action: You'd consider selling the first symbol ( SANDUSDT ) and buying the second symbol ( NEARUSDT ).
Rationale: The anticipation here is that the price of the first symbol will decrease, or the price of the second will increase, or both, bringing the relationship back to its historical average.
Convergence to the Mean: As mentioned earlier, when the green line aligns closely with the purple line, it's an indication that the assets have returned to their typical price relationship. This serves as a signal for traders to consider closing out their positions, locking in the gains from the arbitrage opportunity.
It's important to note that when you're trading based on symbol relations, you're essentially betting on the relative performance of the two assets. This strategy, often referred to as "pairs trading," seeks to capitalize on price imbalances between related financial instruments. By taking opposing positions in the two symbols, traders aim to profit from the eventual reversion of the price difference to the mean.
Double Supertrend HTF FilterDouble Supertrend HTF Filter: A Comprehensive Market Direction Tool
The Double Supertrend HTF Filter is an innovative tool designed for traders who seek a more holistic view of market trends. At its core, the indicator combines two Supertrends from different higher timeframes, providing a layered perspective on the market's direction. Instead of juggling between multiple timeframes or charts, traders get a consolidated view with this indicator. One of its standout features is the horizontal line at the bottom of the chart, which visually represents the alignment of the two Supertrends – a simple yet powerful way to gauge the combined sentiment of the two higher timeframes on your chart.
The Supertrend Indicator: Origins and Rationale
The Supertrend indicator, a popular tool among traders, was developed by Olivier Seban. At its essence, the Supertrend is a trend-following indicator, designed to identify and visualize the current market trend. It operates using average true range (ATR) values and price data, effectively smoothing out market noise to present clearer trend directions. When prices move with a consistent momentum upwards or downwards, the Supertrend remains below or above the price respectively, signaling the prevailing trend's direction. The rationale behind the Supertrend is its ability to adapt to price volatility. By factoring in the average true range, it dynamically adjusts itself, ensuring that it's not just based on price but also the inherent volatility of the market. This adaptability makes it a valuable tool for traders, offering insights into potential trend reversals and potential entry or exit points.
Filter Usage
The main idea behind the Double Supertrend HTF is to use the indicator as a filter in addition to a signal indicator to your liking. To illustrate, consider incorporating it with a MACD Oscillator, such as the one detailed in this article: When the solid line at the bottom of the chart turns green, it signals that both supertrends are up and thus allows for long positions, indicating a bullish sentiment across both the chosen higher timeframes. Conversely, a red line permits short positions, hinting at a bearish trend. Should the line turn yellow, it's a sign of caution. The market is indecisive, and it might be prudent to refrain from taking any trades until a clearer direction emerges.
Features of the Indicator
Understanding that traders have different preferences, the Double Supertrend HTF Filter comes with customizable features. With the easy user interface you can change the timeframe, ATR and factor to your preferred trading strategy. The default settings are set for the 30 minutes and 4 hour timeframe, which is my personal preference for scalping trades on lower timeframes (eg. 1min, 5 min, 10 min, 15 min). While the dual Supertrend lines offer valuable insights, a chart can become cluttered when combined with other indicators. Therefore, traders have the option to toggle on or off the display of the Supertrends. This ensures that you have the flexibility to maintain a clean chart view while still benefiting from the insights the tool provides at the bottom of the chart.
A Note on Usage
It's essential to highlight that the Double Supertrend HTF Filter is for educational purposes. While it offers a unique perspective on market trends and can be a valuable addition to a trader's toolkit, it's merely an example of how one can use the Supertrend as a filter. Always conduct thorough research and consider your trading strategy before making any decisions.
If you have any comments or ideas how to combine this filter with other indicators feel free to leave a comment.
Pro Supertrend CalculatorThis indicator is an adapted version of Julien_Eche's 'Pro Momentum Calculator' tailored specifically for TradingView's 'Supertrend indicator'.
The "Pro Supertrend Calculator" indicator has been developed to provide traders with a data-driven perspective on price movements in financial markets. Its primary objective is to analyze historical price data and make probabilistic predictions about the future direction of price movements, specifically in terms of whether the next candlestick will be bullish (green) or bearish (red). Here's a deeper technical insight into how it accomplishes this task:
1. Supertrend Computation:
The indicator initiates by computing the Supertrend indicator, a sophisticated technical analysis tool. This calculation involves two essential parameters:
- ATR Length (Average True Range Length): This parameter determines the sensitivity of the Supertrend to price fluctuations.
- Factor: This multiplier plays a pivotal role in establishing the distance between the Supertrend line and prevailing market prices. A higher factor value results in a more significant separation.
2. Supertrend Visualization:
The Supertrend values derived from the calculation are meticulously plotted on the price chart, manifesting as two distinct lines:
- Green Line: This line represents the Supertrend when it indicates a bullish trend, signifying an anticipation of rising prices.
- Red Line: This line signifies the Supertrend in bearish market conditions, indicating an expectation of falling prices.
3. Consecutive Candle Analysis:
- The core function of the indicator revolves around tracking successive candlestick patterns concerning their relationship with the Supertrend line.
- To be included in the analysis, a candlestick must consistently close either above (green candles) or below (red candles) the Supertrend line for multiple consecutive periods.
4.Labeling and Enumeration:
- To communicate the count of consecutive candles displaying uniform trend behavior, the indicator meticulously applies labels to the price chart.
- The positioning of these labels varies based on the direction of the trend, residing either below (for bullish patterns) or above (for bearish patterns) the candlestick.
- The color scheme employed aligns with the color of the candle, using green labels for bullish candles and red labels for bearish ones.
5. Tabular Data Presentation:
- The indicator augments its graphical analysis with a customizable table prominently displayed on the chart. This table delivers comprehensive statistical insights.
- The tabular data comprises the following key elements for each consecutive period:
a. Consecutive Candles: A tally of the number of consecutive candles displaying identical trend characteristics.
b. Candles Above Supertrend: A count of candles that remained above the Supertrend during the sequential period.
3. Candles Below Supertrend: A count of candles that remained below the Supertrend during the sequential period.
4. Upcoming Green Candle: An estimation of the probability that the next candlestick will be bullish, grounded in historical data.
5. Upcoming Red Candle: An estimation of the probability that the next candlestick will be bearish, based on historical data.
6. Tailored Configuration:
To accommodate diverse trading strategies and preferences, the indicator offers extensive customization options. Traders can fine-tune parameters such as ATR length, factor, label and table placement, and table size to align with their unique trading approaches.
In summation, the "Pro Supertrend Calculator" indicator is an intricately designed tool that leverages the Supertrend indicator in conjunction with historical price data to furnish traders with an informed outlook on potential future price dynamics, with a particular emphasis on the likelihood of specific bullish or bearish candlestick patterns stemming from consecutive price behavior.