world stage index ver02This is an indicator that expresses the ratio of "stage1" and "stage4" of world index.
40 symbols are as follows
("TVC:SHCOMP" is revised to "SSE:000001")
(JAPAN, US, EUROPE, and CANADA)
OSE:NK2251!, DJ:DJI , NASDAQ:IXIC, SP:SPX , XETR:DAX, TVC:CAC40 , TVC:UKX, TSX:TSX
(ASIA)
SSE:000001, SZSE:399001, TVC:HSI, TWSE:TAIEX, BSE:SENSEX , OANDA:SG30SGD, INDEX:KSI, SET:SET
(EUROPE)
INDEX:SX5E, INDEX:FTSEMIB, SIX:SMI , BME:IBC, EURONEXT:BEL20, TVC:AEX, OMXCOP:OMXC25, XETR:0Q5X
(Pacific Ocean)
ASX:XJO, TVC:NZ50G, IDX:COMPOSITE, FTSEMYX:FBMKLCI, BMFBOVESPA:IBOV, BMV:ME , BVL:SPBLPGPT, BYMA:IMV
(Eastern Europe & Middle East)
MOEX:IMOEX, GPW:WIG20, OMXHEX:OMXH25, OMXSTO:OMXS30, DFM:DFMGI, TADAWUL:TASI, OSE:GNRI, EGX:EGX30
The criteria are as follows:
EMA5≧EMA20≧EMA40 : Stage1
EMA5≦EMA20≦EMA40 : Stage4
A.The sum of Stage1 was multiplied by 2.5 and drawn on a scale of 0 to 100, with yellow area
B.The Sum of Stage4 was multiplied by 2.5 and drawn on a scale of 0 to 100, with blue area.
C. The ratio of A/B was multiplied by 2.5 and drawn on a scale of 0 to 100, with red lines.
This idea is from Kojirou Kousi.
40 symbols of this script are partially different from Kojiro kousi's idea.
But he said the difference isn't matter.
tradingview社の上海総合指数の銘柄コード変更に合わせて、"TVC:SHCOMP" を "SSE:000001"に改訂しました。
「小次郎講師指数」に着想を得た、世界40カ国の株価指数stage状態です。
参考文献は、小次郎講師著書「世界一わかりやすい投資の勝ち方」です。
小次郎講師とは一部異なるシンボルを採用していますが、
多少の違いは余り大した問題では無いと御本人から教わった事があります。
先進国に関してはおそらくほとんど同じだと思います。
stage1の合計の%を黄色、stage4の合計の%を青色、stage1の合計/stage4の合計の%を赤で表示しています。
雰囲気で分かればいいので、正確な数字までは表示しませんでした。
個人的には現状分析以外にも、プラクティス時に世界情勢を把握するのに重宝しています。
Index
Screener for 40+ instrumentsAs you probably know in TradingView there is a limit of 40 instruments in one custom screener.
I created a script that will allow you to scan more symbols.
The idea of it is pretty simple. You have to add a screener a few times on your screen with a different set of symbols. Then select column width (as % of your chart width) and # of the screener right to left.
Script will plot #1 screener next to the right border. For #2 and all next tables, the script will compute the needed offset and will draw it on the left. This way it will look like one table and not a few separate indicators.
I created a script with an RSI screener, but you can create more complicated examples with it.
Off course, that's not a silver bullet solution but might work for some of you.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Multi-Timeframe RSI GridThe relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The RSI is normally displayed as an oscillator separately from price and can have a reading from 0 to 100. This indicator displays the current RSI levels at up to 6 timeframes (of your choosing) in a grid. If the RSI levels reach overbought (above 70) or oversold (below 30) conditions, it changes the color to help you see that RSI has reached extreme levels. Note that in TradingView, when the chart is on a higher timeframe, the lower timeframe RSI levels don't calculate properly. If those conditions are met, this indicator will hide those values in the grid. If none of your selected values are available, it hides the table completely. There are configuration options, like:
Position the grid in any corner of the screen
Style customization (color, size)
Customize RSI length
Nifty / Banknifty Dashboard by RiTzNifty / Banknifty Dashboard :
Shows Values of different Indicators on current Timeframe for the selected Index & it's main constituents according to weightage in index.
customized for Nifty & Banknifty (You can customize it according to your needs for the markets/indexes you trade in)
Interpretation :-
VWAP : if LTP is trading above VWAP then Bullish else if LTP is trading below VWAP then Bearish.
ST(21,1) : if LTP is trading above Supertrend (21,1) then Bullish , else if LTP is trading below Supertrend (21,1) then Bearish.
ST(14,2) : if LTP is trading above Supertrend (14,2) then Bullish , else if LTP is trading below Supertrend (14,2) then Bearish.
ST(10,3) : if LTP is trading above Supertrend (10,3) then Bullish , else if LTP is trading below Supertrend (10,3) then Bearish.
RSI(14) : Shows value of RSI (14) for the current timeframe.
ADX : if ADX is > 75 and DI+ > DI- then "Bullish ++".
if ADX is < 75 but >50 and DI+ > DI- then "Bullish +".
if ADX is < 50 but > 25 and DI+ > DI- then "Bullish".
if ADX is above 75 and DI- > DI+ then "Bearish ++".
if ADX is < 75 but > 50 and DI- > DI+ then "Bearish+".
if ADX is < 50 but > 25 and DI- > DI+ then "Bearish".
if ADX is < 25 then "Neutral".
MACD : if MACD line is above Signal Line then "Bullish", else if MACD line is below Signal Line then "Bearish".
PDH-PDL : "< PDH > PDL" means LTP is trading between Previous Days High(PDH) & Previous Days Low(PDL) which indicates Rangebound-ness.
"> PDH" means LTP is trading above Previous Days High(PDH) which indicates Bullish-ness.
"< PDL" means LTP is trading below Previous Days Low(PDL) which indicates Bearish-ness.
Alligator : If Lips > Teeth > Jaw then Bullish.
If Lips < Teeth < Jaw then Bearish.
If Lips > Teeth and Teeth < Jaw then Neutral/Sleeping.
If Lips < Teeth and Teeth > Jaw then Neutral/Sleeping.
Settings :
Style settings :-
Dashboard Location: Location of the dashboard on the chart
Dashboard Size: Size of the dashboard on the chart
Bullish Cell Color: Select the color of cell whose value is showing Bullish-ness.
Bearish Cell Color: Select the color of cell whose value is showing Bearish-ness.
Neutral Cell Color: Select the color of cell whose value is showing Rangebound-ness.
Cell Transparency: Select Transparency of cell.
Columns Settings :-
You can select which Indicators values should be displayed/hidden.
Rows Settings :-
You can select which Stocks/Symbols values should be displayed/hidden.
Symbol Settings :-
Here you can select the Index & Stocks/Symbols
Dashboard for Index : select Nifty/Banknifty
if you select Nifty then Nifty spot, Nifty current Futures and the stocks with most weightage in Nifty index will be displayed on the Dashboard/Table.
if you select Banknifty then Banknifty spot, Banknifty current Futures and the stocks with most weightage in Banknifty index will be displayed on the Dashboard/Table.
You can Customise it according to your needs, you can choose any Symbols you want to use.
Note :- This is inspired from "RankDelta" by AsitPati and "Nifty and Bank Nifty Dashboard v2" by cvsk123 (Both these scripts are closed source!)
I'm not a pro Developer/Coder , so if there are any mistakes or any suggestions for improvements in the code then do let me know!
FX Mini-Day/Index Dividers V2This is a combination of the Mini-Day Separator Indicator, timings based off the research by Tom Henstridge/@LiquiditySniper and additional Index KZ delineations, based on ICT's 2022 Youtube Mentorship.
*It borrows some minor code from Enricoamato997 . Credit where it is due!
This is a joint effort by myself, @vbwilkes / Offseason Vince and @Tom_FOREX / TraderTom on the Index/Index Future portion.
Index Future Example
Forex Example
TPTR_Dynamic_Ratio_CorrelatorThe script provides a way to compute ratio between two indexes (or stocks) of your choice, and paints a "up-arrow" below the first candle where and when the value of the ratio exceeds your threshold of choice.
It also creates a table summarizing the value of your securities, and the value of the ratio below.
The script will also alert you with a message (automatically) when the ratio of your security_1 and security_2 exceeds the ratio.
Nifty50 Participants - Top 25Nifty50 Index is calculated based on the movements of its participants. Every time you think of why is Index going up/down, who is actively dragging the index either ways, this Indicator gives you answer for the same in realtime!
This indicator will help you in pre-planning your trades based on the movements shown by different stocks of various sectors in Index calculation.
RSI column is an add-on to the participation table which will help you in getting RSI values of different stocks of Nifty 50 at a glance. You will see values getting updated in realtime in live market.
Checkout for customisations in indicator settings.
Note:
1. Participants present in this indicator and their participation percentage is taken from the official NSE website.
2. Table shows Top 25 participants by default. If you want to see less than 25 rows, you can update the input via indicator settings.
Feel free to contribute/comment changes if any! Comment in case of any suggestions :)
- Published by Soham Dixit
Fear and Greed Index CandlesticksThis colours the candlesticks based on my 'Fear and Greed Index'.
All calculations are explained in the code.
The index is mainly based upon the components of the popular fear and greed index website. I've annotated the components in the code for you to look at.
If you're interested, you can replace the final variable 'Total' (within the 'barcolor' function at the very end) with any of the final outputs of the subcomponents to see the results of that single part.
Red = Greed
Green = Fear
Enjoy!
VolatilityDivergenceRedGreen by STTAName: VolatilityDivergenceRedGreen by STTA
- Underlying and implied volatiliy normally show negative correlated behavior (price rises, vola falls and vice versa)
- This study shows symbols in on candles in chart where Undelying and corresponding vola index show same bahvior for 1,2 or 3 consecutive bars. (price rises and vola rises and vice versa)
- This situation is called Vola Divergence. Red, when prices and vola fall; green, when price and vola rise
- This information can be used to detect possible end of Up/Down-Swings.
- User can configure if rising or falling or both price movements shall be displayed.
- This study can be used with root symbols, which provide corresponding volatility indices.
- supported Root Symbols: SPX, NDQ, DJI, RUT, CL, XLE, GC, SI, EUR, HSI, FXI, EWZ, AMZN, AAPL, GS, GOOG, IBM, DEU40
- in all other symbols, no symbols are displayed.
Inputs
- underlying displayed in chart
Settings/Parameter
- each Divergence can be switched off/on separately
- output of each displayed symbol can be configured
Outputs
- RedDiv1: first bar with rising price and rising volatility index
- GreenDiv1: first bar with falling price and falling volatility index
- RedDiv2: second bar in a row with rising price and rising volatility index
- GreenDiv2: second bar with falling price and falling volatility index
- RedDiv3: third bar in a row with rising price and rising volatility index
- GreenDiv3: third bar in a row with falling price and falling volatility index
RSI Levels, Multi-TimeframeThe relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. RSI is normally displayed as an oscillator separately from price and can have a reading from 0 to 100. This indicator takes the RSI and plots the 30 & 70 levels onto the price chart so you can see when price is going to meet the 30 or 70 levels. The reason the 30 & 70 levels are important is because many traders (and bots) use those as signals to buy (at 30 RSI) or sell (at 70 RSI). Additionally, this indicator allows you to display not just the RSI levels of your currently viewed timeframe on the chart, but also shows the RSI levels of up to 6 different timeframes on the same chart. This allows you to quickly see if multiple RSI levels are aligning across different timelines, which is an even stronger indication that price is going to change direction when it meets those levels on the chart. There are a lot of nice configuration options, like:
Style customization (color, thickness, size)
Labels on the chart so you can tell which plots are the RSI levels
Optionally display the plot as a horizontal line if all you care about is the RSI level right now
Toggle overbought (RSI 70) or oversold (RSI 30) on/off completely
Bank Nifty ParticipantsBankNifty Index is calculated based on the movements of its participants. Every time you think of why is Index going up/down, who is actively dragging the index either ways, this Indicator gives you the answer for the same in realtime!
For example : You see HDFCBank and Kotak Bank significantly up while all other banks going down but index reacting in a bullish mode, the answer lies in which Bank is contributing how much to the index! This will help you in pre-planning your trades based on the movements shown by different banks in Index calculation. Or on the other hand, you see HDFCBank on verge of breakout and you have target of 10 points, this indicator will help you in identifying how much the index will react to the 10 points movement shown by HDFC Bank which is the leading participant in Bank Nifty.
RSI column is an add-on to the participation table which will help you in getting RSI values of different banks at a glance. You will see values getting updated in realtime in live market. Checkout for customisations in indicator settings.
Note : Participants present in this indicator and their participation percentage is taken from the official NSE website.
Feel free to contribute/comment changes if any!
- Published by Soham Dixit
Fibonaci Opening Range Candle
Fibonacci Opening Range it is 50% and 0.61% of 5 min or 30min or 1 hour opening candle
search buying opportunities below 0.61
and selling opportunities above 0.50
Also acts as good support and resistance in intraday
BEST RESULTS IN INDEXES
Thanks & Best Regards
Marella Ganesh
cowen risk indexThis is my attempt at remaking the cowen risk index. It's definitely not correct, but should give a rough estimate of where his indicator is at. I am taking the price divided by the 400sma to get an oscillator, then we need to account for diminishing returns so I just made an exponentially increasing variable and mutliplying that by the oscillator value. Then I normalized the data as best as I could. Not sure exactly how to do that so if anyone has any suggestions, please let me know.
This only works on the daily and weekly timeframe. You will need to edit the code if you want to have it work for other timeframes.
Relative Strength ComparisonThis script plots the ratio between a ticker and the selected index. Currently, I have US equities indexes listed + BTC. It's a great way to check for relative strength, determine if absolute highs relative to the ratio are being made, etc.
Additionally, optional comparison of the RSI is included. I was just testing something out but figured I'd leave in here because why not. If you use this, enable the 1.0 line.
Script is a bit slow, will try to optimize eventually.
AP Index - Geomagnetic disturbancesDaily AP index back to 2015-01-01.
Geomagnetic disturbances can be monitored by ground-based magnetic observatories recording the three magnetic field components. The global Kp index is obtained as the mean value of the disturbance levels in the two horizontal field components, observed at 13 selected, subauroral stations . The name Kp originates from "planetarische Kennziffer" ( = planetary index).
The three-hour index ap and the daily indices Ap, Cp and C9 are directly related to the Kp index. In order to obtain a linear scale from Kp, J. Bartels gave the following table to derive a three-hour equivalent range, named ap index.
Geomagnetic Ap Index: The daily index Ap is obtained by averaging the eight values of ap for each day.
Based on the data from Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences.
Ehlers Relative Vigor Index [CC]The Relative Vigor Index was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 58) and this is a momentum indicator that is similar to the Accumulation Distribution Oscillator created by Jim Waters and Larry Williams. He uses digital signal processing to smooth the indicator to provide clear buy and sell signals. The idea behind this indicator is that during uptrends, prices tend to close near the high and during downtrends, prices tend to close near the low. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal ones are lighter in color. Buy when the line turns green and sell when it turns red. Usually the best signals I have found for this indicator is when the indicator is below the 0 line and turns green then it is usually a sign of a strong uptrend.
Let me know if there are any other scripts you would like to see me publish!
Ichimoku with MACD/ CMF/ TSIThis is a very powerful trend strategy designed for markets such as stocks market , stock index and crypto.
For time frames I found out that 1h seems to do the trick.
Components:
Ichimoku full pack
MACD histogram
CMF oscillator
TSI oscillator
Rules for entry
Long :
For Ichimoku:Tenkan part of cloud is bigger than kijun, Chikou is above 0 , close of a candle is above the Senkou
MACD histogram is above 0
CMF oscillator is positive and bigger than 0.1
TSI oscillator is above 0
Short:
For Ichimoku:Tenkan part of cloud is smaller than kijun, Chikou is below 0 , close of a candle is belowthe Senkou
MACD histogram is below 0
CMF oscillator is negative and below -0.1
TSI oscillator is below 0
Rules for exit
This strategy does not have any risk management inside. Instead it exits whenver it receives an opposite signal form the original one used for entry.
If you have any questions let me know !
Crypto Top 25 Equal Weight IndexDraws an Equally Weighted Index of 25 securities. The inputs are pre-populated with the Top 25 cryptocurrencies by market cap at the time of publishing the script, but any 25 securities can be used.
Double click on this indicator's pane to view in full screen.
Note: Candle open is always equal to previous candle's close. I did this to avoid problems where sometimes candle open didn't make sense compared to close.
If you're into cryptocurrencies also have a look at these TradingView charts CRYPTOCAP:TOTAL, CRYPTOCAP:TOTAL2 and CRYPTOCAP:OTHERS.
Combo Backtest 123 Reversal & Positive Volume Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The theory behind the indexes is as follows: On days of increasing volume,
you can expect prices to increase, and on days of decreasing volume, you can
expect prices to decrease. This goes with the idea of the market being in-gear
and out-of-gear. Both PVI and NVI work in similar fashions: Both are a running
cumulative of values, which means you either keep adding or subtracting price
rate of change each day to the previous day`s sum. In the case of PVI, if today`s
volume is less than yesterday`s, don`t add anything; if today`s volume is greater,
then add today`s price rate of change. For NVI, add today`s price rate of change
only if today`s volume is less than yesterday`s.
WARNING:
- For purpose educate only
- This script to change bars colors.
Full CRYPTO pack macd, rsi, obv, ema alert versionThis is the indicator version of a simple, yet very efficient crypto strategy, adapted to 4h time frame, on big coins like ETH and BTC . However it can be adapted to other markets, timeframes etc
For this strategy I use a combination of a trend line , an oscillator, price action and volume .
This study has alert for both long and short entries/exit.
The rules are the next ones:
Long : we check that current candle is ascending and above the moving average, the macd is in positive range, rsi is below overbought level and volume is bigger than the moving avg of volume .
For short, we have the opposite long rules.
If you have any questions, please let me know !
MACD oscillator with EMA strategy 4H This is a simple, yet efficient strategy, which is made from a combination of an oscillator and a moving average.
Its setup for 4h candles with the current settings, however it can be adapted to other different timeframes.
It works nicely ,beating the buy and hold for both BTC and ETH over the last 3 years.
As well with some optimizations and modifications it can be adapted to futures market, indexes(NASDAQ,NIFTY etc), forex(GBPUSD), stocks and so on.
Components:
MACD
EMA
Time condition
Long/short option
For long/exit short we enter when we are above the ema, histogram is positive and current candle is higher than previous.
For short /exit long , when close below ema, histo negative and current candles smaller than previous
If you have any questions please let me know !
Similarity Search, Karobein and Seasonal Random IndexSimilarity Search, Karobein oscillator (KO) and Seasonal Random Index (SRI)
Description:
This indicator uses dynamic capabilities of Pinescript version 4 coupled with Seasonal Random Index (SRI) and Karobein Oscillator (KO). SRI (green/red areas) is employed to detect trends and KO (black curce) is used to find historical similarities to predict the next bar's direction. The midline arrows are the predictions produced by the similarity search algorithm.
Combo Backtest 123 Reversal & MASS Index This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The Mass Index was designed to identify trend reversals by measuring
the narrowing and widening of the range between the high and low prices.
As this range widens, the Mass Index increases; as the range narrows
the Mass Index decreases.
The Mass Index was developed by Donald Dorsey.
WARNING:
- For purpose educate only
- This script to change bars colors.