Logical Trading Indicator V.1Features of the Logical Trading Indicator V.1
ATR-Based Trailing Stop Loss
The Logical Trading Indicator V.1 utilizes the Average True Range (ATR) to implement a dynamic trailing stop loss. You can customize the sensitivity of your alerts by adjusting the ATR Multiple and ATR Period settings.
Higher ATR Multiple values create wider stops, while lower values result in tighter stops. This feature ensures that your trades are protected against adverse price movements. For best practice, use higher values on higher timeframes and lower values on lower term timeframes.
Bollinger Bands
The Logical Trading Indicator V.1 includes Bollinger Bands, which can be customized to use either a Simple Moving Average (SMA) or an Exponential Moving Average (EMA) as the basis.
You can adjust the length and standard deviation multiplier of the Bollinger Bands to fine-tune your strategy. The color of the basis line changes to green when price is above and red when price is below the line to represent the trend.
The bands show a range vs a single band that also represents when the price is in overbought and oversold ranges similar to an RSI. These bands also control the take profit signals.
You also have the ability to change the band colors as well as toggle them off, which only affects the view, they are still active which will still fire the take profit signals.
Momentum Indicator
Our indicator offers a momentum filter option that highlights market momentum directly on the candlesticks, identifying periods of bullish, bearish, or consolidation phases. You can enable or disable this filter as needed, providing valuable insights into market conditions.
By default, you will see the candlestick colors represent the momentum direction as green or red, and consolidation periods as white, but the filter on the BUY and SELL signals is not active. The view options and filter can be toggled on and off in the settings.
Buy and Sell Signals
The Logical Trading Indicator V.1 generates buy and sell signals based on a combination of ATR-based filtering, Bollinger Band basis crossover, and optional momentum conditions if selected in the settings. These signals help you make informed decisions about when to enter or exit a trade. You can also enable a consolidation filter to stay out of trades during tight ranges.
Basically a BUY signal fires when the price closes above the basis line, and the price meets or exceeds the ATR multiple from the previous candle length, which is also editable in the settings.
If the momentum filter is engaged, it will not fire BUY signals when in consolidation periods. It works just the opposite for SELL signals.
Take Profit Signals
We've integrated a Take Profit feature that helps you identify points to exit your trades with profits. The indicator marks Long Take Profit when prices close below the upper zone line of the Bollinger Bands after the previous candle closes inside the band, suggesting an optimal point to exit a long trade or consider a short position.
Conversely, Short Take Profit signals appear when prices close above the lower zone after the previous candle closes inside of it, indicating the right time to exit a short trade or contemplate a long position.
Alerts for Informed Trading
The Logical Trading Indicator V.1 comes equipped with alert conditions for buy signals, sell signals, take profit points, and more. Receive real-time notifications to your preferred devices or platforms to stay updated on market movements and trading opportunities.
النطاقات والقنوات
Bollinger Bands StrategyBollinger Bands Strategy :
INTRODUCTION :
This strategy is based on the famous Bollinger Bands. These are constructed using a standard moving average (SMA) and the standard deviation of past prices. The theory goes that 90% of the time, the price is contained between these two bands. If it were to break out, this would mean either a reversal or a continuation. However, when a reversal occurs, the movement is weak, whereas when a continuation occurs, the movement is substantial and profits can be interesting. We're going to use BB to take advantage of this strong upcoming movement, while managing our risks reasonably. There's also a money management method for reinvesting part of the profits or reducing the size of orders in the event of substantial losses.
BOLLINGER BANDS :
The construction of Bollinger bands is straightforward. First, plot the SMA of the price, with a length specified by the user. Then calculate the standard deviation to measure price dispersion in relation to the mean, using this formula :
stdv = (((P1 - avg)^2 + (P2 - avg)^2 + ... + (Pn - avg)^2) / n)^1/2
To plot the two Bollinger bands, we then add a user-defined number of standard deviations to the initial SMA. The default is to add 2. The result is :
Upper_band = SMA + 2*stdv
Lower_band = SMA - 2*stdv
When the price leaves this channel defined by the bands, we obtain buy and sell signals.
PARAMETERS :
BB Length : This is the length of the Bollinger Bands, i.e. the length of the SMA used to plot the bands, and the length of the price series used to calculate the standard deviation. The default is 120.
Standard Deviation Multipler : adds or subtracts this number of times the standard deviation from the initial SMA. Default is 2.
SMA Exit Signal Length : Exit signals for winning and losing trades are triggered by another SMA. This parameter defines the length of this SMA. The default is 110.
Max Risk per trade (in %) : It's the maximum percentage the user can lose in one trade. The default is 6%.
Fixed Ratio : This is the amount of gain or loss at which the order quantity is changed. The default is 400, meaning 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:BTCUSD in 8h timeframe with the following parameters :
BB Length = 120
Standard Deviation Multipler = 2
SMA Exit Signal Length = 110
Max Risk per trade (in %) = 6%
ENTER RULES :
The entry rules are simple:
If close > Upper_band it's a LONG signal
If close < Lower_band it's a SHORT signal
EXIT RULES :
If we are LONG and close < SMA_EXIT, position is closed
If we are SHORT and close > SMA_EXIT, the position is closed
Positions close automatically if they lose more than 6% to limit risk
RISK MANAGEMENT :
This strategy is subject to losses. We manage our risk using the exit SMA or using a SL sets to 6%. This SMA gives us exit signals when the price closes below or above, thus limiting losses. If the signal arrives too late, the position is closed after a loss of 6%.
MONEY MANAGEMENT :
The fixed ratio method was used to manage our gains and losses. For each gain of an amount equal to the fixed ratio value, 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.
NOTE :
Please note that the strategy is backtested from 2017-01-01. As the timeframe is 8h, this strategy is a medium/long-term strategy. That's why only 51 trades were closed. Be careful, as the test sample is small and performance may not necessarily reflect what may happen in the future.
Enjoy the strategy and don't forget to take the trade :)
OTT CollectionIf you are not yet familiar with OTT, this script could provide an introduction to help you get started.
"Optimized Trend Tracker" (OTT) is an effective trend-following indicator created by Anıl Özekşi . It aims to detect the current trend direction based on an elegant mathematical construct. The key defining characteristic of OTT is its reliance on a trailing-stop mechanism. This enables OTT to identify price movements and follow the price until a reversal occurs. The widespread adoption of OTT in various algo-trading platforms has fostered the development of diverse applications of the indicator over time. Examining its history, eight distinct applications emerge.
1) OTT - Optimized Trend Tracker
2) TOTT - Twin Ott
3) OTT Channel - Half Channel & Fibonacci Channel
4) RISOTTO - Rsi Ott
5) SOTT - Stochastic Ott
6) HOTT & LOTT - Highest-Lowest Ott + Sum Option
7) ROTT - Relative Ott
8) FT - "Fırsatçı" Trend
BONUS: RTR - Relative True Range
Each system functions as an independent indicator and the "OTT Collection" is intended to present all of them in a single script.
ORIGINALITY
Primarily, this script introduces previously unreleased OTT applications on Tradingview (RISOTTO, ROTT, FT). In contrast to previously published examples that treat OTT as a variable, this script portrays OTT as a function, rendering it adaptable for more intricate computations. Consequently, OTT has evolved into a versatile tool capable of facilitating complex analyses. Furthermore, this script offers an innovative feature that permits the blocking of consecutive signals in the same direction, catering to user preferences. (This feature is crucial for all indicators utilizing band structures such as TOTT and HOTT-LOTT).
USAGE
It is simple to use. The settings section of the indicator groups the parameters. In first group, the System parameter allows you to select the OTT system you want to display on the chart. Activating the Pyramiding parameter enables the display of consecutive signals in the same direction (for TOTT and HOTT-LOTT). In the second group you can change the display options with the Barcolor, Signal and Bars parameters. The OTT system you select is configured with the parameters in the group with the corresponding system heading. (For example, suppose you select OTT CHANNEL in the system parameter. The parameters defining the channels are grouped under the heading "OTT CHANNELS" in the settings section.) Also the parameters you chose are displayed in table form on the chart screen. The table also presents the total number of bars on the chart and the number of signals generated by the selected system.
MECHANICS
Let's take a look at how the indicator works. This indicator incorporates eight distinct OTT systems, each characterized by unique parameters, lines, and signals. (Exception: OTT Channel does not include any referenced signals.)
1) WHAT IS "OTT"?
OTT comprises two lines: Support and Target. There's an up-trending market when the Support is superior to the Target, and a down-trending market when the Support is inferior to the Target. It is governed by two parameters. The Support (moving average) is determined by the Length parameter, while the Multiplier parameter is employed for percentage calculations. Lower values are adept at capturing short-term fluctuations, whereas higher values are more adept at identifying long-term trends. These principles apply to all parameters within the indicator.
DETAILED INFO : The OTT function in the script automatically performs the calculation process described in this section. So, if you know how OTT works you can skip the details. To comprehend its functioning, it's essential to grasp the "MOST" indicator, also devised by Anıl Özekşi. The fundamental principle of MOST involves creating bands that function akin to a trailing stop-loss. Initially, a moving average, referred to as the 'Support,' is established. (Anıl Özekşi employs VAR/VIDYA as the moving average type in all his systems.) Subsequently, the Support line is adjusted both upward and downward by a percentage multiplier to establish a band system. In the context of the trailing stop-loss concept, when the Support line approaches either the lower or upper band, the respective band ceases to move in parallel with the Support line and becomes horizontal. Consequently, the Support always intersects the band at some point. The values of the upper or lower bands, determined by this intersection, are referred to as the MOST line. OTT is generated by consolidating the values of MOST shifted upwards and downwards by half the coefficient percentage into a single line using the same method as above, and calculating the value of this line from two bars ago. Support is the data series of OTT and it serves as a source in OTT function. The OTT line is named as "Target" in this scipt. Support and Target will automatically vary according to the OTT application selected in the "System" parameter.
2) WHAT IS "TOTT"?
Twin OTT , also known as the "OTT Band," involves three parameters: Length, Multiplier, and Band Multiplier. It consists of three lines: Support, Upper Line, and Lower Line. OTT is determined by the Length and Multiplier parameters, while TOTT is calculated by adjusting OTT upwards and downwards as per the Band Multiplier parameter. The indicator generates signals based on the intersections of the Support and these two new OTT levels.
3) WHAT IS "OTT CHANNEL"?
Similar to TOTT, the OTT CHANNEL is also based on shifted OTT levels, employing a similar calculation method. The primary distinction lies in the fact that TOTT has a single Band Multiplier, whereas OTT CHANNEL incorporates two line multipliers for the band. It encompasses four parameters: Length, Multiplier, Upper Line Multiplier, and Lower Line Multiplier. OTT is defined by the Length and Multiplier parameters. The Upper Line Multiplier and Lower Line Multiplier parameters establish the channel boundaries by shifting the OTT line. Subsequently, levels are drawn between the upper and lower lines. The additional Channel Type parameter determines which levels are displayed on the chart. The "Half Channel" option draws channels shifted by half the coefficient. The "Fibonacci Channel" option draws channels shifted by 0.382 and 0.618 coefficients. The "Both" option plots all levels.
4) WHAT IS "RISOTTO"?
OTT also has application examples in momentum oscillators. RISOTTO utilizes the RSI indicator and operates with three parameters. The RSI is defined by the Length 1 parameter, while the Support is determined by the Length 2 parameter. The Multiplier parameter is utilized for percentage calculations. RISOTTO comprises two lines: Support and Target. To ensure more stable calculations, a constant (+1000) is added to the oscillator average when applying OTT to momentum oscillators. This approach eradicates nonsensical results stemming from percentage calculations when the oscillator reaches a value of 0. The indicator generates signals based on the intersection of these two lines.
5) WHAT IS "SOTT"?
Stochastic OTT is an another example of application on oscillator. Its working principle is akin to that of RISOTTO. It operates with three parameters. The Stochastic %k is defined by the Length 1 parameter, while the Stochastic %d is determined by the Length 2 parameter. The Multiplier parameter is utilized for percentage calculations. SOTT comprises two lines: Support and Target. The indicator generates signals based on the intersection of these two lines.
6) WHAT IS "HOTT-LOTT"?
OTT can be applied to the highest and lowest series as well. HOTT-LOTT operates with three parameters: Length, Multiplier, and Sum N Bars. The highest and lowest series are defined by the Length parameter. The Multiplier parameter is utilized for percentage calculations. It encompasses two lines: Upper Line and Lower Line, where HOTT employs the highest series and LOTT uses the lowest series. If the 'High' price surpasses HOTT, the indicator generates Long signals. Similarly, if the 'Low' price falls below LOTT, the indicator generates Short signals. When the Sum N Bars option is activated, signals are generated based on the confirmation concept for N bars.
7) WHAT IS "ROTT"?
Relative OTT serves as a valuable tool for long-period filters. ROTT operates with two parameters. The Support is determined by the length parameter and equals twice the moving average. The Multiplier parameter is utilized for percentage calculations. The indicator generates signals based on the intersection of these two lines.
8) WHAT IS "FT"?
"Fırsatçı" (opportunistic) Trend is a system that revolves around two levels, namely major and minor OTT. It operates with three parameters: Length, Major Multiplier, and Minor Multiplier. FT comprises two lines, Support and Target. The indicator generates signals based on the intersection of these two lines.
9) WHAT IS "RTR"?
Relative True Range is not an OTT system; however, it serves as a complementary feature. It does not have any referenced signals. RTR is devised to obtain a normalized result of the current market volatility. It operates with two parameters: ATR, which is determined by the Length 1 parameter, and RTR, defined by the Length 2 parameter.
A TIP
If any indicator is defined in function form instead of the OTT function, the applications can also be adapted for different indicators. E.g. Supertrend, PMAX, AlphaTrend, etc.
UPDATE
Anıl Özekşi is a competent algotrader who shares his work with open sources. I will update the indicator as new applications are released.
DISCLEIMER
This is just an indicator, nothing more. The script is for informational and educational purposes only. The use of the script does not constitute professional and/or financial advice. The responsibility for risks associated with the use of the script is solely owned by the user. Do not forget to manage your risk. And trade as safely as possible. Good luck!
Extended Parallel ChannelsThis indicator provides an enhanced version of the popular Parallel Channel tool by allowing channel boundaries to be extended above and below the primary channel. It can also serve as a general tool for drawing parallel lines and grid lines to aid technical analysis.
🟠 Application
There are two primary ways extended channels can provide valuable insights:
🔵 Support and Resistance Levels
When prices break out of a channel, they often encounter strong resistance at approximately the 100% extension point. Breakout traders can utilize the extended channel boundary to place take-profit orders. Meanwhile, reversal traders can look for entry opportunities at this level.
🔵 Grid / Martingale Trading
Grid Trading and Martingale Trading strategies rely heavily on grid lines. This indicator streamlines that process by enabling traders to effortlessly plot grid lines across the chart.
🟠 Instructions
Upon adding the indicator, the user will be prompted to set the channel boundaries by placing three anchor points on the chart. The first two anchors determine one boundary line, while the third anchor determine the other boundary line.
Once the three anchors are positioned, the indicator automatically plots the resulting channel as well as the extended lines. The anchor points are highlighted as movable blue circles, allowing the user to dynamically adjust the channel formation by dragging the anchors to new locations as needed.
[blackcat] L3 Fibonacci Bands With ATRToday, what I'm going to introduce is a technical indicator that I think is quite in line with the indicator displayed by Tang - Fibonacci Bands with ATR. This indicator combines Bollinger Bands and Average True Range (ATR) to provide insights into market volatility and potential price reversals. Sounds complicated, right? Don't worry, I will explain it to you in the simplest way.
First, let's take a look at how Fibonacci Bands are constructed. They are similar to Bollinger Bands and consist of three lines: upper band, middle band (usually a 20-period simple moving average), and lower band. The difference is that Fibonacci Bands use ATR to calculate the distance between the upper and lower bands and the middle band.
Next is a key factor - ATR multiplier. We need to smooth the ATR using Welles Wilder's method. Then, by multiplying the ATR by a Fibonacci multiplier (e.g., 1.618), we get the upper band, called the upper Fibonacci channel. Similarly, multiplying the ATR by another Fibonacci multiplier (e.g., 0.618 or 1.0) gives us the lower band, called the lower Fibonacci channel.
Now, let's see how Fibonacci Bands can help us assess market volatility. When the channel widens, it means that market volatility is high, while a narrow channel indicates low market volatility. This way, we can determine the market's activity level based on the width of the channel.
In addition, when the price touches or crosses the Fibonacci channel, it may indicate a potential price reversal, similar to Bollinger Bands. Therefore, using Fibonacci Bands in trading can help us capture potential buy or sell signals.
In summary, Fibonacci Bands with ATR is an interesting and practical technical indicator that provides information about market volatility and potential price reversals by combining Bollinger Bands and ATR. Remember, make good use of these indicators and apply them flexibly in trading!
This code is a TradingView indicator script used to plot L3 Fibonacci Bands With ATR.
First, the indicator function is used to define the title and short title of the indicator, and whether it should be overlaid on the main chart.
Then, the input function is used to define three input parameters: MA type (maType), MA length (maLength), and data source (src). There are four options for MA type: SMA, EMA, WMA, and HMA. The default values are SMA, 55, and hl2 respectively.
Next, the moving average line is calculated based on the user's selected MA type. If maType is 'SMA', the ta.sma function is called to calculate the simple moving average; if maType is 'EMA', the ta.ema function is called to calculate the exponential moving average; if maType is 'WMA', the ta.wma function is called to calculate the weighted moving average; if maType is 'HMA', the ta.hma function is called to calculate the Hull moving average. The result is then assigned to the variable ma.
Then, the _atr variable is used to calculate the ATR (Average True Range) value using ta.atr, and multiplied by different coefficients to obtain four Fibonacci bias values: fibo_bias4, fibo_bias3, fibo_bias2, and fibo_bias1.
Finally, the prices of the upper and lower four Fibonacci bands are calculated by adding or subtracting the corresponding Fibonacci bias values from the current price, and plotted on the chart using the plot function.
Averaged Moving Average Ribbon with Bollinger BandsThis indicator provides a visual representation of an averaged weighted moving average (WMA) ribbon (default setting) along with Bollinger Bands on a price chart. Pay attention to how the moving average and band expand and contract, as well as where price crosses the Bollinger bands (Green and red) or the basis line (blue). Look for patterns, and exploit them to your advantage to give you another edge in trading.
>> Feel free to suggest changes or other additions in the comments :)
Here's a brief explanation of how this indicator works:
1. **Moving Average Type:** You can select the type of moving average (MA) to use from the dropdown menu. The available options are Weighted Moving Average (WMA), Simple Moving Average (SMA), and Exponential Moving Average (EMA).
2. **Bollinger Bands Deviation:** This input allows you to adjust the deviation for the Bollinger Bands. Higher values increase the width of the bands, while lower values decrease it.
3. **Moving Average Lengths:** The script calculates various moving averages (WMA, SMA, or EMA) with different lengths, ranging from 5 to 100, in increments of 5. These moving averages are used to create the ribbon.
4. **Ribbon Calculation:** The indicator calculates the selected moving average (WMA, SMA, or EMA) for each of the specified lengths. It then averages these moving averages to create a ribbon of MAs. This ribbon represents a smoother and more encompassing view of the underlying price action.
5. **Bollinger Bands:** The script also calculates and plots Bollinger Bands based on the ribbon's average. The upper Bollinger Band (green) and lower Bollinger Band (red) are plotted around the ribbon average. These bands provide insights into potential overbought and oversold conditions.
In summary, this indicator allows traders and analysts to visualize a weighted moving average ribbon with Bollinger Bands to gain a better understanding of price trends, volatility, and potential reversal points in the market. The combination of different moving average lengths and Bollinger Bands can help in making informed trading decisions.
Expected Intraday MovementThis indicator pretends to represent the "probable" maximum movement of an asset, for the rest of the day.
This indicator should be used "only" in intraday timeframe. You will not be able to see it if you select a longer timeframe.
To calculate the probable maximum movement, the indicator uses the VIX value for each minute.
On the first candle of the day, it also calculates the probable maximum movement for the whole day, and plots it in horizontal lines.
It also allows adding a couple of extra lines (for visual purposes only).
It also allows the creation of alerts, so that when the value of the asset is close to one of the limits, it can send you an alert using the Tradingview alert system.
Summary of parameters:
Intraday bands: allows you to show/hide the bands for each minute.
Intraday first candle projection: allows to show/hide the estimated projection from the first candle of the day.
Enable alert: allows to enable/disable alerts.
Upper and lower band offset: optional offset where alarms will be triggered (e.g. 10 points before the limit is reached).
Intraday Extra Projection: allows to show/hide extra levels (for visual purposes only)
Upper and lower extra: values for extra levels.
As always, no indicator is meant to provide a single, reliable strategy to your trading regimen and no indicator or group of indicators should be relied on solely. Be sure to do your own analysis and assessments of the stock prior to taking any trades.
Safe trades everyone!
Bollinger Bands (Nadaraya Smoothed) | Flux ChartsTicker: AMEX:SPY , Timeframe: 1m, Indicator settings: default
General Purpose
This script is an upgrade to the classic Bollinger Bands. The idea behind Bollinger bands is the detection of price movements outside of a stock's typical fluctuations. Bollinger Bands use a moving average over period n plus/minus the standard deviation over period n times a multiplier. When price closes above or below either band this can be considered an abnormal movement. This script allows for the classic Bollinger Band interpretation while de-noising or "smoothing" the bands.
Efficacy
Ticker: AMEX:SPY , Timeframe: 1m, Indicator settings: Standard Dev: 2; Level 1 : off; Level 2: off; labels: off
Upper Band Key:
Blue: Bollinger No smoothing
Orange: Bollinger SMA smoothing period of 10
Purple: Bollinger EMA smoothing period of 10
Red: Nadaraya Smoothed Bollinger bandwidth of 6
Here we chose periods so that each would have a similar offset from the original Bollinger's. Notice that the Red Band has a much smoother result while on average having a similar fit to the other smoothing techniques. Increasing the EMA's or SMA's period would result in them being smoother however the offset would increase making them less accurate to the original data.
Ticker: AMEX:SPY , Timeframe: 1m, Indicator settings: Standard Dev: 2; Level 1: off; Level 2: off; labels: off
Upper Band Key:
Blue: Bollinger No smoothing
Orange: Bollinger SMA smoothing period of 20
Purple: Bollinger EMA smoothing period of 20
Red: Nadaraya Smoothed Bollinger bandwidth of 6
This makes the Nadaraya estimator a particularly efficacious technique in this use case as it achieves a superior smoothness to fit ratio.
How to Use
This indicator is not intended to be used on its own. Its use case is to identify outlier movements and periods of consolidation. The Smoothing Factor when lowered results in a more reactive but noisy graph. This setting is also known as the "bandwidth" ; it essentially raises the amplitude of the kernel function causing a greater weighting to recent data similar to lowering the period of a SMA or EMA. The repaint smoothing simply draws on the Bollinger's each chart update. Typically repaint would be used for processing and displaying discrete data however currently it's simply another way to display the Bollinger Bands.
What makes this script unique.
Since Bollinger bands use standard deviation they have excess noise. By noise we mean minute fluctuations which most traders will not find useful in their strategies. The Nadaraya-Watson estimator, as used, is essentially a weighted average akin to an ema. A gaussian kernel is placed at the candlestick of interest. That candlestick's value will have the highest weight. From that point the other candlesticks' values effect on the average will decrease with the slope of the kernel function. This creates a localized mean of the Bollinger Bands allowing for reduced noise with minimal distortion of the original Bollinger data.
RSI Bands + Levels (Miu)This indicator was designed to plot lines from prices of overbought (OB) and oversold (OS) RSI levels in chart. It will also create a visible band between these levels.
It's main utility is to show in chart current and past prices for OB/OS RSI levels. Traditionally the RSI is considered overbought when above 70 and oversold when below 30 but you can customize these values in settings. The RSI oscillates between zero and 100.
Users can easily identify overbought and oversold prices using this indicator and then it is expected to help users to make better strategic decisions with their trades.
There are some extra options available in settings:
- Customizable RSI levels
- Customizable RSI length
- RSI Levels: if activated, it will draw lines above OB line and below OS line according to the multiplier, so it will plot sequential lines that goes in different RSI levels (e.g: RSI 72, 74, 76, 78 and 80).
- Backgroud only: it will remove these lines and keep only a backgroung color instead
- RSI 50: it will draw a line as RSI 50
- Customizable multiplier
Enjoy!
The Ultimate Buy and Sell IndicatorThis indicator should be used in conjunction with a solid risk management strategy that does not over-leverage positions and uses stop-losses. You can not rely 100% on the signals provided by this indicator (or any other for that matter).
With that said, this indicator can provide some excellent signals.
It has been designed with a large number of customization options intended for advanced traders, but you do not HAVE to be an advanced user to simply use the indicator. I have tried to make it easy to understand, and this section will provide you with a better understanding of how to use it.
NOTE:
While NOT REQUIRED, I would recommend also finding my indicator called, "Ultimate RSI", which is designed to work together with this indicator (visually). They both contain the same settings and allow you to visualize changes made in this indicator that can not be displayed on the main chart.
This indicator creates it's own candles(bars), so you have to go into your main settings and turn off the "body, border and wick" color settings. Using a dark background is also recommended.
How does it work?
The indicator mainly relies on the RSI indicator with Bollinger Bands for signals. (Though not entirely)
First, there are something that I call "Watch Signals", which are various Bollinger Band crossing events. This could be the price crossing Bollinger Bands or the RSI crossing Bollinger Bands.
There are separate watch signals for buys and sells. Buy watch signals are colored orange to match the BUY signal candle color and Fuchsia (kind of a bright purple) to match SELL signal candles.
In order for most buy or sell signals to be created, there must first be a watch signal. There is a lookback period (or length) for watch signals to be used, and after that many candles (bars) have passed, they will be ignored. You can set a length to look back as well as a time to wait before creating any.
What this means is that if there has previously been (for instance) a sell signal. You can tell it to wait 10 bars before creating any buy watch signals. You can then also tell it that it should look back 10 bars from the current one in order to find any buy watch signals. This means that if you had it set up that way 10 to wait and 10 to validate, it would start allowing buy watch signals 11 bars after a sell, and then once you hit 20 bars, it will start leaving a gap (invisible to you) as the 10 bar lookback period starts moving forward with each new bar. This is useful in order to keep signals more spaced apart as some bad signals come quickly after another one.
Example: You may get a sell signal where the Bollinger bands are tight, then the price easily drops down into the lower band creating a buy watch signal, then you get a "fake" or short pump up and it says buy, but then drops dramatically afterwards. The wait period can ensure that the sell stays in effect longer before a buy is considered by blocking any buy watch signals for a period of time.
After you get a watch signal, the system then looks for various other things to happen to create buy or sell signals. This could be the RSI crossing the (slow) RSI Basis line (from its Bollinger bands), it could be the price crossing its basis line, it could be MACD crosses, it could even be RSI crossing certain levels. All of these are options. If you like the MACD strategy and want it to give you buy and sell signals from just MACD crosses, simply select that option for signals.
It is also able to use the first of any of the options that takes place.
I included an option to force alternating buy and sell signals, rather than showing groups of, or subsequent buy, buy, buy signals, for instance.
Moving on....
You can change the moving average that is used to calculate the RSI. The standard moving average for RSI is the RMA (aka SWMA). Changes to this can dramatically change your signals. You also have the option to change the moving average type used in the Bollinger bands calculation. You can change the length of these as well. The same goes for the Bollinger bands over the Price chart. I added an ATR option for the RSI Bollinger bands to play with, as well. You are able to adjust the standard deviation (multiplier) of the bands as well, which will of course affect the signals.
The ways you can play with signals are nearly infinite, so have fun figuring it out.
The indicator allows for moving averages to be shown as well, with a variety of types to choose from. The standard numbers are 5, 10, 20, 50, 100 and 200, with the addition of a custom moving average of your choice. You can also change the color of this one. You can choose to show them all or any of them you want to show, in any combination, although the TYPE of moving average (SMA, EMA, WMA, etc.) will apply to all of them.
You may also notice the Bollinger Bands over the Price are colored, and become more or less transparent.
The color is derived from the trend of the RSI or the RSI basis (your choice). It looks back at the value however many bars you want and compares the values and that's how it determines if it is trending up or down. Since RSI is a directional momentum indicator, this can be quite useful. If you see the bands are getting darker, this will explain why.
The indicator has a lookback period for determining the widest the bands (which measure volatility) have been over that period of time. This is the baseline. It then will make the bands disappear (by making them more transparent) if the volatility is low. This indicates that a change in volatility is coming and that price isn't really changing much compared to the past (default 500) bars. If they become bright, this is because price has started trending in a direction and volatility is increasing.
I should also note that the candles are colored based on RSI levels.
If you use the Ultimate Companion indicator, you will be able to see the RSI levels (zones) that the colors are based on. As RSI moves into a new range, the candle color will change.
I have created a yellow zone where the candles turn yellow. This is when RSI is between (default) 45 and 55, indicating there is basically no momentum and price is going sideways. This is a good place to get trapped in bad trades, and there is a Yellow RSI Filter to block signals in this area to keep you from entering bad trades.
Green candles indicate values over 55 (getting brighter as RSI rises) and red candles are RSI values under 45 (getting brighter as RSI values get lower). If you see white, this means RSI is either over 80 or under 20. A sharp reversal is almost always imminent at this stage.
When we talk about Buy and Sell Signals, they draw a green or red triangle and it literally says BUY or SELL. There is an option to color the background for added visibility. These signals do not "repaint", what this means is that they can be late. To account for this, I have included a background color that will flash as a warning that a buy or sell could be imminent, although it may fail to break through and set a buy or sell signal. This is simply an advanced warning. The reason is that sometimes a candle may be very large and you won't be told to buy or sell during the candle until the move is completely over and now you're getting in on the next one. That's not a great feeling, so I made it repaint the background color and not repaint the completed signal. You get the best of both worlds.
This indicator also uses complex logic to handle things.
When there is a buy signal, it enters into a state of having been bought, or a "bought state". The same for sells. If Force alternating signals is off, you could have more than one buy in a bought state, or more than one sell in a sell state. There is an option to color the background green during the full duration of a bought state, or red during the full duration of a sold state.
I have added divergence.
This shows that the lows or highs of RSI and PRICE are different. If RSI is making higher highs but the price is not, then the price is likely to follow this bullish divergence, if the opposite happens, it's bearish. It will draw a line on the chart connecting the highs and lows and call it bearish or bullish. You can adjust this as well.
I have an RSI High/Low filter. If the RSI basis (or average) is very high or low, you can block signal from this area since the price is likely to continue in that direction before actually reversing.
You can change the settings of the MACD if you choose to use it for signals, and if you want to see it, you'll have to run that indicator below the chart and match the settings to see what is going on, just like the RSI.
Going back to Watch Signals. You can also choose to require more than one watch signal if you choose. You can skip watch signals, so it will ignore the first or second one, whatever you want to do. You can color the background to show you where watch signals have been skipped.
Regarding the wait period for creating watch signals after a sell or after a buy, you can also color the background to see where these were blocked by the wait period.
Lastly you can choose which type of watch signals to use, or keep them from being shown on the chart. This allows you to study the history of how the asset you are trading behaves and customize the behavior of signals based on your study of it.
Everything in the settings area has tooltips, which will explain what that thing does to help you along this journey.
I hope this indicator (and perhaps Ultimate RSI alongside this) will help you take your trading to the next level.
Moving Average SARHello Traders,
Today, I have brought to you an indicator that utilizes the Parabolic SAR.
To begin with, the Parabolic SAR is an indicator that trails the price in the form of a parabola, seeking out Stop And Reverse points.
The indicator I present merges the calculation formula of the Parabolic SAR with the Moving Average.
One aspect I pondered over was how to determine the starting point of this SAR. Trailing the price flow with the logic set by the moving average was fine, but the question was where to begin.
My approach involves a variable I call 'sensitiveness,' which automatically adjusts the length according to the timeframe you are observing. Using pinescript's math.ceil, I formulated:
interval_to_len = timeframe.multiplier * (timeframe.isdaily ? 1440 : timeframe.isweekly ? 1440 * 7 : timeframe.ismonthly ? 1440 * 30 : 1)
main_len = math.ceil(sensitiveness / interval_to_len)
This formula represents the length, and through variables like:
_highest = math.min(ta.highest(high, main_len), close + ta.atr(46)*4)
_lowest = math.max(ta.lowest(low, main_len), close - ta.atr(46)*4)
I have managed to set the risk at a level that does not impose too great a burden.
Moreover, the 'Trend Strength Parameter' allows you to choose how strongly to trail the current price.
Lastly, think of the Band Width as a margin for accepting changes in the trend. As the value increases, the Band Width expands, measured through the ATR.
This indicator is particularly useful for holding positions and implementing trailing stops. It will be especially beneficial for those interested in price tracking of trends, like with Parabolic SAR or Supertrend.
I hope you find this tool useful.
[blackcat] L2 Fibonacci BandsThe concept of the Fibonacci Bands indicator was described by Suri Dudella in his book "Trade Chart Patterns Like the Pros" (Section 8.3, page 149). These bands are derived from Fibonacci expansions based on a fixed moving average, and they display potential areas of support and resistance. Traders can utilize the Fibonacci Bands indicator to identify key price levels and anticipate potential reversals in the market.
To calculate the Fibonacci Bands indicator, three Keltner Channels are applied. These channels help in determining the upper and lower boundaries of the bands. The default Fibonacci expansion levels used are 1.618, 2.618, and 4.236. These levels act as reference points for traders to identify significant areas of support and resistance.
When analyzing the price action, traders can focus on the extreme Fibonacci Bands, which are the upper and lower boundaries of the bands. If prices trade outside of the bands for a few bars and then return inside, it may indicate a potential reversal. This pattern suggests that the price has temporarily deviated from its usual range and could be due for a correction.
To enhance the accuracy of the Fibonacci Bands indicator, traders often use multiple time frames. By aligning short-term signals with the larger time frame scenario, traders can gain a better understanding of the overall market trend. It is generally advised to trade in the direction of the larger time frame to increase the probability of success.
In addition to identifying potential reversals, traders can also use the Fibonacci Bands indicator to determine entry and exit points. Short-term support and resistance levels can be derived from the bands, providing valuable insights for trade decision-making. These levels act as reference points for placing stop-loss orders or taking profits.
Another useful tool for analyzing the trend is the slope of the midband, which is the middle line of the Fibonacci Bands indicator. The midband's slope can indicate the strength and direction of the trend. Traders can monitor the slope to gain insights into the market's momentum and make informed trading decisions.
The Fibonacci Bands indicator is based on the concept of Fibonacci levels, which are support or resistance levels calculated using the Fibonacci sequence. The Fibonacci sequence is a mathematical pattern that follows a specific formula. A central concept within the Fibonacci sequence is the Golden Ratio, represented by the numbers 1.618 and its inverse 0.618. These ratios have been found to occur frequently in nature, architecture, and art.
The Italian mathematician Leonardo Fibonacci (1170-1250) is credited with introducing the Fibonacci sequence to the Western world. Fibonacci noticed that certain ratios could be calculated and that these ratios correspond to "divine ratios" found in various aspects of life. Traders have adopted these ratios in technical analysis to identify potential areas of support and resistance in financial markets.
In conclusion, the Fibonacci Bands indicator is a powerful tool for traders to identify potential reversals, determine entry and exit points, and analyze the overall trend. By combining the Fibonacci Bands with other technical indicators and using multiple time frames, traders can enhance their trading strategies and make more informed decisions in the market.
Price Deviation
This indicator, named "Price Deviation," is designed to compare the percentage change in the price of the current instrument (e.g., BNBUSDT.P) with a comparison instrument (e.g., BTCUSDT.P) over a specified timeframe. It provides the option to apply smoothing to the data and displays the results as lines on the chart. The blue line represents the percentage change in the current instrument, and the red line represents the percentage change in the comparison instrument. Additionally, labels are created for both instruments, showing their names, with the blue label for the current instrument and the red label for the comparison instrument.
------------
Этот индикатор с названием "Price Deviation" разработан для сравнения процентного изменения цены текущего инструмента (например, BNBUSDT.P) с инструментом сравнения (например, BTCUSDT.P) за определенный временной интервал. Он предоставляет опцию для сглаживания данных и отображает результаты в виде линий на графике. Синяя линия представляет собой процентное изменение цены текущего инструмента, а красная линия - процентное изменение цены инструмента сравнения. Кроме того, создаются метки для обоих инструментов, отображая их названия, с синей меткой для текущего инструмента и красной меткой для инструмента сравнения.
Confluence Buy-Sell Indicator with Fibonacci The script is a "Confluence Indicator with Fibonacci" designed to work on the TradingView platform. This indicator combines multiple technical analysis strategies to generate buy and sell signals based on user-defined confluence criteria. Here's a breakdown of its features:
Confluence Criteria: Users can enable or disable various strategies like MACD, RSI, Bollinger Bands, Divergence, Fibonacci, and Moving Average. The number of strategies that need to align for a signal to be generated can be set by the user.
Strategies Included:
MACD Strategy: Uses the Moving Average Convergence Divergence method to identify buy/sell opportunities.
RSI Strategy: Utilizes the Relative Strength Index to detect overbought or oversold conditions.
Bollinger Bands Strategy: Incorporates Bollinger Bands to identify volatility and potential buy/sell signals.
Divergence Strategy: A basic implementation that detects bullish and bearish divergences using the RSI.
Fibonacci Strategy: Uses Fibonacci retracement levels to determine potential support and resistance levels.
Moving Average Strategy: Employs a crossover system between the 50-period and 200-period simple moving averages.
Additional Features:
Support & Resistance: Identifies major support and resistance levels from the last 50 bars.
Pivot Points: Calculates pivot points to determine potential turning points.
Stop Loss Levels: Automatically calculates and plots stop-loss levels for buy and sell signals.
NYC Midnight Level: Option to display the New York City midnight price level.
Visualization: Plots buy and sell signals on the chart with green and red markers respectively.
Adequate Category:
"Technical Analysis Indicators & Overlays" or "Strategy & Scripting Tools".
GT-FibThis code is declaring the script as an indicator named "GT-Fib" to be plotted on the main chart. The maximum number of lines it can create is limited to 500.
The indicator calculates Fibo using trend breaks. If the trend is not broken and the old trend continues, Fibo continues. However, sometimes you will witness that it does not draw Fibo. Indicates that there is no trend break yet. If current Fibo levels are behind us, it may be wise to wait for a trend change. For trend breaks, I partially benefited from the Lux team's trend lines with break indicator. For your information...
Settings:
A set of user inputs is defined to allow customization. These include lookback period, coefficient, calculation method, and an option to enable/disable backpainting. These inputs help the trader to adapt the script to different market conditions or trading strategies.
Style:
Colors and visual styles for the indicator are defined here, such as the colors for uptrends and downtrends.
Variables Initialization:
Various variables are initialized here. This section prepares the script for further calculations. Key concepts include the initialization of upper and lower boundaries, pivot highs (ph), pivot lows (pl), and a few other variables to track peaks and troughs for trendlines.
Trendline Peaks and Troughs:
The script identifies pivot highs and lows. Whenever a pivot high/low is found, it updates the trendline_top and trendline_bottom respectively.
Calculation Method:
Based on the user's choice, the script calculates a "cycle" value using one of three methods: ATR, Stdev, or Linreg.
Extended Lines:
These are dashed lines that get drawn when a pivot high or pivot low is identified. These lines can be used to visualize potential support or resistance areas.
plotFibRetracement Function:
This function is designed to draw Fibonacci retracement levels between the identified trendline top and bottom. The Fibonacci levels provide potential support and resistance levels that traders often use to make trading decisions.
Plotting Fibonacci using Trendline Peaks and Troughs:
If both trendline_top and trendline_bottom are not 'na' (not available), the script will draw the Fibonacci retracement using the defined function.
How to Use:
The script identifies and displays potential support and resistance zones using Fibonacci retracement levels based on the trendline peaks and troughs. Here's a suggested way to use it:
Adjust Settings: Depending on the instrument you're trading and the timeframe, you might want to adjust the lookback period, coefficient, and calculation method to fine-tune the script to your needs.
Identify Trends: Observe where the pivot highs and lows are formed. The presence of consecutive pivot highs or pivot lows can indicate a prevailing trend.
Use Fibonacci Levels: The Fibonacci retracement levels can act as potential support and resistance. For instance:
During an uptrend, if prices retract and approach a Fibonacci level, it might act as a support level where price could bounce back.
During a downtrend, Fibonacci levels might act as resistance where price could reverse downwards.
Combine with Other Indicators: For a more comprehensive analysis and to increase the reliability of trading signals, you can use this script in conjunction with other technical indicators.
Remember, like all trading tools and techniques, this script should be used in conjunction with proper risk management. It's also a good idea to test any strategy or tool in a demo environment before applying it to a live account.
Volatility Trend (Zeiierman)█ Overview
The Volatility Trend (Zeiierman) is an indicator designed to help traders identify and analyze market trends based on price volatility. By calculating a dynamic trend line and volatility-adjusted bands, the indicator provides visual cues to understand the current market direction, potential reversal points and volatility.
█ How It Works
The indicator uses a weighted moving average of historical prices to create a responsive trend line that is adjusted for volatility using standard deviation. The indicator sets upper and lower bands at intervals of two standard deviations, acting as markers for potential overbought or oversold conditions. Additionally, by comparing current and previous trend line values, the indicator identifies the trend direction, providing crucial insights for traders.
█ How to Use
Trend Identification
Use the trend line to identify the overall market direction. An upward-sloping line indicates an uptrend, while a downward-sloping line indicates a downtrend.
Volatility Assessment
Use the distance between the upper and lower bands to gauge market volatility. Wider bands indicate higher volatility, while narrower bands indicate lower volatility.
Overbought/Oversold
If the price reaches or exceeds the upper or lower bands, it may be in an overbought or oversold condition, respectively.
█ Settings
Trend Control: Adjusts the sensitivity and smoothness of the trend line. Lower values make the trend more responsive, while higher values make it smoother.
Trend Dynamic: Controls how quickly the trend adjusts to price changes. Higher values result in a slower adjustment.
Volatility: Consists of two parts - the scaling factor for volatility and the sensitivity for volatility adjustment. Adjusting these settings alters the distance between the trend lines and the price, as well as how sensitive the bands are to changes in volatility.
Squeeze Control: Influences the degree to which market squeeze is considered in the calculation, with higher values increasing sensitivity.
Enable Scalping Trend: A toggle that, when activated, makes the indicator focus on short-term trends, which is particularly useful for scalping strategies.
█ Related scripts with the same calculation philosophy
TrendCylinder
TrendSphere
Predictive Trend and Structure
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Bitcoin Is Dead (BID/Weekly)Shows two consecutive weekly Bitcoin drops of X% both indicating capitulation which may be relevant to crypto markets, risk-on/risk-off and possibly tech markets.
Suggested usage: set the drop % and apply to weekly charts. Can be used on any chart, not just Bitcoin, but calculates indicator specifically for Bitcoin pricing.
Can be used for entertainment or technical analysis.
Breakout/Breakdown Indicator (30 Min Range) by InvestYourAsset👉The indicator provided here is a technical analysis indicator for TradingView users that identifies potential breakout and breakdown opportunities on the initial 30-minute range in every trading session.
👉The indicator high and low of the initial 30-minute period and plotting them as horizontal lines on the chart. The high is marked in green line and the low is marked in red line.
📈The indicator then generates buy and sell signals based on whether the current close price crosses above or below the previous 30-minute high and low, respectively.
📢The indicator also has two inputs:
👉 sessionStartHour : The hour at which the trading session begins. The default value is 9, However users can change the time according to their own trading style.
👉 sessionStartMinute : The minute at which the trading session begins. The default value is 0.
These inputs can be used to adjust the indicator to the specific trading session that you are interested in.
✅How to use the Indicator:
👉To use the 30 Minute Breakout/Breakdown Indicator, simply add it to your chart and configure the inputs to your liking. Once the indicator is added to the chart, it will plot the 30-minute high and low as horizontal lines, as well as generate buy and sell signals based on the current close price.
✅Here is a step-by-step guide:
📈Open TradingView and select the chart that you want to add the indicator to.
📈Click on the "Indicators" tab and search for "30 Minute Breakout/Breakdown Indicator by InvestYourAsset".
📈Click on the indicator to add it to your chart.
📈Configure the inputs to your liking. The default values are typically fine, but you can experiment with different values to see what works best for you.
📈Once you are satisfied with the settings, click on the "Apply" button.
📈The indicator will now be displayed on your chart. You will see two horizontal lines representing the previous 30-minute high and low, as well as triangles representing buy and sell signals.
✅How to interpret the signals:
📈Buy signal : A buy signal is generated when the current close price crosses above the previous 30-minute high. This suggests that the price is likely to continue moving higher in the short term.
📈Sell signal : A sell signal is generated when the current close price crosses below the previous 30-minute low. This suggests that the price is likely to continue moving lower in the short term.
👉Traders should remember that the present indicator is just one tool that can be used to identify potential trading opportunities. It is important to use other technical analysis tools and risk management techniques to confirm your trading signals before entering any trades.
✅Things to consider while using the indicator:
📈Look for buy signals in an uptrend and sell signals in a downtrend. This will increase the likelihood of your trades being successful.
📈Place your stop losses below the previous 30-minute low for buy signals and above the previous 30-minute high for sell signals. This will help to limit your losses if the trade goes against you.
📈Consider taking profits at key resistance and support levels. This will help you to lock in your profits and avoid giving them back to the market.
Follow us for timely updates regarding indicators that we may publish in future and give it a like if you appreciate the indicator.
2Mars - MA / BB / SuperTrend
The 2Mars strategy is a trading approach that aims to improve trading efficiency by incorporating several simple order opening tactics. These tactics include moving average crossovers, Bollinger Bands, and SuperTrend.
Entering a Position with the 2Mars Strategy:
Moving Average Crossover: This method considers the crossing of moving averages as a signal to enter a position.
Price Crossing Bollinger Bands: If the price crosses either the upper or lower Bollinger Band, it is seen as a signal to enter a position.
Price Crossing Moving Average: If the price crosses the moving average, it is also considered a signal to enter a position.
SuperTrend and Bars confirm:
The SuperTrend indicator is used to provide additional confirmation for entering positions and setting stop loss levels. "Bars confirm" is used only for entry to positions.
Moving Average Crossover Strategy:
A moving average crossover refers to the point on a chart where there is a crossover of the signal or fast moving average, above or below the basis or slow moving average. This strategy also uses moving averages for additional orders #3.
Basis Moving Average Length: Ratio * Multiplier
Signal Moving Average Length: Multiplier
Bollinger Bands:
Bollinger Bands consist of three bands: an upper band, a lower band, and a basis moving average. However, the 2Mars strategy incorporates multiple upper and lower levels for position entry and take profit.
Basis +/- StdDev * 0.618
Basis +/- StdDev * 1.618
Basis +/- StdDev * 2.618
Additional Orders:
Additional Order #1 and #2: closing price crosses above or below the Bollinger Bands.
Additional Order #3: closing price crosses above or below the basis or signal moving average.
Take Profit:
The strategy includes three levels for taking profits, which are based on the Bollinger Bands. Additionally, a percentage of the position can be chosen to close long or short positions.
Limit Orders:
The strategy allows for entering a position using a limit order. The calculation for the limit order involves the Average True Range (ATR) for a specific period.
For long positions: Low price - ATR * Multiplier
For short positions: High price + ATR * Multiplier
Stop Loss:
To manage risk, the strategy recommends using stop loss options. The stop loss is updated with each entry order and take-profit level 3. When using the SuperTrend Confirmation, the stop loss requires confirmation of a trend change. It allows for flexible adjustment of the stop loss when the trend changes.
There are three options for setting the stop loss:
1. ATR (Average True Range):
For long positions: Low price - ATR * Long multiplier
For short positions: High price + ATR * Short multiplier
2. SuperTrend + ATR:
For long positions: SuperTrend - ATR * Long multiplier
For short positions: SuperTrend + ATR * Short multiplier
3. StdDev:
For long positions: StdDev - ATR * Long multiplier
For short positions: StdDev + ATR * Short multiplier
Flexible Stop Loss:
There is also a flexible stop loss option for the ATR and StdDev methods. It is triggered when the SuperTrend or moving average trend changes unfavorably.
For long positions: Stop-loss price + (ATR * Long multiplier) * Multiplier
For short positions: Stop-loss price - (ATR * Short multiplier) * Multiplier
How configure:
Disable SuperTrend, take profit, stop loss, additional orders and begin setting up a strategy.
Pick soucre data
Number of bars for confirm
Pick up the ratio of the base moving average and the signal moving average.
Set up a SuperTrend
Time for set up of the Bollinger Bands and the take profit
And finaly set up of stop loss and limit orders
All done!
For OKX exchange:
t.me
BB Support & ResistanceChoosing support and resistance can be time consuming and subjective. Personally, I don't want to spend too much time manually marking up charts. Credit to video I saw, forget the producer, that demonstrated how multi-time frame Bollinger Bands can act as support and resistance. I suggest reading up on Bollinger Bands (en.wikipedia.org) and how to trade them. This indicator draws support and resistance lines based on Bollinger Bands on three time frames. You can select 1 or all three time frames to display on your chart. Enjoy.
Multi VWAP for Wick HunterCredit: honeybadgermakesfunnymoney for this Open Source Script
Published:
This is a tool that will allow you to visualize Wick Hunter's calcation of VWAP. Wick Hunter uses this calcuation for its Liqudations Bots.
There are four settings that you need to be configured to visualize your VWAP Band:
Long VWAP - The distance from current VWAP price, in %, that price must be UNDER when a liquidation event occurs to meet your you VWAP condition. The higher the value, the more price must move below the current VWAP price for it to enter a LONG position.
Short VWAP - The distance from current VWAP price, in %, that price must be ABOVE when a liquidation event occurs to meet your you VWAP condition. The higher the value, the more price must move above the current VWAP price for it to enter a SHORT position.
VWAP Timeframe - Select the timeframe you want the VWAP to be measured on.
VWAP Periods: Input the time period over which you want the VWAP to be measured over. For example, if you use "5" for this and "15" for VWAP Timeframe. The VWAP will be calculated based on the last five 15 minute candles.
You can play around with these settings using the indicator provide above. The indicator will print a triangle when the conditon for VWAP is met for a long for short trade. Play around with these settings. A few good timeframes that are popular are 5 minute, 15 minute, and one hour (60 minute). As far as periods, the most common settings are between 5 periods and 15 periods. In general the lower the timeframe and periods and closer VWAP will follow price.
Trend Gaussian Channels [DeltaAlgo]This Script Introduces The Use Of The Gaussian Channel Concepts
This indicator consists of three lines: a central line that represents the moving average, and an upper and lower band that represent the volatility of the price movements.
The Gaussian channels is a concept consists of an upper & lower bands along with the basis; the mid band. The use of the Gaussian bands are simple, as described below.👇
Use Case:
There are many ways the Gaussian channel indicator can be used!
1. Look for the price to touch or cross the upper/lower bands of the Gaussian Channel Indicator. This indicates that the price has reached an high level of volatility. a reversal or correction may be imminent.
2. Wait for confirmation of the potential reversal or correction. This can be in the form of a bearish or bullish candlestick pattern, or a signal from another technical indicator.
a. For this reason I have implemented some signals that indicate trend shifts & candle colors to clearly display the switching between a bullish sentiment or bearish.
3. Enter a trade in the direction of the reversal or correction. For example, if the price touches the upper band and a bearish candlestick pattern occurs or if you get a bearish signal, enter a short trade. If the price touches the lower band and indicates bullish candlestick pattern or bullish signal, enter a long trade.
Sometimes this band can act as a support & resistance, THIS is not always the case as it is not meant to be used as support & resistance.
Trend Channels [Cryptoverse]This Indicator dynamically generates and displays on the chart Trend Channels with the pivot points it determines in each market and in each time period. The type of price used to determine the pivot points and create the channels is optional (e.g. close or high, low).
It will help you identify your entry points and stop zones and help you take positions, but it does not contain any buy and sell signals or trading strategies. It creates more successful channels on higher timeframes.
Usage Settings:
---------------------------------------------------
General Settings:
Pivot Period: This field determines how many candles before and after a candle will be counted as a peak or bottom in order to determine the peaks and troughs on the chart.
Trend Channels are created by calculating the Pivot points according to the period set here. (Default value: 6)
Top Pivot Source: Determines which value of the related candle the top pivot points will be based on.
Bottom Pivot Source: Determines which value of the related candle the lower pivot points will be based on.
(Default: closing)
Trend Channels Settings:
Show All Trend Lines: Allows you to show or hide trend channels.
Hide Old Trend Lines: If you activate it, it allows you to hide the channels created in the past other than the current trend channels.
Hide 0.5 Lines: Allows you to hide lines at the Fibonacci 0.5 level.
Hide 0.236 Lines: Allows to hide lines at Fibonacci 0.236 level.
Hide 0.786 Lines: Allows to hide lines at Fibonacci 0.786 level.
Helper Line Format: Allows the helper line that converts a trend line into a channel to be drawn based on percentage or price.
*Note:* When using large time intervals by choosing percentages, there may be situations where the helper lines do not provide full parallels.
Up Trend Color: Indicates the outer color of the Up Trend channel.
Down Trend Color: Indicates the outer color of the Descending Trend channel.
0.5 Trend Color: Specifies the color of the fibonacci 0.5 line drawn for all channels.
0.236 Trend Color: Specifies the color of the fibonacci 0.5 line drawn for all channels.
0.786 Trend Color: Sets the color of the fibonacci 0.5 line drawn for all channels.
Trend Channel Width: Determines the thickness of the channel lines.
Trend Channel Style: Determines the style of the channel lines.