COT extremes indexCalculates the difference between net of noncommercials and net of commercials.
Difference = (net of noncommercials) - (net of commercials).
The extreme reading in one end or another may indicate the possible change of trend.
Based on Tradingview COT sample script and Babypips formula.
Works on daily timeframe.
Index
Forex Virtual Index FIAT VersionThis is virtually created FX Fiat pairs index based on OANDAs data.
Pairs are: EUR/USD , AUD/USD , GBP/USD , NZD/USD , AUD/JPY , EUR/JPY , GBP/JPY , USD/JPY , USD/CAD , USD/PLN
Be awared that some pairs like USD/CAD , have reversed correlation to the index.
You may look at the gaps as on standard S/R levels.
ps. Take look inside the scirpt's settings.
ps2. This script is invite-only for the members of our trading group (info in signature, group is free of charge).
{INDYAN} Dual Supertrend#Always follow MAJOR trend, find MINOR trend as per Major trend and choose entry/exit accordingly .
Suppose major trend is blue so only go long while inside minor trend is green, when it turns RED exit from long but dont short in BLUE i.e. major uptrend and vice versa for downtrend i.e. major should be pink and minor should be red for short and when it turn green under pink just exit the sort.
By default major trend is set to 15 Minutes which is generally good for index, and 1 hour should be for stocks. You can change it through settings.
My recommendation for index is major should be 15 minutes and minor 5 and for stocks major should be 1 hour and minor 15 minutes.
It can be used with index,stocks and commodties.
Hope it will help my trader friends.
Happy Trading...
Love INDYAN
Systematic Momentum strategy v 1.0Systematic Momentum strategy v 1.0
This is a long-only strategy optimized taking into consideration the underlying's momentum and volatily.
Long story short it opens positions when the momentum is highest and the risk is lowest and closes the same position when the risk-to-reward is no longer optimal.
How to use:
-> To be used on an Index or a tracker ETF
-> Position sizing should be set up to 100% of the portfolio
MyAlgoPLEASE READ THE ENTIRE POST BEFORE PURCHASING & USING THE MyAlgo Tool. Saves you and me some time in emails and messages. :)
This is the official version of MyAlgo
PLEASE UNDERSTAND THAT THIS IS A DIFFERENT AND SEPARATE PRODUCT AND SCRIPT FROM "MyAlgo SLIM" FROM THE MyAlgo TRADING TOOL SERIES
Description
Buy & Sell Alerts can be set on all Tickers. This includes, but is not limited to Crypto, Commodities , FOREX, Equities and Indices. Also all candle Types are compatible.
Recommended Time-frames - Due to the complexity of MyAlgo-SLIM the user has a choice between three algorithms and is like that able to trade on all timeframes with the highest returns.
MyAlgo combines many different aspects at the same time, scans multiple other Algorithms and comes to a conclusion based on over 1350 lines of code.
It is based on Divergences, Elliott Waves , Ichimoku , MACD , MACD Histogram, RSI , Stoch , CCI , Momentum, OBV, DIOSC, VWMACD, CMF and multiple EMAs.
Every single aspect is weighted into the decision before giving out an indication.
Most buy/sell Algorithms FAIL because they try to apply the same strategy to every single chart, which
are as individual as humans. To conquer this problem, MyAlgo has a wide range of settings and variables which can be easily
modified.
To make it a true strategy, MyAlgo has as well settings for Take Profit Points and Stop
Losses. Everything with an Alert Feature of course so that FULL AUTOMATION IS POSSIBLE.
I know from experience that many people take one Algorithm and are simply too LAZY to add multiple Algorithms to make a rational choice. The result of that is that they lose money, by following blatantly only one Algorithm.
MyAlgo has additional 15 Indicators, perfect for all markets, which can be turned on and off individually.
Side Notes
MyAlgo is being updated and upgraded very frequently to suit the requests of our customers.
This is not financial advice. Please read our disclaimer before using.
Anything below this sentence will be Updates regarding MyAlgo
MyAlgo-SLIMPLEASE READ THE ENTIRE POST BEFORE PURCHASING & USING THE MyAlgo-SLIM Tool. Saves you and me some time in emails and messages. :)
This is the official version of MyAlgo-SLIM
Description
Buy & Sell Alerts can be set on all Tickers. This includes, but is not limited to Crypto, Commodities , FOREX, Equities and Indices. Also all candle Types are compatible.
Recommended Time-frames - Due to the complexity of MyAlgo-SLIM the user has a choice between three algorithms and is like that able to trade on all timeframes with the highest returns.
MyAlgocombines many different aspects at the same time, scans multiple other Algorithms and comes to a conclusion based on over 1350 lines of code.
It is based on Divergences, Elliott Waves , Ichimoku , MACD , MACD Histogram, RSI , Stoch , CCI , Momentum, OBV, DIOSC, VWMACD, CMF and multiple EMAs.
Every single aspect is weighted into the decision before giving out an indication.
Most buy/sell Algorithms FAIL because they try to apply the same strategy to every single chart, which
are as individual as humans. To conquer this problem, MyAlgo has a wide range of settings and variables which can be easily
modified.
To make it a true strategy, MyAlgo has as well settings for Take Profit Points and Stop
Losses. Everything with an Alert Feature of course so that FULL AUTOMATION IS POSSIBLE.
I know from experience that many people take one Algorithm and are simply too LAZY to add multiple Algorithms to make a rational choice. The result of that is that they lose money, by following blatantly only one Algorithm.
MyAlgo has additional 15 Indicators, perfect for all markets, which can be turned on and off individually.
Side Notes
MyAlgo is being updated and upgraded very frequently to suit the requests of our customers.
This is not financial advice. Please read our disclaimer before using.
Anything below this sentence will be Updates regarding MyAlgo-SLIM
Cryptocurrency Top10 IndexThis is so called TOP10 Cryptocurrency Index. Automatically calculated from ten of biggest crypto pairs to USD: BTC, ETH, XRP, BCH, BSV, LTC, EOS, XTZ, XLM, XMR.
So far all pairs came from one exchange: Bitfinex. In the future I will add one or two more.
It is coded as Indicator, but you can make it full screen by double-click into its background.
This script is invite-only for the members of our trading group (info in signature).
Polish description:
----------------------
Niniejszy skrypt stanowi sztuczny twór imitujący indeks jednych z dziesięciu największych kryptowalut w parze do USD: BTC, ETH, XRP, BCH, BSV, LTC, EOS, XTZ, XLM, XMR.
Na początek wszystkie pary pochodzą tylko z jednej giełdy: Bitfinex. W przyszłości dodam jedną lub dwie giełdy więcej.
Skrypt jest zaprogramowany jako tzw. wskażnik/indicator ale możesz powiększyć go do pełnego ekranu, klikając dwukrotnie w tło skryptu.
Nardzędzie jest publikowane na zasadzie invite-only(konieczność przydzielenia dostępu na TradingView), a zatem dostępny jest tylko dla aktywnych użytkowników naszej grupy traderskiej, do której link można znaleść w mojej sygnaturze poniżej.
Relative Volume Strength IndexRVSI is an alternative volume-based indicator that measures the rate of change of average OBV.
How to read a chart using it?
First signal to buy is when you see RVSI is close to green oversold levels.
Once RVSI passes above it's orange EMA, that would be the second alert of accumulation.
Be always cautious when it reaches 50 level as a random statistical correction can be expected because of "market noises".
You know it's a serious uptrend when it reaches above 75 and fluctuates there, grading behind EMA.
The best signal to sell would be a situation where you see RVSI passing below it's EMA when the whole thing is close to Red overbought level
It looks simple, but it's powerful!
I'd use RVSI in combination with price-based indicators.
Mean Reversion w/ Bollinger BandsThis is a more advanced version of my original mean reversion script.
It employs the famous Bollinger Bands.
This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band.
I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance.
During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.
I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.
I use this robot for my long term portfolio.
XPloRR S&P500 Stock Market Crash Detection Strategy v2XPloRR S&P500 Stock Market Crash Detection Strategy v2
Long-Term Trailing-Stop strategy detecting S&P500 Stock Market Crashes/Corrections and showing Volatility as warning signal for upcoming crashes
Detecting or avoiding stock market crashes seems to be the 'Holy Grail' of strategies.
Since none of the strategies that I tested can beat the long term Buy&Hold strategy, the purpose was to detect a stock market crash on the S&P500 and step out in time to minimize losses and beat the Buy&Hold strategy. So beat the Buy&Hold strategy with around 10 trades. 100% capitalize sold trade into new trade.
With the default parameters the strategy generates 10262% profit (starting at 01/01/1962 until release date), with 10 closed trades, 100% profitable, while the Buy&Hold strategy only generates 3633% profit, so this strategy beats the Buy&Hold strategy by 2.82 times !
Also the strategy detects all major S&P500 stock market crashes and corrections since 1962 depending on the Trailing Stop Smoothness parameter, and steps out in time to cut losses and steps in again after the bottom has been reached. The 5 major crashes/corrections of 1987, 1990, 2001, 2008 and 2010 were successfully detected with the default parameters.
The script was first released on November 03 2019 and detected the Corona Crash on March 04 2020 with a Volatility crash-alert and a Sell crash-alert.
I have also created an Alerter Study Script based on the engine of this script, which generates Buy, Sell and Volatility signals.
If you are interested in this Alerter version script, please drop me a mail.
The script shows a lot of graphical information:
the Close value is shown in light-green. When the Close value is temporarily lower than the Buy value, the Close value is shown in light-red. This way it is possible to evaluate the virtual losses during the current trade.
the Trailing Stop value is shown in dark-green. When the Sell value is lower than the Buy value, the last color of the trade will be red (best viewed when zoomed)
the EMA and SMA values for both Buy and Sell signals are shown as colored graphs
the Buy signals are labeled in blue and the Sell signals are labeled in purple
the Volatility is shown below in green and red. The Alert Threshold (red) is default set to 2 (see Volatility Threshold parameter below)
How to use this Strategy?
Select the SPX (S&P500) graph and add this script to the graph.
Look in the strategy tester overview to optimize the values Percent Profitable and Net Profit (using the strategy settings icon, you can increase/decrease the parameters), then keep using these parameters for future Buy/Sell signals on the S&P500.
More trades don't necessarily generate more overall profit. It is important to detect only the major crashes and avoid closing trades on the smaller corrections. Bearing the smaller corrections generates a higher profit.
Watch out for the Volatility Alerts generated at the bottom (red). The Threshold can by changed by the Volatility Threshold parameter (default=2% ATR). In almost all crashes/corrections there is an alert ahead of the crash.
Although the signal doesn't predict the exact timing of the crash/correction, it is a clear warning signal that bearish times are ahead!
The correction in December 2018 was not a major crash but there was already a red Volatility warning alert. If the Volatility Alert repeats the next weeks/months, chances are higher that a bigger crash or correction is near. As can be seen in the graphic, the deeper the crash is, the higher and wider the red Volatility signal goes. So keep an eye on the red flag!
Here are the parameters:
Fast MA Buy: buy trigger when Fast MA Buy crosses over the Slow MA Buy value (use values between 10-20)
Slow MA Buy: buy trigger when Fast MA Buy crosses over the Slow MA Buy value (use values between 21-50)
Minimum Buy Strength: minimum upward trend value of the Fast MA Buy value (directional coefficient)(use values between 10-100)
Fast MA Sell: sell trigger when Fast MA Sell crosses under the Slow MA Sell value (use values between 10-20)
Slow MA Sell: sell trigger when Fast MA Sell crosses under the Slow MA Sell value (use values between 21-50)
Minimum Sell Strength: minimum downward trend value of the Fast MA Sell value (directional coefficient)(use values between 10-100)
Trailing Stop ATR: trailing stop % distance from the smoothed Close value (use values between 2-20)
Trailing Stop Smoothness: MA value for smoothing out the Trailing Stop close value
Buy On Start Date: force Buy on start date even without Buy signal (default: true)
Sell On End Date: force Sell on end date even without Sell signal (default: true)
Volatility EMA Period: MA value of the Volatility value (default 15)
Volatility Threshold: Threshold value to change volatility graph to red (default 2)
Volatility Graph Scaler: Scaling of the volatility graph (default 5)
Important : optimizing and using these parameters is no guarantee for future winning trades!
.BXBT IndexThe current .BXBT index weighted as close as possible to BitMEX's with updates as BitMEX refreshes their index.
Difference between this and the script titled '2020 March 27 .BXBT Index': this one will receive updates because it doesn't have a date in its title.
Methodology
www.bitmex.com
"BitMEX Index Weights, assuming no constituent exchanges have been excluded due to Index Protection Rules, last updated 27 December 2019 at 12:00:05 UTC."
Binance: -
Bitstamp: 10.61%
Bittrex: 2.53%
Coinbase: 52.30%
Gemini: 6.89%
Huobi: -
Itbit: 4.21%
Kraken: 23.46%
Poloniex: -
ItBit's weight is combined with Gemini's due to ItBit not being on TradingView as of now. BITTREX:BTCUSD substituted with BITTREX:BTCUSDT*POLONIEX:USDTUSD to backfill because Bittrex only recently (late 2018) started to offer a fiat BTC/USD pair. Not that it matters since the index used in 2018 didn't include Bittrex if I remember correctly.
What is actually used for 27/12/2019 to 27/03/2020:
Binance: -
Bitstamp: 10.61%
Bittrex: 2.53%
Coinbase: 52.30%
Gemini: 11.10%
Huobi: -
Itbit: -
Kraken: 23.46%
Poloniex: -
Options:
Toggle candlesticks or close line
Change price source to be used for indicators
To be added: Change quarter to show indexes for different times, with labels that apply to the appropriate index used
Reasons to use this vs. the index itself: (not many)
It is helpful as a reference for other indicators or creation of an index.
FTX Index Advance Decline LineAs of publishing, all the tickers from FTX with the word "index" in it, plus bitcoin.
This is your regular ADL except instead of hundreds in the basket you've got them condensed into 7 (for now) and in open/close candle form instead of a line.
I'm a bit disappointed because I thought I'd lever more utility from indexes. It may just need some tweaking.
Doesn't it look like Renko?
Some notes:
Reason why it expands:
Total number of constituents is a static 7, to fix that use time to change the total variable based on dates of introduction.
Reallly looks like Renko:
Renko with ATR, length 14, hourly chart.
RPI (Relative Price Index)This is a free indicator created by Stormpike Group that displays the relative price of an underlying for the given period.
Amrullah Deep Liquidity for S&P 500Amrullah Deep Liquidity (ADL)
Amrullah Deep Liquidity (ADL) is a high profit factor strategy based on models designed by Muhd Amrullah.
Choosing your trading pair that you are planning to backtest
Check that you have been given access to Amrullah Deep Liquidity (ADL). Select SPX500USD with the default 4H time frame. Once done, open Indicators > Invite-Only Scripts > Amrullah Deep Liquidity %.
Choosing your initial capital that you want to begin backtesting
Go to Settings > Properties > Initial Capital and type in the amount of capital you're starting with. For the SPX500USD trading pair, the initial capital is denominated in USD.
Adjusting your equity at risk until the trades match your risk profile and comfort level
Go to Inputs > Equity Risk and adjust the value you are comfortable with. To analyse performance, you also want to choose the Start Year, Start Month and Start Date. Select lower equity risk for trades that you intend to take without the use of leverage. You can select an equity risk from 0.001 to 0.05 or all the way to 1.
Finding the time frame with the highest profit factor
Profit factor is defined as the gross profit a strategy makes across a defined period of time divided by its gross loss. You may choose to scroll through other time frames to find better models. You can select a different time frame from 1 min to 1H or all the way to 1M. Once you find the model you desire, you are encouraged to check that the model has a backtested profit factor of >3.5. You can then begin looking through the Performance Summary to find other detailed statistics.
Analysing the equity curve from the Amrullah Deep Liquidity (ADL) strategy
A green equity curve indicates that the trades are accumulating profits. A red equity curve indicates that the trades are accumulating losses. A healthy equity curve is one that is green and grows steadily to the right and upward direction.
Analysing the display arrows on the chart
Amrullah Deep Liquidity (ADL) tells you when to take a trade and how much to put in a trade. ADL can do this as the model identifies inventory risk in traders and market makers in the chosen market. On your Tradingview chart, ADL will display an arrow that tells you when to enter a trade. You can also see the amount to trade beside the arrow.
Opting for a trial
Yes you may opt for a trial which has limited availability.
The author's background and experience
My career in software and deep learning development spans across more than 5 years. At work, I lead a team to solve core computer vision tasks for large companies. I continually read all kinds of computer science books and papers, and follows progress on tools used in financial markets.
Congestion Index by KatsanosCONGESTION INDEX
Market movements can be characterized by two distinct types or phases. In the first, the market shows trending movements which have a directional bias over a period of time. The second type of market behavior is periodic or cyclic motion, where the market shows no consistent directional bias and trades between two levels. This type of market results in the failure of trend-following indicators and the success of overbought/oversold oscillators. Both phases of the market require the use of different types of indicator. Trending markets need trend-following indicators such as moving averages, moving average convergence/divergence (MACD), and so on. Trading range markets need oscillators such as the relative strength index (RSI) and stochastics, which use overbought and oversold levels. The age-old problem for many trading systems is their inability to determine if a trending or trading range market is at hand. Trend-following indicators, such as the MACD or moving averages, tend to be whipsawed as markets enter a nontrending congestion phase. On the other hand, oscillators (which work well during trading range markets) are often too early to buy or sell in a trending market. Thus, identifying the market phase and selecting the appropriate indicators is critical to a system’s success. The congestion index attempts to identify the market’s character by dividing the actual percentage that the market has changed in the past x days by the extreme range according to the following formula:
Readings between+20 and−20indicate congestion or oscillating mode. Crossing over the 20 line from below indicates the start of a rising trend. Conversely, the start of a down turn is indicated by crossing under−20 from above. The CI can also be used as an overbought/oversold oscillator.
It was taken from İntermarket Trading Strategies book of by Markos Katsanos.Read the book.
D1:=Input(“DAYS IN CONGESTION”,1,500,15);
CI:=ROC(C,D1-1,%)/((HHV(H,D1)-LLV(L,D1))/(LLV(L,D1)+.01)+.000001);
Mov ( CI ,3,E)
(Copyright Markos Katsanos 2008)
Volatility IndexThis is a composite volatility index to show percentile of current volatility compared to that of the last 52 bars. As this is a weekly chart (and this script is intended for usage on weekly charts) we can see the yearly percentile rank of volatility.
As shown when volatility is in the lower 25%tile (viewed on weekly) the market is calm and likes to rise; when the volatility is above the 25%tile you can see that the market tends to have larger and 'choppier' moves.
This is /not/ 'just the vix' this takes into consideration the volatility of all major US indexes including the SPX500, Dow 30, Nasdaq 100, and Russel 2000.
Please remember that this is just plotting:( volatility index - lowest(index,52) )/( highest(index,52)-lowest(index,52) ) so for 'yearly percentile' check the weekly chart (52 weeks = 1yr)
Bar Strength Index (BSI) by CryptorhythmsBar Strength Index (BSI) by Cryptorhythms
Intro
BSI is an totaly new and original indicator derived from Internal Bar Strength. It can be classified as similar to an RSI, but its method of calculation is very different so it sometimes gives an edge where RSI does not.
In the chart I have included RSI (red line) as a comparison for you to contrast BSI with.
Description
The formula for Internal Bar Strength is:
IBS = (close - low) / (high - low) * 100
The original IBS and thus this derivitive (BSI) are meant for higher timeframe analysis. Working best on daily, weekly or monthly charts. I take that original IBS formula and create something smoother and easier to understand - The Bar Strength Index !
Options
💠There is an option for smoothing which I recommend using.
💠Also options to make the scaling adaptive, or to leave it static.
💠A normalization option is available to create a bounded oscillator (easier for alerts/algos).
💠You can choose an MA type and length to create a signal line for it as well.
💠Lastly I also included the ability to setup overbought and oversold zones for better alert creation possibilities (crossovers / crossunders).
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 77th script on Tradingview!
[STRATEGY] Jurik RSXA private strategy from the Profitable Jurik RSX preview for backtesting purposes.
DXY COT Commercial Net PositionsThis script was created due to the lack of position of US Dollar Index Futures (DXY).
It is designed to perform a much more liquid and inclusive position analysis.
As the exponential ratios do not mean anything to positions, weights are used as multipliers instead of exponential functions.
Swedish Krona (SEK) Futures are not directly quoted in Quandl, therefore weighted in Euro / dollar parity.
By perceiving these positions as inverse correlations, you can also identify where the world economy is doing well.
COT Commercial Net Positions are calculated as (Short - Long) because of Commercials act according to the reverse of the market.
In this way, you can follow up normally instead of reverse correlation.
Because except in extreme cases, in which case capitals usually shift to Gold.
This is not the case, since there is no capital inflow to other currencies, it is not a strong sell position to the dollar index.
When there is a shift in bonds, we see the effect of the dollar in general.
I created for the Dollar Index in order not to deviate from the concept.
I wanted to share it with everyone as I thought that you have important clues about how investors take positions.
Modified currency weights :
Euro : % 61.8
Japanese Yen : % 13.6
British Pound : %11.9
Canadian Dollar : % 9.1
Swiss Franc : % 3.6
NOTE : You can use it for all instruments except crypto coins, especially US Dollar Index (DXY).
Since the COT data is taken, it will not repaint in 1 week (1W) timeframe.
The log can also be repaint according to the time of data publication.
It will repaint in lower time frames.
I hope it will help your analysis and your scripts,regards.
Commercial Movement Index-BuschiEnglish
Inspired by the book "The Commitments of Traders Bible" by Stephen Briese, this indicator is a follow-up of my already published "Commercial Index-Buschi".
Here, the Commercial Index isn't shown in values from 0 to 100, but in how far the value changed from a given timeframe (default Movement Reference: 6 weeks). Therefore it ranges from 100 (bullish move from the Commercials during the last weeks) to -100 (bearish move).
Deutsch
Inspiriert durch das Buch "The Commitments of Traders Bible" by Stephen Briese, ist dieser Indikator eine Weiterentwicklung meines bereits veröffentlichten Skriptes "Commercial Index-Buschi".
Hier wird der Commercial Index nicht in Werten von 0 bis 100 angezeigt, sondern in wieweit er sich innerhalb eines vorgegebenen Zeitfensters (Standard: Movement Reference: 6 Wochen) verändert hat. Daher schwankt er zwischen 100 (bullishe Bewegung der Commercials innerhalb der letzten Wochen) und -100 (bearishe Bewegung).
🧬dRSI Signals Internal Beta Test by Cryptorthyhms🧬dRSI Signals Internal Beta Test by Cryptorthyhms
Test release, for internal testing only. Debut release soon!
Thank you all for your patience!
MKAST-IndexThis is one of my free for all Indicators.
The TJ-Index is something I have been working on for quite a while and always was wanting to have on my charts, yet it took me longer than expected to finally finish it.
Now it is done and you can simply favourite this script and add it to your chart.
It is made out of 2 main parts.
Part 1:
15 Indicators and conditions like
-Delta MACD,
-Crypto Indicator,
-RSI,
-MACD,
-Momentum,
-CCI,
-OBV,
-Stochastic,
-CMF,
-Raw Buy and Sell Volume Domination,
-Super Guppy,
-Ichimoku,
-DIOSC,
-Volume Weighted MACD,
-Golden cross/Death Cross
Part 2:
The white line - the index itself.
So how this works is, you see 15 horizontal lines in green and red alternating, mentioned in that order above, if a bullish condition islet the horizontal line turn green, if it is a bearish condition, it is red.
The white index line, is basically depicting the number of bullish conditions at the same time.
I have seen that it is extremely powerful for divergences and especially thinking to take any position, checking if the index is high or low at the time.
An extra feature is that if ALL bullish or bearish conditions are met, the background of the oscillator will color itself green or red.
You can also turn on and off the horizontal lines for the easier user of the TJ-Index.
For now, the code will remain hidden, since I still have some important parts of this Index in my main Invite Only Indicator.
I will be publishing an open version of the TJ-Index soy ou can incorporate it in your own indicators.
Should you be interested in my main indicator or scripting work, feel free to DM me.