Stop
CKSDHi. It's simply histogram that shows divergence between the lines of the Chande Kroll Stop ind (built-in TradingView ind). I noticed that the lines intersect or are very close to each other if the volatility decreases. You can use MA like the main line or just 5, 10 lines how I do. Sorry for code Im not a programmer
ATR ChannelsATR Channels help you to identify where to place your stop-loss or trailing stop-loss based on price volatility, according to the Average True Range (ATR).
ATR and RSI Buy / Sell Signal Beta 1.0This has been a long time coming for me.
I need to clean it up and add inputs for others to customize it that's why its protected.
This is configured for US securities.
Goal: Signal when to enter a trade on either side
Method: ATR and 2 RSI signals using:
3 Minute Chart Resolution
MUST have an active (can be hidden) BUILT-IN ATR ; length = 4 and set to RMA smoothing
MUST add the script; THEN go to the scripts settings and change the source to ATR. TV does not allow this to be set to default (that I know of)
I have default settings how I use them but you can modify:
ATR period (Length) =4
ATR multiplier = 0.9 (can edit by 0.1 increments.
The 1st Length/offset/resolution is defaulted to the 1 minute RSI.
The 2nd Length/offset/resolution is defaulted to the 3 minute RSI.
1)
OVERBOUGHT or OVERSOLD
*Please understand I use a length of 4 for this script, that is why the RSI OB/OS limits are so high/low.
Overbought conditions will light yellow if the 1m RSI > 90 and the 3min RSI > 85 and the time is between 09:42am and 16:00
Oversold conditions will light yellow if the 1m RSI < 10 and the 3min RSI < 10 and the time is between 09:42am and 16:00
The script ensures that if it is OB/OS under these conditions than it will not signal a buy or sell.
2)ATR
The script identifies reversals via the close breaking past the previous ATR on the preceding candle. ATR will not move UP on a short and will not move down on a long. It trails the last candle it was not broken.
The script plots labels up and down to identify the start of a reversal. Each start will have an accompanying line to display the continuation of the trend in one direction.
The script displays the value of the STOP as it trails price action. One could continue to mirror this value if you chose to. I use the fib tool for my targets and manage it as P/A demands.
3) RSI SIGNALLING
The script identifies a trend by analyzing BOTH RSI (1m and 3m) measures and requires that the current bar's readouts for BOTH measures are either greater or lower than the preceding candle.
The script also requires that both measures are above or below 50 to signal a trend.
The script will plot the trend as arrows up or down, it will display a (-) when the these conditions are not met.
Requirements to signal a BUY (LIME GREEN) or SELL (BRIGHT RED):
**Ensure your chart candle colors are faded so you can see the signal.**
**Precision is set to 0; remember TV rounds up or down for the visual measure but uses the exact measure for the script**
During the first 12 minutes:
----------------------------------
There are no OB/OS conditions as informed in section 1.
ATR stop line must be present OR the current bar close is higher than the ATR stop of the preceding candle whether it is a long or short stop signal. Quick whips are accounted for.
The current bar close MUST be higher or lower than the preceding candle's HIGH or LOW.
The script MUST identify the RSI signalling as detailed above in section 3.
The candle will light LIME or BRIGHT RED when these conditions are met and will not deceive the statements I have made.
It is important to understand that the signal may become null if the conditions do not persist through the final close of the candle. This means that a snapshot of the indicator does not accurately represent
what it will display at different times during each countdown of EACH 3 minute candle. Sometimes it signals to go long and once RSI gets too high it no longer signals. This is a good thing. Limits FOMO entries.
@ 09:42 until 16:00
-----------------------------------
OB/OS yellow candles will now occur as detailed in section 1.
Candles MUST clear the HIGH or LOW of the TWO preceding candles.
Candles MUST be trending as defined in section 3.
Candles MUST conform the conditions of the ATR stop.
I want to thank;
@pinescripters
@freedom_trader_
and I will even thank the manual lol
I have manually back tested this because I am working on the proper coding to have TV do it for me.
My strategy requires me to cover 25% of my position at 0.5 of the TV ATR 4 length RMA indicator.
Once the first target is hit than the STOP is moved to break-even.
If the target is not hit than my maximum loss is also 0.5 of the TV ATR 4 length RMA indicator.
I tested 3 full days, always on the 3min chart.
I tested 96 trades. All occurring immediately upon signal.
85 were wins and 9 were losses, 88.5% profitable.
Please understand that my intend is to cover enough quickly to cover commission costs and limit losses.
The remaining 75% of my position are sold off in the following pattern unless P/A demands that I override the FIB tool. Let them run when you can.
Position ENTRY
25% cover @ 0.5 x ATR
25% of remaining position cover @ 1.75 x ATR
25% of remaining position cover @ 2.5 x ATR
25% of remaining position cover @ 3.5 x ATR (APX 40% of the initial position)
I will further back test in the near future with an expanded risk.
ATR based Pivots mcbwHey everyone this is an exciting new script I have prepared for you.
I was reading an old forex bulletin article some time ago when I came across this: solar.murty.net (or you can download the full bulletin with lots of other good articles here: www.forexfactory.com).
You can already buy this for metatrader (www.mql5.com) so I figured to make it for free for tradingview.
This bulletin suggested that you can reasonably predict daily volatility by adding or subtracting multiples of the daily ATR to the daily opening. Using this you can choose multiples to use as price targets and alternatively as stop losses. For example, if you already have a sense of market direction you can buy at market open place a stop loss at - 1 daily ATR and a profit target at + 3 ATRs for a risk to reward ratio of 3. If you are looking for smaller/quicker moves with a ratio of 3 you can have a stop loss at -0.25 ATR and a take profit at +0.75 ATR.
Alternatively this article also suggests to use this method to catch volatility breakouts. If price is higher than the + 1 ATR area then you can safely assume it will be going to the +2 ATR area so you can put a buy stop at + 1 ATR with a profit target at + 2 ATR with a stop loss at +0.5 ATR to catch a volatility breakout with a risk to reward ratio of 2!
Even further there are methods that you can use with ATRs of multiple window sizes, for example by opening two copies of this indicator and measuring recent volatility with a 1 week window and long term volatility within a 1 month window. If the short term volatility is crossing the long term volatility then there is a high probability chance that even more price movement will occur.
However I have found that this method is good for more than daily volatility , it can also be used to measure weekly volatility , and monthly volatility and use these multiples as good long term price targets.
To select if you want daily, weekly, or monthly values of the ATR of volatility you're using go to the settings and click on the options in the "Opening period". The default window of the ATR here is 14 periods, but you can change this if you want to in "ATR period". Most importantly you are able to select which multiples of the ATR you would like to use in the settings in "ATR multiple 1" which is the green line, "ATR multiple 2" which is the blue line, and "ATR multiple 3" which is the purple line. You can select any values you want to put in these, the choice of 0.25, 0.5, and 1 is not special, some people use fibonacci numbers here or simply 0.33, 0.66, and 0.99.
Repainting issue: This script uses the daily value of the Average True Range (ATR), which measures the volatility that is happening today. If price becomes more volatile then the value of the ATR can increase throughout the day, but it can never decrease. What this means is that the ATR based pivots are able to expand away from the opening price, which should not affect the trades that you take based on these areas. If you base your take profit on one of these ATR multiples and the daily volatility increase this means that your take profit area will be closer to your entry than the ATR multiple. Meaning that your trades will be more conservative.
While this all may sound very technical it is super intuitive, throw this on your chart and play around with it :)
Happy trading!
ATR for Trailing StopAn ATR (Average True Range) can be used to position a trailing stop
In this script, the true range of today is calculated based on the low of yesterday in order to be more stable.
It only goes up, as a trailing stop should do.
It only goes down when the trailing stop is reached by the price.
ATR for Trailing StopThe calculation of this ATR is based on the low of yesterday in order to not change continuously during the day.
You can use this indicator to create a trailing stop taking into account volatility on the nATRPeriod previous days.
It also always go up as a trailing stop should. It only goes down the price reaches the trailing stop.
Parabolic SARThis is a redesign of the built-in Parabolic SAR indicator. I added a proper input system, an option to highlight initial points for both lines and an option to choose points width. So, customize it as you want.
Parabolic SAR was originally developed by J. Welles Wilder and described in his book "New Concepts in Technical Trading Systems" (1978). It is a trend-following indicator that can be used as a trailing stop loss.
To know which settings for PSAR are the most profitable on your instrument and timeframe you can use this tool
Profitable Parabolic SAR
SuperTrendThis is a redesign of the SuperTrend indicator. It removes stupid transitions between SuperTrend states and highlights initial points for both lines.
SuperTrend is a moving stop and reversal line based on the volatility (ATR).
Failure Swing Strategy (stop hunting) V1 (Made on XBT/USD 4h Bitmex)
This strategy is a first attempt to countertrade the false break of a key support/resistance.
If a candle breaks the level, but it comes back before close, it will trigger an order.
The Stop Loss is in %, the Take Profit is near the EMA.
There is a "volatility filter" to block orders when the price is near the EMA and a coefficient to adjust a little the Stop Loss and Take Profit according to the chart condition.
Trader Set - Moving StopThis the last tool I was working on for quite few weeks now. finally got it working. It's the only tool in my tool set that you can tweak how it looks because you can use three instances to show short length, medium length and long length trailing stops.
These trailing stops also can be used as support / resistance zones if you desire too.
Don't ask for getting access, the English version of the website and learning material is getting ready. The licenses for all of my tools will be available to purchase in the website. I will announce it in the comment sections.
If you are interested in my methodology, you can start joining my telegram channel and read more about it.
t.me
Average True Range Stop Loss CalculatorThis indicator takes the average of a series of ATR to calculate what I would consider an optimum stop loss placement represented in percentage (read below for full overview).
While the data is plotted what is most helpful are the actual numbers presented.
This indicator is most helpful on the daily timeframe but can be used for all timeframes such as the 4HR or 1HR.
This indicator should not be used alone. It should be used in conjunction with proper price action analysis. It’s also a great indicator if you chart using Value Channels. Ideally you want your stop placement to be below at least one core Value Channel boundary range. In addition to standard support and resistance and some key moving averages the market respects. This also works best when trading with the prevailing BIAS of the instrument (bull or bear).
Cryptos: Generally, that means you’re buying on retracements that fit the end of a structured move. The other option is using this in a clear up trending market where the pull backs are clearly being supported with buying.
FOREX: I use this in my FOREX swing trades for my stop placements. Keep in mind I primarily trade my trade system and use this indicator to ensure my stop placements I define based on VCs are within the ATR tolerance. I’ve found that ATR * 1.5 is the best for my trade system.
WTI: Helpful but I have different rules for when I trade WTI. I rely upon VCs and diagnal VCs much more when trading this.
Equities: Helpful but with the increase of volatility as well as uncertainty of Bias of the market-- this should be used as more of a guide than
Indicator Overview:
Value 1 (maroon): 3 Period ATR
Value 2 (green): 7 Period ATR
Value 3 (blue): 30 Period ATR
Value 4 (blue, bold): 90 Period ATR
Value 5 (green): 1 Period ATR
Value 6 – Prime Stop Loss Placement (red): Average of all above ATR multiplied by 1.5
Value 7 (red): Difference between Value 6 (prime stop loss) and current period move. This is an experimental value. Two ways to use this value. Use as a tighter stop loss placement. The other option is to use as a retrace target for purchase and using the Prime Stop Placement value as you’re stop loss.
All ATRs use the LOW price of the period. After testing both the low and close I’ve settled on the low to capture the most volatility you will typically experience.
Once again, this indicator should be used in conjunction with your proven trade system.
Also, by knowing what the values are within the indicator you could just eye ball what would be the best stop placement depending on the ATR or 1 or 2 ATRs you find most represent the volatility of what you are trading.
I will be expanding on this indicator by bringing in average measured moves as well as volume analysis and most likely with color changes and modifications.
Background:
While using and refining my trade system I've noticed that most moves happen in 3 periods. So we start there. The 7 period is good for a 24 hour market such as crypto (although weekend trading can be a hit or miss) and to some extent FOREX. The longer periods of 30 & 90 are to smooth out the data set. The final value of the 1 period is to bring a little more recency to the calculation.
Why multiply the average by 1.5? I've found in my own trading and system I built to be the best placement (in conjunction with VCs) to ensure you're stop isn't to close and is within the instrument you are trading volatility.
I'm looking at making this more intelligent as well as take into account volume and structured moves.
MTF Bollinger Bands, SuperTrend, TEMA Wave and ATR Stop LossThis script is a combination of useful overlay indicators that can be used for day trading or swing trading. You can use it for long term positions as well, but some tweaking may be required. I also added the multi time frame possibility for the majority of settings. This indicator gives you a lot of opportunities and trade setups. Default settings are made for day trading, using intraday time frames.
This script can display the following:
4 independent Bollinger Bands (MTF)
4 independent SuperTrends (MTF)
6 independent TEMAs (MTF)
ATR Stop loss for longs / shorts
Default settings display 3 Bollinger Bands, 2 TEMAs(I have found these two TEMAs particullarly useful, see screenshots below) and a signle SuperTrend.
Do not forget to always use a proper stop loss and risk management.
Here you can see the script in action in different markets:
BTC - BitMex - Setup before the drop from 7400 USD
BTC - BitMex - Setup before the drop from 8400 USD
BTC - BitMex - Setup before the pump to 7800 USD
BTC - BitMex - Setup before the pump to 6800 USD
Binque's Stop LossFixed Script only showing Daily Stop Loss. Now will show stop loss based on the resolution of the chart you are on, i.e. 1 min, 5 min, 15 min, 1 h, 4 h, 1 d, 1 w, 1 month, etc...
NeoIchi TrailingThis is the separation of moving average parts from NeoIchi indicator with addition of four different ATR setting that can be used for Stop Loss and Trailing Stops. The NeoIchi indicator won't have any moving averages any more, the code is secured but every one have access to use this indicator on their charts.
Ehlers Instantaneous Trendline StrategyInstantaneous Trendline Strategy by John Ehlers from his book "Cybernetic Analysis for Stocks and Futures".
You can choose implementation of stop-loss. Don't forget to define correct spread for your instrument.
BitMex Trailing Stop StrategyThis script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values. The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.