30 Second Futures Session Open RangeThis indicator displays 30 second opening ranges from Globex, Europe, and RTH sessions.
From the RTH session range, it also displays infinitely generating Price Targets based on a % of the opening range size.
I am retrieving the 30 second data using the new "request.security_lower_tf()" function.
The importance of these levels is based on the idea that when the market opens, algorithms establish their positions within the first 30 seconds.
These areas can also be seen as potential areas of support and resistance throughout the sessions.
Enjoy!
Cerca negli script per "range"
True Range Adjusted Exponential Moving Average [CC]The True Range Adjusted Exponential Moving Average was created by Vitali Apirine (Stocks and Commodities Jan 2023 pgs 22-27) and this is the latest indicator in his EMA variation series. He has been tweaking the traditional EMA formula using various methods and this indicator of course uses the True Range indicator. The way that this indicator works is that it uses a stochastic of the True Range vs its highest and lowest values over a fixed length to create a multiple which increases as the True Range rises to its highest level and decreases as the True Range falls. This in turn will adjust the Ema to rise or fall depending on the underlying True Range. As with all of my indicators, I have color coded it to turn green when it detects a buy signal or turn red when it detects a sell signal. Darker colors mean it is a very strong signal and let me know if you find any settings that work well overall vs the default settings.
Let me know if you would like me to publish any other scripts that you recommend!
Confined Range Candle FinderThis indicator finds candlesticks which are confined within the range of a previous candlestick. This indicates volatility contraction which often leads to volatility expansion, i.e. large price movements.
While every confined range will contain at least 1 inside bar, this indicator differs from the Inside Bar Finder which only finds consecutive inside bars.
This indicator includes options such as:
- The minimum number of candlesticks confined within the range of a previous candlestick to trigger the indicator
- Labels to indicate the number of confined candles
- Signal lines to indicate the high and low of the containing candlestick
Try out this indicator with different options on different timeframes to see if confined ranges increase the probability of identifying the direction of price movements. Breaks or closes outside signal lines can be used to trigger trade signals.
TNTThis script just changes the background of the chart to show Trending(Green) / Range Bound(Red) Regions.
The concept is very simple, al each candle we look at the size of the candle and use a moving average of these candle body size (ABS (close-open)) and compare it agains a double smoothened average, i.e. moving average of this average to find trending or not trending periods.
I find it useful primarily for entry in options, a green background is more favourable for option buying and a red background is more favourable for option selling.
This script tells you nothing about the direction of trade.
ka66: Candle Range IndicatorVisually shows the Body Range (open to close) and Candle Range (high to low).
Semi-transparent overlapping area is the full Candle Range, and fully-opaque smaller area is the Body Range. For aesthetics and visual consistency, Candle Range follows the direction of the Body Range, even though technically it's always positive (high - low).
The different plots for each range type also means the UI will allow deselecting one or the other as needed. For example, some strategies may care only about the Body Range, rather than the entire Candle Range, so the latter can be hidden to reduce noise.
Threshold horizontal lines are plotted, so the trader can modify these high and low levels as needed through the user interface. These need to be configured to match the instrument's price range levels for the timeframe. The defaults are pretty arbitrary for +/- 0.0080 (80 pips in a 4-decimal place forex pair). Where a range reaches or exceeds a threshold, it's visually marked as well with a shape at the Body or Candle peak, to assist with quicker visual potential setup scanning, for example, to anticipate a following reversal or continuation.
Normalised Dynamic RangeNormalised Dynamic Range is an indicator that identifies when an asset is going to trend. It uses the concept of Dynamic Range.
The indicator takes 3 look back periods (Default: 45, 30, 15) and calculates the dynamic range as follows:
Dynamic Range (DR) = Maximum(Close, Look back Period) / Minimum (Close, Look back Period)
This gives the Dynamic Range for a given look back period. Similarly 3 different DRs are calculated for 3 look back periods (Long, Mid and Short). These DRs are averaged to get Average Dynamic Range (ADR)
ADR = (Long DR + Mid DR + Short DR) / 3
Since, the short look back candles are also considered in the Mid and Long look backs, the average is weighted more towards the closer candles.
This ADR, is now normalised over a relative look back period (Default: 10) to generate Normalised Dynamic Range (NDR). The formula for normalising is as follows:
Normalised Dynamic Range (NDR) = ((Current ADR - Minimum(ADR, relative look back) / (Maximum(ADR, relative look back) - Minimum(ADR, relative look back)) * 100
How To Read
When NDR is below 20, the asset is getting into range bound
When NDR is above 20, the asset is trending
Caution
NDR only signals if an asset is trending or not. It does not give the direction of the trend.
Stochastic ChannelsDonchain trend following system with overbought/ oversold areas inspired by stochastic. Multiplier to get non repainting HTF capability. features a smoothed price as well as moving average of the smoothed price, also inspired by the stochastic indicators %K and %D. This and slow stochastics compliment each other nicely.
%D line colored by direction.
Filled color areas represent overbought/oversold.
Shows breakouts as well as giving targets and entries in rangebound markets.
Fear Of Missing Out grid of forex tradingAbstract
This script finds potential safe grids placing limit orders without fear of missing out.
This script computes grids according to power of 1.0025 .
You can reference those price levels for your trading.
Introduction
Grid trading is a popular trading method.
Traders plan several price levels as grids and repeat buying at lower grids and selling at higher grids.
Grids can be round number like multiple of 100 pips.
Grids can also be support and resistance according to price history.
Some traders may think they need to adjust grids to trade.
However, there are several problems in choosing grids.
One problem is rate of change is related and therefore exponential. 20 to 30 is different from 30 to 40.
Another interesting point is there are some special impressing reversal price levels.
Several months ago, I had a question why usdjpy bounced near 108.3 .
After using a calculator, I found that 108.3 = 100 * 1.083 ≒ 100 * pow(1.0025,31) .
1.0025 , as known as 0.25% of change, is a potential stop out zone.
Therefore, we can compute grids and one grid is a little more than 1.0025 times than an another one.
After we finished computing grids, we can consider buy and sell near those grids.
Note that different traders may obtain different grid values.
For example, from 1.0 to 2.0 , it can be splited as 270 grids or 277 grids because pow(1.0025,277)<2 .
Those grids cannot always imply potential reversal points but they can be useful for traders looking for 0.25% profit targets with reducing fearing of buying or selling too early.
Computing grids
This script split from 1.0 to 10.0 into three segments.
One is 1.0 to 2.0 .
The second segment is from 2.0 to 5.0 .
The third segment is from 5.0 to 10.0 .
This script does the same thing for 0.1 to 1.0 , 10.0 to 100.0 , and so on.
For 1.0 to 2.0 and 5.0 to 10.0 , this script split a segment as 270 grids.
For 2.0 to 5.0 , this script split a segment as 360 grids.
The last step is display the next grids to the daily low and daily high.
Maybe also display the grids behind grids shown.
Parameters
x1,x2,x3,x4 : display the next x1,x2,x3,x4 grids to daily high and daily low. 1 means the next grid to daily high and daily low. 2 means the next grid to 1.
x_seg : default 2.0 . This script split from 1.0 to 10.0 into three segments. One is 1.0 to x_seg. The second segment is from x_seg to 10.0/x_seg . The third segment is from 10.0/x_seg to 10.0 .
x_grid1 : how many grids in the first segment
x_grid2 : how many grids in the second segment
x_lowprice : add this number for bigger grid distance. Generally, you don't need this number when trading forex but you may need it in stock trading. For stocks with price between 50 to 100, I recommend you use x_lowprice=100.
Conclusion and suggestions
This script can find potential grids for trading.
If price touches grids usually, we can consider buy and sell after price touches grids.
If price reverses before touching grids usually, we may consider buy and sell before price touches grids.
Those grids can remind us don't buy too much unless the price touches the next grid.
For instruments with less volatility, maybe we need more grids.
For traders with more money, they may also consider more grids for more dedicated range trading to collect more profit.
Reference
Sorry, I forgot them.
vol_rangesThis script shows three measures of volatility:
historical (hv): realized volatility of the recent past
median (mv): a long run average of realized volatility
implied (iv): a user-defined volatility
Historical and median volatility are based on the EWMA, rather than standard deviation, method of calculating volatility. Since Tradingview's built in ema function uses a window, the "window" parameter determines how much historical data is used to calculate these volatility measures. E.g. 30 on a daily chart means the previous 30 days.
The plots above and below historical candles show past projections based on these measures. The "periods to expiration" dictates how far the projection extends. At 30 periods to expiration (default), the plot will indicate the one standard deviation range from 30 periods ago. This is calculated by multiplying the volatility measure by the square root of time. For example, if the historical volatility (hv) was 20% and the window is 30, then the plot is drawn over: close * 1.2 * sqrt(30/252).
At the most recent candle, this same calculation is simply drawn as a line projecting into the future.
This script is intended to be used with a particular options contract in mind. For example, if the option expires in 15 days and has an implied volatility of 25%, choose 15 for the window and 25 for the implied volatility options. The ranges drawn will reflect the two standard deviation range both in the future (lines) and at any point in the past (plots) for HV (blue), MV (red), and IV (grey).
RedK_9/30 Trader_v1: aka The MusicianThis is my implementation of a simple trading system inspired by the 9/30 trading strategy, which i came across few years ago. i hope some traders are still using it :)
(please google "9/30 trading strategy" if you're not sure what it is)
- the improvements i added focus on: faster (long/short) signals, discovery of best entry "zone", ride the trend
- no exit option, trader can use a pre-set target, a trailing stop, or any other mechanisms
- i tried to explain some of the definitions and rules on the below chart
- in spite if its simplicity, the 9/30 has a lot to offer - different traders will also use it differently and add their own "do's and don't's"
default settings should be adjusted to suit timeframe, type of trader and what is being traded (Stocks, FOREX,..etc) - the concept itself is very flexible and well-tested for mechanical trading.
code-named "The Musician" due to the 5-line plot :)
i will continue to improve this work whenever i find time - i liked it a lot.. (please tag the idea to receive the updates)
Extras and improvements (compared to the classic 9/30 concept)
---------------------------------------------------------------------------------
* signal line is a smoothed zero-lag WMA of a shorter length (responds faster to trend change = faster signal)
* instead of a single longer MA line, we utilize an "average range" -based channel (not ATR, but provides the same concept) to provide the ideal "entry zones" in both directions - an adjustable multiplier is included in the settings to adjust the channel width
* adds an optional long EMA as additional filter (take longs only above, take shorts only below)
* clearer visualization
What's next:
==============
* clean-up code
* add signals (arrow-up & arrow-dn) for entry and for exit
* tri-color signal line (green on long, red on short, gray on no trade)
* other options for the channel (ATR-based, DC center-line..etc)
* other MA-type options for the Filter MA (SMA, WMA ?)
* maybe: convert to strategy and back-test
Please feel free to explore and test - Comments and feedback are welcome.
Good Luck!
PnD [Intromoto]This scripts forms a range based on time, then looks for the levels of premium (the difference between spot and perpetual price) and plots a signal depending on breakout or breakout.
The indicator only works properly on Binance perpetual futures charts. If you're not on a Binance perp chart, the metrics will default to a Biannce:BTCUSDT vs Binance:BTCUSDTPERP premium comparison.
This indicator automatically calls the appropriate spot vs future comparison. i.e if you're on the Binance:MATICUSDTPERP chart it knows to check the Binance:MATICUSDT chart for contrast.
"Super Pumps" are range breakouts with extreme levels of backwardation - set in user inputs
"Pumps" are range breakouts with less extreme backwardation - no user input
"Push" occurs where there are irregularities in the premium vs price sequence, indicating a potential bottom
"Pull" occurs where there are irregularities in the premium vs price sequence, indicating a potential top
"Dumps" are range breakdowns with extreme levels of premium - set in user inputs by %, indicating a potential top
Users can set the base range period, i.e the duration (length) of the range, as well as the range height, established by the first candle of the new range.
User inputs a resolution of candle close required to trigger the signal. i.e "15" would mean price needs to close a 15 minute candle outside of the established range for the signal to appear.
Example: Base period 240, Range Period 15. This would create an invisible range every 4 hours from its first fifteen minute candle. Any price closing (based on resolution in the inputs) would alert a breakout or breakdown.
DM for access.
Thanks
Predictive Period Risk RangeThis script produces a band range that uses a stochastic volatility process to come up with maximum and minimum price ranges over the specified period (using the length variable).
The sample used to predict volatility can be modified using the VolLength parameter, and the extremes can be modified using the VolInflator parameter.
For example, a VolLength of 30 uses the prior thirty days to predict volatility , but that volatility prediction is then adjusted to the period of Length and still only applied to that range
Please PM me for a free trial and for pricing
Consolidation ZonesConsolidation is the term for a stock or security that is neither continuing nor reversing a larger price trend. Consolidated stocks typically trade within limited price ranges and offer relatively few trading opportunities until another pattern emerges .Identifying consolidating stocks involves looking for those that have steady support and resistance levels, trade in a narrow range, and have low trading volumes.Trading on narrowly consolidated stocks can happen but there is often less room for profit due to the small range.Once a consolidation zones appears , keep an eye out for any possible breakouts above or below the upper and lower trading range bounds. These breakouts can be accompanied by large increases in volume and lead to large gains or losses in a short period of time, especially if the stock has been in consolidation for a longer stretch of time.
cATRpillerThis indicator is used to identify range breakouts using an ATR multiplier. My first script, Im sure there are indies out there like this, but this my favorite way to identify breakouts and trends.
Complete Pivot RangesI forgot what book I read this from. But basically a successful trader would create a range using the open/high/low/close of the previous day, and the high/low of the previous day.
I created the indicator from the book, but also added a few other pivots to it. You can hide the ones you don't need in settings.
He also mentioned that the resistance of this area is a lot like a samurai and armour, and that if price falls through the pivot, it will fall faster. Just like a sword that penetrates armour will go straight through your body.
Green = half day pivot. :: I've noticed price can be rejected from these areas against the trend during the day
Blue = daily pivot. :: My favourite. You can see how the trend is going by checking how it steps. There is good value in putting orders on in this range, especially when price is touching a 50 ema on the 15 min chart.
Red = 5 day rolling pivot :: collects the open/high/low/close of the last 5 days and makes a daily range with them. Best used with 50ema on the hour chart. The book used a 3 day rolling pivot but I find this more useful.
Yellow = 5 week rolling pivot :: like the red rolling pivot above but using the last 5 weeks. Best on 4 hour chart.
As with all indicators see if it can give you value and if it's right for your trading.
Cheers
LTP - Buddy Carter Expected Range
Expected Price Ranges based on Buddy Carter:
"Many years ago after reading a Paul Tudor Jones Risk Manual -- I created an "expected range" calculation to suit my circumstances -- it worked exceptionally well -- the simple equation is:
[ ]"
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!
LOSS2PROFIT_MARKET_ZONE//Version4
Best For Range Trader...
Combination of decision Point and Pivot Point And CPR...
Market Zone consist of
TMZ = Top Market Zone
CMZ = Center Market Zone
BMZ = Bottom MArket Zone
You can choose option of daily /weekly/monthly/yearly...
Historical data Control...
Easy Way to Analyse Market Zone to apply breakout and pullback entry..
Easy to capture Trending and Non-Trending Market..
MARKET_ZONEFor Intraday Trader... Classical Decision_point and CPR Combination...
Market Zone
TMZ = Top market zone
CMZ = center market zone
BMZ = Bottom Market zone
TMZ consist of pdh and r1
CMZ consist of pc and cpr
BMZ consist of pl and s1
useful for determination of trending market and range market...
Filthy REPAINTING of McNasty Profits*** THIS SCRIPT REPAINTS ***
Looking at the history will go you NO IDEA as to actual performance, or alerts that triggered within each bar. I made all of the alerts repaint in order to allow an alert each minute a condition is met, and never again after.
For instance; receive an alert each time the price is within a particular plotted area on the chart (as defined by settings). This could not be accomplished without repainting.
In order to receive a notification of the price crossing a particular line, YOU NEED TO SET ALERTS TO "ONCE PER MINUTE."
This way, if you use an alert to enter a position and then get stopped out, you can re-enter on the next alert if the price moves in the original direction again within the same bar.
Also, I made this script so that each entry has an available Stop Loss alert that will get you out of a position going in the wrong direction (and option to enter in opposite direction). You set the parameters within the settings.
Although each position has a tight Stop Loss available via Alert, I also recommend using a similar tight Stop Loss directly on your exchange in case an error occurs anywhere within the chain.
This script HAS A LOT OF OPTIONS for how you can use it, from very conservative to extremely aggressive. There are NINE customizable alerts for the user to decide how/when to use, or ignore entirely.
When the Alerts are set to "ONCE PER MINUTE" you will get an alert each time the price crosses the corresponding area on the chart, but the characters only remain on the charts history if the alert was still firing (Once Per Minute) when the bar closed. This is why the Alerts on the chart's history are completely irrelevant.
As you can imagine, this is a LOT OF ALERTS. Consequently, this is meant for use with "bot trading" using the Alerts to automatically Open and Close positions.
I am using it with 3Commas to make trades on Bybit.
At the time of publishing, this is "Invite Only." I need to test it out over a range of time, conditions, chart time frames, pairs, etc... before opening it to the public.
Dynamic Range NVT SignalABOUT DYNAMIC RANGE NVT SIGNAL
NVT Signal (Credit: Willy Woo and Dmitry Kalichkin) is akin to a "PE" ratio for Bitcoin , and can be used to identify when Bitcoin is overbought or oversold based on the relative value of transactions sent across the network.
This indicator includes a 2 year moving average and standard deviation to identify outlier values, instead of declaring a static high-low range for relative valuation.
THEORY
A dynamic "high-low" range was chosen for the following reasons:
- Bitcoin is only 10 years old, it is likely that relatively "high" and relatively "low" NVT values will change with time, as have PE ratios over the last century.
- Some transactions are now made off-chain (eg. Liquid Network's private side-chain which is used by many major exchanges). If this trend continues, we can expect "normal" NVT ranges to increase with time (as the relative portion of public on-chain transaction values decreases).
CALCULATION
- NVT = Circulating Market Cap / 90 average On-chain Transaction Value*
- Overbought (default): NVT > 2-year mean + 2*standard deviations. I.e. NVT Signal is in the top 2.5% of values for the prior 2 years.
- Oversold (default) NVT < 2-year mean - 0.5 * standard deviations.**
*Data source: Blockchain.info, estimated transaction value does not include returned to sender as change.
**Oversold under 2-year mean was chosen due to the skewness of NVT Signal, it is not normally distributed. For example: NVT Signal has never been less than the 2-year mean - 2* standard deviations. This may change in the future.
NOTES ON USAGE
- Use with care. Bitcoin can remain "overbought" or "oversold" for extended periods (eg. 2015-2016).
- As Bitcoin ages, the validity of NVT Signal will need to be monitored. Particularly with respect to potentially increasing use of side-chains, private transactions and potentially the lightning network.
- It is likely that a 2-year “look back period” for calculating mean and standard deviation will not be sufficient in the decades to come. As Bitcoin matures and stabilizes (some time in the future), a longer "look back period" should probably be used. To allow for this, the defaults for this indicator can be easily adjusted.
ATR ExhaustionThe ATR Exhaustion indicator for Tradingview will overlay the minimum and maximum price limits for a timeframe over your chart. It calculates the price limits be adding and subtracting the ATR level from the high and lows of the period you are interested in.
For example, you can see the daily upper and lower ATR levels whilst on a 15-minute chart. The upper and lower ranges will update as price moves.
Why would this be useful?
It the true price range on average does not move more than x pips/points, then the range boundaries might provide support/resistance levels as price approaches the levels. Additionally, you can use this tool to easily identify how volatile price action has been in comparison to previous periods.
Features
Easily see ATR Exhaustion areas in any timeframe
Period highs and lows are plotted and updated as price action unfolds
Color fills change when price moves beyond the ATR range for easy identification of periods of strong trends or volatility.
NIBIRU MATRIXThe Nibiru Matrix is an entry timing tool based on oscillators and trends. It's to provide an intuitive way of timing trades when price is at the resistance or on the support.
The Nibiru Matrix provides trade entry hints and information about the current market behavior (trending or ranging). If the market is trending, it also shows the trend strength and direction. It is a secondary indicator meaning it trade should be made on the support or resistance using Nibiru Matrix as a confluence indicator.
What it plots?
Slow, fast and stochastic oscillators
Bar coloring to warn about possible setups
Trending/ranging market indication
Current volatility
2 methods of trend confirmation based on 2 different algorithms
Indicator components:
Trend/range setup - provides information about current possible trade strategy. Following a RANGE indicator, Voodoo Matrix suggests that the safest way to trade will be between the local support and resistance shown by Voodoo Support and Resistance, and following a TREND indicator, it is likely that a trending strategy or taking profit on larger ranges is more profitable.
Fast trend indicator - providing color based information on direction of the short-term trend. This is the most reactive trend indication shown by Voodoo Matrix. This can even be used for counter-main-trend scalping.
Green - uptrend
Red - downtrend
Gray - indecision
Slow trend indicator - providing color based information on direction of the long-term trend. It is based on the behavior of a longer period EMAs.
Green - uptrend
Red - downtrend
Gray - indecision
Volatility histogram - information on current price strength. Best used in confluence with the short term trend indicator.
Fast oscillator - oscillator based on stochastic RSI, modified to provide better information on timing and price movement. It's fast moving which helps time the shorter-term moves.
Slow oscillator - oscillator based on stochastic RSI, modified to provide better information on timing and price movement. It's slow moving and provides useful information about the price direction and strength of the move.
Stochastic oscillator - simple stochastic oscillator. Best used with both Fast and Slow Oscillators to get best timing and price movement strength and direction.
Overbought zone - area of the chart where the modified stochastic oscillator suggests the market is currently overbought.
Oversold zone - area of the chart where the modified stochastic oscillator suggests the market is currently oversold.
Neutral zone - area of the chart where the modified stochastic oscillator suggests the market is currently neutral.
Timing confirmation hints - signaling confirmation of fast oscillator forming a buy/sell setup.
Fast oscillator buy/sell color hint s – bar coloring to bring a focus and attention to possible buy/sell signal forming on the fast oscillator.
Use the link below or PM me to gain access to the indicator.