IPB_MA_Market_Breadth_NIFTYThis is a very powerful index to guage the market breadth of an index.
By default it is configured for the top 18 stocks of Nifty.
This indicator calculates the momentum (RSI) of the no. of stocks above and below MA difference.
Divergence of shorter momentum with price gives reversal caution.
Crossing of shorter momentum over / under longer momentum provides a bullish stance / bearish stance.
It also has a MACD of no. the stocks above and below MA difference.
As usual it is better to use this indicator along with other indicators.
廣量指標
IPB_MA_MARKET_BREADTH (MAMB)This is a powerful indicator to guage the strength of the market.
1) By default it plots the momentum of the number of stocks in Bank Nifty that are above 20 period MA. You can change the MA number if you desire.
2) It also has other features like plotting the above along with the weights allocated in index / MACD of the number of stocks above and below index / cumulative raw index with respect to number of stocks above / below MA.
3) You can use it to other indices as well but can add only 12 stocks participating in any index.
How to use it?
If you see the price moving up (down) but the index (Item no. 1 above) falling (rising), it indicates higher chance of reversal.
If shorter momentum crosses longer momentum from below, it usually signals bullish and vice versa.
As always use this indicator in tandem with other indicators.
Relative Fundamental ComparisonWhen dealing with stocks, I like to review basic fundamentals of the company. This script displays the fundamental ratios of base chart stock with three other stocks (I can’t increase the number due to security function limitations). I found it particularly important when dealing with an unknown company. I quickly compare the company with other industry leaders to get a comparative fundamental review.
I am very new to Pinescript, so waiting for your comments and review.
Market breadth Percentage of stocks above MA of various indexesPercentage of stock above moving average is a common market breadth indicator. This script can show multiple lines of percentage of stock above different moving average (5,20,50,100,150,200) of different US indexes.
STC Price Action ZoneHow this works:
This Indicator looks to identify patterns which shows high movement area which may have occurred due to big orders at that time. It helps to Identify Price Action Zones where we may anticipate some reverse move. These Zones & Moves are helpful for Traders.
Buying Zone is below current Market Price. It indicates Price Action area where Buyers overpowered Sellers hence there was big Leg out Candle. This zone may again give buying momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bullish Side.
Selling Zone is above current Market Price. It indicate Price Action area where Sellers overpowered Buyers hence there was big Leg out Candle. This zone may again give Selling momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bearish Side.
DISCLAIMER:
This indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
It is strongly recommended that you should get full knowledge of how price actions work and wait for the clear indications before attempting.
Volume Profile / Fixed RangeHello All,
This script calculates and shows Volume Profile for the fixed range . Recently we have box.new() feature in Pine Language and it's used in this script as an example. Thanks to Pine Team and Tradingview!..
Sell/Buy volumes are calculated approximately!.
Options:
"Number of Bars" : Number of the bars that volume profile will be calculated/shown
"Row Size" : Number of the Rows
"Value Area Volume % " : the percent for Value Area
and there are other options for coloring and POC line style
Enjoy!
Cumulative Volume OscillatorCVO: Cumulative Volume Oscillator allows you to choose between 3 types of oscillators based on volume indicators:
-OBV (On Balance Volume)
-CVD (Cumulative Volume Delta)
-PVT (Price Volume Trend)
Being a volume based oscillator this indicator allows for the detection of divergences between price action and volume, ideal for predicting reversals.
As an oscillator you can choose the length of the fast & slow EMAs, and a signal line is provided for trend following.
Test - Gramian Angular FieldExperimental:
The Gramian Angular Field is usually used in machine learning for machine vision, it allows the encoding of data as a visual queue / matrix.
BBT‴ | Bollinger Band Trend Zone‴What does it do?
Makes available to you the BB (Bollinger Bands) in a colored format and provies signal on the right side bar according to a Short, Mid or Long period.
If the candles are going out of the Bands too often, then use the Extended Bollinger Band atributes available to create an extra band around the original ones.
How does it work?
The BB drawing is the exact same as the ordinary one. The big deal here is that the BB shade can be represented by a Short, Mid or Long MA period (7, 20 or 55 period), that you want it to be presented in the shade, which is the same as the MA lines you regularly use. When the MA goes down you have a given color and when the MA goes up you have another given color. This way you don't need to keep looking the MA lines, just perceive the current shade color.
What's my filling?
Makes the quick perception very easy, just look to the chart.
Indicator attributes:
- BB shade color acording to trend
- BB band line colors acording to trend
- right side bar signals color acording to trend
- BB shade can be darker, just drop the box and choose the darker version of it
- Extended Bollinger Band to create an extra band around the original ones
To have access to this indicator, please DM me.
Don't contact me in the comment area.
DI-OBV‴ | Divergence Indicator OBV‴What does it do?
Does the same as the ordigary OBV, but it has embeeded the 4TC indicator that provides trending channels that helps understand the strength of direction changing and divergencies with the price.
How does it work?
Works the exact same way as the ordinary OBV, but trending channels are drawn in order for you to see the OBV movement and potential reversal movements. Only 2 channels are drawn but you can activate the other 2 and also change their timeframes.
All channel directions are plotted in triangles on the top of the indicator frame which shows their direction (up or down).
The light red background shade signals that Volatility is activated and that price spread and volume are to be expected
What's my filling?
Helps confirm the volume movement and potential reversal and/or direction, as well as the divergency with price.
To have access to this indicator, please DM me.
Don't contact me in the comment area.
VolPIN StrategyI believe it is perhaps one of the world's simplest but one of the rare indicators where backtest results are so efficient. As a strategy, we buy every time a buy signal comes, but we need to repeat this 4 times and after 4 times we buy when our average rises by 0.5 percent. I know that this indicator, which I did not prepare for the sales strategy, also works very efficiently in sales transactions.
On settings part you can change the volatility and PIN percentage. I prepare for 1 minute graphs for coins. Maybe if you can arrange the settings for the stocks and different time periods.
RANGEThe indicator predicts the lower and upper limits of the next bar. The principle of constructing the indicator: the volatility of candles is analyzed, then it is averaged and reduced to a stationary series to obtain a normal distribution. For a stationary series, the standard deviation for the period is analyzed, and the number of standard periods multiplied by the Student's coefficient is added to the average value of volatility. The next term of the stationary series is predicted as the previous term plus the difference between the previous term of the stationary series and the pre-existing one. After that, the stationary series is transformed to a non-stationary one, and thus the upper and lower limits are obtained.
The upper and lower limits are determined with a confidence probability of 0.95. The places where the lows and highs go beyond their limits are marked with colored circles above and below the candles. In the upper right corner there is a summary table of the indicator metrics, which contains the following metrics: 1. current upper and lower limits 2. How much does the current price differ in % from the upper and lower ranges 3. A metric that considers the standard error between the limits of the indicator and the highs and lows 4. The percentage of accuracy of the indicator 5. The correlation coefficient between the upper and lower limit and, respectively, the maxima and minima
The periods are specified separately for the minimum and maximum. Depending on the tasks, you can iterate through the periods to reduce the error or increase the correlation coefficient
BULLSEYE BORDERS (Combined Price Action Follower)Developed for Crypto Currency Market! Use for 15 minutes period or more! Under 15 minutes, results are unpredictible.
This script had been orginized with Donchian Lines based on support and resistance levels.
Rules:
If the price is under top line, you will be ready for short position, and over the bottom line, long position.
When the price passes the red and green area you can take action and enter the trade!
Orange area refers the squeezed or floating position, so you can either stop or wait for price action!
If you see boring candles frequently, check out the last high and low levels.
If the price close to the last high, take long position. If not, short position.
Use ALMA , if you want to put and alert on script. It is identical to price line.
Thanks to @millerrh for 'Breakout Trend Follower'. Just used the last low and high features to complete the script. Combined with 'Boring Candles' from ©Prasad Raut, Modified on 20190811 (Updated to %30 full candle)
Trend Tip: You can use the script with Linear Channel so you can also see the trend. (not always)
SPX Intraday Mood IndicatorThe SPX Intraday Mood Indicator tries to gauge the intraday market direction of the S&P 500 (SPX) by focusing on internal market data.
Based on the 0DTE Mood Indicator concept. Overall strength/weakness is converted into a directional Mood Percentage which can help with choosing a trade type.
Use at your own risk and discretion. Potential trade ideas offer no guarantees. Intraday Charts Only. Turn off extended hours data. Only works on SPX.
This first version is untested and I am only sharing it to gather feedback on its accuracy, use at your own risk.
compare returnsIt could be very useful to analyze market with events in the market instead of only looking at the isolated chart. This indicator helps you to compare returns of chart symbol with any other symbol in the same timeframe.
For example, in crypto market coins move with the Bitcoin and BTC is driver of the market, so it could be useful to compare returns of a coin with the Bitcoin. There is a compare feature in tradingview, but it only compare from the beginning of the chart, not showing historical difference between returns which can reveals statistical opportunities or money flow in the market or between markets.
This indicator take two parameters including base symbol and period:
base symbol is the one which you need comparison with and period sets the period of comparison.
For instance, with base symbol: BTCUSDT and period: 15, return of BTCUSDT from 15 previous candles is compared with the chart in 15 previous candles (on same timeframe).
It could be helpful if you use this indicator to compare these pairs:
- altcoins return with BTCUSDT return
- stocks with their market index or industry index.
- market indices: crypto total market cap with SP500 and GOLD
please leave comment for me and this indicator to share your idea with me.
thanks,
hadi jamshidi
[Unxi]McClellan Summation Index for DAX 30 (GER30) [modified]About McClellan Summation Index
The McClellan Summation Index is a market breadth indicator which was developed by Sherman and Marian McClellan. It is based on the McClellan Oscillator and add its values together, effectively running a total. The index goes up when the McClellan Oscillator is positive and goes down when it is negative. Signals can be derived from the index crossing the middle line (bullish when it's crossing up and bearish when it's crossing down). Other potential signals include divergences and overbought and oversold conditions. The indicator is best used in combination with other analysis techniques.
About this implementation
This version here is a modification of the McClellan Summation Index.
It runs the simple version of the McClellan Oscillator and uses the simple method to calculate the Summation Index. No ratios are used in this implementation.
Further information:
- It can only be used on the DAX index ( DAX 30 or GER 30)
- It only considers the DAX 30 stocks
- The data window will provide a summary about rising and declining stocks
- The data window will output the last change for each of the 30 stocks
- The script is pretty slow because it has to calculate the change for each bar individually (instead of receiving a complete calculation from the stock exchange).
DISCLAIMER
This script was mainly written for educational purposes (training myself how to write custom indicatotors).
As you can see, the code is really messy.
FOR YOUR INFORMATION: This script will work on any time period. It is recommended to use it with timeperiod = 1d, though. Just use whatever timeperiod you are comfortable with, the indicator will automatically adjust accordingly.
Credits
Based on the simple version of aftabmk and of code from lazybear.