Intraday Price change in Top 5 stocksFixed some code from a script I found online
This tracks intrday price % movement of 5 stocks in S&P500 & NASDAQ 100
Индикаторы ширины рынка
Fusion: Monster Breakout IndexThis indicator is designed to display on both the main chart and a separate chart area. If you want to display it on the main chart then flip the 4 display options. Well... you might want to:
Disable it first
Move it
Flip the display options
and then show it so the move doesn't look ugly.
Display options:
On a separate chart it will display red and lime bars showning potential breakouts.
On the main chart it will show a channel.
Personally like to see it both ways so I generally have two copies of it with one on the main chart.
The " Bar back marker " option is a tiny down arrow at the top of the chart showing where the length of the lookback starts from the current bar. So, if you set the length to 10 then this will be 10 bars back from the current bar. You can show it on or off the main chart but it's not all that visually tasteful off the main chart.
The length is certainly not some optimized setting so set to whatever suits your needs.
The source I set at hl2 which makes more sense to me than the default most people use of close so again, don't assume the settings are correct for your environment... play with it.
Credit:
Modified from the "Monster Breakout Index" by racer8 under the licence of: This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
The code is structured to easily drop into a bigger system so use it as a lone indicator or add the code to some bigger project you are creating. If you do, send me a note, it would be nice to know it's being well used.
Finally, if you find value please do make a comment, give a thumbs up etc.
Enjoy and good luck!
OBV+OBV with an extra twist.
Add up to 4 moving averages and choose from simple, exponential, smoothed, etc.
Choose to display a trend fill. Fill will be green when above the MA4 or red when below it. If the difference between the MA1 and MA4 is growing, the trend fill will be a more solid color indicating a strengthening trend. If the gap is lessening, it will gradually get more transparent indicating a weakening trend.
Finally, options to display bullish and bearish regular and hidden divergences are included.
3commas GRID bot VisualisationHello everyone
This is a grid display indicator for a 3-comma grid bot.
Just enter the upper and lower borders of your grid and the number of grid cells in the indicator settings.
It's simple!
Currency StrengthThis script measures the strength of the 6 major currencies USD, EUR, GBP, CAD, AUD and JPY.
Simply, it averages the RSI values of a currency vs the 5 other currencies in the basket, and displays each average RSI value in a table with color coding to quickly identify the strongest and weakest currencies over the past 14 bars (or user defined length).
The Dir. value looks at the difference in average RSI value between current and X bars back (user defined), telling you whether the combined RSI value has gone up or down in the last X bars.
Using the average RSI allows us to get a sense of the currency strength vs an equally weighted basket of the other majors, as opposed to using Indexes which are heavily weighted to 1 or 2 currencies.
The table doesn't load super fast as we are making 15 Security requests to get the values for each pair (where possible we reverse the values of the pair to reduce Security requests, e.g. we don't need to request EURUSD and USDEUR, we reverse the value to calculate the USD RSI).
Peter Lynch Valuepeter lynch indicator from book I just read, could be useful for valuation in context of raising earnings/stock price
SPXL Futures Strategy- Buy/sell signals for SPXL using futures momentum.
- For real-time signals at close, use ES1! on 2 minute chart and sign up for real-time cboe mini futures data feed in tradingview.
- All buys and sells are at near close of US RTH market at 4pm.
- Best to use the script with other breadth signals to decide on trading strategy.
- Script is compatible with SPY, SPXL, RSP, QQQ, TQQQ and many other SPX correlated tickers, however it’s primarily developed for SPX.
Multiple Ticker TraderThis indicator can be used as an alternative to the built in Strategy Tester for those who want to (back) test a strategy on multiple tickers simultaneously and see it's performance.
Just change the buy and sell conditions in the code to fit your needs.
The strategy I've used here is scaling into up to 10 tickers a maximum of 5 times per ticker every time they retrace (another) 10% from their all time high.
You can set the maximum number of total trades and disable scale ins by setting them to an impossible number (such as, 99% away from the all time high).
Credit to QuantNomad for the monthly/yearly returns table bottom left.
The bottom right table shows the current number of shares the algo is long and also the total all-time returns from each individual ticker, and other data.
The blue line is the number of positions the script is currently long. Each scale into the same ticker represents one position.
The yellow line is the closed P&L.
The green/red line is the live P&L.
I've used leverage for the example image just to showcase the liquidation display.
These particular buy/sell conditions cannot close positions at a loss, so be careful if you're wild enough to use this setup live without understanding the script yourself. I haven't used it live myself yet and you should assume there are serious bugs before thinking about using it live, though I'm using a similar thing on cryptos and it's going fine.
You can edit the leverage, maximum trades and back test range in the settings. The number following the ticker on each label represents which scale in was bought/sold.
Enjoy :) let me know if you find any good results
[GB]Commodity Futures MapPuts numerous commodity futures on the same scale. The main function is RSI (without evoking "oversold/bought" concepts).
Reading the chart: Much like any oscillator, the important elements are:
Position relative to the middle
Slope
Momentum
Volatility
Settings:
RSI length
EMA smoothing
Time Frame (of the indicator, not the chart(
May add value when asking questions like:
Is lumber trending?
Is silver trending faster than gold?
Is the entire asset class trending up down or not at all?
Adding additional symbols is easy since the code for each symbol is identical.
On Balance Volume with candlesWhen it comes with On balance volume we have only line Indicator
It's difficult to identify what happening
So this indicator will help to identify what happening in On Balance Volume with Candle stick pattern
You can add SMA as well as EMA in code accourding to your strategy
Thank you
BarRange vs VolumeThis is a volume spread analysis/ breadth type indicator.
Compares average bar size to the average volume. Looks for small bar and high volume.
SPY Sub-Sector Daily Money Flow TableThis calculates the dollar volume per candlestick (2nd row) and cumulative (3rd row) of the entire trading day for each subsector of the SPY.
The 'Total' column is the total of all the subsectors combined. It is calculated separately from SPY volume.
The money flow is calculated with (open+close)/2 which means different timeframes yield different results and won't be especially accurate day-by-day. This is useful to quickly see rotation and possible divergences.
Enjoy!
Cash Gaps on a Future/CFD-ChartThe script is based on the great work of @NgUTech which very nicely prints the gaps on any given chart.
The purpose of this script is to show the gaps to futures or cfd of the underlying cash chart, because very often gap closing provides an opportunity to fade the move.
The script works in the way that the user provides the underlying chart symbol and the current spread of the instruments (cash-future/cfd) and it draws boxes where the cash-gaps are.
If you know a way to automatically calculate the spread of the two instruments, please let me know, thanks.
Michael
Dollar Weighted Cumulative SPY Sectors VolumeThis plots the combined volume of the subsectors of the SPY using (open+close)/2, both per bar (narrow candles) and cumulative (wide faded candles).
This aims to use dollar volume and weights each sector individually in dollar amounts. NOT with the weighting used in the SPY index. This indicator is NOT equally weighted., it is weighted according to each subsector's own dollar volume.
Green lines means there is more money flowing into the subsectors combined than out. This is a breadth indicator.
Green and red crosses indicate divergence.
Green crosses are shown when the SPY is outperforming this indicator.
Red crosses are shown when this indicator is outperforming the SPY.
Perhaps the best use of this indicator is to stop you from being aggressive when the whole market isn't moving with you.
Enjoy! Feel free to ask any questions.
ROC vs BTCThis 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 rankings to gauge the relative overperformance or underperformance of the current ticker vs BTC.
The blue line is BTC, the columns are the current ticker.
Green columns above the blue line indicate positive ROC and current ticker has higher ROC ranking than BTC.
Red columns below the blue line indicate negative ROC and current ticker has a higher ROC ranking than BTC.
*** PLEASE LEAVE A LIKE AND FOLLOW IF YOU ENJOY THE SCRIPT ***
Any questions, comments or feedback I'd love to hear from you below!
High - Low Difference (Forex)This script is created to read and label the difference between High and Low of a candle in points term & in percentage term.
This is basically made for Forex Trading.
Do explore the settings of the scrip.
US Sector CorrelationsA new and interesting way to look at Breadth. As for the usefulness of it, one would have to do some proper backtesting to get a full grasp of the capabilities. This is just a concept currently. But in general, SPX holding near ATHs with very low sector correlations can be a topping indicator. SPX selling off with Correlations all very positive across each sector...can be a sign of an impending bottom. But, needs the "full bake" of proper testing and analysis versus just guessing. I like the concept and want to explore it further, and I will. This is just the start.
Pivots High-Low Screener & AlertsHi fellow traders ,
Pleased to share a Pivot High - Low Screener.
The script uses the TV inbuilt Pivot function.
It Screens 25 tickers default set, these can be modified in the input dialog box.
All you need to do is attach to any chart and set the periodicity or the resolution of the chart to your desired alert() frequency requirement.
Now go to the input settings icon of the script and set your Pivot right and left parameters!
Set the alert from the menu as usual click - Any alert() function call and bingo you are done!!
Similarily change the chart periodicity to the next timeframe and set the next alert.
No more opening multiple charts and setting individual time consuming alerts().
You will get concatenated alerts or summary alerts for your tickers.
Track 25tickers with a single alert for each timeframe(Supports 40 tickers).
Happy trading with TV..
Gann FanHello All,
For long time I have been getting many requests about Gann Fan indicator. now we have linefill() function in Pine Language and I think it's right time to make Gann Fan Indicator. Many Thanks to Pine Team for adding many new features to the Pine Language!
How this indicator works:
- It calculates midline (1/1)
- By using midline it calculates other lines (1/2, 1/3, 1/4...etc)
- It calculates highest/lowest Pivot Points in last 280 bars.( by default it's 280 bars, you can change it and pivot period )
- It checks the location of highest/lowest Pivot Points
- After the calculation of the Gann Fan lines, it draws lines, puts Labels and paints the zones between the lines according to the colors set by the user
Long time ago I created a special algorithm for calculating the line with 45 degree and I used it for "1/1" line. Anybody who needs it can use this algorithm freely ;)
Options:
You can change following items;
- The colors
- Transparency. Possible values for transparency are from 0 (not transparent) to 100 (invisible)
- Line styles
- Loopback Period (by default it's 280)
- Pivot Period (by default it's 5)
- Enable/disable Labels
- Label location (by default it's 50
Tradingview Gann Fan page : The Gann Fan is a technical analysis tool created by WD Gann. The tool is comprised of 9 diagonal lines (extending indefinitely) designed to show different support and resistance levels on a chart. These angles -drawn from main tops and bottoms- divide time and price into proportionate parts and are often used to predict areas of support and resistance, key tops and bottoms and future price moves. Please note that the chart needs to be scaled properly to ensure the market has a square relationship....
Enjoy!
LUNA - Hold The Line Or DieThis indicator is trying to predict potential LUNA token bottom.
How does this work?
There is UST baked by LUNA and in case LUNA drops so hard that MC of LUNA is lower than MC of UST we are at risk of repeg and kinda "breaking" of Terra Blockchain.
This indicator doesn't take into account other stable assets but UST but they don't take a big portion of total stable tokens capitalization so it can be omitted.
Heavy buy pressure is expected at indicated levels.
The indicator is based on a simple formula:
LUNAfloor = USTmc/LUNAmc * LUNAprice
Baller DCA StudyFinds bottoms using CVI. Green arrow is the signal. Used for a DCA strategy in conjunction with MMLC
High-Low IndexHello All,
High-Low Index is a breadth indicator based on Record High Percent (RHP). RHP is based on new 52-week highs and new 52-week lows. RHP => 100 * (new highs) / (new highs + new lows). High-Low Index is a 10-day Simple Moving Average of the RHP, which makes it a smoothed version of RHP. You can find many articles about High-Low Index on the net.
High-Low Index above 50 indicates that there are more new highs than new lows, and considered as Bullish.
High-Low Index below 50 indicates that there are more new lows than new highs, and considered as Bearish.
High-Low Index = 0 indicates there is no new highs (0% new highs).
High-Low Index = 100 indicates that there is at least 1 new high and no new lows.
and High-Low Index = 50 indicates that new highs and new lows is equal.
by default 40 cryptos are used in the script and shows High-Low Index for these cryptos. but you can change them as you wish. for example you can set all of them as stocks and see High-Low Index for these stocks.
You can set " Time frame " and the " Length " using the options. For example; if you set " Time frame " = 1 Week and the " Length " = 52 then it finds High-Low Index for 52weeks .
or another example; if you set " Time frame " = 1 Day and the " Length " = 22 the High-Low Indexn it finds High-Low Index for 22days.
You can enable/disable Record High Percent or Simple Moving Average of High-Low Index. Some traders use High-Low Index with its SMA, for example; High-Low Index generates a buy signal when it crosses above its moving average, and a sell signal when it crosses below its moving average.
Optionally you can see the securities in a table on the left bottom, you can change table size by usşng the options.
In the Table, for each security/cell;
=> if background is green then it has New High
=> if background is red then it has New Low
=> if background is gray then no New High, no New Low
=> if background is back then Data is not available for the security
As you can see in the screenshot below, the securities were changed and stocks are used instead of cryptos, so it calculates & shows High-Low Index for these stocks.
you can also find explanation in this screenshot:
Enjoy!
Market Breadth EMAs V2Second version of Market Breadth EMAs for $SPY. Getting a little more complicated than V1 but removed noise.
Key:
Green line = % of stocks above their 20-period moving average, the "twitch line"
Red line = % of stocks above their 200-period moving average, the "long term trend"
White line = weighted average of the % of stocks above the 20/50/100/200 averages, the "general trend." Captures bursts that the 200 misses, and is more trustworthy than the 20.
Background colors = limits of the red/green/white where reversals have happened historically. The darker the color, the stronger the signal.
Histogram = the change in the white line over time, for different time periods: 1/4/10/20, the "trend strength/confidence." i.e. If the white line "General Trend" has been drifting lower for a month but started increasing the past 2 days, you might have 3 red histograms and 1 green one.
Techniques:
If the green, red, or white line is above 50%, then more than half the stocks are above that average. So, if they're in the top half, bullish market. Bottom half, bearish market.
If the green line is above the red, market has rising/bullish momentum. If red is above green, market has falling/bearish momentum.
If the white line is rising, bullish momentum. If it's falling, bearish momentum.
If the histograms are all green, there is strong momentum in that direction. The % of stocks above their important averages has been increasing each day for both the short term and long term.
If the histograms go from all green to a mix of green and red, be on the lookout for a reversal from one of the background levels. Usually initiates from the 20 (green line) first.
If price dips without the histogram changing, HODL.