Rainbow Collection - BlueSlopes are an increasingly key concept in Technical Analysis. The most basic type is to calculate them on the prices, but also on technical indicators such as moving averages and the RSI.
In technical analysis, you generally use the RSI to detect imminent reversal moves within a range. In the case of the Blue indicator, we are calculating the slope of the market price and then calculating the RSI of that slope in order to detect instances of reversal.
The Blue indicator is therefore used as follows:
* A bullish signal is generated whenever the 21-period RSI of the 21-period market slope surpasses 30 after having been below it but remains below 35.
*A bearish signal is generated whenever the 21-period RSI of the 21-period market slope breaks 70 after having been above it but remains above 65.
The aim of the Blue indicator is to capture reversals as early as possible through a combination of slopes and entry techniques.
Forecasting
RS - Relative Strength ScoreRelative strength (RS) is a measure of a stock's price performance relative to the overall market. It is calculated by dividing the stock's price change over a specified period by the market's price change over the same period. A stock with a high RS has outperformed the market, while a stock with a low RS has underperformed. (Stock can any asset that can be compared to a reference index like as Bitcoin, Altcoins etc ...)
Here are some advantages:
- Provides a measure of a stock's performance relative to a benchmark index or sector, allowing for a more accurate comparison of performance.
- Helps identify stocks with strong price momentum that are likely to continue outperforming the market in the short to medium term.
- Allows investors to identify the strongest performers within a particular sector or industry.
- Provides a quantitative and objective measure of a stock's performance, which can help reduce bias in investment decisions.
- Can be used in conjunction with other technical indicators and chart analysis to identify potentially profitable trades.
- Helps investors make more informed decisions by providing a more comprehensive picture of a stock's performance.
How to use it:
- The indicator can be used in daily and weekly timeframes.
- Check, if the default reference index is suited for your asset (Settings) The default is the combination of S&P500+Nasdaq+Dow Jones. For Crypto, it could be TOTAL (ticker for total stock market), for German stocks it could be DAX.
- Decide (settings), if you want to see the RS based on annual calculation (IBD style) or based only for the last quarter
Color coding:
- Red: Stock is performing worse than index (RS < 0)
- Yellow: Stock get momentum, starting to perform better than index (RS > 0)
- Green: Stock is outperforming the index
- Blue: Stock is a shooting star compared to index
- When RS turns positive and stays there, it could be an indication for an outbreak (maybe into a stage 2)
No financial advise. For education purposes only.
Technical Dashboard with High and Low Price Prediction Hello everyone!
I am releasing this indicator. It is called the Technical Dashboard and the name is pretty self explanatory! So let's get into it:
What it does:
The technical dashboard displays 4 commonly used technical indicators: Stochastics, RSI, Z-Score and MFI. It will display the current value of each of these technical indicators, as well as the highest and lowest value over a user defined period and the SMA.
The user can input the source and lookback period for each of the indicators individually. It is defaulted to 14, but I do recommend using a larger lookback time period as 14 tends to be a little too narrow.
The indicator will display a notice of whether the stock is trading in a max range, min range or neutral range based on its previous highest and lowest range. If the stock is trading between the highest and lowest range, it will display a neutral range reading.
In addition to displaying those 4 commonly used technical indicators, the indicator will also display the highest and lowest highs and lows of a ticker over a user defined period. You can opt for it to plot out the High and Low SMA and select your timeframe for these SMA plots.
The current value for the High and Low actually depicts a predicted High and Low based on the user defined lookback period. The Current Range column will show you when and if the predicted high or low is reached. The high and low defaults to the timeframe you are on. So if you are trading off the 5 minute chart, it will display the predicted high and low on the 5 minute time frame. The 1 hour, it will show the 1 hour, etc. It provides price prediction using a simple regression based analysis that pinescript provides.
Examples of its use:
In the image above, you can see how the indicator shows you when the stock is trading in some of its max ranges.
Note that just because a stock is trading in its max or min range does not necessarily mean that the stock is going to reverse in the opposite direction. While highest and lowest represent previous areas of reversal, it doesn't always mean that it will result in a reversal again. What it tells us more is whether momentum has picked up one way or the other, be it bearish or bullish momentum. This is useful information to help us decide whether a ticker has good momentum and whether a move is likely to have follow through. However, a stock trading in its high or low range can indeed signal a reversal. It is important to pay attention to the underlying price action and plan your trades accordingly.
Customizations
All of the indicators are individually customizable, from lookback length, SMA length and input source for RSI, Z-Score and MFI.
In addition to the lookback periods, you can also view highest and lowest ranges based on the SMA length. If you select "Show reversals based on SMA", the indicator will display the highest and lowest values of the SMA instead of the stock itself.
Gauging Strength:
You can use this indicator to gauge strength in many ways. First of all, your ability to see where a stock is trading relative to its historically high and low technical ranges helps you determine the overall momentum of the stock. However, you can have the indicator plot the predicted high and low ranges (see image below):
The green arrows are pointing to areas where the stock is breaking past its high levels. This shows that the over-arching sentiment is bullish. However, we can see when it starts to lose steam, it stops touching the high values and starts to touch and break below the low values (red arrows). This signals to us that the stock is losing the bullish momentum and we should be alert for a reversal to the downside or upside, depending on the setup.
There are many applications you can use it for and there is a lot of customizability. Play around with it and let me know what you think, how it helps you and any suggestions for its improvement.
As always, I have prepared a quick video tutorial on getting started with the setups on the indicator which is linked below:
Thank you all for checking this out and safe trades everyone!
Linear Regress on Price And VolumeLinear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. It assumes a linear relationship between the dependent variable and the independent variable(s) and attempts to fit a straight line that best describes the relationship.
In the context of predicting the price of a stock based on the volume, we can use linear regression to build a model that relates the price of the stock (dependent variable) to the volume (independent variable). The idea is to use lookback period to predict future prices based on the volume.
To build this indicator, we start by collecting data on the price of the stock and the volume over a selected of time or by default 21 days. We then plot the data on a scatter plot with the volume on the x-axis and the price on the y-axis. If there is a clear pattern in the data, we can fit a straight line to the data using a method called least squares regression. The line represents the best linear approximation of the relationship between the price and the volume.
Once we have the line, we can use it to make predictions. For example, if we observe a certain volume, we can use the line to estimate the corresponding price.
It's worth noting that linear regression assumes a linear relationship between the variables. In reality, the relationship between the price and the volume may be more complex, and other factors may also influence the price of the stock. Therefore, while linear regression can be a useful tool, it should be used in conjunction with other methods and should be interpreted with caution.
ADX trend reversal/continuation spotterThis indicator is based on ADX and uses a method based on pivot points to identify a possible trend reversal or trend continuation.
To better understand how to use this indicator, follow these instructions:
Check which type of line ADX is below/above.
If the ADX line is above the green line and has changed color, you can expect a possible trend change.
Similarly, if the ADX line is below the red line and has changed color, you can expect a continuation of the previous trend or a possible trend uptake based on the current situation in the chart.
FX:EURUSD
Cryptocurrency Market Sentiment v1.0Introduction:
Capable of observing the market sentiment of the cryptocurrency market
The relative status of BTC and altcoins
How it works:
1. The general uptrend process of the cryptocurrency market is BTC → ETH → high-cap altcoins → low-cap altcoins. When funds cannot push up BTC's market cap, funds gradually flow into smaller-cap altcoins until the upward trend ends.
2. Select ETH as the representative of altcoins, and understand the sentiment and current stage
3. Mathematical principle : divide the price of ETH by the price of BTC, and then apply it to the RSI formula .
How to use it:
1. Similar to the RSI indicator , when CMS enters the overbought zone, it represents an active altcoin market, a passionate market sentiment , and the end of the uptrend.
2. When CMS enters the oversold zone, it indicates the leading stage of BTC in the rising trend or the capital flow back to BTC in the declining process .
3. If CMS is at a low level, long positions should focus on altcoins, and short positions should focus on BTC, and vice versa.
----------------------------------------------------------------------------------------------------------
简单介绍:
能够观察加密市场市场情绪
BTC和寨币的相对状态
如何工作:
1、加密市场一般的上涨过程为 BTC → ETH → 大市值山寨 → 小市值山寨,当资金无法推动大市值的BTC上涨时,资金就会逐渐流向市值较小的山寨,直到一轮上涨结束。
2、选取ETH作为altcoins的代表,通过ETH与BTC的关系来了解加密市场的情绪和目前上涨的阶段。
3、数学原理:将ETH的价格/BTC的价格,随后将其带入RSI公式
如何使用:
1、与RSI指标类似,当cms进入超买时,代表寨币市场的活跃,市场情绪热烈,上涨进入尾声。
2、当cms进入超卖时,为上涨中BTC领涨的阶段或下降过程中资金回流BTC。
3、如果cms在低位,做多应关注altcoins,做空应关注btc,反之亦然。
Period OpenA very simple indicator that displays the Open of the specified Timeframe
How to use this indicator?
1. Directional Bias
Bullish => Closing Price > Period Open
Bearish => Closing Price < Period Open
2. Support / Resistance
Each Period Open can be used as Support or Resistance
3. Take Profit Targets
Each Period Open can be used as targets for taking profit
Paradigm Trades_VPA Swing IndicatorThe indicator is designed to identify specific patterns in price and volume movements that can signal potential trading opportunities. It does this by calculating several conditions based on the current bar's price and volume movements.
The code defines five conditions: Narrow Spread Up Bar, Wide Spread Down Bar, No Demand Bar, No Selling Bar, and Churning. These conditions are then plotted on the chart using specific shapes and colors. The code also includes alert conditions for each of the signals, which can be used to generate alerts for traders when a particular pattern is identified.
The VPA Swing Indicator can be used as part of a swing trading strategy to identify potential buy or sell signals. For example, a Narrow Spread Up Bar may indicate bullish momentum, while a Wide Spread Down Bar may indicate bearish momentum. Traders can use these signals to make informed trading decisions and manage their risk accordingly.
Legend:
Spread Up Bar: This is a bullish bar with a small spread, indicating a lack of selling pressure and strong buying activity.
Wide Spread Down Bar: This is a bearish bar with a large spread, indicating strong selling pressure and weak buying activity.
No Demand Bar: This is a bearish bar with a small spread and low volume, indicating a lack of buying interest and the smart money selling off their positions.
No Selling Bar: This is a bullish bar with a small spread and low volume, indicating a lack of selling interest and the smart money buying up positions.
Churning: This is a sideways market with narrow spread bars and low volume, indicating the smart money is distributing shares to the retail traders.
Parabolic Scalp Take Profit[ChartPrime]Indicators can be a great way to signal when the optimal time is for taking profits. However, many indicators are lagging in nature and will get market participants out of their trades at less than optimal price points. This take profit indicator uses the concept of slope and exponential gain to calculate when the optimal time is to take profits on your trades, thus making this a leading indicator.
Usage:
In essence the indicator will draw a parabolic line that starts from the market participants entry point and exponentially grows the slope of the line eventually intersecting with the price action. When price intersects with the parabolic line a take profit signal will appear in the form of an x. We have found that this take profit indicator is especially useful for scalp trades on lower timeframes.
How To Use:
Add the indicator to the chart. Click on the candle which the trade is on. Click on either the price which the trade will be at, or at the bottom of the candle in a long, or the top of a candle in a short. Select long or short. Open the settings of the indicator and adjust the aggressiveness to the desired value.
Settings:
- Start Time -- This is the bar in which your entry will be at, or occured at and the script will ask you to click on the bar with your mouse upon first adding the script.
- Start Price -- This is the price in which the entry will be at, or was at and the script will ask you to click on the price with your mouse upon first adding the script.
- Long/Short -- This is a setting which lets the script know if it is a long or a short trade, and the script will ask you to confirm this upon first adding it to the chart.
- Aggressiveness -- This directly affects how aggressive the exponential curve is. A value of 101 is the lowest possible setting, indicating a very non-aggressive exponential buildup. A value of 200 is the highest and most aggressive setting, indicating a doubling effect per bar on the slope.
Typical Sweeps: Pivot high/low boxes. Grade sweeps, Handles/PipsTool to show typical pip-grade/ handle-grade sweep distance above pivot highs and pivot lows
-In consolidation/ranging periods (i.e. most of the time); Highs/Lows may by swept by fairly consistent distances in typical stop raids.
-Idea is from ICT teaching on typical Pip-grade sweeps in FX (10,20,30pips). Designed to work on FX, Indices, Commodities, Bitcoin.
-Above chart shows S&P; sweeping below and then above by 5 handles.
///inputs///
~choose sweep distance handles ($) or pips: will auto-calculate depending on the asset: FX= pips; Indices/stocks/commodities = handles ($)
--(2,5,10,20,30,50,100, 500, 1000)
~choose pivot lookback: larger number for more significant swing highs/lows
~choose number of historical boxes to display
~toggle on/off Pivot high boxes and Pivot low boxes independently
~extend boxes fully to the right (default is not extend)
~toggle on/off text
~text & box formatting options
Bitcoin, hourly chart; Pivot lookback = 15; $100 sweep boxes:
Eur/Usd; 15m chart; Pivot lookback = 30; 10pip sweep boxes; Boxes extended fully to the right:
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
Future week Calendar; Each day's custom sessions & LabelsOn-Chart Calendar for the week ahead with 4x customizable intraday sessions (each day with it's own unique sessions)
-add your own text labels and optional time/date stamps to each session; for key events of the week.
-toggle on/off each individual session.
-Choose number of weeks of history to show (default is 0: only show upcoming week.
-Works on BTC too (includes Saturday/Sunday sessions).
//Notes//
~timestamps and labels anchor to the start of the session box
~when using with default 'weeks back to show' = 0; Session boxes will disappear as price passes through their right hand side.
~to remove the very long indicator status line (due to so many sessions): Go to chart settings >> status line, and under 'indicator' toggle off 'arguments'
Example usage: Each day's 4x custom sessions showing; only upcoming week; no labels
Example usage: Each day's 4x custom sessions showing; Showing 1 week of history too; no labels
Faytterro Market Structerethis indicator creates the market structure with a little delay but perfectly. each zigzag is always drawn from highest to lowest. It also signals when the market structure is broken. signals fade over time.
The table above shows the percentage distance of the price from the last high and the last low.
zigzags are painted green when making higher peaks, while lower peaks are considered downtrends and are painted red. In fact, the indicator is quite simple to understand and use.
"length" is used to change the frequency of the signal.
"go to past" is used to see historical data.
Please review the examples:
Tomorrow's Custom Sessions: 4x Sessions projected into next dayTool to visualize your favored sessions for the day ahead (4x custom sessions)
-Input four custom sessions; they will be projected into the next day.
-Toggle on/off each session independently.
-Adjust multiplier UP to show more days of history (setting 0 = tomorrow only; setting 1 = today and tomorrow).
-Increase number from 1>>125 to show historical sessions/days, for backtesting purposes.
-If Set to 0, showing tomorrow only; the projected session boxes will disappear as price passes through their right hand edge.
--note: the session defaults i've written are arbitrary/not special; please choose your own--
Setting '0'; shows next day's sessions only
Ehlers Detrending Filter [CC]The Detrending Filter was created by John Ehlers and this is a complementary indicator to one of my previous scripts:
This indicator builds upon his previous work by attempting to detrend the underlying source data that is used to calculate the final result. He was able to create a leading indicator by removing the trend data and by using his previous calculations to turn the source data into a leading indicator.
There are two ways to understand this indicator. First if the indicator is below the midline then it is in a mid to longterm downtrend and if it is above the midline then it is in a mid to longterm uptrend. Also this indicator shows great promise in predicting future trends so because of that aspect, it may give some false signals from time to time.
I have color coded everything to account for both strong signals and normal signals. Strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!
Faytterro Oscillatorwhat is Faytterro oscillator?
An oscillator that perfectly identifies overbought and oversold zones.
what it does?
this places the price between 0 and 100 perfectly but with a little delay. To eliminate this delay, it predicts the price to come, and the indicator becomes clearer as the probability of its prediction increases.
how it does it?
This indicator is obtained with "faytterro bands", another indicator I designed. For more information about faytterro bands:
A kind of stochastic function is applied to the faytterro bands indicator, and then another transformation formula that I have designed and explained in detail in the link above is applied. These formulas are also applied again to calculate the prediction parts.
how to use it?
Use this indicator to see past overbought and oversold zones and to see future ones.
The input named source is used to change the source of the indicator.
The length serves to change the signal frequency of the indicator.
ORB Smart Candle finder [With Volume Candle] with EXTENDOpening Range Breakout (ORB) Smart Candle Finder Indicator - finds first smart candle of the day and make it a label to trade at its higher or lower levels. You can adjust the size of smart candle as well as the Volume levels to detect smart candle.
VS Score [SpiritualHealer117]An experimental indicator that uses historical prices and readings of technical indicators to give the probability that stock and crypto prices will be in a certain range on the next close. This indicator may be helpful for options traders or for traders who want to see the probability of a move.
It classifies returns into five categories:
Extreme Rise - Over 2 standard deviations above normal returns
Rise - Between 0.5 standard deviations and 2 standard deviations above normal returns
Flat - Falling in the range of +/- 0.5 standard deviations of normal returns
Fall - Between 0.5 standard deviations and 2 standard deviations below normal returns
Extreme Fall - Over 2 standard deviations below normal returns
It is an adaptive probability model, which trains on the previous 1000 data points, and is calculated by creating probability vectors for the current reading of the PPO, MA, volume histogram, and previous return, and combining them into one probability vector.
Trading Day Holidays: 8am reminder of early closing day ahead-Designed for Index Futures(ES,NQ,YM). 8am Visual reminder on the morning of a holiday trading day that trading will cease at 1pm (NY time).
-This is updated and stripped down version of @Daveatt's 2020 script: 'BEST USA Bank Holidays Helper'.
-Simply marks 'HOLIDAY' on the holiday trading days, at 8am NY time on that day. Past 'HOLIDAY' labels will delete when new ones print.
-Should be 9 of these 'half-day' days throughout the year (not including Xmas period)
~I plan to update this each year
Drawdown and Drawback || Ranging Hey!
So this indicator tries to spot ranges;
Above the zero line is the data from green candles and below the zero line is the data from the red candles;
When the white area is > than the black area, it indicates that the DrawBack is higher than the DrawDown;
This might work counterintuitively for some people because, for a bullish candle, this means it has to go down for the indicator to recognize it as “good”/ see it as a DrawBack value;
The same is true for a bearish candle, the price has to move up after for it to be seen as a DrawBack value;
There are a few input values:
Length_: This is how many bars a candle gets for the price to move in, the default is 8 bars, so after a bar is formed, from the following 8 bars the DrawBack/DrawDown is saved;
EMA_Length: This is the EMA length, you can change the EMA length and also the MA variant, so you have full flexibility about what might work best for you;
RB_Size: This is how many points a Real Body of a candle has to have before it gets registered within the indicator, what I found it, is that if you put this too low your data gets ruined by candles that have 1-5 points if you use it on a low TimeFrame, but if you want to use it on higher timeframes you maybe have to make the default a bit higher.
Everything is plotted with an Offset of 1, I like it this way so you get a realistic view of the market as you will -most likely- place trades on the next candle either way not on the current candle. But that is just my opinion.
I also added 2 yellow Hlines for visual purposes to see if they were within a certain boundary, see if these add anything for yourself, because they can also make it look a bit messy;
If you have any questions about the code or the indicator itself, feel free to ask them!
I hope it helps at least one person ;)
Quantitative Price Forecasting - The Quant ScienceThis script is a quantitative price forecasting indicator that forecasts price changes for a given asset.
The model aims to forecast future prices by analyzing past data within a selected time period. Mathematical probability is used to calculate whether starting from time X can lead to reaching prices Y1 and Y2. In this context, X represents the current selected time period, Y1 represents the selected percentage decrease, and Y2 represents the selected percentage increase. The probabilities are estimated using the simple average.
The simple average is displayed on the chart, showing in red the periods where the price is below the average and in green the periods where the price is above the average.
This powerful tool not only provides forecasts of future prices but also calculates the distribution of variations around the average. It then takes this information and creates an estimate of the average price variation around the simple average.
Using a mean-reverting logic, buying and selling opportunities are highlighted.
We recommend turning off the display of bars on your chart for a better experience when using this indicator.
Unlock the full potential of your trading strategy with our powerful indicator. By analyzing past price data, it provides accurate forecasts and calculates the probability of reaching specific price targets. Its mean-reverting logic highlights buying and selling opportunities, while the simple moving average displayed on the chart shows periods where the price is above or below the average. Additionally, it estimates the average variation of price around the simple average, giving you valuable insights into price movements. Don't miss out on this valuable tool that can take your trading to the next level
Dynamic Reactor [CHE]This simple Pine script is an implementation of the Dynamic Reactor indicator. The indicator is designed to dynamically adjust to market conditions and identify trend reversals.
The indicator takes one input parameter: the length of the Dynamic Reactor. The script calculates the high, low, and midpoint values of the Dynamic Reactor using a simple moving average (SMA) function. The plot colors are determined by the current price in relation to the high and low values. If the price is above the high value, the plot is colored green. If the price is below the low value, the plot is colored red. Otherwise, the plot is colored gray. The area between the high and low values is filled with a transparent color to help visualize the range of the indicator.
Price Legs & Fib Projections: Fibonacci Confluence-Plots price legs based on two user input lookback numbers. Smaller number for small legs, larger number for large legs.
-Plots Fib projections of these price legs, above and below; User can input four independent fib levels or standard deviation levels
## User Inputs ##
~Show visible chart only; Show price leg labels (time and price); show small legs (fibs and/or boxes); show large legs (fibs and/or boxes)
~Input 4 Fibonacci levels or measured move levels. Toggle each level on/off
~toggle on/off Fib levels ABOVE or fib levels BELOW
~extend Fib levels 'X' bars to the right, or toggle on/off 'Full Extend' to the right
## Tips & Notes ##
-use 'Full Extend' together with 'visible chart only' if searching for multiple confluence of Fib levels.
-can quickly get very cluttered, but the aim in writing this was to try to find area of confluence at a glance amongst a mess of levels, then hide the indicator and study/note that area.
-if lines don't print toward the left hand side of the chart you've likely reached the max line limit set by Tradingview.
-Fib level input of 1.0 represents zero % extension above the high or below the low of the leg; 2.0 represents 100% extension.
1hr S&P: Visible chart only; large legs only; 50%, 100%, 150%, 200% Fib extensions; Above only; lines extended fully to the right:
Usage notes; 15m S&P: Small & Large price legs; partial extend; all fib levels above/below: