ATR Stop Loss LONG/SHORT by melihgulerYou can monitor the stop loss level according to ATR in 2 ways (Long/Short).
Average True Range (ATR)
ATR_bandCreates lower and upper band on BTCUSD chart based on ATR value of the previous day and daily open of the current day
Position Size CalculatorPosition Size Calculator
To calculate stop loss in pips, you can use my other indicator ATR pips
Average True Range % of PriceThis script easily shows in an indicator window the Average True Range % of Price, which helps people understand the volatility of an asset in % terms defined by custom MA periods for custom ATR periods.
The MA Period gives the average price.
The ATR Period gives the average range.
The Average Range / Average Price = Average Range % of Price.
Understanding the volatility of an asset can help people manage risk e.g. if an asset has a low entry cost, but very high volatility it may be more risky than another asset with a high entry cost, but much lower volatility.
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.
ATR _NormalizedThis script is good to use with Williams %R indicator, to find out when price has bottomed out.
ATR has to be over 90 and Williams %R ( lenght 52 ) has to be over 95 to find out level around which one is good to buy.
You can check back, to see that this worked very well over history. Best way to use this 2 indicators is with DCA ( dollar cost average ), as area where to buy can go a little bit down and up for as long as few months. So dont just jump in, use DCA .
TrenderTrender is a popular trailing stop indicator on the Bloomberg system and since I didn't have source code to work with, this is a close approximation of that indicator. Let me know if you spot any discrepancies and I will adjust accordingly.
This indicator is a trailing stop system along with a trend confirmation. When the blue line falls below the black line, that is a confirmation of a down trend and when it rises above the black line, it is a confirmation of an up trend. When the trender line is above the price, then that means the stock is in a general down trend and vice versa. I have color coded the trender line to show you when to buy or sell that stock to keep it easy.
This was a special request so let me know if you want to see more scripts from me or if you want something custom!
Fear And Greed IndicatorThe Fear And Greed Indicator is a very popular indicator on the Bloomberg platform and since I didn't have actual source code to work with, this is a very close approximation of that indicator. Let me know if you spot any discrepancies with the original and I will do my best to fix them.
For buy and sell signals it is pretty straightforward. Just buy when the green (greed) is in control and sell when the fear (red) is in control
This was a special request so let me know if you want to see more scripts from me or if you want something custom!
Fancy Bollinger Bands [BigBitsIO]This script is for a Bollinger Band type indicator with as many features as I can possibly fit into a Bollinger Band type indicator.
Features:
- A single custom moving average serving as the middle band.
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- MA Candle Type
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
- Toggle showing details on the screen
- Toggle the visibility of the fill between the upper and lower bands.
- Toggle to use ATR instead of the standard deviation to calculate the location of the upper and lower bands.
- Custom input for the ATR period.
A couple of quick notes. The label will only show up if toggled on, and will always show above the highest of either the candle high or upper band. The fill colors are based on the level of %B currently on the indicator. Higher levels are green, and brighter green, while lower levels are red and brighter red. The fill is lighter in shadow areas to reflect their status as not being included in the middle band calculation.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Multi Timeframe ATRDisplays the ATR for the hourly, daily, weekly and monthly together in the Data window. Doesn't matter what timeframe you're looking at on the chart.
Note: You need to manually turn off the plot lines as they appear by default.
Dazzling BoltsThis is three moving average based strategy focused on trend-following. Targets and stops are set based on ATR. Following image pictures the strategy with all mas plotted:
Buying conditions are:
►A smoothened moving average (red) is above the exponential moving average (yellow)
►An exponential moving average is above simple moving average (black)
►Low five candles ago was still above the exponential moving average
►Low two candles ago reached below the exponential moving average
►Close of the previous candle was above the exponential moving average
►Ema force is disabled or exponential moving average set candles ago (orange) is still above simple moving average now.
If these conditions are met, Dazzling Bolts will always give you a signal. However, it holds only one position at a time and it will not buy again until it is closed or exited.
There are two ways exiting may happen. Smoothened moving average crosses below simple moving average or it reaches value based on your settings of average true range and its multiplier.
Settings 10/76/200/true/50/true/true/5/5 shows perfect results on EURUSD 15m chart but it does not guarantee the results. It is only 62 trades which is barely a useful statistical source. It is also highly optimized which means its settings filters out bad trades that may be bad only because of randomnation rather than set market behaviour. You need to test it on 200 trades + before using.
Average True Range BandsAverage True Range Bands
The 30-day Average True Range is useful in Futures and Forex trading for placing stop orders for entry.
In the example above, a trader may want to initiate a Short position on a break below the support trendline.
A good place to enter this trade would be a price break below the support trendline minus 50 to 100% of the current ATR value.
ATR Bands provides a useful visual overlay of the current ATR value above and below the current price to speed up order entry decisions.
AverageTrueRangeConvergenceDivergenceV1sloth288Simple indicator with the thought of merging MACD and ATR. The idea has come from trying to find a way to define sideways markets. Whipped this up quickly to explore the idea.
Feel free to throw in suggestions or even mention other open source indicators that define sideways markets well.
Simple instructions
If histogram green, breakouts/trade zone.
If histogram red, sideways/keep out.
Show ATR and 1st hour high+low1. Shows TR at daily bars
2. Shows ATR lines intraday: 100% and 75% (customizable)
3. Shows hint with ATR for current day and percent passed
4. Show high and low of the 1st hour
Twin Range FilterAn experiment to combine two range filters and plot the average of both to smooth out the signals.
This works significantly better than the typical ATR set-up, but there's still too much noise here to set and forget with bots. Use it as the basis of your own system with additional filtering on top.
Random Walk Index 1337A modification of the original Random Walk Index (RWI) script by everget, this one updates to version 4 and adds a threshold value and colouring.
If both high and low are below the default threshold of 1.0 the line chart will be coloured in grey.
Adjusting the length and threshold should allow you to see flat and choppy periods.
Bollinger Band SqueezeThe Bollinger Band Squeeze is calculated according to the ATR. With the default settings. If the BB width is smaller than the ATR * 2 the background is painted green. If the BB width is larger than the ATR * 5 the background is painted red
ATR Percentage of PriceThis indicator takes the standard ATR and expresses it as a percentage of the OHLC4 price. This has the advantage of normalising the ATR value across the history of an asset. For example, an ATR of value 20 when the price is 2000 actually has a very different meaning when the price rises to 4000. The ATR may be the same value but actually the volatility it represents has halved.
I also add an SMA to the value and a histogram which shows the difference between the two. Positive values mean that volatility is expanding while negative values mean volatility is contracting.
SPX ATR14 indicator This indicator works well on SPX 500
Needs to be inverted so Red is at the bottom
Levels of pullbacks are used to determine trend .
Pullback to the Green zone normal Bull Market
Pullback to the Brown Zone are warning of potential Bear Market , but if it holds , just a deeper correction within a Bull Market
Pullbacks into the Red , Bear Market .
In Bear , wait until indicator is forming a reversal trend up and price should make a divergence by either making a new low or retesting previous low.
The Blue MA is the 33 MA and can be used as a form of stop trend indicator on the cross below the MA
KeltnerModified + DonchianColoredKeltner Channel + color coded candles when making new Donchian highs/lows
Supertrend MTF Heikin AshiThis is non-repaiting Supertrend Multi Time Frame script, uses Heikin Ashi Candles as source on normal chart
There is an option for Higher Time Frame. if you choose "Auto" then Higher Time Frame calculation is made by the script. If you choose "User Defined" option and then you can select Time Frame.
You better use this script with other indicators such as RSI, Momentum etc.
Enjoy!