Bull / Bear Volume (BBV) - Indicator"An approximation of the average Bull Volume component versus the average Bear Volume component of total Volume. Displays an interesting and helpful view of the ebb and flow of Bull and Bear Volume pressure in the market. Shows what the bears are up to while the bulls are in control and vice versa. You can see bull pressure building (or bear pressure diminishing) in advance of a bullish price move (especially in sideways markets and horizontal rectangular consolidations). The graph moves in curves from which you can often extrapolate reasonably accurate and useful projections of future Bull or Bear Volume Action." - Kaiji
This indicator has been totally converted by me from Amibroker Formula Language (AFL) into our pinescript just to make it suitable to use in our tradingview platform. I don't take any credits and neither I wished for. I just shared it for the sake of our tradingview community and whatever calculations are used in the script are all credit goes to 'kaiji' a developer in AFL who build this indicator in Amibroker platfrom where you can find him.
在腳本中搜尋"bear"
EMA ATR Engulfing CandlesThis is good old EMA (Exponential Moving Average) with a twist. The EMA line is surrounded by ATR on either side giving you visibility on how market breadth is working out.
The icing on this cake is in the form of engulfing candle indications. Whenever the engulfing candle happens to be inside the size (that's upper and low ATR area limits around EMA) and the engulfing candle has closed in the appropriate direction, the signal triangle comes up. To understand this...
The signal appears only if one of OHLC price point of engulfed and/or engulfing candles are within upper and lower ATR areas around EMA
When there is a bullish engulfing candle, and the close of the candle is above EMA, a green triangle comes up below the candle
When there is a bearish engulfing candle and the close of the candle is below EMA, a red triangle comes up above the candle
The settings enable you to set the following
Length of EMA (default is 200)
Length of ATR (default is 12)
Resolution of EMA independent of the chart timeframe (default is Daily)
Price type (default is hlc3)
Trade zone width in number of ATRs on either side of EMA (default is 1)
Other settings to adjust display
I have been using this in different timeframes to generate signals and found that it generates pretty good alpha.
Feel free to write to me if you have any ideas that can improve this further or if you wish to discuss how to properly use this.
Probability Bands [Anan]Hello Friends,,,
===================================
This indicator is based on Bayes' Theorem and is fully based on probabilities.
===================================
Formula For Bayes' Theorem:
P(Bull|Bear) = P(Bear∣Bull) * P(Bull) / P(Bear)
where:
Bull and Bear are events and P is probability
P(Bull|Bear) is the posterior probability, the probability of Bull after taking into account Bear
P(Bear∣Bull) is the conditional probability or likelihood, the degree of belief in Bear given that proposition of Bull belief (Bull true)
P(Bull) is the prior probability, the probability of Bull belief
P(Bear) is the prior probability, the probability of Bear belief
===================================
The indicator output one trend lines and (Bull/Bear) Signal :
Bull/Bear Probability Trend :
when the price is above mid line ==> Up Trend
when the price is below mid line ==> Down Trend
And by using ATR deviation multipliers, we can get (Bullish/Bearish) zones
===================================
Disclaimer:
This 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.
===================================
[astropark] DMI/ADX strategy [alarms]Dear Followers,
today I'm happy to share with you my DMI / ADX Strategy .
It provides directional trend information, so if a bullish or a bearish trend is going to start. Statistically it works better on lower timeframes (from 5 minutes to 1 hour).
It is both a Swing and Scalping Strategy indicator , based on a simple trend following theory , good for trading FOREX, Indexes, Stocks, Commodities and Cryptocurrencies.
To help in Taking Profits, the strategy integrates 2 special other than bull/bear signals:
Overbought and Oversold RSI Signals , which appear both as darker background (the darker the color, the more the price is in overbought/oversold) and green "ob"-"tp" / red "os"-"tp" labels (they optionally pop up only on a configurable stronger overbought/oversold condition) (you can enable/disable it optionally)
Peak Profit Tracker , which resets every time a new trade starts and keeps track of price fluctuation during the trade: the message is don't be too greedy and take profits or lock them with a stoploss in profit (you can enable/disable it optionally)
You can edit many options in order to
have more/less bull/bear signals
enable/disable showing bull/bear signals
enable/disable showing RSI TP signals (you can edit RSI length, overbought (OB) and oversold (OS) levels)
enable/disable showing peak profits on each trade
The user who wants to use this strategy, especially via an automated bot, must always set a stoploss (example 150$ from entry on bitcoin ) or use a proper risk management strategy .
This is not the "Holy Grail", so use it with caution. It's highly suggested to use a proper money management .
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
You can find the strategy version for backtesting here below:
Here there are some examples how this DMI / ADX strategy works on many markets:
LTC/USDT 15m
BTC/USD 15m
BNB/BTC 15m
ETH/USD 15m
GOLD (XAU/USD) 15m
GOLD (XAU/USD) 1h
FB 15m
AAPL 15m
TSLA 1h
BANKNIFTY Index 5m
NIFTY 50 Index 5m
This is a premium indicator , so send me a private message in order to get access to this script .
RogTrader Bull Bear StrengthsSimplified Bull/Bear Strengths Indicator uses price action, volume flow, and candlesticks to calculate bull and bear strengths, also known as buying and selling pressures.
Green/Red Volume Bars can be misleading at times
This indicator shows the net bull/bear power
Recommended to be used in combination with indicators to find reversal signals.
For example, during an uptrend, a long red bar indicates that strong selloff has started, and bears begin to control the bargains.
Divergence+ [MS]Divergence indicator for any asset and any time frame that shows bullish and bearish regular (dotted) and hidden (dashed) divergences.
Simple to use, just add to your chart and select the size of divergences you want to see.
Scalping? Use a lower number.
Swing trading? Use a higher number.
Set alerts on when divergences appear.
Settings
• Set the divergence size
• Show hidden divergences
• Show signals with divergences
Use the link below or PM us to obtain access to this indicator.
Zidni BullEngulf BearEngulfBullish Engulfing candle that considers the length of the candle and the position of the candle in a downtrend.
Bearish Engulfing candle that considers the length of the candle and the position of the candle in an uptrend.
DC v0.1Hey traders!
This is a simple script to show some information about the candles on your screen.
Currently it shows:
- Pinbars
- Inside bars
- Bullish engulfing candles
- Bearish engulfing candles
Quick explanation about the settings:
- Wick to candle range ratio (default 0.7): Pinbar wick needs to be at least 70% of the candle range
- Part of wick that stands out to previous candle (default 0.3): Pinbar wick needs to end at least 30% above/below previous candle to stand out to that candle
- Engulfing candle body to range ratio (default 0.7): Engulfing candle needs to have at least 70% body to show strength
Let me know if you have suggestions, improvements or issues!
RSI with Bull/Bear Resistant -SupportRSI with Bull/Bear Resistant -Support
RSI 14 , Overbought = 70 , Oversold = 30 as original signal use.
RSI line change to be Red when higher 70 and change to be Aqua when lower 30
Bullish or Uptrend use Lime color area.
RSI 80-90 is Bullish Resistant Area.
When RSI hit this area, price are hardly to move up more
RSI 40-50 is Bullish Support Area.
When RSI down from Overbought area to this area, to be alert.
If Price flip up and RSI still in Bullish Support Area, Price have enough momentum to return high.
If Price fall down and RSI break down lower Bullish Support Area, Price change to be down trend.
Bearish or Downtrend use Pink color area.
RSI 15-25 is Bearish Support Area.
When RSI hit this area, price are hardly to move down more.
RSI 55-65 is Bearish Resistant Area.
When RSI go up from Oversold are to this area, to be alert.
If Price flip down and RSI still in Bearish Resistant Area, Price have enough momentum to go more low.
If Price go up and RSI break up higher Bearish Resistant Area, Price change to be uptrend.
..
#WaveRiders
DominatorDo investors appreciate a good animal mascot? It seems like it. Bull and bear markets are key investing lingo and symbols, capturing positive feelings (bull) or negative ones (bear). There’s no official rule, but a bull market tends to refer to a 20% increase in a market over time from its bottom, while a bear represents a 20% decrease from its top. In general, “bull” positivity or “bear” negativity can refer to upward or downward movements of almost anything, like individual stocks. And you’ll even notice investors saying they’re “bullish” on an industry with growth potential or “bearish” on a stock they think will drop.
Dominator will give you the calculation of the wave between Bull&bear
How to use :
Long Alert signal = Bull Wave on the market
Short Alert signal = Bear wave on the market
Apply these fundamentals to any time frame and you will be able to read the correction into the trend or even the trend reversals.
Red and Green Ignored Bar by Oliver VelezOn this occasion I present a script that detects Ignored Red Candles and Ignored Green Candles, basically it is a Price Action event that indicates a possible continuation of the current trend and gives the opportunity to climb it with a Very tight risk, before delving into detail I would like to leave this note:
Note: the detection of this event does not guarantee that the signal will be good, the trader must have the ability to determine its quality based on aspects such as trend, maturity, support / resistance levels, expansion / contraction of the market, risk / benefit, etc, if you do not have knowledge about this you should not use this indicator since using it without a robust trading plan and experience could cause you to partially or totally lose your money, if this is your case you should train before If you try to extract money from the market, this script was created to be another tool in your trading plan in order to configure the rules at your discretion, execute them consistently and have AUTOMATIC ALERTS when the event occurs, which is where I find more value because you can have many instruments waiting for the event to be generated, in the time frame you want and without having to observe the mer When the alert is generated, the Trader should evaluate the quality of the alert and define whether or not to execute it (higher timeframes, they can give you more time to execute the operation correctly).
Let's continue….
This event was created by Oliver Velez recognized trader / mentor of price action, the event has a very interesting particularity since it allows to take a position with a very limited risk in trend movements, this achieves favorable operations of good ratio and small losses when taking An adjusted risk, if the trade works, a good ratio is quickly achieved and we agree with a key point in the “Keep small losses and big profits” trading, this makes it easier to have a positive mathematical hope when your level of Success is not very high, so leave you in the field of profitability.
THE EVENT:
The event has a bullish configuration (Ignored Red Candle) and a bearish configuration (Ignored Green Candle), below I detail the “Hard” rules (later I explain why “Hard”):
1- Last 3 bars have to be GREEN-RED-GREEN (possible bullish configuration) or RED-GREEN-RED (possible bearish configuration), the first bar is called Control Bar, the second is called Ignored Bar and the third Signal Bar as shown in the following image:
2- Be in a trend determined by simple moving averages (Slow of 20 periods and Fast of 8 periods), as a general rule you can take the direction of MA20 but the Trader has to determine if there is a trend movement or not.
3- Control bar of good range, little tail and with a body greater than 55%.
4- Ignored bar preferably narrow range, little tail and that is located in the upper 1/3 of the control bar.
5- Signal bar cannot override the minimum of the ignored bar.
6- Activation / Confirmation of event by means of signal bar in overcoming the body of the ignored bar.
Some examples of ignored bars (with “Hard” and “Flexible” rules):
Features and configuration of the indicator:
To access the indicator settings, press the wheel next to the indicator name VVI_VRI "Configuration options".
- Operation mode (Filtering Type):
• Filtering Complete: all filters activated according to the configuration below.
• Without Filtering: all filters deactivated, all VRI / VVI are displayed without any selection criteria.
• Trend Filter only: shows only VRI / VVI that are in accordance with what is set in “Trend Settings”
- Configuration Moving Averages:
• See Slow Media: slow moving average display with direction detection and color change.
• See Fast Media: display of fast moving average with direction detection and color change.
• Type: possibility to choose the type of media: DEMA, EMA, HullMA, SMA, SSMA, SSMA, TEMA, TMA, VWMA, WMA, ZEMA)
• Period: number of previous bars.
• Source: possibility to choose the type of source, open, close, high, low, hl2 hlc3, ohlc4.
• Reaction: this configuration affects the color change before a change of direction, 1 being an immediate reaction and higher values, a more delayed reaction obtaining les false "changes of direction", a value of 3 filters the direction quite well.
- Trend Configuration
• Uptrend Condition P / VRI: possibility to select any of these conditions:
o Bullish MA direction
o Quick bullish MA direction
o Slow and fast bullish MA direction
o Price higher than slow MA
o Price higher than fast MA
o Price higher than slow and fast MA
o Price higher than slow MA and bullish direction
o Price higher than fast MA and bullish direction
o Price higher than slow, fast MA and bullish direction
o No condition
• Condition P / VVI bear trend: possibility of selecting any of these conditions:
o Slow bearish MA direction
o Fast bearish MA direction
o Slow and fast bearish MA direction
o Price less than slow MA
o Price less than fast MA
o Price less than slow and fast MA
o Price lower than slow MA and bearish direction
o Price less than fast MA and bearish direction
o Price less than slow, fast MA and bearish direction
o No condition
- Control bar configuration
• Minimum body percentage%: possibility to select what body percentage the bar must have.
• Paint control bar: when selected, paint the control bar.
• See control bar label: when selected, a label with the legend BC is plotted.
- Configuration bar ignored
• Above X% of the control bar: possibility to select above what percentage of the control bar the ignored bar must be located.
• Paint ignored bar: when selected, paint the ignored bar.
- Signal bar configuration
• You cannot override the minimum of the ignored bar: when selected, the condition is added that the signal bar cannot override the minimum of the ignored bar.
• Paint signal bar: when selected, paint the signal bar.
• See arrow: when selected it shows the direction arrow of the possible movement.
• See bear and arrow: when selected it shows bear and arrow label
• See bull and arrow: when selected it shows bull and arrow label
The following image shows the ignored bar and painted signal:
- Take profit / loss
The profit / loss taking varies depending on the trader and its risk / monetary plan, the proposal is a recommendation based on the nature of the event that is to have a small risk unit (stop below the minimum of the ignored bar), look for objectives in ratios greater than 2: 1 and eliminate the risk in 1: 1 by taking the stop to BE, all parameters are configurable and are the following:
• See recommended stop loss and take profit: trace the levels of Stop, BE, TP1 and TP2, as well as their prices to know them quickly based on the assumed risk
• To: select which event you want to draw the SL and TP (VRI, VVI)
• Extend stop loss line x bars: allows extending the stop line by x number of bars
• Extend take profit line x bars: allows extending the stop line by x number of bars
• Ratio to move to break even: allows you to select the minimum ratio to move stop to break even (default 1: 1)
• Take profit 1 ratio: allows you to select the ratio for take profit 1 (default 2: 1)
• Take profit 2 ratio: allows you to select the ratio for take profit 2 (default 4: 1)
- Alerts
• It is possible to configure the following alerts:
-VRI DETECTED
-VVI DETECTED
-VRI / VVI DETECTED
Final Notes:
- The term hard rules refers to the fact that an event is sought with the rules detailed above to obtain a high quality event but this brings 2 situations to consider, less
number of events and events that are generated in a strong impulse may be leaked, a very large control bar followed by an ignored narrow body away from moving averages, despite having a good chance of continuing, taking a stop very tight in a strong impulse you can touch it by the simple fact of the own volatility at that time.
- The setting of the parameters “Minimum body percentage% (control bar)”, “Above x% of the control bar (bar ignored)” and “Cannot override the minimum of the ignored bar” can bring large Benefits in terms of number of events and that can also be of high quality, feel free to find the best configuration for your instrument to operate.
- It is recommended to look for trending events, near moving averages and at an early stage of it.
- The display of several nearby VRIs or VVIs in an advanced trend may indicate a depletion of it.
- The alerts can be worked in 2 ways: at the closing of the candle (confirms event but the risk unit may be larger or smaller) or immediately the body of the ignored bar is exceeded, in case you are operating from the mobile and miss many events because of the short time I recommend that you operate in a superior time frame to have more time.
- The indicator is configured with “flexible” rules to have more events, but without any important criteria, each trader has to look for the best configuration that suits his instrument.
- It is recommended to partially close the operation based on the ratio and always keep a part of the position to apply manual trailing stop and try to maximize profits.
The code is open feel free to use and modify it, a mention in credits is appreciated.
If you liked this SCRIPT THUMB UP!
Greetings to all, I wish you much green!
RSI DIVRSI divergence Detector
What is Divergence :
The word divergence itself means to separate and that is exactly what we are looking for today. Typically RSI will follow price as the EURUSD declines so will the indicator. Divergence occurs when price splits from the indicator and they begin heading in two different directions.
How to use :
Use the H Plot means Hidden divergence condition
Use the R Plot means Regular divergence condition
Red R above bar = Regular Bearish
Green R below bar = Bullish
Blue H Below bar = Hidden Bullish
Orange H above bar = Hidden Bearish
RSI Divergence Pointer v2This script points regular and optionally hidden types of bullish and bearish RSI divergences on the chart by drawing the divergence lines and optionally labels.
Hidden divergence is disabled by default, it can be enabled over settings window.
There is an option to display the price channel additionally.
Added alerts for 4 types of divergences
Titles and messages are the same:
"Regular Bearish Divergence"
"Regular Bullish Divergence"
"Hidden Bearish Divergence"
"Hidden Bullish Divergence"
BOSS Relative Strength MeterTHE BEST FOREX, STOCKS, COMMODITIES , AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
The relative strength meter (RSM) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
The RSM is displayed as a color coded meter.
GREEN: Bullish Uptrend
RED: Bearish Downtrend
YELLOW: Disbursement
Highlights:
Add to any chart or time frame
Prints on the current bar in real time
DOES NOT repaint several bars after the fact
Freedom to Tune
User can change colors
Available Here: bosscripts.com
7_Day Trial: bosscripts.com
Sentiment Zone OscillatorHere's a (forgotten but still useful) Sentiment Zone Oscillator. The Sentiment Zone Oscillator takes a sum of positive price candles over a user-specified window length. Normally, a triple exponential moving average of the sum is used, but we opted to just go with a double EMA for the sake of more responsiveness. When the histogram is green it is bullish and red/pink means bears.
Bilateral Stochastic Oscillator - For The Sake Of EfficiencyIntroduction
The stochastic oscillator is a feature scaling method commonly used in technical analysis, this method is the same as the running min-max normalization method except that the stochastic oscillator is in a range of (0,100) while min-max normalization is in a range of (0,1). The stochastic oscillator in itself is efficient since it tell's us when the price reached its highest/lowest or crossed this average, however there could be ways to further develop the stochastic oscillator, this is why i propose this new indicator that aim to show all the information a classical stochastic oscillator would give with some additional features.
Min-Max Derivation
The min-max normalization of the price is calculated as follow : (price - min)/(max - min) , this calculation is efficient but there is alternates forms such as :
price - (max - min) - min/(max - min)
This alternate form is the one i chosen to make the indicator except that both range (max - min) are smoothed with a simple moving average, there are also additional modifications that you can see on the code.
The Indicator
The indicator return two main lines, in blue the bull line who show the buying force and in red the bear line who show the selling force.
An orange line show the signal line who represent the moving average of the max(bull,bear), this line aim to show possible exit/reversals points for the current trend.
Length control the highest/lowest period as well as the smoothing amount, signal length control the moving average period of the signal line, the pre-filtering setting indicate which smoothing method will be used to smooth the input source before applying normalization.
The default pre-filtering method is the sma.
The ema method is slightly faster as you can see above.
The triangular moving average is the moving average of another moving average, the impulse response of this filter is a triangular function hence its name. This moving average is really smooth.
The lsma or least squares moving average is the fastest moving average used in this indicator, this filter try to best fit a linear function to the data in a certain window by using the least squares method.
No filtering will use the source price without prior smoothing for the indicator calculation.
Relationship With The Stochastic Oscillator
The crosses between the bull and bear line mean that the stochastic oscillator crossed the 50 level. When the Bull line is equal to 0 this mean that the stochastic oscillator is equal to 0 while a bear line equal to 0 mean a stochastic oscillator equal to 100.
The indicator and below a stochastic oscillator of both period 100
Using Levels
Unlike a stochastic oscillator who would clip at the 0 and 100 level the proposed indicator is not heavily constrained in a range like the stochastic oscillator, this mean that you can apply levels to trigger signals
Possible levels could be 1,2,3... even if the indicator rarely go over 3.
Its then possible to create strategies using such levels as support or resistance one.
Conclusion
I've showed a modified stochastic oscillator who aim to show additional information to the user while keeping all the information a classical stochastic oscillator would give. The proposed indicator is no longer constrained in an hard range and posses more liberty to exploit its scale which in return allow to create strategies based on levels.
For pinescript users what you can learn from this is that alternates forms of specific formulas can be extremely interesting to modify, changes can be really surprising so if you are feeling stuck, modifying alternates forms of know indicators can give great results, use tools such as sympy gamma to get alternates forms of formulas.
Thanks for reading !
If you are looking for something or just want to say thanks try to pm me :)
Turbo TriggerSome Words
This indicator is a collaboration between me and Himeyuri, i encourage you to check her profile and follow her www.tradingview.com
Introduction
A lot of indicators include a "trigger" line, it can be a smoothed version of another input, in this case the trigger will generate signals from his crosses with the input. The purpose of this indicator is to provide a fast trigger line to generate earlier signals as well as avoiding some whipsaw.
The Indicator
There are two lines, a bull line (blue) and the trigger (orange) , when the trigger cross over the bull line a buy signal is generated, when the trigger cross under the bull line a sell signal is generated. The trigger is made from the smoothed difference between the bull and bear line.
smooth control the smoothness of the output. The Bull/Bear Mode is an idea proposed by Himeyuri that involve plotting the bear line instead of the trigger.
Bull/Bear Mode, the lines are somewhat asymmetrical from each others.
Conclusion
We have showcased a new indicator who use a really fast trigger line to generate earlier signals, if some are way to earlier you can still increase smooth in order to correct reactivity. I hope you find a use to it.
Thanks for reading !
A big thanks to Himeyuri who is a great student and great pinescripter.
BOSS Smooth Stochastic Bull/Bear Oscillator With Alerts THE BEST FOREX, BINARY OPTIONS, AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
Short Entry
During a price downtrend and you get a sell signal (red dot) enter short when the "K" line (green line) drops below 65 (mid upper band).
Long Entry
During an uptrend, buy when you get a long signal (green dot) and "D" line (red line) rises above 35 (mid lower band) .
Bull/Bear
Green background indicates bullish price action (uptrend)
Red background indicates bearish price action (downtrend)
Available At bosscripts.com
Website bosscripts.com
AG Market QualityGiven that we are primarily focussed on trend-following, we built this indicator in a quest to assess the "quality" of a market. It was adapted primarily from methods that trading coach Dr. Van Tharp popularised, namely to do with his SQN.
This indicator has 5 zones that act to classify the market:
Strong Bull - Dark Green
Bull - Green
Neutral - Grey
Bear - Red
Strong Bear - Dark Red
The black line is an SMA(20) of Market Quality (indicating average quality over a period).
The simplistic theory is to look for long trades when the quality is indicating bull or strong bull conditions (green or dark green), and look for short trades when the quality is indicating bear or strong bear conditions (red or dark red). When the quality is in neutral territory (grey bars), the market is choppy/sideways/rangebound, and it's generally best to stay out in these conditions (for trend-followers).
We like to look for long trades when the quality is bull or strong bull, and above the average quality (black line), and look for short trades when the quality is bear or strong bear, and below the average quality.
So, not only does this indicator help you decide when to get in the market, it also tells you when to stay out of the market - really handy!
You can change the periods of the Market Quality, and also the SMA measuring average quality.
Bitfinex Sentiment Index [Long-Short]BSI provides two attractive graphs that breakdown the long (green area) and short (red area) positions ratio for the all Bitfinex margin cryptocurrency pairs only .
It is a quantitative measure of the bullishness or bearishness that can be used as a trading rule or in a trading system entries or exits. Included slow stochastic oscillator.
How much Bullish/Bearish is it?(V1)A script can show the amount of the bullishness and bearishness of candles on the chart based on the offered calculations.