Relative StrengthA relative strength overlay, similar to that of IBD shown on Marketsmith.
The value is not from 0-100, it is compared with the Nasdaq x2 ETF, QLD. Therefore, if greater than zero it will give you a good indication that the stock has a very good relative strength.
Feel free to change the comparison ETF to one of your choosing.
Relative
Real Relative Volume - Bar Indicator - Time Adjusted - DE & ENEnglish version below
Die richtige Aktie zu finden, ist nich immer einfach. Eine wichtige Variable bei der Aktienauswahl stellt das relative Volumen dar, welches von vielen erfolgreichen Tradern und Trading Firmen benutzt wird. Stell es Dir so vor: Statt sich das absolute Volumen anzuschauen, schauen wir uns die tatsächliche Stärke an. Wie viel Volumen wird also heute im Vergleich zu einem regulären Tag gehandelt. Dies gibt Aufschluss darüber, ob die Aktie "In-Play" ist.
Merke: Ist das RVOL (Relative Volumen) erhöht, sind mehr Marktteilnehmer an dieser Aktie interessiert als üblich. Dies ist besonders dann wichtig, wenn die Marktrichtung und die Richtung der Aktie nicht übereinstimmen.
Wenn der Markt steigt, steigen auch die meisten Aktien. Dies kann folglich auch ohne erhöhtes RVOL passieren. Was ist aber, wenn der Markt gegen uns geht? Dann werden wir schnell bei RVOL-schwachen Aktien ausgeschüttelt. Daher wollen wir unseren Fokus immer auf Aktien setzen, die ein erhöhtes relatives Volumen haben! Dies sind die Aktien, die gerade wirklich stark gehandelt werden und wahrscheinlich einen Katalysten dafür haben.
Der Real Relative Volume - Bar Indicator zeigt Dir das aktuelle relative Volumen an. Unser Algo benutzt dabei das tatsächliche kumulative Volumen des aktuellen Tages zum jeweiligen (aktuellen) Zeitpunkt und vergleicht dieses mit dem historischen Durchschnittsvolumen zum gleichen Zeitpunkt. Damit bekommen wir ein korrektes Abbild der aktuellen Stärke. Mit Hilfe des Indikators können wir durch die farbliche Veränderung der Volumenbalken ebenfalls sehen, ob diese Stärke zunimmt, gleich bleibt, oder gegebenenfalls schnell and Power verliert. Im Gegensatz zu anderen Skripten nutzen wir eine fortschrittliche Methode, die aktuelle Position am Tag erkennt und damit nicht die Session in gleiche Teile teilt. Vorteil: Der Indikator funktioniert auch in Krypto, Forex, DE-Aktien, Indizes etc.
Funktionen:
Bitte ohne verlängerte Handelszeiten nutzen!
Sessions Back: Verändert die Baseline, die Du mit dem heutigen Volumen vergleichst. Beispiel: 10 - Zur aktuellen Uhrzeit siehst Du das reale relative Volumen von heute in Relation zu den letzten 10 Sessions (zur gleichen Zeit). (*max 5000 Kerzen)
RVOL Threshold: Wert für die RVOL Alarme sowie zur Färbung bei Nutzung des Modus Threshold.
Plot styles: Du hast die Möglichkeit aus 4 verschiedenen Styles zu wählen.
Heatmap (greift auf die Werte und Farben von HM1-HM5 zurück)
Traffic (greift auf die Werte und Farben von T1-T4 zurück) -
Threshold (greift auf den Werte RVOL Threshold zurück)
Kurs (zeigt die normalen Volumenbalken)
HM1-5: Stelle unterschiedliche RVOL Werte für den Plot Style Heatmap ein.
T1-4: Stelle unterschiedliche RVOL Werte für den Plot Style Traffic ein.
Dieser Indikator wird häufig mit unserer zweiten Version Real Relative Volume - Line Indicator - Time Adjusted - DE & EN verwendet. Stelle sicher, dass Du in beiden Indikatoren die gleichen RVOL Werte nutzt!
-------------
English version
Finding the right stock to trade is not always easy. An important variable in stock selection is the relative volume, which is used by many successful traders and trading firms. Think of it like this: Instead of looking at absolute volume, we look at actual strength. So how much volume is traded today compared to a regular day? This gives an indication of whether the stock is "in play".
Note: If the RVOL (relative volume) is increased, more market participants are interested in this share than usual. This is especially important if the market direction and the direction of the stock do not match.
If the market rises, most shares will also rise. This can, therefore, happen without an increased RVOL. But what happens if the market goes against us? Then we are quickly shaken out of RVOL-weak stocks. Therefore, we always want to focus on stocks that have an increased relative volume! These are the stocks that are trading really strongly right now and probably have a catalyst for that.
The Real Relative Volume - Bar Indicator shows you the current relative volume. Our Algo uses the actual cumulative volume of the current day at the respective (current) time and compares it with the historical average volume at the same time. This gives us a correct picture of the current strength. With the help of the indicator, we can also see by the color change of the volume bars whether this strength increases, remains the same, or loses power quickly. Unlike other scripts, we use an advanced method that recognizes the current position on the day and does not split the session into equal parts. Advantage: The indicator also works in crypto, forex, foreign stock markets, indices, etc.
Features:
Please use without extended trading hours!
Sessions Back: Changes the baseline that you compare to today's volume. Example: 10 - At the current time you see the real relative volume of today in relation to the last 10 sessions (at the same time). (*max 5000 candles)
RVOL Threshold: Value for the RVOL alarms as well as for coloring when using the Threshold mode.
Plot styles: You have the possibility to choose from 4 different styles.
Heatmap (uses the values and colors of HM1-HM5)
Traffic (uses the values and colors of T1-T4) -
Threshold (accesses the values RVOL Threshold)
Price (shows the normal volume bars)
HM1-5: Set different RVOL values for the Plot Style Heatmap
T1-4: Set different RVOL values for the Plot Style Traffic.
This indicator is often used with our second version Real Relative Volume - Line Indicator - Time Adjusted - DE & EN. Make sure that you use the same RVOL values in both indicators!
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.
Fill Strength Gradient [BigBitsIO]This script plots two moving averages but is mostly designed to highlight a fill strength gradient. The fill strength gradient shows a more opaque fill based on the current percentage difference of the current difference to the maximum difference in two MAs in a trend.
Citation: PinceCoders - Slight modification on color functions
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!
Relative Normalized VolatilityThere 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 extremely versatile.
Today proposed indicator aim to compare the estimated volatility of two instruments in order to provide various informations to the user, especially about risk and profitability.
CALCULATION
The relative normalized volatility (RNV) indicator is the ratio between the moving average of the absolute normalized price changes value of two securities, that is:
SMA(|Δ(a)/σ(a)|)
―――――――――――
SMA(|Δ(b)/σ(b)|)
Where a and b are two different securities (note that notation "Δ(x)" refer to the 1st difference of x, and the "||" notation is used to indicate absolute value, for example "|x|" means absolute value of x) .
INTERPRETATION
The indicator aim tell us which security is more volatile between a and b , with a value of the indicator greater than 1 indicating that a is on average more volatile than b over the last length period, while a value lower than 1 indicating that the security b is more on average volatile than a .
The indicator use the current symbol as a , while the second security b must be defined in the setting window (by default the S&P500). Risk and profitability are closely related to volatility, as larger price variations could potentially mean larger losses (but also larger gains), therefore a value of the indicator greater than 1 can indicate that it could be more risked (and profitable) to trade security a .
RNV using AMD (top) volatility against Intel (bottom) volatility.
RNV using EURUSD (top) volatility against USDJPY (bottom) volatility.
Larger values of length will make the indicator fluctuate less often around 1. You can also plot the logarithm of the ratio instead in order to have the indicator centered around 0, it will also help make values originally below 1 have more importance in the scale.
POSSIBLE ERRORS
If you compare different types of markets the indicator might return NaN values, this is because one market might be closed, for example if you compare AMD against BTCUSD with the indicator you will get NaN values. If you really need to compare two markets then increase your time frame, else use an histogram or area plot in order to have a cleaner plot.
CONCLUSION
An original indicator comparing the volatility between two securities has been presented. The choice of posting a volatility indicator has been made by my twitter followers, so if you want to decide which type of indicator i should do next make sure to check my twitter to see if there are polls available (i should do one after every posted indicator).
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.
Live Mini Terminal 2 : Relative USD Based Stock Markets Change This script displays relative data changes occurring in the adjustable period and/or adaptive automatic period in various stock markets.
It was inspired by the data terminals used by commercial traders.
Period selection can be set in the menu.
This script uses the adaptive period algorithm used by Autonomous LSTM and Relativity scripts.
Or you can set the period manually from the menu.
For more information about adaptive period this script uses:
This script works only for 1 day (1D) and 1 week (1W) time frames.
The most efficient time frame is 1 week because of different time-zones (1W) .
Features
Value changes on a percentage basis (%)
Stock exchange values are calculated in dollar terms.
Due to the advantage of movement, future data were chosen instead of spot values on the required instruments.
INSTRUMENTS
Usa : S&P 500 Futures
Japan: Nikkei 225 Futures
England: United Kingdom (FTSE) 100
Australia: Australia 200
Canada: S&P / TSX Composite
Switzerland: Swiss Market Index
New Zealand: NZX 50 Index
China: SSE Composite (000001)
Denmark: OMX Copenhagen 25 Index
Hong-Kong: Hang Seng Index Futures
India: Nifty 50
Norway: Oslo Bors All Share Index
Russia: MOEX Russia Index
Sweden: OMX Stockholm Index
Singapore: Singapore 30
Turkey: BIST 100
South Africa: South Africa Top 40 Index
Spain: IBEX 35
France: CAC 40
Italy: FTSE MIB Index
Netherlands: Netherlands 25
Germany : DAX
USAGE
The script can be used as an indicator by putting it under the chart as shown above.
It is necessary to enlarge to see clearly.
Since it is not often looked at,such use is the best method for healthy interpretation.
Live Mini Terminal 1 : Relative General Data ChangeThis script displays relative data changes occurring in the adjustable period and/or adaptive automatic period in various markets.
It was inspired by the data terminals used by commercial traders.
Period selection can be set in the menu.
This script uses the adaptive period algorithm used by Autonomous LSTM and Relativity scripts.
Or you can set the period manually from the menu.
For more information about adaptive period this script uses:
This script works only for 1 day (1D) and 1 week (1W) time frames.
Since COT data is used, the most efficient time frame is 1 week (1W) .
Features
Value changes on a percentage basis (%)
Commitment of Traders position changes on a percentage basis :
Net position percentage is calculated as Short - Long and there is no inverse relationship.
Direct relationship is provided.
Due to the advantage of movement, future data were drawn instead of spot values on the required instruments.
INSTRUMENTS
US10Y : U.S Government Bonds 10 Year Yields
VIX : CBOE Volatility Index (S&P 500 VIX )
GOLD : XAUUSD : Gold
WTI : West Texas Intermediate : USOIL , Crude Oil
BCO : Brent Crude Oil : UKOIL , Light Crude Oil
SP500 : S&P 500 Index
DXY : US Dollar Index
TIO : Iron Ore : Iron Ore %62 Fe CFR China Futures
XAG : SI : Silver
NG : Natural Gas
JPYUSD : Japanese Yen
EURUSD : Euro/Dollar
Position Change InfoPanel
10 US T-Bond positions are used because there is no position equivalent in US10Y.
In other instruments, the corresponding position provisions are written and their changes are calculated.
USAGE
The script can be used as an indicator by putting it under the chart as shown above.
It is necessary to enlarge to see clearly.
Since it is not often looked at,
such use is the best method for healthy interpretation.
[STRATEGY] Jurik RSXA private strategy from the Profitable Jurik RSX preview for backtesting purposes.
Relative Volume RVOL AlertsRelative Volume or RVOL is an indicator used to help determine the amount of volume change over a given period of time.
It is often used to help traders determine how in-play a ticker is.
General rule of thumb is the higher the RVOL, the more in play a stock is.
I myself like to use it as a substitute of the volume indicator itself.
Basic Calculation:
Relative Volume = Current Volume / Average Volume
Crossover Signals:
Any time there is a volume spike which causes a crossover of the user set 'Smoothed Moving Average' or 'Threshold' a green/red dot will appear at the top. The color of the dot is dependent on closing of the candle. Therefore it does not necessarily mean price will continue in that direction since volume spikes often happen in peaks or valleys.
Threshold:
The level at which custom alerts and signal can be set. The higher the value, the more volume required to trigger.
Built in Alerts:
You can set custom alerts for the crossovers of the adjustable threshold, or the average RVOL band.
Relative Volume (RVOL) - ATR - R4RocketHello !!
This is a big upgrade on my earlier Indicator called "RVOL - R4Rocket". I could have updated the existing script, but there were two reasons for me to not do so.
1. I changed a lot of the previous code and added a lot of statistics like
a. Intraday Daily ATR Plot
b. Progressive (High - Low) Range as % of Daily ATR
c. % of RVOL Days in available chart data in any timeframe
d. In the new script RVOL Sectional has been removed as I did't find it very useful (Old script still has that feature)
e. And lastly and greatly, I modified the actual RVOL code (Huh ? Well I'll explain what I mean by this below)
2. Earlier I named my script just as RVOL. But then I though, well not everyone is going to search "Relative Volume" Indicator as "RVOL" Indicator, right? And Then during my second update I even tried to see whether I can change the script name but I couldn't figure it out. (Maybe it's not possible or maybe you know, "I DON'T HAVE ENOUGH BRAIN POWER" :P). So in order to make my script more accessible and easy to find for everubody so that it may add a little value to them in their trading, I'm changing the name of the script in this publication to "Relative Volume (RVOL) - ATR - R4Rocket". (Quite a big name, don't you think?)
Now as my reasons are out of the way, let me tell you about the indicator and the available options.
First let me explain what is RVOL basically. (Even after making 4 updates to my last script, I forgot to explain this......BIG BRAIN POWER :P)
It is calculated as (Cumulative sum of volume till time t from the start of the session) divided by the (Average of same period volume over a given number of days).
Lets say market starts at 09:30 am and right now the time is 10:00 am. So what RVOL does is it takes the sum of volume done from 9:30 am to 10:00 am for today and divides it by the same average volume that occurred between 9:30 to 10:00 in lets say X number of last days.
What this does is gives you the means to quantify how much everybody is interested today in the given stock w.r.t last X days. Generally higher the RVOL value - higher the public interest (due to some known or unknown reason like results / news / market condition etc) - and hence higher is the probability of stock movement on intraday basis. (Mostly everybody prefers to trade stocks intraday with RVOL > 2)
Now let's get back to the changes and the features.
1. It calculates Relative Volume
Adjusted in a way that the recent volume spike (e.g say due to quarterly result announcement or some other big news) don't skew the next day's
RVOL calculation. What this will do is, it will give you a good idea whether the stock is still in play the next day or a day after that.
LIGHTS !! CAMERA !! ANNNNNNDD ACTION !! (I love to watch movies, not very relevant here I know, but couldn't help it :P)
Now you can see in the image below the difference between old and new script RVOL calculations. This will help you to find out 2nd Day, 3rd Day plays.
To calculate RVOL first you have to choose your local exchange trading hours
E.g. NSE (India) trades from 09:15 to 15:30
NASDAQ (USA) trades from 09:30 to 16:00
LSE (UK) trades from 08:00 to 16:30 etc
Then you have to choose the RVOL period. This is the lookback period for cumulative volume average calculations.(I suggest using default value of 4 but it depends upon your preference and one more thing to note is that too high of a value will not even load the script due to some constraints that I don't know)
And last parameter is RVOL Trigger = What RVOL value YOU CONSIDER IMPORTANT. (I like 2 and if RVOL > RVOL Trigger then the columns will turn Green otherwise they will be Red. SIMPLE !!)
You can use any timeframe from 1 min to 1 Day. (Even custom timeframes like 2,4,6 will work fine)
1 min Chart
2 min Chart
2. It calculates Daily ATR in % terms of the day's open and plots it on intraday charts (and on daily charts too, if you want)
It's just what I just said - plain & simple.
You can see it in the image below. (Yellow dotted line and value in yellow color)
This will help you if you use profit targets or stop losses based on previous day's ATR values.
All you have to do is tick the Plot Daily ATR % box in inputs and choose the ATR Average.
3. The indicator calculates (High - Low) range as and when it extends throughout the day as the % of Daily ATR
This will help you quickly in finding which stocks are trading with extreme volatility.
Can be seen in the image below where the stocks trade @ almost 3 times or 300 % of the previous days ATR (Blue dotted line and value in blue color)
4. And lastly it gives you the statistic that will tell you how much is the average % of total days are RVOL days. (Did you get that ? It sounded great in my head but really don't know what I just said)
Let me tell you in terms of numbers. Lets say on daily timeframe Tradingview provides some 5000 bars worth of historical data. Out of that there were 16% days where RVOL was more than 2. Roughly speaking if you were to trade this stock every day then you would find on an average about 3 days per month with RVOL > 2.
(If you reduce the RVOL Trigger, then you will get more % RVOL days. In the second image if you reduce RVOL Trigger to 1.5 then you will have almost 27 % good trading days AS PER YOUR DESIRED & DEFINED PARAMETER OF RVOL TRIGGER = 1.5. Which translates to almost 6 days per month. You can play with it as you want and deem fit.)
RVOL Trigger = 2
RVOL Trigger = 1.5
“The goal of a successful trader is to make the best trades. Money is secondary.” – Alexander Elder
With best regards.
R4Rocket
RVOL - R4RocketRelative volume or RVOL for short is an indicator that is used to measure how 'In Play' the stock is. Simply put, it helps to quantify how interested everybody is in the given stock - higher the value, higher the interest and hence higher is the probability for movement in the stock.
I have tried to create RVOL (Relative Volume ) Indicator as per the description that I read on SMB Capital blog. The blog is a great resource.
...................................................................................................................................................................................
How to use the indicator - The indicator is meant for INTRADAY ONLY.
The indicator has following inputs -
1. RVOL Period - Value from 3 to 14 (Default Value = 4)
This is used to calculate the average volume over the given period of days. e.g. average volume for the last 5 days, last 3 days, last 10 days etc. NOTE - If you use higher RVOL Period on smaller timeframes, the code will give an error. So I recommend using 4 or lower for 5 min timeframe. (Nothing will work on 1 min chart and you can experiment for other timeframes.)
2. RVOL Sectional - True / False (Default Value = False)
If you check this box then you will be able to calculate the RVOL for a particular session (or between particular sessions) in that trading day.
What do I mean by session?
Well I have divided the trading day into 6 (almost) equally spaced sessions in time, i.e. 6 hours and 15 mins (for NSE - India) of trading day is divided into 1 hr - 1st session, 1 hr - 2nd session, 1 hr - 3rd session, 1 hr - 4th session, 1 hr - 5th session, 1 hr and 15 min - 6th session.
Before using 3rd and 4th inputs of indicator, RVOL Sectional box MUST BE CHECKED FIRST.
3. RVOL From Session - 1 to 6 (Default Value = 1)
4. RVOL To Session - 1 to 6 (Default Value = 2)
Now if you select 2 in "RVOL From Session" input and 3 in "RVOL To Session" input, the indicator will calculate RVOL for the 2nd and 3rd hour of the trading day. If you select 3 in both the inputs, then the indicator will give RVOL for the 3rd hour of the trading day.
5. RVOL Trigger - 0.2 to 10 (Default Value = 2)
Filter to find days having RVOL above that value. The indicator turns green (or colour of your choice) when RVOL is more than "RVOL Trigger".
...................................................................................................................................................................................
Hope this indicator will add some value in your trading endeavor.
“Only The Game, Can Teach You The Game” – Jesse Livermore
Yours sincerely,
R4Rocket
**If you have some awesome idea for improvement of the indicator - request you to update the code and share the same.
You Jun's Currency Strength Indicator 2Script for calculating the cumulative RSI for 8 popular forex currencies.
Volume+ (RVOL By Time of Day)This script is an enhanced volume indicator.
It calculates relative volume (RVOL) based on the average volume at that time of day (rather than using a moving average).
For example, using this indicator you can see today’s volume during the first 5-minute candle of the market open compared to the previous day’s volume at the market open. Or you can see today’s volume at the market close during the last 15-minute candle compared to the average of the past 20 days of volume at the market close.
Due to the different quantity of candlesticks in a session between Stocks and Forex/Crypto, I separated those markets into separate settings, making this an all-in-one volume indicator that works on all markets.
Settings:
Stocks
If you set the lookback period to 1 on the 5-minute chart and look at the 9:30am candle for a stock, then the current volume bar will show you what today’s volume is compared to yesterday’s 9:30am 5-minute candle.
If you set the lookback period to 15, then the current volume bar will show you what today’s volume is compared to the average of the last 15 days of 9:30am 5-minute candles.
Max Lookback: 64 Sessions
Stocks
This setting is for traders who want to use this indicator on a timeframe lower than the 5-minute chart.
Due to limitations in how many historical bars PineScript can reference, referencing 1-minute and 3-minute bars requires a lot more historical data so I separated the two to allow the 5-minute+ timeframes to have a longer lookback period.
Max Lookback: 12 Sessions
Forex/Crypto
When you set the script to Forex/Crypto, it does the same thing for stocks but calculates based on a 24-hour period.
So if you set the lookback period to 1 on the 1-hour chart and look at the 11:00am candle for a currency pair, then the current volume bar will show you what today’s volume is compared to yesterday’s 11:00am 1-hour candle.
If you set the lookback period to 10, then the current volume bar will show you what today’s volume is compared to the average of the last 10 days of 11:00am 1-hour candles.
Max Lookback: 17 Sessions
What Doesn’t It Work On?
Because I had to manually calculate how many volume candles to look back per timeframe to get the previous session’s candle, I had to hard-code the math in this script.
That means that this indicator will only work on 1m, 3m, 5m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, Daily and Weekly timeframes. If you try to use it on any other timeframe it will revert to a regular volume indicator.
Why Is It Useful?
Similar to volume profile by price, this gives you a volume profile by time in a way that the default volume indicator does not.
For example, you can use this to determine when a stock has a particularly strong opening drive, or when a currency pair has a weak fake-out leading up to the London open, or for general confirmation on trading signals with time-specific volume information to work with.
Colors
The purple line and the faint gray bar is the RVOL value.
The blue number is the percentage of the current volume bar relative to RVOL.
There are four different bar color settings:
Heatmap – Changes color to be brighter based on higher RVOL
Price – Changes color based on price action (like the default TradingView volume indicator)
Traffic – Changes color based on RVOL percentages (for fast visual cues)
Trigger – Changes color only when the specified alert conditions are met
Heatmap:
Traffic:
Trigger:
Price:
Heatmap:
Turns very bright green at 2.0 RVOL
Turns light green at 1.0 RVOL
Turns normal green at 0.75 RVOL
Turns medium green at 0.5 RVOL
Turns very dark green at 0.25 RVOL
Is gray otherwise.
Price:
Turns red if the price action candle closed bearish.
Turns green if the price action candle closed bullish.
Traffic:
Turns red if RVOL is between 1.0 and 1.5.
Turns orange if RVOL is between 1.5 and 2.0.
Turns dark green if RVOL is between 2.0 and 3.0.
Turns bright green if RVOL is above 3.0.
Is gray otherwise.
Trigger:
Turns teal if any of the given alert conditions in the user settings are met.
Alerts
Alerts are optional. You have to set them like any other indicator, by creating a new alert and selecting this indicator.
If you leave the "Alert At RVOL %" setting at 0, then alerts will only be triggered if the current candle exceeds the 1.0 (100%) RVOL level.
If you change the "Alert At RVOL %" setting then alerts will be triggered if the RVOL percentage (blue number) exceeds your given value. The blue number is a percentage of the average, so if it’s at 0.5, then it’s 50% of the average.
Notes
- This indicator only works with regular time bars. It will not work with range, tick, renko etc.
- This script has lookback limitations due to restrictions on how many historical bars PineScript can reference. The lookback limit varies based on the market type you choose. The more bars required for calculation the lower the lookback limit.
- If you use it on the Daily timeframe the lookback period will count as 1 week. If you use it on the Weekly timeframe the lookback period will count as 1 month. So a Lookback of 3 on the Daily would be 3 weeks of averages, a Lookback of 5 on the Weekly would be 5 months of averages (for that Day of Week or Week number).
- Big thanks to @tb12345 for the idea and for helping to field-testing the indicator!
AG Relative BandWidthThis is an indicator that we've been using for a while, very useful for identifying when the market is in a low volatility state. We use the bandwidth of the Bollinger Bands as a proxy for this, but we do something different - we ask the question of "relative to what?".
Whereas typical Bollinger BandWidth indicators give values only applicable for that particular asset, the normalised nature of our Relative BandWidth indicator means that it works and be inferred the same across all assets and timeframes. A really handy tool!
"After periods of low volatility come periods of high volatility" is a well-known theory, and this indicator helps to quickly and easily identify when markets are in low volatility states. Another name for the information our indicator shows is known as the "Bollinger squeeze". Trading breakouts of this squeeze in Bands can be a profitable strategy, given one can filter the false breakouts adequately.
I have shown examples of when the indicator was showing low volatility, take note of what the price action and the width of the Bollinger Bands are doing.
Every parameter is editable, so feel free to play around with the settings. The default settings are what we have used for a long time and have worked well.
AG Relative Currency Strength IndicatorThis is an indicator that we've been using for a while to pinpoint currencies that are strong/weak. By knowing which currencies are strong and weak, you can focus your attention on the currency pairs that are actually moving, or plan ahead when researching trades.
This indicator gives the Relative Currency Strength, on any timeframe, for every major currency: USD, EUR, GBP, JPY, CHF, CAD, AUD, and NZD.
The indicator includes labels if you need them (you can toggle on/off - default=off), but you will quickly get used to which colour line represents which currency.
You can also choose to show/hide any currency, for isolation or clarity, e.g. only showing USD, EUR and JPY if that's all you're interested in.
Note: due to how much data is being pulled in and processed, this indicator does take a while to load.
Volume Columns w. Alerts (V) [LucF]These are volume columns on steroids, for serious volume users. You can use the indicator to show volume columns or relative volume. You can define alerts using numerous conditions in both column and relative modes simultaneously. Multiple coloring schemes allow you to reveal volume columns in a much more useful light than the two-color standard.
Features
Seven Color Schemes
Plain gray.
Different color for columns above average MA.
Standard green and red.
Color gradient using the relative position of MA (default mode).
The first 3 schemes allow for highlighting increasing volume columns.
A gray column in an otherwise colored scheme indicates no change in price.
Two Modes
Column Mode: In this mode you can show the volume MA and mask the columns under it. The standard is an EMA because I think it better suits volume’s quick changes, but you can change it to the usual simple MA, as well as define its length.
Relative Volume: Calculations have been kept rudimentary. Current volume is simply compared to the previous bar’s volume. In order to compensate for this, a multiple area mode also compares current volume to 5, 15, 50 and 200 periods MAs. You can choose to view only the main relative volume value. Relative volume is capped in order to prevent the loss of detail caused by wild increases. The default cap is 10, but you can define your own. Spikes that are capped show a dot at their top. A separate threshold (its default value is the standard 2) is included for relative volume; it is used to generate relative volume markers.
Four Markers
Bumps (marker 1): A bump occurs when an increasing volume column is above its MA and the candle’s close is above/below the previous close.
Double Bumps (marker 2): A double bump occurs when 2 bumps are present in the last 3 bars.
Volume Over MA (marker 3): Triggers whenever volume is above MA. This is the noisiest of the markers.
Relative Volume (marker 4): This event occurs when relative volume crosses the pre-defined threshold.
You can choose to only show long or short markers.
Two Backgrounds
You can choose to highlight the background on bumps and double bumps.
Alerts
You can define alerts on any combination of markers you configure. After defining the markers you want the alert to trigger on, make sure you are on the interval you want the alert to be monitoring at, then create the alert, select V, use the default “Configured Markers” alert condition and choose your triggering window (usually “Once Per Bar Close”). Once the alert is created, you can change the indicator's inputs with no effect on the alert.
No worthwhile price movement exists without volume. It thus makes sense to define alerts on volume if you want to monitor markets. I use the markers to define two types of alerts. For general market scanning, I use markers 2 and 4 on high time frames. When I have identified a good opportunity for entry and am waiting for confirmation, I will often setup a custom alert for that market at a shorter time interval using markers 1 and 4.
Notes
Until we have access to delta volume information on TradingView, this indicator tries to get the most out of volume columns without using security calls at inside intervals to get more resolution on volume, because it slows things down considerably.
The chart shows different combinations of color schemes and markers, along with my TLD indicator on the chart.
Volume+ (RVOL/Alerts)This indicator colors the volume bars based on any of the three follow criteria:
- Volume Amount
- RVOL (Relative Volume)
- Lookback (Highest Over Period)
You can use one, two or all three of these settings at the same time.
You can also set alerts with this indicator. The script will trigger an alert whenever any of the three specified flags are triggered.
RVOL is calculated as: Volume divided by Moving Average value. You can change the moving average period (and type) in the settings.