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).
Sentiment
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
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.
Yale Confidence Index [nb]These are the Yale confidence indexes that show individual and institutional sentiment.
Options include:
showing two different indexes at once
labels for them
to filter through a moving average
highlighting when the first chosen index is greater than the second
shifting the series 6 months ahead
showing an average of both indexes
U.S. One-Year Confidence Index
The percent of the population expecting an increase in the Dow in the coming year.
The One-Year Confidence Index is the percentage of respondents giving a number strictly greater than zero for "in 1 year." Note that the question is worded to mention the possibility that the respondent could predict a downturn, and so this question will obtain more such responses than more optimistically worded questions used by some other surveys. However, the issue is how the answers change through time, and the wording of the question has not been changed through time (except to add the 1-month and the ten-year categories, which were not on the earliest questionnaires).
U.S. Buy-on-Dips Confidence Index
The percent of the population expecting a rebound the next day should the market ever drop 3% in one day.
The Buy-On-Dips Confidence Index is the number of respondents who choose 1 (increase) as a percent of those who chose 1, 2 or 3. This question was never changed.
U.S. Crash Confidence Index
The percent of the population who attach little probability to a stock market crash in the next six months.
The Crash Confidence Index is the percentage of respondents who think that the probability is strictly less than 10%. There were slight wording changes in this question, but inessential.
U.S. Valuation Confidence Index
The percent of the population who think that the market is not too high.
The Valuation Confidence Index is the number of respondents who choose 1 (Too Low) or 3 (About right) as a percentage of those who choose 1, 2, or 3. The wording of this question was never changed, and it was always the first question on the questionnaire.
Source:
som.yale.edu
Includes methodology and questions used.
Japanese indexes aren't updated so I did not include them.
Bitcoin Futures SentimentMonitors the sentiment across Bitcoin Futures, large discrepancies indicate potential low risk (buy/green) and high risk (sell/red) zones.
Bias And Sentiment Strength (BASS) Indicator by mattzabBias And Sentiment Strength (BASS) Indicator is designed to be a quick visualization as to the market strength.
Pair with Alligator, MACD, or Moving Average lines on your chart for good results.
How to use this indicator:
Blue above 0 is positive sentiment, red below 0 is negative sentiment.
If you have blue above and red below, be cautious! The Bass is telling you that we have a battle between the Bulls and the Bears!
The purple bars are your volume bias. Volume bias can be positive or negative, despite the direction of the overall trend. Positive Volume Bias along with Bullish Blue Sentiment is a great sign! Go Long! If you have Bullish Sentiment and have a negative Volume Bias, be cautious! Price may not be moving with much conviction, and may be subject to reversal!
This is basically several different histograms overlaying one another, and they are blue above 0 and red below 0.
MACD Histogram - Standard MACD Histogram here.
RSI Histogram - This is a standard RSI. It has been adjusted to "oscillate" above and below zero, which would be the 50 line on a normal RSI chart.
Slow Stochastic Histogram - This is a slow stochastic with a 21 Period K, 14 Period D, and 14 Smoothing K. The "oscillator" histogram is formed by subtracting K from D.
Awesome Oscillator - This is a standard Awesome Oscillator
Alligator Oscillator - This is formed by adding (lips + teeth) + (teeth - jaw)
Volume Bias - The Volume Bias is displayed as purple bars, and is calculated by a highly sophisticated and complex algorithmic function called subtraction. It's just the 30 Period Volume-Weighted Moving Average Minus the 30 Simple Moving Average.
Enjoy!