ReDraw script calculates the historical returns and drawdown for the given periods.
By default, the return of the linear regression trends is displayed (can be turned off in settings). In this mode, two linear regression trends are being computed for both long and short periods, and the percent value indicates the "return of the trend" for the corresponding...
Compare the relative valuation of up to 8 tickers. By taking a shorter term moving average and dividing by a longer term moving average(optionally with an offset) we get a value that is either above or below 1. Easy to tell what is undervalued and overvalued with this setup. Useful for comparing different asset classes or sector specific securities looking for...
Relative strength is a calculation of the price trend of a stock or a financial instrument in comparison to another instrument, stock, or industry. It shall be determined by taking the price of one commodity and dividing it by another.
Relative strength is a strategy used for determining value stocks and is used in momentum investing as well. It involves...
This is an original indicator so a true hidden gem in my opinion. I based this idea off of the work by Giorgos Siligardos (Stocks and Commodities Aug 2012) with his indicator called the Sector Rotation Model. This indicator is best used as a trend confirmation in combination with another indicator such as a leading indicator. This will show you how strong the...
Here I bring you an array of methods to compare the swings and consistency between assets.
This indicator is excellent for swing traders and scalpers looking to maximize their profits by examining which of two closely related pairs provides greater price fluctuation during given period.
This indicator works against two assets, which are to be configured in...
This is a modification of my Rate of Change Percentile script, used to compare the current ticker (e.g. Altcoins) to BTC.
Essentially we are looking at (Current Ticker ROC percentile) vs (Bitcoin ROC percentile).
In other words, we are using the ROC value of both the current ticker and BTC, and ranking each based on their previous ROC.
We compare the...
Calculates a divergence between 2 series
bullish(_src, _low, depth) Calculates bullish divergence
_src : Main series
_low : Comparison series (`low` is used if no argument is supplied)
depth : Fractal Depth (`2` is used if no argument is supplied)
Returns: 2 boolean values for regular and hidden...
TODO: I am making this library public as I am going to be posting some more scripts. This library is going to be used as a Utility Library for my scripts and will be updated to add functions I find useful. Anyone is free to use it how they want but keep in mind these functions will be built for my use. Currently I have 3 functions, a...
With the new Pine Script features you can build pretty interesting scripts.
Here is my try to expand functionality of basic comparison tool you have in TradingView.
When you apply it on your chart you can select a bar when do you want to start comparing your instrument from.
In parameters you can specify up to 32 symbols to compare. You can also disable symbols...
This is a public library that include the functions explained below. The libraries are considered public domain code and permission is not required from the author if you reuse these functions in your open-source scripts
This indicator is based on Historical Volatility (HV) built-in indicator with minor tweaks to match the Bitcoin Volatility Index (from Bybt).
Also, you can select a symbol to compare its volatility with the volatility of the currently selected symbol.
This Script is a Convenience Script Module for calculations based or started on a fix time / date.
(In difference to bar_index-based where the reference point is shifting from bar to bar, thus is dynamic).
- Comparison by start date
- Time driven studies or strategies
- Measuring from Date of Interest
The script also contains a date input...
This is just a simple tool for convenient to compare and showing a clear image of all sector and index in Malaysia. They are just in one indicator. From this indicator, you can predict momentum of each sector in Malaysia, which is currently in bull or bear trend.
In the setting, the first line with the option of the following index (Malaysia...
This indicator allows to compare the performance (% change) of a given symbol with the larger market ( AMEX:SPY ) and/or with a custom symbol, which defaults to AMEX:XLK (an ETF tracking technology companies from the S&P 500).
The performance for the current symbol is displayed as a blue histogram, while performance for the AMEX:SPY and the custom symbol are...
There are plenty of indicators that aim to measure the volatility (degree of variation) in the price of an instrument, the most well known being the average true range and the rolling standard deviation. Volatility indicators form the key components of most bands and trailing stops indicators, but can also be used to normalize oscillators, they are therefore...
Market: Stocks and ETF's
This overlay shows the deviation of the exponential moving average of the mid candle price of the currently loaded chart, away from the exponential moving average of the S&P and DOW combined and averaged mid candle price. The top and bottom lines also give a visual perspective of what a certain percentage (default 1%) looks like on the...
This script allows you to compare the percentage-based change in the price of any two securities on any given (and supported) timeframe on the chart. This can give you a very simple way to compare any two securities against one another.
Ex: If your base security gained 5%, and the other security gained 3% in a single day, the change comparison would show a green...
This indicator is to be used only by the values it gives back, don't use the lines .
In "current week days" choose number of days that already BEGAN this week (ex. on Wednesday type 3)
Green1 - Current Daily Range
Orange1 - Average Daily Range
Green2 - Current Weekly Range
Red1 - Average Weekly Range
Orange2 - Today's price movement compared to the average...