Asset risk metricsMeasures distance from a said source (high, close, open, ohlc4...) to last all time high, divided by the relative strength index . You are able to compare it to RSI or an RSI moving average (several types included). Default values are intended to be used on weekly timeframe , but serves as well on daily without changing much of the settings.
Feel free to edit/adapt the code, would love feedback on it.
Sentiment
Multiple EMAAn exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average (SMA), which applies an equal weight to all observations in the period.
Here, i have merged multiple EMA into one indicator. traders would find it very convenient as multiple widely used EMA`s are merged into 1 indicator. one can also change the time and color from its settings as per their convenience.
About the practicality of this EMA`s:
Every EMA suggests the sentiments in a period of time.
The longer-day EMAs (i.e. 50 and 200-day) tend to be used more by long-term investors, while short-term investors tend to use 8 and 20 day EMAs.
One may prefer to short or to hedge their position when 200 day moving average is broken downside. vise-versa for long. Normally in one may expect around 2-3% move on either side when broken with volumes supporting it.
Buying power against Bitcoin and EthereumI created a simple tool where you can input your capital (in USD) and it will track your buying power against Bitcoin and Ethereum.
A handy tool for Dollar Cost Averaging and trend following systems.
Default value: You have 1000$
Formula: Buying power = Capital / Underlying assets
Trend IdentifierTrend Identifier for 1D BTC.USD
It smoothens a closely following moving average into a polynomial like plot.
And assumes 4 stage cycles based on the first and second derivatives.
Green: Bull / Exponential Rise
Yellow: Distribution
Red: Bear / Exponential Drop
Blue: Accumulation
Red --> Blue --> Green: indicates the start of a bull market
Green --> Yellow --> Red: indicates the start of a bear market
Green --> Yellow: Start of a distribution phase, take profits
Red --> Blue: Start of a accumulation phase, DCA
RSI vs Longs/Shorts Margin Ratio Percentage RankThis indicator plots the RSI of the current token and the percentage rank, of the RSI, of the ratio of a long margined token to a short margined token.
By default it plots the RSI of the current token with a color based on percentage rank the RSI of BITFINEX:BTCUSDLONGS divided by BITFINEX:BTCUSDSHORTS, so the assumption is that you are using it on a BTC chart. While you can select any Tradingview symbol for your Long and Short tokens I don't think you will get meaningful results unless you select a long and short margined token that matches your chart symbol, such as BITFINEX:ETHUSDLONGS and BITFINEX:ETHUSDSHORTS if you're trading ETHUSD. Even using margined tokens the results may not be meaningful, if there is not enough trade volume in the token, or if they are being manipulated, so you must backtest everything.
The three plot options are:
• Colored RSI - RSI plotted with colors based on the Longs/Shorts ratio
• Background Color - White RSI plot with Longs/Shorts ratio as background color
• RSI + Ratio - White RSI with Longs/Shorts ratio plotted in color
The chart shows all three options on an hourly BITFINEX:SOLUSD chart with BITFINEX:SOLUSDSHORTS and BITFINEX:SOLUSDLONGS.
By default it also plots a short term moving average and it can also plot the raw ratio rather than the percentage rank if selected.
This script started out as "RSI vs BITFINEX BTC Longs/Shorts Margin Ratio Percentage Rank" by me. I was interested in the ratio of BITFINEX:BTCUSDLONGS to BITFINEX:BTCUSDSHORTS as a measure of market sentiment and how that sentiment would magnify RSI changes. The volatility of the BTCUSDLONGS : BTCUSDSHORTS ratio was too low to get a good read, using a percent rank of the RSI of the ratio made the results more visible. After a discussion with @jason5480 I saw how opening it up to all margined Long / Short pairs was the best way forward. Unfortunately the name no longer matched the script, so I had to publish a new script.
Top 40 constituents of Nifty50Displays real-time candles of top 40 constituents of Nifty50 for a given time frame, side-by-side. This gives an overall idea of breadth and depth of market movements in the time-frame.
Please note that, this is not a standard chart rendered bar-wise and may take time to load as it requests multiple securities. You could modify the contents, from settings, to include stocks from your portfolio or indices of different sectors.
NSE:NIFTY
RSI vs BITFINEX BTC Longs/Shorts Margin Ratio Percentage RankThis indicator plots the RSI of the current token with a color based on percentage rank of the RSI of BITFINEX:BTCUSDLONGS divided by BITFINEX:BTCUSDSHORTS, with a plot of the moving average of the RSI. It can optionally plot the RSI in white and the ratio RSI in color, or the ratio as background color. It can also plot the raw ratio rather than the percentage rank if selected.
I was interested in the ratio of BITFINEX:BTCUSDLONGS to BITFINEX:BTCUSDSHORTS as a measure of market sentiment and how that sentiment would magnify RSI changes. The volatility of the BTCUSDLONGS : BTCUSDSHORTS ratio was too low to get a good read, using a percent rank of the RSI of the ratio made the results more visible.
This indicator should be used on a BTC chart.
[blackcat] L1 Simplest Sentiment ModelLevel 1
Background
My market sentiment indicator system mainly includes collecting various statistical data and drawing. Again, it was fitted using the OHLC data. This belongs to the latter.
Function
Through a simple calculation, the ratio of high and low breakouts to the price range, we know the sentiment of funds. At the same time, a delay line is used as a trigger signal to judge the inflection point of emotions through the golden fork and the dead fork. Mood thresholds can be defined, such as 20 and 80. This is an oscillator model, but also the simplest indicator of sentiment.
Remarks
Feedbacks are appreciated.
[blackcat] L3 Market Sentiment IndicatorLevel 3
Background
I've been thinking about trying out some technical indicators of market sentiment recently. Of course, this may not be limited to OHLC data, but requires more statistical data for analysis. However, I still wanted to try making a market sentiment indicator with OHLC. In this way, the difference between the two indicators can be compared later.
Function
This market sentiment indicator is functionally divided into two categories: the first is the sentiment line, which is a total of 3 lines. The first line is the yellow aggressive trader sentiment line, usually expressed as a 5-period moving average; the second line is the purple conservative trader interest line, which I used a slightly more complicated algorithm. The third line is the market sentiment line that takes the average of the first two. It is yellow when the market price is rising and purple when the price is falling.
The second type is the pressure line and the support line, a total of four, when they are support lines, the color is green; once they become resistance lines, the color will change from green to red, and show the current price of pressure or support.
Remarks
Feedbacks are appreciated.
Trend & Momentum V2Declutter your charts. Simple indicator combining trend and momentum using Moving Average (currently default to 9-day EMA) and RSI (default length of 8). A long signal is generated when the price closes above the moving average and the moving average color turns red to green which indicated that the momentum measured using RSI is greater than 50. A short signal is generated when the price closes below the moving average and the moving average color turns green to red indicating RSI is below 50. Confirmation is done if there is no reversal on the next candle. For best results use multiple timeframe charts to trade on the right side of trend and momentum.
NYSE New Highs vs New LowsNYSE New Highs vs New Lows is a simple market breadth indicator that compares HIGN, the number of new highs during that day, and LOWN, the number of new lows. The new highs are on top and lows are appropriately on bottom. Without averaging, it's a little chaotic so you can smooth them out as much as you want, and the top-right label shows how much you're smoothing.
Interpretation:
Essentially, we use $SPY or $QQQ as a proxy for what's going on in the market, but because the FAANG stocks are so heavily weighted, it's not always representative. If SPY is flat/down, but there are 200 new highs today, then one of the big boys is weighing down an otherwise very bullish market. It's like looking at one of those heatmap charts, but in a single number.
Bullish Trend
- Lots of new highs
- Very few new lows
Bearish Trend
- Lots of new lows
- Very few new highs
Potential Reversal
- Too high, 250+
- Too low, 150+
Impulse & SecurityThe logic of the indicator is simple. We have a large candle for the period N. In its range there are candles with the same extremums in the direction of the trend → Alert.
Important: It is not suitable for all coins and not for all TF
TIG's Market Internals Clouds Indicator v2.0=================================
== GENERAL INTRODUCTION
=================================
If you find market internals inform your intraday trading decisions (SPX, ES futures, SPY or more generally) this may be helpful.
Currently available internals are:
- ADD
- TICK
- TRIN
- VIX
- VOLD
Also, you can display your favorite alternative market internal (or BTC, if you want?!) by entering the relevant ticker in the 'Custom' field
=================================
== NOTES
=================================
The default EMA lengths seem to work reasonably well for 1, 2, 3-minute timeframes (except for TICK - you may wish to apply a bit more smoothing to TICK to reduce the noise)
Of course; you can add this indicator to your chart multiple times, and display a different internal each time.
The default Text Color is set as a mid-grey, which is readable in both TV color schemes. I prefer dark mode, and so I change the text color to white. You can't see the scheme setting from within a script, unfortunately, so this can't be automated.
=================================
== EXPERIMENTAL FEATURE
=================================
As a free bonus, the indicator can display the 30-bar (default) Pearson Correlation Coefficient between the internal, and price action (based on the super-fast EMA, to give a bit of smoothing). This may give a clue as to whether or not the market is aligned with what the internal is doing, or if the market (today) is not correlated with the particular internal.
Very roughly speaking:
- 0.50 means that 50% of the price action can be explained by reference to the internal. This is about the same level of correlation between VIX and Actual Move
- 0.80 suggests pretty strong correlation
I don't know why (yet) but sometimes this works, and sometimes it doesn't display a sensible figure.
=================================
== QUESTIONS AND FEEDBACK
=================================
If you have any general questions about market internals, Google is your friend.
If you have any specific queries, bug reports, feature requests or general feedback about this indicator please leave a comment below, and I'll get back to you ASAP!
Simple Volume/RSI MapTrying something new
x-axis - normalized volume
y-axis - normalized rsi
red/green dot - average of n samples
white dot - current sample
Ultimate risk management toolHow to use:
Use the cursor to select the time, entry, stop loss, and target position. Then a window will pop up and type the trading fee or any other things you want to adjust to calculate the actual reward/risk ratio according to the price you selected.
Known error:
Settings of this script can't be saved as default might due to the interactive price selection function. If anyone knows how to fix it, please let me know.
feature:
1. Dynamic profit label can move up and down vertically on the right-hand side of the box.
2. The breakeven line can tell you you can move your stop loss to the entry price when the price reaches it.
3. Calculate the actual reward/risk ratio based on the trading fee. The calculator only calculates the actual Risk/Reward Ratio, which might be helpful for scalpers.
4. When the price touches sl or tp, that side of the box will be highlighted. Sometimes it doesn't work but I will try my best to fix it. Feel free to share your idea to help me to fix it.
5. Price alert. This tool compares with the alert function but reopens it if you want to change the alert price.
Banknifty Major Component TableThe table presented here is comprised of major Banknifty Index constituents showing price change in percentage terms and RSI value of three different timeframes to gauge overall Banknifty sentiment. This table is primarily created to cater scalpers and day traders. It helps traders to see market activity at a glance.
NoBrain BreakoutUse 3min. Time frame.
Buy Stock Selection:-
When Close Price Cross Monthly Standard Pivot R1 & Monthly Standard Pivot R1 is Greater than Previous Day High( PDH ) Or Close.
Price must be Above 44 MA ,48 EMA & Vwap
***Buy When 3min Candle closed Above Camarilla R4 or Monthly Standard Pivot R1 whichever is High.
Sell Stock Selection:-
When Close Price Cross Monthly Standard Pivot S1 & Monthly Standard Pivot S1 is Less than Previous Day Low( PDL ) Or Close.
Price must be Below 44 MA ,48 EMA & Vwap
***Sell When 3min Candle closed Below Camarilla S4 or Monthly Standard Pivot S1 whichever is Low.
Trading time for
1st wave 9.30am to 10.45am.
2nd wave 12.45pm to 2.45pm.
(Based on NSE/ BSE India)
Indicators:-
1) Pivot Points Standard - Time Frame monthly.only select R1
2) Pivot Points Camarilla- Only select R4.
3) SMA 44
4) EMA 48
5) Vwap
6) For Trailing Stop Loss use SuperTrend- Length-13 Factor-2.7 or Length-15 Factor-3 (3min Timeframe)
"Sell in May, buy in September"-StrategyDear TV'ers,
This script applies the classic traders mantra of "Sell in May, buy in September". Not much else to it to be honest. Seems to work though :-).
ChillLax Percent Up and Down
Show the days that the stock is up 5% (default) or down 5%, from the previous close.
Useful to spot a cluster of those days. It indicates violent, choppy environment. It's better to keep your boat docked in choppy waters. Eg: see QQQ in 2008, 2000.
Intraday Super Sectors v2.0This indicator plots the two 'Super Sectors' (Cyclical and Defensive) showing intraday change from open
.
For reference:
Defensive Sectors:
XLE Energy (not always considered a true defensive sector, but I've thrown it in here for balance)
XLP Consumer Staples
XLU Utilities
XLV Health Care
Cyclical Sectors:
XLB Materials
XLC Communication Services
XLF Financials
XLI Industrials
XLK Information Technology
XLRE Real Estate
XLY Consumer Discretionary
Sector data retrieved from finance.yahoo.com on May 1, 2022
You're welcome to update the sector weightings from time to time. Don't worry about making it exactly 100% - the script automatically compensates and dynamically adjusts.
.
Outside of the cash session, you won't see anything (lines, clouds, %change etc.) which is perfectly normal. If you want to check to see if it really works, the 'replay' function might help!
.
.
.
* originally motivated by Cody to finish what I'd started, and feedback from TT and MDSS groups to 'always do better' (thanks guys!)
[VJ]First Candle StrategyHello Traders, this is a simple intraday strategy involving the first candle of the day with an additional twist to the traditional style . You can modify the time of candle on the stock and see what are your best picks. Comment below if you found something with good returns
Strategy: Observe the first candle of the day within any time frame. 15m works best. If the first candle is RED ,then go for buy side for the rest of the day. You could square off at close of session or have a fixed take profit and stop loss. This is a contrarian indicator where people just use this as their first entry for the day. The same holds good when a Green candle is seen you go short side.
There is stop loss and take profit that can be used to optimise your trade
The template also includes daily square off based on your time.
Percent Off All-time High (% Off High)Percent Off All-time High tracks the percentage difference between the previous day’s closing price and the All-Time high price of the security’s entire price history.
This metric tells you how far the price has deviated from/converged on the all-time high price.