relative performanceThis indicator is built to mesure the performance of a stock vs the index of choice. it is best use for the intraday session because it doesn't take gap into account when doing the calculation. This is how i made my math (using AAPL compared to SPY for simplicity)
(change AAPL / ATR AAPL) - (change SPY / ATR SPY) * beta factor * volume factor
change is calculated open to close for each candle instead of close to close. this is why gap does not affect the calculation
blue columns is an instant snap shot of the RP
red and green columns is the moving average of the blue columns
limit is the max value for the blue line when ploting them on the chart but doesn't affect the calculation
option:
indice: default with SPY but could use any stock
moving average choice: let you choose between EMA or SMA green and red columns
rolling average length : number of bar for the moving average
I made an auto adjust for the 5 min chart and the 2 min chart so you can swithc between both chart and have the same average (default value set to 6x 5min and 15x 2 min, giving you the average of the last 30min)
volume weighing let you choose if you want a volume factor or not. volume factor is only going to multiplie the result of the price move. it cannot move it from positive to negative.
this is the calculation
(volume AAPL / volume SMA AAPL) / (volume SPY / volume sma SPY)
meaning that a higher volume on the thicker compared to it's sma while having a lower volume on SPY will give you a big relative performance.
you can choose the number of bar in the average for the volume.
BETA factor work the same way that the volume factor does. you got to manualy enter your beta. default is set to 1.5
table
top line : blue square is you RP value (same has the blue columns bar) and your reference thicker
middle line : pourcentage move from the open (9:30 open) for your stock on the left and the reference on the right
bottom line : beta on the left and volume factor on the right
feel free to ask question or give modification idea!
Relativecomparison
EsIstTurnt's Relative Value Comparison Multi SymbolCompare 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 outperformers/underperformers. Overvalued and Undervalued levels marked by Red and Green background. Recommended in conjunction with other indicators of your choosing for confirmation of trend changes but this is good for getting a broader view of the market you're interested in. Multiple timeframes, sources available however you should tinker with it to find what gives you the best view for your preferred timeframe.
Relative strength DivergenceThe following indicator uses relative comparison of two assets by the formula n/s3, where n is the t asset on the screen while s3 the underlying assets it is being compared to. The usefulness of the indicator is to primarily compare the assets being traded like BTC (most prominent crypto with largest market cap), with some other crypto like TRX(this has a relatively smaller market cap). Since we get a broader market view through relative comparison of the two assets, the most important function is to find the edge through divergences. Just like RSI the divergences rules would be the same and most important trades would be trades in the direction of the trend along accompanies by divergences that are in line with the trend. Simple divergences work for the best trades with default settings. Although BTCUSD is the default asset to compare with it can be switched with any other asset as well, but it is very much preferred that one uses some type of index as the base asset for comparison. Other than that for simple trading the trend MA crossover can also be used as a signal for simple trend following.
[RSM] Relative Strength Momentum 10 sources v1.1This indicator was designed to compare relative price momentum across multiple related/unrelated symbols, maximum of 10.
Each symbol's momentum/trend is determined by price movement and custom weighted moving averages.
You can use this indicator to determine changing trends by looking at correlated leading symbols.
Description of Input Parameters:
Dark theme: Turn on this checkbox if you are using the dark theme in Tradingview.
MA Type: Default is preferred, but allows you to choose different Moving Averages to determine momentum.
MA Period: Ideal period is 200 for a Chart TF of 15 minutes to 1 Hour for most symbols I've tested. (US/Euro Indexes CFD and Futures )
Symbol 1-10: Enter a valid Symbol in Tradingview otherwise indicator will return an error.
Color Symbol 1-10: Pick a unique color for each corresponding Symbol.
Display Symbol 1-10: Checkbox to turn on/off corresponding symbol's plot.
Access to Script:
Please contact me privately on Tradingview, user id: a.tesla2018
Alternatively, use the links below for method of payment/access to this indicator. Please do not forget to mention your TV name in notes.
[RSM] Relative Strength Momentum v1.0 [pvt]This indicator was designed to compare relative price momentum across multiple related/unrelated symbols, maximum of 6.
Each symbol's momentum/trend is determined by price movement and custom weighted moving averages.
You can use this indicator to determine changing trends by looking at correlated leading symbols.
Description of Input Parameters:
Dark theme: Turn on this checkbox if you are using the dark theme in Tradingview.
MA Type: Default is preferred, but allows you to choose different Moving Averages to determine momentum.
MA Period: Ideal period is 200 for a Chart TF of 15 minutes to 1 Hour for most symbols I've tested. (US/Euro Indexes CFD and Futures)
Symbol 1-6: Enter a valid Symbol in Tradingview otherwise indicator will return an error.
Display Symbol1-6: Checkbox to turn on/off corresponding symbol's plot.
Access to Script:
Please contact me privately on Tradingview, user id: a.tesla2018
Alternatively, use the links below for method of payment/access to this indicator.