Trailing stopHi all!
This script helps to alert you when a trailing stop is hit. More specifically it alerts you when the low of the candle crosses below your trailing stop. A trailing stop follows a price positive movements. It raises your stop when price goes up, but keeps it at the same level if price goes down, so it "locks" in your profit. You define your long entry bar and choose one of the following methods for the stop:
ATR
The Average True Range (ATR) is popular to trail stops. The trailing stop is raised by the low minus the ATR (times a factor that can be set under the settings for ATR).
EMA
The Exponential Moving Average (EMA) can be used to trail your stop. When the low goes below the EMA an alert is sent about the stop. Its length can be set in the settings.
SMA
The Simple Moving Average (SMA) can be used to trail your stop. When the low goes below the SMA an alert is sent about the stop. Its length can be set in the settings.
Source
An external source can be useful as a stop signal. You can use this option that will stop you out when the signal returns anything else than "na". E.g. if you want a stop when KivancOzbilgic script "SuperTrend" () turns red, you set the source to "Supertrend: Down Trend". This option will not draw pretty things on the chart, but it will alert you!
Please note that this is for long entries only.
Best of trading luck!
Atrtrailingstop
ATR + Momentum Shifts w/Take ProfitThis script is a technical analysis indicator designed to assist in identifying potential entry points and setting take profit levels in trading. It combines the Average True Range (ATR) indicator, momentum shifts, and customizable take profit levels to provide insights into potential market movements.
Differences from Currently Published Ones:
This script is unique due to its use of a combination of elements:
ATR and Momentum: The script combines the ATR indicator to provide dynamic support and resistance levels with the momentum indicator to identify shifts in the underlying momentum.
Customizable Take Profit Levels: It offers the ability to set take profit levels based on customizable multipliers of the ATR, helping traders manage potential profits.
How to Use:
ATR Bands: The script plots upper and lower ATR bands as potential dynamic support and resistance levels.
Shift Arrows: Arrows are plotted below bars for potential long entry opportunities (green triangle) and above bars for potential short entry opportunities (yellow triangle).
Take Profit Levels: The script also plots take profit levels both above and below the source price based on the ATR multipliers set in the inputs.
Markets and Conditions:
This script can be used across various financial markets, including stocks, forex, commodities, and cryptocurrencies. It's most effective in trending markets where momentum shifts can signal potential reversals or continuation of trends. Traders should consider the following conditions:
Trend Confirmation: Look for momentum shifts in the direction of the prevailing trend for higher probability setups.
Volatility: Higher volatility can amplify ATR movements and subsequently affect the placement of ATR bands and take profit levels.
Risk Management: Always implement proper risk management strategies to protect your capital.
Additional Considerations:
Customization: Traders can adjust input parameters like ATR length, momentum length, and take profit multipliers to match their trading style and market conditions.
Combining with Other Indicators: Consider using this indicator in conjunction with other technical indicators or chart patterns for confirmation.
PivotBoss Tool (PART 2)Hello Everyone,
This indicator is being published on TradingView to help traders solve their multiframe EOD analysis issue and at the same time get additional information of other crucial information - CandleStick Patterns, Candlestick Midpoint and ATR Trails for trailing your SL's all under one single frame.
This indicator is based on the concepts of Secrets of Pivot Boss by Mr.Frank Ochoa and strives to provide more insightful information of pivot points and other general indicators being used by traders on day-to-day basis in the simplest format possible so that traders of all kinds can relate to the same.
And, this is purely dedicated to EOD analysis.
What is the moat of this Indicator?
This particular indicator is designed to help the traders in their EOD analysis as this indicator is well equipped to provide the next session trading pivot points well in advance at the end of the current day trading session. A trader has everything required for an EOD analysis in this particular indicator.
Below is the brief information of the indicator table you see in the layout of the above chart -
#Next Session Pivots
One can plot this feature to find out the developing pivot levels for upcoming D/W/M/Q/Y alongside it's additional pivot levels such as:
- Future Camarilla Pivots (H3/H4/H5 & L3/L4/L5)
- Future Floor Pivots (R1/R2/R3 & S1/S2/S3)
- Future CPR levels (TC/PIVOT/BC)
#Developing Pivot Cloud
One can check the developing CPR in Intraday itself by enabling the pivot cloud feature which can tell you multiple information to be with the trend and it's participants.
Basically a live extension of the current trading CPR according with the progress of the trading day.
#CandleStick Mid-Point
This can plot the midpoint of each candlestick on any timeframe for better understanding of buyer/seller's absorption!
#Candlestick Pattern Scans
So one can now easily filter out the candlesticks patterns which helps in decoding the chart in a better format for entry and exits. There are 4 candlesticks patterns included -
- Wick Reversal Pattern -
This pattern basically tells the wick strength which is actually a liquidity absorption by the stronger hand and the intensity and further direction of the move depends on the position of wick candle being formed indicated by green (bull) or red (bear) signal.
- Doji Reversal Pattern -
This pattern basically is used to identify the biasness of the market participants and further identifies a pause in the ongoing trend or a pause for the trend to get further liquidity for broader strength.
- Outside Reversal Pattern -
This pattern depicts the range of the previous candle of a specific timeframe has been tested at both the extreme and probably the price will consolidate in the that visible range for a while.
- Extreme Reversal Pattern -
This pattern basically points at a setup that looks for an extreme pattern of selling pressure and then looks to fade this behavior to capture a bullish move higher (reverse for shorts) and vice versa .
#ATR Trails
This a just a supertrend indicator sourced with ATR to track a short/long term trend change and can be used for trailing SL's when they are kept tight for big positions!
#CPR Trails
This is the most interesting feature with multiple permutations & combinations and can be used to analyse intraday as well as EOD and positional trends. Moreover, THIS FEATURE CAN ALSO INDENTIFY MICRO INTRADAY TREND AS SMALL AS EACH 5M TREND!!
This indicator will be updated with time and depending on community's feedback and requirements.
Credits -
- Mr. Frank Ochoa (Concepts and ideas from the book 'Secrets of PivotBoss' )
- TradingView (Providing a platform to traders to simply their trading through 'PineScript')
Regards,
Mukkull
Directional ATROANDA:EURUSD
TLDR: A custom volatility indicator that combines Average True Range with candle direction.
The Directional ATR (DATR) is an indicator that enhances the traditional Average True Range (ATR) by incorporating the direction of the candle (bullish or bearish).
This indicator is designed to help traders identify trend strength, potential trend reversals, and market volatility.
Key Features:
Trend Confirmation: Positive and increasing DATR values suggest a bullish trend, while negative and decreasing values indicate a bearish trend. A higher absolute DATR value signifies a stronger trend.
Trend Reversal: A change in the direction of the DATR from positive to negative or vice versa may signal a potential trend reversal.
Volatility: Like the standard ATR, the DATR can be used to gauge market volatility, with larger absolute values indicating higher volatility and smaller values suggesting lower volatility.
Divergence: Divergence between the price and the DATR could signal a potential weakening of the trend and an upcoming reversal.
Overbought/Oversold Levels: Extreme DATR values can be used to identify overbought or oversold market conditions, signaling potential reversals or corrections.
Please note that the Directional ATR is just an indicator, and the interpretations provided are based on its underlying logic.
It is essential to combine the DATR with other technical analysis tools and test the indicator on historical data before using it in your trading strategy. Additionally, consider other factors such as risk management, and your own trading style.
Auto SuperTrend+Based upon SuperTrend+ , this variation measures the volatility in order to determine the range of the trend.
Notes:
Upward volatility is measured separately from downward.
WMA is used for averaging to provide a recency bias.
Changing time-frames should display similar results as the settings are based upon time and not bars.
SKYtrend Bruteforce Open Source✨SKYtrend Bruteforce Now Open Source✨
📌This indicator analyzes the trend and calls Long/Short which is fully custom to fit your style of trading.
📌Custom Take Profit Levels currently have 3 TP levels for Long and Short you can decide which % each TP will be in settings.
📌2 Custom Stoploss levels. For Long or Short. Can Enable or Disable either.
📌Can set alert For Long, Short , TP Long 1-3, TP Short 1-3, SL 1-2
📌Has built in ichimoku cloud
If you like it, like it. :)
8X Trend ATR SAR Dingue V58X Trend ATR SAR Dingue V5 - This is the updated version for Pine Script 5.
8x indicator into 1 :
2x ATR indicator - 3x Trend indicator - 3x SAR indicator
Trends are helpful to spot reversal and support resistance, especially on bigger time frames.
This indicator gives you a global view of various trends all at once. You can easily turn them On or Off as to not clog the screen.
Each trend is also color-coded to visualize quickly the position of the price compared to it.
You can customize lengths, adjust line sizes, have the start of a new trend marked with a circle, fill in colors.
'Tool tips' explain other settings and if you have any questions, feel free to ask in the comments below.
Thank you for the feedback and check all my ‘Dingue’ indicators.
SuperTrend+Based upon popular SuperTrend (AKA: ATR Trailing Stop) indicator with the following differences and improvements:
Defaults to using Volume-Adjusted WMA ( VAWMA ) for ATR. (Can still be configured to behave exactly like classic SuperTrend.)
Can use SMA, EMA, WMA, VWMA, and VAWMA instead of just SMA.
Confirmation close bars for avoiding false breaks.
Details:
If the confirmation closing bars value is greater than zero (default of two bars), the trend will only reverse if the price closes outside the boundary for that number of bars (does not need to be consecutive) or if the opposite side of the bar exceeds the boundary.
The confirmation bar count will reset if the trend has resumed (opposite boundary is broken).
Confirmation examples:
In a down-trend, but the previous two bars close above the boundary.
In a down-trend, but the low of the previous bar exceeds the boundary.
In a down-trend, but the high of the previous bar exceeds the boundary when confirmation bars are set to zero.
ATR + PSAR Trailing Stop (Expo)This ATR + PSAR Trailing Stop indicator is unique. It comes with new ways of calculating ATR and PSAR to enhance performance and accuracy as well as give clarity in trends. The indicator can be used standalone or as a part of your current trading strategy.
ATR + PSAR Trailing Stop (Expo) is a trailing stop indicator that combines ATR and PSAR to enhance the calculation of the trailing stop. This indicator works well in all types of markets, for example, in a trading range or in a trending market, etc.
The user can choose between the following ATR Settings:
Quick ATR
Adaptive ATR
Follow the price closely - ATR
Standard ATR
Trend ATR
The user can enable Trend ATR which displays the overall market structure. If the Trend ATR line is above the price we have a negative market structure, and if the Trend ATR line is below the price we have a positive market structure.
Real-time
No repainting
Works on any market and in any timeframe
HOW TO USE
- Use the ATR + PSAR Trailing Stop as a stop-loss.
- Use the indicator for taking a position when price crosses the ATR trailing line or taking a position when price crosses the PSAR circles.
- Use the indicator to identify the current market structure and trend.
The indicator can be used standalone or as a part of your current trading strategy.
INDICATOR IN ACTION
1-hour chart
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas 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, 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 are only for educational purposes!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
ATR Trailing Stop Strategy by ceyhunSame coding only coloring and strategy version added
//Barcolor
Green = Trail1 > Trail2 and close > Trail2 and low > Trail2
Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2
Red = Trail2 > Trail1 and close < Trail2 and high < Trail2
Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2
//It gives White color where there is deterioration.
Let's not use InfoPanel in strategy, it would be wrong as it signals the next day.
SuperTrend STRATEGYSTRATEGY version of SuperTrend Indicator:
SuperTrend is one of the most common ATR based trailing stop indicators.
In this version you can change the ATR calculation method from the settings. Default method is RMA, when the alternative method is SMA .
The indicator is easy to use and gives an accurate reading about an ongoing trend. It is constructed with two parameters, namely period and multiplier. The default values used while constructing a superindicator are 10 for average true range or trading period and three for its multiplier.
The average true range (ATR) plays an important role in 'Supertrend' as the indicator uses ATR to calculate its value. The ATR indicator signals the degree of price volatility .
The buy and sell signals are generated when the indicator starts plotting either on top of the closing price or below the closing price. A buy signal is generated when the ‘Supertrend’ closes above the price and a sell signal is generated when it closes below the closing price.
It also suggests that the trend is shifting from descending mode to ascending mode. Contrary to this, when a ‘Supertrend’ closes above the price, it generates a sell signal as the colour of the indicator changes into red.
A ‘Supertrend’ indicator can be used on equities, futures or forex, or even crypto markets and also on daily, weekly and hourly charts as well, but generally, it fails in a sideways-moving market.
Source function added to use the indicator as the ATR Trailing Stop indicator.
Just change source type hl2 to close.
different variations might be useful.
ATR Trailing Stop advanceHello Traders,
The average true range (ATR) is a technical analysis indicator that measures market volatility . The ATR indicator is easy to use and gives an accurate reading about an ongoing trend that very effective.
I. Signals are used for entry
- Entry your long position (buy) when price crosses above the ATR trailing stop line.
- Entry your short position (sell) when price crosses below the ATR trailing stop line.
II. ATR Trailing Stops Setup
- The ATR period is used to adjust the sensitivity of the ATR trailing stop line. With larger period, the ATR will "smoother" but will signal slower than the price.
- ATR multiplier is a multiple of ATR trailing stop.
- If you want to backtest with trailing take profit, you can tick the box “test with trailing?”. It will affect 2 parameters which are: Trailing point and trailing offset. Where: Trailing Point is the trigger point, the distance from the entry price. Trailing Offset is the take-profit price, which is the distance from the Trailing Point.
III. A few ATR trailing stop configurations, you can use for backtesting:
1. BTC /USDT (M15):
- ATR period: 80
- ATR multiple: 1.91
- Trailing point: 63
- Trailing offset: 10
2. BTC /USDT (M30):
- ATR period: 71
- ATR multiple: 1.63
- Trailing point: 60
- Trailing offset: 10
3. ETH/USDT (M30):
- ATR period: 90
- ATR multiple: 1.81
- Trailing point: 1.12
- Trailing offset: 0.15
4. XRP/USDT (M30):
- ATR period: 125
- ATR multiple: 1.61
- Trailing point: 0.0016
- Trailing offset: 0.0003
IMPORTANT:
Generally, ATR trailing stop still fails in a sideways-moving market. Be Careful and research the strategy before making a buy/sell order.
Hope you enjoy it. We look forward to hearing from you so we can improve this strategy.
Thank you,
ATR Trailing Stop by ceyhunSame coding only coloring and information panel was added.
CDC ATR Trailing Stop V2.1 (2013)
//Barcolor
Green = Trail1 > Trail2 and close > Trail2 and low > Trail2
Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2
Red = Trail2 > Trail1 and close < Trail2 and high < Trail2
Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2
//It gives White color where there is deterioration.
//InfoPanel
Buy Price = Blue draws the circles at the purchase price.
Profit Long>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
Sell Price = Red draws the circles at the purchase price.
Profit Short>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
Moving Stop Loss (Most) by ceyhunATR is an indicator that has been removed and replaced with a moving average.Bar colors and infopanel have been added.
//Barcolor
Green = ExMov > Most and close > Most and low > Most
Blue = ExMov > Most and close > Most and low < Most
Red = Most > ExMov and close < Most and high < Most
Yellow = Most > ExMov and close < Most and high > Most
//It gives White color where there is deterioration.
//InfoPanel
Buy Price = Blue draws the circles at the purchase price.
Profit Long>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
Sell Price = Red draws the circles at the purchase price.
Profit Short>20 = Risk level taken as a percentage, I got the highest 20%, you can determine as you wish.
==Atr Original Code==
CDC ATR Trailing Stop V2.1 (2013)
==Most Code==
MOST by Anıl ÖZEKŞİ
Barcolor
Barcolor
IFTS+TS Strategy OverlayInverse Fisher transform on stochastic with Hull MA and Donchian Channels with oversell/overbuy levels and dynamic trailing stop
Options:
Fixed trailing stop
Dynamic, based on ATR trailing stop
Re-enter after trailing stop
Includes Hull MA
Hull MA filtration for re-entering after trailing stop
Donchian channels, with overbuy/oversell levels
No repaints
CDC ATR Trailing Stop V1Based on the standard ATR trailing stop indicator.
A few minor tweaks as used in Chaloke.com's community