Trend Indicator with RSI and Fibbonacci Band 0.702 crossingsToday we have a new Indicator set, which I created using inspiration from the Trend Magic Indicator from KivancOzbilgic and adding several new aspects to it and a slightly modified calculation of the trend indicator itself.
You can change the inputs by changing the pre set values in the settings, but I found the current settings quite accurate. Feel free to experiment to fine tune the indicators.
Here are the details of the script:
Trend indicated within candles and as a line
- bullish and bearish trends are now also indicated within the candle based on the CCI calculation.
- Bullish is indicated by a green circle below the candle or as one may call it a "dot"
- bearish trend is indicated by a red circle above the candle
Entry Signal based on RSI crossing its EMA
- my motivation was to have a clearer entry signal besides highlighting a trend, which can not really be used to identify a good entry but to give confidence or when loosing trend to give an exit signal.
- after studiying the RSI and how it works together with its EMA it looks quite interesting as an entry or exit signal. But be cautios if the EMA and RSI values are moving in a narrow area we get a lot of crosses and therefore signals which should rather be ignored rather to be act on. So the the range where the cross happens is also quite important. But this aspect is not yet reflected as a rule/ logic.
But I am thinking of adding something.. or alternativly best to switch to another timeframe to get some better data
RSI overbought and oversold as Diamonds
- I also added key indications of oversold or overbought as Blue and Pink diamonds, can be considered as additional information to maybe identify a short term top or bottom.. but its not very accurate.
Entry signal based on crossing Fibbonachi Band 0.702
- So far the 0.702 seems to be quite an interesting retracement level which seems to be met a lot of times
- based on the assumption the price will evantually hit the 0.702 either direction I wanted to get a signal when this happens
- BUT! a big but, unfortunalty the Fibbonachi bands tend to bloat up in case of high volatility so it is not easy to find the crossing on higher timeframes
Here are the standard value which I found quite accurate for the assets I use this indicator set:
CCI Period = 5
ATR Multiplier = 1
ATR Period = 1
Source = High Low Close (hlc3 average value of the candle
Here the inputs used for the RSI Crossing signal (here you should play around a little to see which entry would have been best..)
RSI Length = 14
RSI Oversold = 25 (to be used for the "golden" entry signal based on the FBB crossing)
RSI Overbought = 80 (to be used for the "golden" entry signal based on the FBB crossing)
RSI Moving Average Length
In future versions I will add options to activate or deactive some of the plotting and espacially this golden dot when the fibbonachi band is being crossed needs some fine tuning..
And lets see if there is a way to fix the bloating of those bands..
Moving Averages
Blocky's EMA RibbonA classic EMA ribbon setup.
The script uses eight EMAs, with default lengths ranging from 21 to 55 periods, with an additional EMA with a default length of 200 periods.
The lengths of the EMAs can be customized, when customizing, the shortest time frame should be first and the longest time frame last.
The ribbons gradient strength is calculated based on the EMA's sequence, and their separation.
The color and transparency are set based on the calculated strength. The bolder the color, the stronger the strength.
Use the opacity multiplier to increase/decrease the strength of the gradient. BITSTAMP:BTCUSD
7 Week RuleThe 7 week rule was shared by Gil Morales in his book “Trade Like an O’Neil Disciple”. The rule is described as: Stocks that have shown a tendency to “obey” or “respect” the 10-day moving average for at least 7 weeks in an uptrend should often be sold once the stock violates the 10-day line. A “violation” is defined as a close below the 10-day moving average followed by a move on the next day below the intraday low of the first day.
This indicator makes using the 7 week rule easy. Once a stock has closed above its selected moving average (10SMA by default) for 35 days the 7 week rule is triggered. Once the stock then “violates” the moving average, a sell signal is printed on the chart.
Indicator Customizations
Moving Average Length & Type
Show or Hide Moving Average
Show Running Count of Days Above Selected MA
Highlight When 7 Week Rule Triggers
Option to Show First Day Above MA
Indicator is dynamic and will continue the count if no violation occurs.
Stx Ma-Trend Findermeasures the inclination of the average slope and allows to relate it to a comparison value, which depends on the asset, and can be set in the settings.
In this way the average will be represented in red when it is inclined downwards and in green upward.
The blue zones will be considered as flat markets.
Hurst Exponent Trend filterHello Traders !!
Hurst Exponent Trend filter utalises the Hurst Exponent and VAWMA (one of my other unique indicators - check my script publishings to use) to categorise the market and decide whether its Trending, H > 0.5, In random Geometric Brownian Motion (GBM) H = 0.5 or Mean reverting (Contrarian), H < 0.5, When Trending a Trend following indicator -The VAWMA- is color highlighted, By doing so, theoreticaly price noise is eleimnated leaving statsitcaly true zones of price action Trend.
What is The Hurst Exponent ?
Developed by The Hydrologist Edwin Harlod Hurst, The Hurst Exponent measures auto correlation in time series sets, Its first applicartions were in the natural world, e.g. in measureing the volume of water in a river.
Although since then it has had applications in Finance, this may be largly due to autocorrelation functions being usefull tools in univaritae time series anaylyis.
The Hurst Exponent (H) aims to segment the market into three differnet states, Trending (H > 0.5), Random Geometric Brownian Motion (H = 0.5) and Mean Reverting / Contrarian (H < 0.5). In my interpritation this can be used as a trend filter that iliminates market noise, which may be achived by only focusing on trending zones.
How to Interprit the Indicator :
Focusing on the Above image, When H > 0.5 A trend is presnet, to decide the directional bias, both VAWMA`s position is checked, given the fast VAWMA > slow VAWMA and the current close > the fast VAWMA a bulish bias is present, signafied by a vibrant green fill between the fast VAWMA and price action. note the exact opposite logic for a bearish bias and H > 0.5 (signafied by a vibrant red fill). .
I will continue to update this Trading Indicator.
PS : Thats given I can hopfully remmember
Happy Trading !!
Market Condition DetectorThis script allows to change the background color of the main chart to green or red depending on the following factors:
Based on the QQQ graph whatever ticker you are watching
- Price > EMA20 Da
- Net New Highs > 0
- 10EMA Da > 20 EMA Da
When you are trading Break-Out, EP or other similar trades you will need the market at your back to improve both the winrate and the risk reward ratio.
This is a very useful tool if you struggle with the FOMO biais. It will help you detect the trend at a glance.
Remember that the top best trader are waiting for their trade to work and only after getting some traction, and only then will they take the next trade.
I also proceeded to find a formula that make the indicator be the smoother possible with the less possible amount of noise.
/!\ This indicator is intended for use on daily charts . /!\
Multi-Asset Month/Month % change 10yr Averages10 Year Averages of Month-on-Month % change: Shows current asset, and 3x user input assets
-For comparing seasonal tendencies among different assets.
-Choose from a variety of monthly average measures as source: sma(close, length), sma(ohlc4, length); as well as sma's of vwap, vwma, volume, volatility. (sma = simple moving average).
-Averages based on month cf previous month: i.e. Feb % = Feb compared to Jan; Jan % = Jan compared to prev year's Dec. Average of the last 10yrs of these values is the printed value.
-Plot on current year (2023), or previous year (2022). If Plotting on current year, and a month of year has not yet occured, a 9yr average will be printed.
/// notes ///
-daily bars in month is a global setting; so choose assets which have similar trading days per month. i.e. Crypto: length = 30 (days per month); Stocks/FX/Indices: length = 21 (days per month).
-only plots on Daily timeframe.
10yr Avgs; Plotting with Year = 2022; using sma(close, 21) as source for average M/M change
Multi Timeframe Moving AveragesThis indicator is designed to help traders analyze market trends by displaying five exponential moving averages (EMA) of their choice across four fixed intervals: weekly, daily, 4-hourly, and hourly.
The user can choose which moving averages and intervals to display, and can enable or disable these options as needed. The moving averages are drawn as lines and are updated in real-time based on the current EMA values in the respective intervals.
This indicator can help traders identify potential areas of support and resistance, as well as identify trends in the market. By displaying multiple EMAs across multiple time intervals, traders can get a more complete picture of the market and make more informed trading decisions.
Drip's 11am rule breakout/breakdown (OG)This indicator is based on Drippy2hard's 11:30 am (EST) rule.
In simple terms the rule states that:
If a trending stock makes a new high after 11:15-11:30am EST, there is a 75% chance of closing within 1% of High of day (HOD). Same applies for downtrend.
Please note:
Not all stocks will abide by this, this is backtested on stocks with avg daily volume > 2M and mostly mega cap stocks which have liquid option chains. The backtesting results show very promising results on $SPY/ $SPX so it is advised to trade $SPY/ $SPX using this indicator over any other stocks.
Although the name suggests 11 AM rule, the backtesting shows higher win rate for 11:30 AM so please select that option in the settings.
As always, no indicator is perfect and please follow your risk management and understand that indicators are tools to aid your trading and by no means they are supposed to work as intended in all scenarios
How the script works
1. A HOD/LOD zone is identified based on regular session (9:30am-11:30am) EST. Users can select cut off time to 11AM in the settings. These will be indicated on chart after 11/11:30pm depending on what user selected
2. If the stock breaks above the HOD and the ADX is showing strong momentum to upside then the candlesticks will start showing neon color, if the trend based on moving averages and candle closing is also bullish then the indicator will show trend arrows under the candle indicating to stay in the trade. Same applies for break below LOD, only the colors will change to represent downtrend.
3. An optional cloud is also shown if the trend is developed. The cloud can be used as trail stop or re entry point as long as it is displayed on chart
How to use the indicator in trading
In general, there are three scenarios which are trade worthy
1. If the stocks breaks out above the HOD zone and up trend develops or the stocks breaks below the LOD zone and downtrend develops. See images below
2. You can also use the LOD/HOD zone as demand/ supply if the Price action is range bound like this example below
Thanks for reading, please give thumbs up if you like using it! Please post comments on how to use it.
UB Profit Signal IndicatorThe UB Profit Signal indicator is a technical analysis tool designed to identify potential buy and sell signals in the market. The indicator is based on four technical indicators - Moving Average Convergence Divergence (MACD), Relative Strength Index (RSI), Bollinger Bands (BB), and volume moving average.
The script starts by defining input variables such as MACD Fast Length, MACD Slow Length, MACD Signal Length, RSI Length, etc. These variables are used to customize the indicator based on the user's preference.
The MACD is calculated using the ta.macd function, which returns three variables: the MACD Line, Signal Line, and Histogram. The MACD line is calculated as the difference between two exponential moving averages of the price. The signal line is a moving average of the MACD line. The histogram shows the difference between the MACD line and the signal line.
The RSI is calculated using the ta.rsi function, which calculates the RSI value based on the number of periods specified in the RSI Length input variable. The RSI is a momentum oscillator that measures the speed and change of price movements.
The Bollinger Bands are calculated using the ta.sma and ta.stdev functions. The Simple Moving Average (SMA) is calculated using the close price over 21 periods, while the Standard Deviation is calculated using the close price over the same 21 periods. The upper and lower bands are then calculated based on the SMA and Standard Deviation.
Finally, the buy and sell signals are generated based on specific conditions that combine the MACD, RSI, and BB values. For example, a buy signal is generated when the RSI value is greater than 30, the volume is greater than the volume moving average, the close price is greater than the 9-period SMA, and the close price is between the upper and lower BBs. Similarly, a sell signal is generated when the RSI value is less than 40, the volume is greater than the volume moving average, the close price is less than the 9-period SMA, and the close price is between the upper and lower BBs.
The buy and sell signals are plotted on the chart using the plotshape function, which creates triangular shapes above and below the bars to indicate the signals. Green triangles indicate a buy signal, while red triangles indicate a sell signal. Overall, the UB Profit Signal indicator can be useful for traders looking to identify potential buy and sell signals in the market and take advantage of price movements.
Short Term Bubble RiskThis risk indicator uses the extension of the closing price to the 20W SMA and displays a color-coded risk oscillator. The higher the oscillator is, the greater the short-term risk and vice-versa. This indicator has historically worked well for estimating the short-term risk of Bitcoin and Ethereum on a weekly timeframe.
Rail Line Levels [s3]Plots support/resistance lines based on a neutral signal (white portion) of the Rail Line (variable moving average) for a period of time designated by the user (defaults to 9 bars). Support/Resistance lines will be removed after a period of tests and can be determined by the user (defaults to 26). Support/Resistance is deemed not as important or strong after several touches or tests. The trailer uses a combination of the calculation for the Rail Line (variable moving average) and an ATR to show the overall trend direction.
The indicator is centered around a Variable Moving Average. The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility.
In addition to the VMA, the indicator makes use of the ATR which measures market volatility by decomposing the entire range of an asset price for that period. The true range is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close.
Rainbow Moving AverageA Rainbow Moving Average script. There are many like it, but this one is mine. It is designed to be easy to read without too much noise in the number of lines and shading, with the moving average to be some of the commonly used ones. Using commonly referenced moving average values help us to understand "the crowd" and what moving average or trend lines they might be looking at. The default values are derived from hourly charts, but work well on any time frame.
The moving average function is simple to change so you can use it for any moving average type that you like, including volume-weighted.
Inspired by my daughter's love of rainbows, she has approved the colors.
[Uhokang] Bollinger Band BB EMA SMMA SMA Multy timeframeYou can view indicators from the specified upper timeframe together.
( Bollinger Bands, SMMA, EMA, SMA )
If it is based on a 1-hour bar, you can see indicators for 4-hour bars and 1-day bars at the same time.
=> =>
Minutes
1 => 5 => 30
2 => 10 => 60
3 => 15 => 90
4 => 20 => 120
5 => 30 => 120
6 => 30 => 120
10 => 60 => 240
15 => 60 => 240
30 => 120 => 480
45 => 180 => 450
over Hours
1 => 4 => D
2 => 8 => 2D
3 => 12 => 3D
4 => D => W
D => W => M
W => M => Y
Moving Averages + Premarket High/Low + Yesterday High/Low V2This script allows you to have multiple indicators on the chart at once. EMA's can be added to lower timeframes while SMA's can be added to higher timeframes. Premarket high and low are also tracked as well as yesterdays high and low. All these points are crucial in technical analysis as current price action can either bounce or reject off of these levels.
Update: Fixed an issue where high/low was showing for current trading day during market hours instead of previous trading day
EMA Power Ranking [wbburgin]This is one of my favorite indicators I've developed. It measures the strength of an uptrend or a downtrend and produces signals for when that trend is weakening.
From my time trading I have learned that moving averages are not good signals to determine trend changes, because they are lagging indicators. However, we can use a moving average system - and the rates of change of the moving averages and the widths between them - to determine when the trend is changing faster than we can using the moving averages themselves. This makes moving averages super useful because we are essentially predicting mean reversal. Then, if we do the same for multiple moving averages of multiple lengths, we can have a pretty accurate perspective of when the price trend is about to reverse.
You can choose which type of MA works best for you, despite the script name. I've found that inverse volatility is the most accurate, but all of my ELMA (elastic MA) signals are also less frequent.
Calculations
The script calculates whether the differences between five moving averages of different lengths are increasing or decreasing, and if the moving averages are positioned properly compared to each other.
When looking at two moving averages, if the width between the moving averages is increasing, and the faster moving average is above the slower moving average the trend is bullish , because the price is outpacing both MA's upwards.
Vice versa, if the width between the moving averages is increasing, and the faster moving average is below the slower moving average the trend is bearish , because the price is outpacing both MA's downwards.
It's deceptively simple. The indicator flags a reversal to the downside immediately after a bullish trend loses momentum, and a reversal to the upside immediately after a bearish trend loses momentum.
Quick note: This isn't a trade setup - I strongly advise that if you are to use this indicator with any strategy, you make sure that there is a stop loss and possibly stop sell as well. The indicator is great at predicting trend reversions, but also falls prey to continuations of both downtrends and uptrends. Best for use in oscillating markets.
Quick note 2: Forgot to mention the precision factor, which goes from 0 (default) to 2. Each step up uses an additional moving average for greater accuracy (i.e. when they are coordinated in a bullish trend, bearish trend, etc.).