Market bars sentimentBonjour,
j'ai écrit cette indicateur des sentiments de pour avoir une rapide aperçu de marche
Voici le code couleurs:
-barres de couleur rouge signalons la vent panique( pour certain opportunité)
-barres de couleur vert fonce signalons la positivité, début de dominance des acheteurs au la stabilisation des cours âpres les achats euphorique
-barres de couleur lime signalons éphorie des acheteurs sur le marche.
L’indicateur est adopter pour étudier le marche de cryptomonnaie,Indice boursier au actions en particulier.
Sentiment
High-Low IndexHello All,
High-Low Index is a breadth indicator based on Record High Percent (RHP). RHP is based on new 52-week highs and new 52-week lows. RHP => 100 * (new highs) / (new highs + new lows). High-Low Index is a 10-day Simple Moving Average of the RHP, which makes it a smoothed version of RHP. You can find many articles about High-Low Index on the net.
High-Low Index above 50 indicates that there are more new highs than new lows, and considered as Bullish.
High-Low Index below 50 indicates that there are more new lows than new highs, and considered as Bearish.
High-Low Index = 0 indicates there is no new highs (0% new highs).
High-Low Index = 100 indicates that there is at least 1 new high and no new lows.
and High-Low Index = 50 indicates that new highs and new lows is equal.
by default 40 cryptos are used in the script and shows High-Low Index for these cryptos. but you can change them as you wish. for example you can set all of them as stocks and see High-Low Index for these stocks.
You can set " Time frame " and the " Length " using the options. For example; if you set " Time frame " = 1 Week and the " Length " = 52 then it finds High-Low Index for 52weeks .
or another example; if you set " Time frame " = 1 Day and the " Length " = 22 the High-Low Indexn it finds High-Low Index for 22days.
You can enable/disable Record High Percent or Simple Moving Average of High-Low Index. Some traders use High-Low Index with its SMA, for example; High-Low Index generates a buy signal when it crosses above its moving average, and a sell signal when it crosses below its moving average.
Optionally you can see the securities in a table on the left bottom, you can change table size by usşng the options.
In the Table, for each security/cell;
=> if background is green then it has New High
=> if background is red then it has New Low
=> if background is gray then no New High, no New Low
=> if background is back then Data is not available for the security
As you can see in the screenshot below, the securities were changed and stocks are used instead of cryptos, so it calculates & shows High-Low Index for these stocks.
you can also find explanation in this screenshot:
Enjoy!
Sentiment Estimator [AstrideUnicorn]Sentiment Estimator is an indicator that estimates market sentiment using only its pricing data. It counts bullish and bearish candles in a rolling window and calculates their relative values as percentages of the total amount of candles in the window. Market sentiment shows the direction in which the market is biased to move or the current trend direction. Extreme values of the market sentiment are contrarian signals. When the market sentiment is too bullish, it is time to sell and vice versa.
HOW TO USE
Sentiment Estimator plots a pair of green and red circles for each candle. They represent bullish and bearish sentiments, respectively.
The vertical positions of the circles show corresponding sentiment values in percentage units. For example, if a green circle's height is 60, the market is 60% bullish. In this case, the red circle's height will be 40, as bullish and bearish parts of the market sentiment sum to 100%.
The blue line plotted at the 50% level shows the neutral sentiment level. If a green circle is above the blue line, the prevailing market sentiment at that time is bullish, and the market is biased to move up. If a red one is above, the market has predominantly bearish sentiment and is prone to move down.
The red level shows extreme sentiment level. If a green or red circle is above this line, it means that the market is extremely bullish or bearish, respectively. It is a contrarian signal, and one can expect a reversal soon. In this case, a blue label with the text "reversal expected" is shown.
SETTINGS
Timeframe - allows choosing a timeframe other than the chart's one for the indicator calculation.
Look-Back Window - sets the historical window length used to perform the calculations. You can adjust the window to get the best results for a particular market or timeframe.
Options Flow Intraday SentimentScript useful for Intraday Trading - which based on Options data loaded in background - is showing sentiment of Investors. Very often Options are forecasting and precedes moves that will happen later on derivatives like Futures Contracts. Due to its' nature, data is useful during Regular Trading Hours sessions ( RTH ).
We take into account Options Volume flow & Put/Call Ratio from Options. Data is based from dataset on Quandl and loaded to TradingView. Therefore data is normalized as per different factors we have different scale of received data. Then I apply calculations comparing PUT and CALL Volume, giving the biggest weight ratio to those Options which have nearest Expiration Date. Another condition taken into account is Type of Option: either In the Money, Out of Money or At the money. Last but not least for Options there is calculated risk, where those orderflow entries with lowest risk are having the biggest weight in calculation while those with highest risk - are having lower ratio. Risk is calculated based on delta factor (coming out of Options standard definitions).
Background of indicator is coloured in direction of sentiment when we have alignment of sentiment factors calculated in background in one direction. Script is displaying additionally PUT Volume, CALL Volume from Options and PUT/CALL Ratio. Those are only additional information that can be useful for traders, but the whole logic is hidden under the hood (as described earlier) and is showing coloured background when sentiment is aligned. Therefore be prepared to take potentially a trade in direction of the background - but not blindly
Currently it's supporting SPX ( S&P500 ) and support for more instruments will come with next updates.
Michigan Consumer SentimentThis script pulls the Michigan Consumer Sentiment from Quandl
This script also indexes the sentiment score from 0-100 on a 1 year lookback to help visualise extreme highs and lows that may indicator turning points.
Bhoomi SentimentBhoomi Sentiment shows you Market Trend in various timeframes over a user-specified window length. This is majorly used to know the Market Direction.
A global trend is also provided to show overall trend of the timeframes chosen by user.
When the bar is green it is bullish, when red it is bearish and when yellow it is sideways.
© AlpHay : FINRA SHORT DATA REPORT TABLE with QUANDL Data// Equity Short Data Report Table:
// Data Provider: Quandl => Finra (Nyse + Nasdaq + Bats exchanges)
// I am not a financial advisor or expert.
// This is my interpretation of FINRA's data. Consider this data doesn't represent the whole picture of what is going on!
// If you find some fundementally wrong thinking about this aproach, please inform me.
// I am open to suggestions. I am also looking for answers.
// Use it with a daily timeframe for data consistency.
// You can change the threshold values whatever you want.
// MFM (Money Flow Multiplier):
// mfm = close == high and close == low or high == low ? 0 : (2 * close - low - high) / (high - low)
SB Average Gain/Loss OscillatorI created an algorithm to analyze overbought/oversold levels through the use of average gain/loss.
This method of measurement is utilizing the 20 period and 50 period moving averages.
Light Green: 20 Period Oversold
Dark Green: 50 Period Oversold
Green Dot: 20 and 50 Period Oversold
Light Red: 20 Period Overbought
Dark Red: 50 Period Overbought
Red Dot: 20 and 50 Period Overbought
Places of overlap green/red would be considered indecision and/or volatility in both directions.
I would consider this more of an sentiment indicator, bullish/bearish. The reason for this classification is that its only using price action. No real technical indicators other than period gain/loss).
BTC Sentiment analysis RSI 2xEMAThis is a CRYPTO correlation strategy, which is using BTC sentiment with BITFINEX long and short ratios.
WIth them we are making from one side 2 RSI, one for long and another for short. And from another side, we are going to make multiple EMA's, using the ratios for long and short.
Rules for entry
For this scenario I created a long only strategy.
The long entry condition is : we have a crossover of the rsi long ratio with rsi short ratio and long ratio from BITFINEX is above the long EMA and short ratio from BITFINEX is below short EMA.
We exit when we get the opposite condition, in this case we have a crossunder of the rsi long ratio with rsi short ratio and long ratio from BITFINEX is below the long EMA and short ratio from BITFINEX is above short EMA.
If you have any questions, let me know !
SB On Balance Profit/Loss IndicatorI was always interested in volume indicators as well as market sentiment.
While brainstorming, I came to the thought that people with gains vs people with losses can move a stock up or down.
I don't want to debate the rational behind people buying and selling based on profits or losses, so this isnt a signaling indicator.
However, I still wanted to have a way to measure and visualize this information.
On Balance Volume was not enough for me. I wanted to know how much actual money was made or lost, over time.
This indicator was created based on two different time periods, the daily and the 30m.
The daily time period is used to measure money made from close of the day before to the open of the current day (gap up/down).
The 30 minute precision period is used to measure the money made from the close of the current bar from the close of the bar prior and calculated 13 times per trading session.
There is an option for 15 minute and 5 minute precision, but it may take longer for the script to process and may time out at lower precision periods.
The default lookback period is 10 days, values are cumulative. We can clearly see over the last 10 days how much money was made, lost and on balance. This should affect trader sentiment.
Visual display is the cumulative money made (green line), cumulative money lost (red line), and cumulative net on balance money (black line). The net on balance money is filled green above zero and filled red below zero.
The Green Histogram is the money made overnight, the Red histogram is the money lost overnight.
The black histogram above zero is the money made intraday and the black histogram is the money lost intraday.
Takeways
Just because a stock is trending down, as noted by the downward slop in price on the daily chart , it does not mean that the average trader is losing money. Intraday price action can offset money lost at higher time periods.
Especially in cases where a stock gaps down overnight, buyers step in at the low and the stock closes above open, but below previous days close. Esspecially when this is done on high volume .
The net profit can be greater than net loss, even if the day closes down from previous close. This can really help with "sentiment" and being able to visualize this sentiment may be helpful in making a decision to buy or sell.
View my collection of custom scripts at: www.tradingview.com
Sentiment analysis combined with multiple MA types for CRYPTOThis is a strategy made from price action combined with multiple moving averages calculations used for the candle histograms.
In this case we calculate the bear and the bull candles based on the next criteria :
Bull candle : ((CLOSE - LOW ) + (HIGH -OPEN) / 2 ) / Candle length
Bear candle: ((HIGH - CLOSE ) + (OPEN-LOW ) / 2 ) / Candle length
Once we have the candle we use moving average to smooth the process, and then we calculate the differece between the bull ma and bear ma.
The result is going to be our histogram.
Once we have the histogram we can start setting up rules for entries and exit.
If you have any question, please let me know!
RSI Support & Resistance by DGTRSI Sᴜᴘᴘᴏʀᴛ & Rᴇꜱɪꜱᴛᴀɴᴄᴇ ʙʏ DGT
This experimental study attempts to translate Relative Strength Index (RSI) threshold levels of oversold/overbought and bull/bear zones as probable Price Support and Resistance levels
█ OPTIONS
Support & Resistance Levels , the main aim of the study. Level calculations are based on Relative Strength Index (RSI) threshold levels of oversold/overbought and bull/bear zones, where all threshold values are customizable through the user dialog box. Background of the levels can be colored optionally
RSI Weighted Colored Bars and/or Mark Overbought/Oversold Bars , Bar colors can be painted to better emphasis RSI values. Darker colors when the oscillator is in oversold/overbought zones, light colors when oscillator readings are below/above the bull/bear zone respectively, and remain unchanged otherwise. Besides the colors, with “Display RSI Overbought/Oversold Price Bars” option little triangle shapes can be plotted on top or bottom of the bars when RSI is in oversold/overbought zones
Example usage of the study with explanations
█ OTHERS
More regarding Support & Resistance concept (definition, identifying levels, trading S&R, etc) you are kindly invited to check my previous publication
Price Action - Support & Resistance by DGT
More regarding Relative Strength Index (RSI) and Relative Strength of Volume Indicators , please check Relative Strength of Volume Indicators by DGT
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Put Call OscillatorThis is a volume-based oscillator used for detecting market sentiment.
This plots two moving averages of the CBOE S&P500 PCR (put call ratio), and a histogram to measure the distance between them. The histogram will generate signals of green (bullish) or red (bearish), depending on whether put volume is decreasing or increasing.
The moving averages are adjustable. They are set at 4 and 16 by default. Increasing the moving averages will generate less signals, while decreasing them will generate more signals.
The background will change color from red to green depending on whether the PCR is above or below 1.
I used capriole_charles script "Put/Call Ratio (PCR)" to help me build this.
Identifying Trapped Traders - Market Phycology IndicatorThis indicator displays how many buyers and sellers are trapped into their positions. These figures are calculated by comparing the price they entered their positions, to the current price +- trading fees.
This indicator also features an option to account for trading fees, so that it can be used as reliably in the real world, on real people as much as possible!
The chart is a simple zero-line cross, displaying both buyers and sellers trapped in the form of a histogram.
Hope you enjoy! Happy trading!
TopTenAlg0 1. Sentiment & MomentumEN: Mum Sentiment & Momentum is an indicator that measures the psychological thresholds of the O candle and the rate of change of the price (Rate of Chance / Bar Momentum). Each price action is a separate action with flexibility. Mum Sentiment & Momentum shows you the speed and direction of this price action. If sentiment and momentum are green, the rise will continue, if it is much above momentum sentiment, it indicates the presence of an enthusiastic psychological movement. If sentiment and momentum are red, a correction may come and a decrease is expected, and if momentum is well below sentiment, there is an enthusiastic sale.
This algorithm is prepared with @Top10Algo ... Optimization periods
TR: Mum Sentiment & Momentum her barda ayrı ayrı olmak üzere O muma ait psikolojik eşikleri ve fiyatın değişim hızını ( Rate of Chance / Mum Momentumu ) ölçen bir göstergedir. Her bir fiyat hareketi esnekliği olan ayrı birer aksiyondur. Mum Sentiment & Momentum size bu fiyat aksiyonunun hızını ve yönünün ne olduğunu gösterir. Eğer sentiment ve momentum yeşil ise yükselişin devam edeceğini, momentum sentiment’ in çok üstünde ise coşkulu bir psikolojik hareketin varlığını gösterir. Eğer sentiment ve momentum kırmızı ise düzeltme gelebileceğini ve düşüş beklenildiğini, momentum ise sentiment’in çok altında ise coşkulu bir satış’ ın olduğunu gösterir.
Bu algoritma @Top10Algo ile beraber hazırlanmıştır... Periyotlar optimize edilmiştir.
Weekly Sentiment AnalysisThis script plots weekly scores derived from sentiment analysis and computes some stats on the history.
While this can be viewed on any timeframe, the stats are best viewed on the Daily timeframe, weekly and intraday charts produce some discrepancies.
Columns show the weekly score. If the column is blue, the high/low of that candle surpassed the target price.
White bars in the columns show the % change from the open price to the high of that candle.
Horizontal line shows the % above the weekly open that must be reached for a win.
The display after the most recent week shows stats across all weeks.
Skips is the percent of weeks that were skipped because they didn't meet the score threshold
Total Wins is the number of wins divided by the number of non-skipped weeks
Long Wins is the number of long wins divided by the number of non-skipped weeks
Short Wins is the number of short wins divided by the number of non-skipped weeks
Best Move is the number of weeks where the score predicted the biggest move, even if target wasn't hit, divided by the total number of weeks
Double Win is the number of weeks where both the Long and Short targets were hit, divided by the total number of weeks
Settings
The first section of inputs define how much each type of sentiment is weighted.
The second section defines the win criteria. By default the daily ATR(average true range) is used to define a percent above or below the opening price that the price much reach during the week in order to be considered a win.
ATR Lookback : How many days back the ATR is average over.
Long ATR Multiplier : ATR is multiplied by this value and added to the opening price to get the target price for longs.
Short ATR Multiplier ATR is multiplied by this value and subtracted from the opening price to get the target price for shorts.
Use Multipliers as fixed % targets : If true, uses the multipliers as a fixed % above/below the opening price to define the target price.
The third section is everything else...
Score Threshold for Longs : The week is skipped if the score is less than the threshold.
Score Threshold for Shorts : The week is skipped if the score is greater than threshold.
Instrument Type : To accurately track session opens and closes, the value must be set to Stocks if looking at stock tickers, Futures if looking at futures or forex tickers, and Crypto if looking at crypto tickers.
Weighted Move [racer8]Hey guys, I've been away for some time...you guys miss me? Ha! Well I'm back at it because today I have another indicator for you guys. I call it Weighted Move. Nothing out of the ordinary. What it does is it tells you the overall sentiment. I kinda stumbled upon this idea by accident ;)
In a nutshell, this indicator calculates the weighted move for 100 periods then smoothes it.
Enjoy ;)
Bitcoin Bullish Percent IndexHello Traders,
This is Bitcoin Bullish Percent Index script. First lets talk about what the Bullish Percent Index and how it is calculated:
"The Bullish Percent Index (BPI) is a breadth indicator based on the number of securities on Point & Figure Buy Signals, Developed by Abe Cohen in the mid-1950s. Because a security is either on a P&F Buy or Sell Signal, there is no ambiguity when it comes to P&F charts. This makes BPI a straightforward indicator with clearly defined signals."
The calculation is straightforward and simple: (Number of securities on P&F Buy signals) / (Total number of securities)
Here you can see what the P&F buy signal is:
In this script I choose 40 cryptos that is correlated ( as I see ) with BTC (including BtcUsdt). in the first part the script creates P&F chart for each security and check if there is Buy or Sell signal and sum the buy signals if there is. in the second part it creates P&F chart by using the P&F buy/sell signals coming from the securities P&F chart. because of complicated calculation the script may need a few seconds to load.
in the first part reversal value is 3 by default but you can set different values as reversal. sometimes I got better results with reversal = 5.
in BPI part reversal = 3 is used. so each box represents 2% (each X or O is a box). And this means it takes at least a 6% move in BPI for a reversal. the Bullish Percent Index favors the bulls when above 50% and the bears when below 50%. The bulls have the edge when over 50% of stocks are on a P&F Buy Signal. BPI is also considered overbought when above 70% and oversold when below 30%. BPI can move between 0 and 100.
Because of 40 securities are used in the script and all different prices, it uses Percentage scaling only. it can calculate the Percentage automatically by using the time frame of the chart or you can set it as you wish.
The Signals coming from BPI:
Bull Alert: BPI is below 30% and then forms a new column of X's (rises)
Bear Alert: BPI is above 70% and then forms a new column of O's that decline below 70%.
Bull Confirmed: BPI is on a P&F buy signal and in a column of X's (rising).
Bear Confirmed: BPI is on a P&F sell signal and in a column of O's (falling).
Bull Correction: BPI is on a P&F buy signal, but currently falling (column of O's).
Bear Correction: BPI is on a P&F sell signal, but currently rising (column of X's).
If you are not familiar with Bullish Percent Index you better search it on the net to get more info, you can find a lot of articles and web sites about BPI.
as I remember I developed the script 6-7 months ago and today I had chance to publish it as it was
Enjoy!
Array-Trend-BandsHere I propose a simple trend following system, where one can ride out moves in a trending direction and use it to reenter the trades in the direction of the trend. This band is also capable of tracking down the strength of the price action, there will be a real indication of compression in price movement and expansion.
These zones usually blow traders' accounts when they trade MA's, they end up taking too many trades in the compression zones, it an inherent fault with the MA systems, no matter which MA you use. This, however, is a very clear indicator to avoid these compression zones to take the trade and enter only when price gives clear breakout.
This indicator does not require user input and it works on all TF and all instruments, as long as there is a price, this will work.
Past performance is no assurance of future success. This is an idea for education purposes only.
Please note that this is coded using TV's newly introduced array functions, so it's extremely snappy.
Regards!
Trapped Traders - SR Levels/Zones (Expo) Trapped Traders - SR Levels/Zones (Expo) automatically identifies and displays support and resistance levels based on where Bulls & Bears can be trapped.
Levels are displayed where there is a high probability that market participants will be trapped and forced to exit their positions if the price breakouts from the SR level.
If the price doesn't breakouts from the SR level there's a chance that the market has topped or bottomed out.
The indicator can be used standalone or as a part of your current trading strategy.
Real-time
No repainting
Works on any market
HOW TO USE
1. Use the indicator to identify where Bulls and Bears can be trapped.
2. Use the indicator to identify potential breakouts in the trend direction.
3. Use the indicator to identify potential reversal points.
INDICATOR IN ACTION
Daily Chart
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/ideas are only for educational purposes!
Sentiment Histogramthis indicator is used to plot the sentiment of the pair you are viewing
histogram style being used to make the visual nice and easy
as usual fully adjustable
DM for access rules
Bayes Probability Index by DGTWhat is Probability?
It is a measure for calculating the chances or the possibilities of the occurrence of a random event. In simple words, it calculates the chance of the favorable outcome amongst the entire possible outcomes. Mathematically, if you want to answer what is probability, it is defined as the ratio of the number of favorable events to the total number of possible outcomes of a random events.
Is this enough? May be or may be not
Let’s consider an example,
A simple probability question may ask: "What is the probability of Amazon.com's stock price falling?"
How about if we extend our question a step further by asking: "What is the probability of AMZN stock price falling given that the Dow Jones Industrial Average (DJIA) index fell earlier?"
Now we are ready to consider conditional probability and Bayes' Theorem is where we could find answer to this question
Bayes' Theorem
Bayes' theorem, named after 18th-century British mathematician Thomas Bayes, is a mathematical formula for determining conditional probability. Conditional probability is the likelihood of an outcome occurring, based on prior knowledge of conditions or another related event occurring. Bayes' theorem provides a way to revise existing predictions or theories (update probabilities) given new or additional evidence. Bayes' theorem thus gives the probability of an event based on new information that is, or may be related, to that event
Formula For Bayes' Theorem
P(A|B) = P(B∣A) * P(A) /P(B)
= P(B∣A) * P(A) / (P(B∣A)* P(A) + P(B∣A’)* P(A’) )
where
A and B are events and P is probability
P(A|B) is the posterior probability, the probability of A after taking into account B
P(A) is the prior probability, the probability of A belief
P(A’) is the prior probability, the probability of A disbelief : P(A’)=1- P(A)
P(B) is the prior probability, the probability of B belief
P(B∣A) is the conditional probability or likelihood, the degree of belief in B given that proposition of A belief (A true)
P(B∣A’) is the conditional probability or likelihood, the degree of belief in B given that proposition of A disbelief (A false)
Bitcoin was the first-ever cryptocurrency, designed by Satoshi Nakamoto. In its likeness, all other cryptocurrencies were then created. The relationship between Bitcoin and altcoins remains something crypto analyst watch closely. This study aims to display the likelihood of bullish movement for ALTS-USDT pairs taking into consideration of bullish move probability of BTC-USDT pair
What to look for:
Percentage Value of the Conditional Probability and/or Simple Probability. When value is above %50 than bullish move is more probable, conversely when the value is below %50 bearish move is more likely
Limitations : Conditional Probability Line will be shown for daily time frame only, Simply Probability Line would be available for all time frames
Conditional Probability is calculated with the condition of BTC-USDT pair so using Conditional Probability is suggested with ALTS-USDT pairs.
Indicators aim to generate a potential signal/indication of an upcoming opportunity, but, the Indicators themselves do not guarantee the future movement of a given financial instrument, and are most useful when used in combination with other techniques.
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script