Possible RSI [Loxx]Possible RSI is a normalized, variety second-pass normalized, Variety RSI with Dynamic Zones and optionl High-Pass IIR digital filtering of source price input. This indicator includes 7 types of RSI.
High-Pass Fitler (optional)
The Ehlers Highpass Filter is a technical analysis tool developed by John F. Ehlers. Based on aerospace analog filters, this filter aims at reducing noise from price data. Ehlers Highpass Filter eliminates wave components with periods longer than a certain value. This reduces lag and makes the oscialltor zero mean. This turns the RSI output into something more similar to Stochasitc RSI where it repsonds to price very quickly.
First Normalization Pass
RSI (Relative Strength Index) is already normalized. Hence, making a normalized RSI seems like a nonsense... if it was not for the "flattening" property of RSI. RSI tends to be flatter and flatter as we increase the calculating period--to the extent that it becomes unusable for levels trading if we increase calculating periods anywhere over the broadly recommended period 8 for RSI. In order to make that (calculating period) have less impact to significant levels usage of RSI trading style in this version a sort of a "raw stochastic" (min/max) normalization is applied.
Second-Pass Variety Normalization Pass
There are three options to choose from:
1. Gaussian (Fisher Transform), this is the default: The Fisher Transform is a function created by John F. Ehlers that converts prices into a Gaussian normal distribution. The normaliztion helps highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset. It also helps show the trend and isolate the price waves within a trend.
2. Softmax: The softmax function, also known as softargmax: or normalized exponential function, converts a vector of K real numbers into a probability distribution of K possible outcomes. It is a generalization of the logistic function to multiple dimensions, and used in multinomial logistic regression. The softmax function is often used as the last activation function of a neural network to normalize the output of a network to a probability distribution over predicted output classes, based on Luce's choice axiom.
3. Regular Normalization (devaitions about the mean): Converts a vector of K real numbers into a probability distribution of K possible outcomes without using log sigmoidal transformation as is done with Softmax. This is basically Softmax without the last step.
Dynamic Zones
As explained in "Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph .D., and David Stendahl"
Most indicators use a fixed zone for buy and sell signals. Here’ s a concept based on zones that are responsive to past levels of the indicator.
One approach to active investing employs the use of oscillators to exploit tradable market trends. This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading lev- els. However, these oscillator- driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system.
An indicator’s extreme levels can be quantified using statistical methods. These extreme levels are calculated for a certain period and serve as the buy and sell zones for a trading system. The repetition of this statistical process for every value of the indicator creates values that become the dynamic zones. The zones are calculated in such a way that the probability of the indicator value rising above, or falling below, the dynamic zones is equal to a given probability input set by the trader.
To better understand dynamic zones, let's first describe them mathematically and then explain their use. The dynamic zones definition:
Find V such that:
For dynamic zone buy: P{X <= V}=P1
For dynamic zone sell: P{X >= V}=P2
where P1 and P2 are the probabilities set by the trader, X is the value of the indicator for the selected period and V represents the value of the dynamic zone.
The probability input P1 and P2 can be adjusted by the trader to encompass as much or as little data as the trader would like. The smaller the probability, the fewer data values above and below the dynamic zones. This translates into a wider range between the buy and sell zones. If a 10% probability is used for P1 and P2, only those data values that make up the top 10% and bottom 10% for an indicator are used in the construction of the zones. Of the values, 80% will fall between the two extreme levels. Because dynamic zone levels are penetrated so infrequently, when this happens, traders know that the market has truly moved into overbought or oversold territory.
Calculating the Dynamic Zones
The algorithm for the dynamic zones is a series of steps. First, decide the value of the lookback period t. Next, decide the value of the probability Pbuy for buy zone and value of the probability Psell for the sell zone.
For i=1, to the last lookback period, build the distribution f(x) of the price during the lookback period i. Then find the value Vi1 such that the probability of the price less than or equal to Vi1 during the lookback period i is equal to Pbuy. Find the value Vi2 such that the probability of the price greater or equal to Vi2 during the lookback period i is equal to Psell. The sequence of Vi1 for all periods gives the buy zone. The sequence of Vi2 for all periods gives the sell zone.
In the algorithm description, we have: Build the distribution f(x) of the price during the lookback period i. The distribution here is empirical namely, how many times a given value of x appeared during the lookback period. The problem is to find such x that the probability of a price being greater or equal to x will be equal to a probability selected by the user. Probability is the area under the distribution curve. The task is to find such value of x that the area under the distribution curve to the right of x will be equal to the probability selected by the user. That x is the dynamic zone.
7 Types of RSI
See here to understand which RSI types are included:
Included:
Bar coloring
4 signal types
Alerts
Loxx's Expanded Source Types
Loxx's Variety RSI
Loxx's Dynamic Zones
Cari dalam skrip untuk "wave"
Mark StructureMark Structure is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
Building such structure is really complex task to do, that has a lot of obstacles and challenges. I'm doing my best to develop this indicator behaving in absolutely expectable and right way. Fill free to leave any comments or bug reports.
it supports:
- Marking all pivots with labels or join them continuously with trend lines.
- Marking minor and sub structured swings with labels or join them continuously with trend lines. Marking BOS or SMS BOS, which are mbos. Minor and substructure are structures inside swing structure and it can differ from the structure of lower timeframe
- Marking swings of swing structure with labels or join them continuously with trend lines. Marking BOS or SMS BOS of swing structure
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors of BOSs
Remarks:
- As I told you guys before, it has a lot of challenging cases. eg we have swing low and high on the same candle and in order to decide which pivot goes first I take lower time frame data to figure out what pivot is the first, but it happens that on lower time frame the same issue takes place, due to limitation of TradingView I can't go infinitely to lower timeframes to solve this issue, so I mark those cases with labels
- Another issue is very beginning of the trend its hard to detect swing structure there due to missing historical data. so skip a few waves in the very beginning
- Don't expect to have minor and sub structure in each swing waves, its totally fine when you don't have them at all
- Swing structure is the most significant structure and shows real price direction. Trend change is confirmed when for bull->bear the last HLbull LH>HH and HH-HL-HH are confirmed. You can change labelling for unconfirmed swing trend in the settings. By default its already done
Cumulative ATR Distance Oscillator// A Price/ATR oscillator with cumulative waves.
// Based on Cumulative Volume Delta, but using price movement alone.
// Public Domain
// By Jolly Wizard
Time Trades 1929The Time Trades script showing key timing elements for the period of 1927-1930, centered around the 1929 crash.
This script includes the following timing elements:
Medium Pivots is a rough 3 month cycle based on the inner planets. This script includes Medium Pivots from 1924-10-01 to 1930-09-30
Small Pivots is a monthly cycle based on the Moon. This script includes Small Pivots from 1926-10-01 to 1929-12-29
Gann Waves is a different monthly cycle based on the Moon. This script includes Gann Waves from 1926-10-01 to 1930-03-29
New lunar signs indicates when the moon enters Aquarius or Leo which tends to be important signs for trend changes. This script includes Aquarius and Leo lunar signs from 1929-04-03 to 1929-12-29
Unlike the Time Trades script for current dates, this script does NOT include:
Cheat Code purple or teal vertical lines
Moon void of course periods as we don't have access to intraday prices in the historical dataset
Lunar aspects as we don't have access to intraday prices in the historical dataset
This script is part of the Time Trades service.
Abraham Trend [Loxx]Indicator based on "Trading the Trend" article by Andrew Abraham published in TASC.
There has been a lot of "reincarnations" and renamed versions of this system, but since the indicator is quite good, it seemed useful to create the original version.
What is the Abraham Trend?
New traders quickly become familiar with two adages: "The trend is your friend," and "Let your profits run and cut your losses." Many of us, however, have learned the hard way that these things are easier said than done. Why is that? One reason is lack of recognition, since the trend itself is rarely clarified and defined, let alone where it starts and ends. So we need a clear explication of what a trend is as well as where its beginning and its end are.
SIMPLE ENOUGH
Simply, if the trend is considered up, then the trend of prices are composed of upwaves and the downwaves are countertrend movements. Downward trends are the opposite, seen as downwaves with countertrend upwaves. Using several tools and functions, we can design a quantifiable approach to defining these waves. My favorite is the volatility indicator, which is a formula that measures the market volatility by plotting a smoothed average of the true range. The true range indicator originates from the work of J. Welles Wilder Jr. from his New Concepts in Technical Trading Systems. The definition of the true range is defined as the largest of the following:
The difference between today's high and today's low
The difference between today's high and yesterday's close, or
The difference between today's low and yesterday's close.
The calculation uses a 21-period weighted average of the true range, giving higher weight to the true range of the most recent bar. The final value is then multiplied by 3.
The volatility indicator is used as a stop-and-reverse method. Let's say the market has been rising, then the volatility indicator is calculated each day and subtracted from the highest close during the rising market. The highest close is always used, even if there has been a series of lower closes since the highest close. If the market closes below the volatility indicator, then for the next day, the current reading of the volatility indicator is added to the lowest close. This step is followed each day until the market closes above the trailing volatility indicator.
We now have a definition of the trend. An upward trend exists as long as the volatility indicator is below the market and a downtrend is in force if the volatility indicator is above the market.
Jurik Filtered, Composite Fractal Behavior (CFB) Channels [Loxx]Double Jurik-Filtered Composite Fractal Behavior (CFB) Channels is a channel indicator that acts as both a baseline, similar to Donchian, and as support and resistance levels. This indicator is price time adaptive meaning it flexes to price volatility waves. The indicators adaptive nature is calculated using the Composite Fractal Behavior (CFB) algorithm. The result of this adaptive calculation is then smoothed using Jurik Filtering, and then it's normalized to conform to a range of values. This helps better identify trends.
What is Composite Fractal Behavior (CFB)?
All around you mechanisms adjust themselves to their environment. From simple thermostats that react to air temperature to computer chips in modern cars that respond to changes in engine temperature, r.p.m.'s, torque, and throttle position. It was only a matter of time before fast desktop computers applied the mathematics of self-adjustment to systems that trade the financial markets.
Unlike basic systems with fixed formulas, an adaptive system adjusts its own equations. For example, start with a basic channel breakout system that uses the highest closing price of the last N bars as a threshold for detecting breakouts on the up side. An adaptive and improved version of this system would adjust N according to market conditions, such as momentum, price volatility or acceleration.
Since many systems are based directly or indirectly on cycles, another useful measure of market condition is the periodic length of a price chart's dominant cycle, (DC), that cycle with the greatest influence on price action.
The utility of this new DC measure was noted by author Murray Ruggiero in the January '96 issue of Futures Magazine. In it. Mr. Ruggiero used it to adaptive adjust the value of N in a channel breakout system. He then simulated trading 15 years of D-Mark futures in order to compare its performance to a similar system that had a fixed optimal value of N. The adaptive version produced 20% more profit!
This DC index utilized the popular MESA algorithm (a formulation by John Ehlers adapted from Burg's maximum entropy algorithm, MEM). Unfortunately, the DC approach is problematic when the market has no real dominant cycle momentum, because the mathematics will produce a value whether or not one actually exists! Therefore, we developed a proprietary indicator that does not presuppose the presence of market cycles. It's called CFB (Composite Fractal Behavior) and it works well whether or not the market is cyclic.
CFB examines price action for a particular fractal pattern, categorizes them by size, and then outputs a composite fractal size index. This index is smooth, timely and accurate
Essentially, CFB reveals the length of the market's trending action time frame. Long trending activity produces a large CFB index and short choppy action produces a small index value. Investors have found many applications for CFB which involve scaling other existing technical indicators adaptively, on a bar-to-bar basis.
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
Bollinger but BetterA better Bollinger Band with an average of 20 EMAs as pivot price, which makes its standard deviation way more sensitive compared to traditional Bollinger Band.
-- My Tips --
Long flat convergence suggests a big potential price movement.
Short quick convergence of short supportive ema(default: 10days) and upper band suggests a safe middle entry point.
Recommended auxiliary indicator: Wavetrend by Lazybear, which points out entry and exit points quite accurately in bull market.
-- PS --
This system is a hybrid of EMA Ribbons and Bollinger Band.
[TS] Enhanced MACDThis is an Enhanced version of the standard MACD Indicator.
It displays the MACD Histogram as a normalized oscillator for a better visual representation (With values between -100 to 100)
On the top we have the WaveTrend indicator, showing the general trend of an asset (4 Color codings)
On 0 line, with red and yellow circles, is displayed the Contraption (or so-called Squeeze) of the price action.
When these circles appear a major shift in trend is expected.
On the bottom, we have another set of circles, which measure the price compression - These signal a period of very low price volatility.
MA ClustersBackground :
This study allows to define ranges for contraction and expansion of a defined set of MA to analyse the the momentum at those specific situations.
In general all functions used are very basic but allows the user to set alerts when a cluster of MA enters a defined range within or outside the MAX and MIN of a selected MA cluster. The predefined length of the EMAs were put together by HurstHorns within a trading learning discord group and are designed for 1M timeframe to read the momentum for scalping entries - Thanks again for sharing.
Functions :
currently the following MA are available:
- ema
- sma
- smma
- wma
- vwma
- vma
the variable moving average is based on the calculation from lazybear.
- RSI Stoch Filter
- Wavetrend OB/OS filter
Currently only alerts for contraction are enabled to not overload the study but in case expansion would be from interest this can be added quickly.
Outlook:
Additional filters were added to see if they can add value in. the decision making or by simply filtering out noise. This is still quite experimental. Please share any useful observation I should add as additional filter option to find good setups. in relation to contractions or expansions.
Next version will get Bollinger bands for 1 selectable MA from the list for additional study options.
In case you are interested in more options such as more MA types or vwap.. just let me know. for VMA I need to do more research to add useful function for laddering or things like that.
In general The script itself can be easily extended by additional functions. As this is one of my first scripts the code itself might not be optimal or there are more elegant ways to come to the same goal. However please use for study purposes only and report bugs or enhancement requests.
good luck and happy trading!
OPAL - OmniHi, here is my Open Interest script for Market Activity analysis & chop spotting.
This indicator include : Open Interest, 6 EMAs based on OI, Regular and Hidden divergences with double pivot confirmation
OI Colors is gradient : momentums with power will turn to lighter colors, momentums without power will turn to darker colors
1) OI : Open Interest
Open interest is a measure of the Money Flow into a market.
Increasing open interest shows money coming into the market.
Decreasing open interest shows money flowing out of the market.
Calculation :
Open interest is a measure of market activity.
It's sometimes confused with volumes but it's different : OI moves on new contracts, while Volume moves on new trades/
For example, if a trader holds 100 contracts and sells it to another, OI will not change,
because there is no addition of new contracts in the market, but volume will change because 100 contracts have ben transferred.
2) EMAs & Cloud :
A bunch of 6 EMAs adapted on open interest, the last of the 6 EMAs ( EMA 6) forms a colored cloud with the OI Line
EMA 1 is the first filter for OI colors
EMA6 is the last filter for OI colors
3) Multi Divergences :
Divergence detection based on 2 pivot levels verification (taken from OPAL - Newton)
Plots Regular and Hidden Divergences
Filtered with EMA 6
4) Alerts:
Set alerts on Divergences, regular, hidden, or both
Set alerts on EMA1/EMA6 Crosses
Set alerts on OBV fast Crosses with EMA 1
Set alerts on OBV slow Crosses with EMA 6
This might help you to see when market activity is increasing or decreasing to anticipate volatility in your waves.
This is not a bounded indicator like RSI or stoch's
Stick with the trends : when market activity is rising on your side)
Everything is customizable, all the settings are unlocked
Wishing you success !
<o/
Here is the other indicator used on the chart, using the same template, based on On Balance Volumes:
Trend Pro ReversalTrend Pro Reversal Indicator ( TPR ) is a trend following indicator that I created to analyze market trends.
It is a perfect tool for investors/swing traders to ride the waves.
The algorithm combines several settings.
Multiple moving averages and indicators to follow the trend : their confluence associates a color at each daily candle:
-Red ( bearish ++ )
-Green ( bullish ++ )
-Orange (trend reversal - pre bearish )
-Light blue (trend reversal - pre bullish )
Color precision can be managed in the settings pannel. More precision = more reactivity but also can imply more false signals. The optimal settings is between 32 to 34.
-"Bottom detector" (green dots) : volume based algo, generally corresponds to Spikes in selling volume , and interesting low prices zones.
>>>This setting need to be adjust to each asset and exchanges because it's volume based. Some exchange are more relevant than other (coinbase, ftx, binance..)
For exemple for bitcoin , coinbase with a 150-160 bottom setting is good for mid-long term bottoms.
The lower bottom precision is, the more it shows short term dips.
- "Weakness detector" (white dots) : weakness in the trend - avoid fake outs
>>>This is not necesseraly a sell signal.
When buying momentum and price action is weak, this parameter is actived. It can often lead to short/mid term dump
- Confirmation cloud :
>>>Break it to the upside and there are more chances that the trend is confirmed. It often acts like support cloud in bitcoin bullmarkets. Waiting for the break of the confirmation cloud imply lower risk but also lower performance for swing traders.
Accumulate and averaging down when an asset shows green dots + red candles (bottom zone) and start to close position when weakness come in (green/orange/early-red /white dots) can permit to maximize gains in bullmarket and protect wallet when corrections happen.
-> Ideal use in daily timeframe . Some false signal can happen only when the trend is not clear. (tight range and f*ckmoves)
Designed for bitcoin initially. (works with most altcoins / stocks )
Too Many Cooks trend indicatorToo many Cooks in The Kitchen
You have probably heard the adage "Too many cooks spoils the broth" before. The meaning behind it is obviously that when to many people are trying to work on the same task at once it simply devolves into a fight for control and creates a mess of the situation. But is this true for indicators is the question I had and thus I made this indicator, a simple combination of 8 random trend finding indicators I assembled (A list of these indicators and their authors will be available at the bottom of this page) . Is it any good though ? In short yes, it is a decent trend finding indicator and could likely be used in your strategy in the place of your current trend finding indicator if you so wish. However much of the versatility of the individual indicators IS lost and would not be possible to get back in this big mess of a broth, so this indicator will not be the be all end all of trend indicators nor will it be a free money machine like you may be expecting looking at the list of included indicators so the adage was correct to a degree.
List of Authors and their included indicators
Trading View defaults:
MACD (Modified by me)
Stochastic RSI (Modified by me)
Lazy Bear:
Wavetrend Oscilator (Modified by me)
Traders Dynamic Index (Modified by me)
HACOLT (Modified by me)
Algokid
AK Trend
Racer8
Average Force
KivancOzbilgic
Average Sentiment Osclilator
[MAD] Curve SimpleWelcome to my simple RSI Curve indicator
to the mathematical background:
This is an experimental adaptive support and resistance study based on the Reverse-Engineered Relative Strength Index (RevEngRSI) by Giorgos Siligardos, along with a zigzag study based on the Relative Strength Index by J. Welles Wilder.
Giorgos Siligardos holds a PhD in mathematics and a market maker certificate in derivatives from the Athens Stock Exchange. He is a developer of financial software and co-author of academic books on finance. Giorgos Siligardos was also a research and teaching fellow at the University of Crete for many years, as well as a lecturer in the Department of Finance and Insurance at the Technological Educational Institute of Crete, where he taught mathematics and finance courses and supervised master's theses.
This is the one time frame limited edition (but changeable).
Levels 3+4 are activated by a break of key levels
What to trade: formations and specific directions of popping up spikes (L3 and L4)
in the end you have to find a eye whats a valid Formation via expirience, BUT if learnt propperly you should be almost one candle before the action in your decission.
It is a optical support indicator, may use MACD Wavetrend or SupportResistance indicators as support
For a optical better clearer picture use "Kelter Worms" as background and disable the fillings in the color-settings
This here is the full featured pro version, multitimeframe and many additional options
The Divergent (Pro) - Advanced Divergence IndicatorAutomated divergence detection with unparalleled customizability for any market on TradingView.
This is the Pro version of The Divergent - Advanced Divergence Indicator .
The Pro version contains everything that is in the Basic version, plus:
1. Access to a 2nd indicator, called "The Divergent's Companion"
By applying the companion indicator to the same chart you have The Divergent on, you will have the divergence lines and labels plotted on your price chart as well:
2. Hidden Divergences
While the Basic version can only detect Regular Divergences, the Pro version can detect both Regular and Hidden Divergences:
3. Seven more oscillators to detect divergences on
The Basic version comes with the two most popular oscillators, the MACD and the RSI.
With the Pro version you get access to 7 more oscillators:
- CMF (Chaikin Money Flow)
- Stochastic RSI
- MFI (Money Flow Index)
- TCI (Trading Channel Index), also known as WaveTrend
- Balance of Power
- CCI (Commodity Channel Index)
- Awesome Oscillator
4. Alerts
With the Pro version you can set up alerts on The Divergent indicator, allowing you to get alerted to one of the following events:
1. Regular Bullish Divergence
2. Hidden Bullish Divergence
3. Regular Bearish Divergence
4. Hidden Bearish Divergence
5. Pivot Low Confirmed
6. Pivot High Confirmed
5. Divergence Verification
The Pro version allows you to measure the quality of the detected divergences.
With divergence verification enabled, The Divergent will tell you how many times a particular divergence "played out", i.e. how many times a bullish or bearish divergence has actually resulted in the change in price in the direction predicted by the divergence. You can configure the price % levels which are used to categorise the divergences as valid or invalid (or unknown).
6. Use the signals in your own Pine Script strategy / indicator
The Pro version comes with access to a Pine Script Library called The Divergent Library .
Just add The Divergent onto the same chart you have your strategy on, link the two together using a "source" input, and use the functions in the library to process the signals from The Divergent :
You can think of The Divergent being a DaaS ( D ivergece a s a S ervice)!
7. Customise the look of the divergence lines and labels
The Pro version allows you to change the style of the divergence lines and labels:
---
Event LocatorWhen using a count-based form of analysis in markets, it is POINTS that should be counted, not "waves."
This script marks all countable points in price flow to facilitate objective counting of any market under all conditions.
It also includes a standard deviation tool.
Financial Astrology Mars HarmonicsMars Harmonics indicator represent the tropical zodiac energy forces that develop through the course of Mars in the tropical zodiac wheel. The waves indicates the strength of cardinal energy (initiator) and this forces seems to correlate well with the most relevant pivot points. In Financial Astrology, Mars rules impulsive/risky action, entrepreneurship, aggression, explosion and passion. Observe carefully the waves cycles in your favourite instruments.
Note: The Mars Harmonics indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.