Reversal finderThis script is used to visually highlight candles which may signal a reversal following a false break of a support or resistance level.
Inputs are:
Lookback period: look for the highest high and the lowest low of the prior x bars.
SMA length: used for a simple moving average of the range (high minus low) of the prior x bars.
Range multiple: used to filter out signals for any bars with a range smaller than the average range of the preceding bars (determined by SMA length above) e.g. a range multiple of 2 will only show signals for bars with a range twice of that of the average range of the preceding bars.
Range threshold: used to filter signals for bars both the open and close of the bar are at the extreme end of the bar e.g. a threshold setting of 33% will only show buy signals for bars which open and close within the upper 1/3rd of the bar’s high/low range (vice versa for sell signals). This helps highlight, for example, bars with a high which exceeds resistance in a current range but which close back inside the range.
Highlight signal bars?: This will highlight bars with a buy signal in green, sell signal bars in red, and all other bars in grey. The script was designed for use with a dark background, so you will need to play around with the bar colours in the style settings to suit your preferences.
Settings used in the example chart are not the default – they are lookback: 5, SMA length: 20, range multiple: 1.2, range threshold: 33%.
Enjoy!
Range
$0 Monthly Weekly & Daily OHLC Viewer
Visualizer of current or previous month(s), week(s) & days ranges
Purpose: View last Monthly, Weekly, Daily, and/or a custom time interval OHLC, i.e. previously closed/confirmed or the ongoing higher time interval ranges
Main configurations available:
- 2 main reporting modes: View the current/ongoing M/W/D candles' OHLC (live, repaints) or report OHLC of last closed ones, i.e. previous Montly, Weekly and/or Daily
- View only latest Monthly, Weekly and/or Daily OHLC (lines) or all past ones (~channel)
- Set your own time interval for its price range(s) to be reported, e.g. last quarter '3M', 12H '720', or hide it
- View one specific day of the week OHLC reported all over the week
Graphic/visual configuration:
- Show the High & Low levels or not
- Show the Open & close levels or not
- Display a background color between top & down or lines only
- Change the background color depending if is/was rising or falling price
- Highlight the top & down breaches of higher timeframe resolution candles: Daily breaching last Weekly range, and/or the Weekly the Monthly one
- Colors & styling can be edited from the indicator's styling configuration panel
Depending on its expected usage, those configurations enable to:
- Consider previously closed candles OLHC as reference top & down ranges (support & resistance, breaches)
- Review chart's current candles evolution within their higher time interval / candle (M/W/D)
- Consider specific week days' range as a reference for the week trend
- Have a general overview of the market evolution trends
Default config is to view current candles evolving within their higher time interval / candle, while reporting last previously closed M+W is a preferred usage. Play with the config settings to find your setup.
View ongoing M+W+D OHLC with dynamic background color:
View previously closed M+W+D OHLC:
View closed H&L for M+W+D, latest only:
View Mondays' OHLC:
Feedback & support welcome.
How to Overlay First LTF Bar of DayExample how to overlay the first lower timeframe bar of the day across the entire day. Set chart to a timeframe that is lower than 1 Day period. Also included option for coloring wick pressure of that bar.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Sideways Money - Bitcoin BeatsHello, Hello, Hello,
And welcome back to Bitcoin Beats.
This is another version of my previous script, "Range Indicator - Bitcoin Beats".
Designed initially for breakouts but shows adaptive ranges and consolidation in XBTUSD(Haven't tested other assets but should do the same thing).
If we are consolidating (which is most of the time) a good strategy to trade would be to trade ranges. However, as soon as you spot the range it can feel like the range has changed so you lose out on making the monies.
This indicator plots out the average range in a consolidation.
It also shows you when the range has broken in a direction that it previously hasn't broken in. This essentially signifies the the trend changing and gives warning that trading the range may no longer be valid.
There are a few ways to trade this indicator and I will explain 2 of them here.
PLEASE TRADE AT YOUR OWN RISK. YOUR FUNDS ARE YOUR RESPONSIBILITY.
IF YOU TRADE WITH THESE STRATEGIES, YOU ARE TO BLAME FOR YOUR OWN LOSSES.
BY USING THIS INDICATOR YOU AGREE THAT I WILL NOT BE HELD LIABLE IN THE CASE OF YOU LOSING FUNDS.
Strategy 1:
- Have 2 bitmex accounts open.
- Use on the 30m, 1h, 3h or 12h.
- Long AND Short on both accounts when we hit the middle area. This is called the "Reload Zone".
- When we hit the edge of each side of the plotted range, close the positions in profit.
- You will then have 1 trade underwater.
- If the range is solid, the price will move back to the Reload Zone in which you reload you position that you took profit with.
- You then have both a Long AND Short open after 1 profitable trade.
- Rinse and repeat until you get the "STRATEGY CAUTION" message signifying that the range will most likely break soon.
Strategy 2(least profitable):
- When the "STRATEGY CAUTION" Message appears, you can long or short depending on which side it breaks toward.
- If we break down, short.
- If we break up, Long.
I wouldn't advise this second strategy if you are a beginner as the results are inconclusive and it's more of a hybrid trading strategy, meaning you have to know how to trade with price action flowing.
Usually if it is appearing volatile, you can go to a higher time frame and find the exact range it's catering to, adjusting your strategy accordingly.
See you soon,
Goodbye, from Bitcoin Beats.
BERLIN Renegade - Baseline & RangeThis is the baseline and range candles part of a larger algorithm called the "BERLIN Renegade". It is based on the NNFX way of trading, with some modifications.
The baseline is used for price crossover signals, and consists of the LSMA. When price is below the baseline, the background turns red, and when it is above the baseline, the background turns green.
It also includes a modified version of the Range Identifier by LazyBear. This version calculates the same, but draws differently. It remove the baseline signal color if the Range Identifier signals there is a possible trading range forming.
The main way of identifying ranges is using the BERLIN Range Index. A panel version of this indicator is included in another part of the algorithm, but the bar color version is included here, to make the ranges even more visible and easier to avoid.
BERLIN Range Index | Panel versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the panel version of the indicator. It plots the index and min/max values, as well as background colors to tell you when it thinks the market is ranging or trending.
Yellow = Trending
Transparent gray = Ranging
BERLIN Range Index | Bar color versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the bar color version of the indicator. It changes the color of the bars when it it thinks the market is ranging and when it thinks it is trending.
Yellow = Trending
Transparent gray = Ranging
ORB-5Min with Pre Market DataORB 5 Min With Pre Market Data
Opening Range 5 Minute Chart
- set chart to 5m
- enable pre market data (if using with tradingview, if not use my other script)
- add your other indicators you like
How To Set Backtest Time Ranges
Example how to set the time range window to be backtested for both entries and exits. Additional examples are also included showing how to set the date range and toggle plot visibility.
By incorporating this code with your own strategy's logic, it will allow you to backtest various time windows.
Much gratitude to @LucF and @a.tesla2018 for help with including ':1234567' for time ranges on weekends. Thank you both!
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Range Indicator - Bitcoin BeatsHello, Hello, Hello,
And welcome back to Bitcoin Beats.
Today I'm going to show you my Ranges Indicator. Designed initially for breakouts but an analysts mind quickly spots the other uses for this indicator.
If we are consolidating (which is most of the time) a good strategy to trade would be to trade ranges. However, as soon as you spot the range it can feel like the range has changed so you lose out on making the monies.
This indicator plots out the average range in a consolidation allowing you to take action and make those monies.
I've highlighted a profitable strategy in the picture that means you can make money on bitcoin when it goes sideways.
Usually if it is appearing volatile, you can go to a higher time frame and find the exact range it's catering to, adjusting your strategy accordingly.
The strategy I've highlighted in accordance with this indicator is longing AND shorting from the center point of a range and cashing out either side until the range breaks.
If you'd like a trial, please leave a comment and I'll add you to the list :)
See you soon,
Goodbye, from Bitcoin Beats.
Range Box + VMA cloudsHere's a mix of two indicators that I find particularly useful.
One is a Range Box showing High and Low of the day plus 50% range, as well as high and low of the previous day. The Box changes color based on whether it closed higher or lower than the previous session.
The second one plots Variable Moving Average clouds - short and long term one.
The rules are pretty simple - take long trades only if the box is green, short trades if it's red.
Candle close above both clouds - long signal. If the price is being rejected from the long term cloud - buy the dip (or rally).
Pretty straightforward.
Enjoy
Credit for VMA: LazyBear
Credit for High Low DayBox: ahoudori
Decision_Pointclassic decision point for intraday
CDH- current day high(not fixed range)
CDL- current day low (not fixed range)
CDO- current day open(fixed range)
PDH- previous day high(fixed range)
PDL- previous day low(fixed range)
PDC- previous day close(fixed range)
above all are decision points where market reaction takes place..
make your own strategy for intraday using DP...
2 Bar %Hey guys !
Since I was bored, figured I would make something more related to crypto.
Original idea of it was from .vfisenko. ( )
Basically this is a % Change in the last 2 bars. Also there is a criteria lines for the % over or under.
Extension of High, Low and InbetweenThis script plots an extension my other script High, Low, Inbetween.
It sometimes makes it difficult to view the candles effectively so I've added this separately to my other script
It calculates the range between high/low and midpoint.
It then plots these lines as extensions from the high and low.
This is done twice.
High, Low and MidpointThis indicator plots the daily high and low from the previous day. (BLACK)
It then calculates the midpoint of the high and low and plots this. (RED)
This indicator can be used to identify daily ranges and to identify possible support and resistance levels.
Trading Range Indicator - TRISimple script made to identify trading ranges in any timeframe
The oscillator bounces between 1 and 0. 1 means that the current asset is in a trading range and 0 meaning it is not.
The determination of a trading range is determined by the following:
ATR(14)40 and RSI<60
ADX<25
Due to all 3 having to be fulfilled in order for the oscillator to show there is a trading range, this causes a problem where 2 of the conditions are fulfilled and therefore still shows 0 on the oscillator, however, the asset could very well be in a trading range.
So what in the world do you use this for if there is such a significant margin of error?
Since all 3 conditions need to be fulfilled in order for it to be considered a trading range, this gives a very strong indicator of said trading ranges. So if a person is looking at individual stock tickers or the SPY index ticker, then when the oscillator reads a 1, it could be ideal to open an Iron Condor on said ticker. This means that this indicator is not well suiting for traditional long and short stock positions, but rather it is made for options traders who by using an Iron Condor can make money of a range-bound market.
Normailzed CandleThis indicator normalizes Day's candle with Open. Idea is to see the daily movement in the context of the Open of the Day.
Larry Williams talks about Open being the most important price of the day. Hence, this indicator.
The Green line is average Open-to-High for occurrences of Red days. The Red line is average Open-to-Low for occurrences of Green days.
Average are not perfect calculations since occurrences(of Red or Green) will vary within the time-span used for averages.
These can used to gauge likelihood of the intra-day price reversal. If the price exceeds green/red line, there is higher likelihood of the price closing above/below open.
The blue lines are average Open-to-close for Green and Red occurrences.
Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
The precursor to this script of the Candle Infopanel script. That script was just numbers in panel and this is a graphical representation. I
Some of the calculations from original script are commented here because it would make visuals clutters (and probably the left-out calculation are not critical to making trade decisions!)
(15) Trade Risk Reduction VS-132TRR calculates the volatility of your stock. This is just the magnitude of each days price fluctuations, or what technicians refer to as the True Range. TRR averages the True Range (ATR) over three different time periods.
Why three? You want a sensitive indicator that reflect both the long term historical volatility of the equity as well as what that volatility is right now. Obviously the most recent trading days are the most important. The three ATR periods and their weighting factors are:
1) We use a 251 day period which equates to 1 trading year because we want to know what the historical volatility is. This one year period is not weighted.
2) We utilize a 21 day period because the most recent weeks tells us what the stock volatility has been over the previous calendar month. This is weighted by a factor of 2.
3) Finally, we utilize the last weeks data, Last 5 days, (L5D) to provide us with the stocks movement in the most recent trading days. This is weighted by a factor of 4.
The total of ATR251*(1) + ATR21*(2) + ATR5*(4) is then divided by the total of all factors (7).
This results in the Weighted Average True Range that the Trade Risk Reduction utilizes to produce the dynamic bands on your charts as well as power the Risk and Stop loss calculators. These indicate where this indicator is currently recommending you place stops. In the Format options of the application you are provided with the ability to adjust these band. Keep in mind that each stock will act in it's own unique and characteristic way. Looking closely at the stock's historical data, both in longer and shorter time periods should provide you with some insight into the normal variations and fluctuations of this particular equity. Below EBAY provides an example of this.
Access this Genie indicator for your Tradingview account, through our web site. (Links Below) This will provide you with additional educational information and reference articles, videos, input and setting options and trading strategies this indicator excels in.
ACTION Locator v2.0The indicator is based on making the standard deviation (where the mean is a moving average) a two-lines cross indicator, by applying an MA over it. When the standard deviation is above the MA, there is considered to be enough volatility in the market for trends to form.
Blue background = There is ACTION in the market -- signals it should be safe to trade
Gray background = No ACTION - DO NOT TRADE!
SuPeR-RePaNoCHa #2TP#This is the last of the 'RePaNoCHa' script for Automatic Trading ;-) ... This time with two take profits ...
It Use 6 indicators + volume:
-JURIK MOVING AVERAGE
-RANGE FILTER
-ADX
-PARABOLIC SAR
-RSI + VOLUME WEIGHTED
-MACD
-VOLUME
To close the position you can choose between 2 Take Profit and the amount to use on each one.
You can transform it yourself into 'study' mode to get alerts.
Take Profits can be generated from the same entry, (syntax example on the script) so the fees will be lower (0.04 + 0.02 / 2 = 0.03).
Settings for BINANCE FUTURES BTC:USDT
Enjoy...
Maximum True RamgePlots the the highest true range for the entire dataset.
Beneficial for determine an emergency stopp loss.
AEONDRIFT {Expected Ranges}Expected Ranges base on AEONDRIFT implementation of Standard Deviation bands.
Note: In no way is this intended as a financial/investment/trading advice. You are responsible for your own investment/trade decisions.
Please PM me for access information.
Developing Range v1.0Developing Range v1.0
----------------------------
Azimuth Dynamics
Scalping tool for help finding potentially high probability reactive levels. I suggest using on a 5min chart.
GRAY BAND: yesterday's High-Low range
BLUE BAND: today's Developing Range. Mean of today's High-Low range so far and yesterday's High-Low range, this is calculated for each of today's bars
THIN BLUE LINE: the mean of today's range median and yesterday's range median.
Note: we do not use the DAILY bar via 'security()' to obtain today's high and low. This would essentially be forward looking, instead we use iteration to check from the current bar back to midnight, bar by bar. This then allows a developing range to be established as the day prints new highs and lows.
Inspired by volatility trading textbook.