Volume Pace & Pressure TableHave you ever wanted to know if a particular tickers volume is above or below average while still in the trading day? This indicator displays an easy-to-read table that informs the user exactly what is occurring in intraday volume. And a whole lot more!
Description
This indicator displays a variable table with either two or three columns and always three rows. It packs everything a user needs to know about volume in one small table. The table shows:
Current trading days volume
Average daily volume
Volume Pace
Volume Pressure (Buying & Selling)
Volume Pace
Volume Pace is a mathematical calculation invented by the author, Infinity_Trading . The problem was to figure out a way to know if the current days volume was below average or above average while still in the trading day. Calculations like Percent Daily Volume don’t work during the intraday trading hours. For example, say SPY has a 20-day volume average of 100 million shares. If in the first hour SPY has only traded 10 million shares then dividing the current volume into the average daily volume doesn’t tell the user anything when there is still 5.5 hours of trading left in the trading day. There had to be a better way! The solution was to chop up the trading day into evenly divisible time periods (i.e. <= 30 minutes). The Volume Pace algorithm takes the average daily volume and chops it up into small time periods based upon the charts current timeframe. This is the average volume per smaller time period. Then use the current days volume and the number of time periods that have occurred in the trading day so far (at the current moment in time i.e. the current candlestick) to form a calculation that returns the volume above or below the average volume up to that point in time.
Volume Pace Equations
Intraday Vol. Pace = Today’s Current Vol. - ( ( Average Daily Vol. / Time periods in trading day ) * Time periods that have occurred so far in trading day )
Postday Vol. Pace = Today’s Trading Vol. - Average Daily Vol.
^ Vol. = Volume (because TradingViews pine tags are dumb)
Volume Pace Definitions
Volume Pace is the difference in cumulative volume between todays current volume and the average daily volume up to same time of the day
Volume Pace Usage
If the Volume Pace is a positive number then it means that up to the current trading time the volume is that amount greater than the average daily volume over that same intraday time span.
If the Volume Pace is a negative number then it means that up to the current trading time the volume is that amount smaller than the average daily volume over that same intraday time span.
If the Volume Pace is positive during the intraday then the volume is on track to be an above average volume trading day.
If the Volume Pace is negative during the intraday then the volume is on track to be a below average volume trading day.
The Percent Volume Pace is the percent increase or decrease of the current volume compared to the average volume up to the same time of day. Or the Percent Volume Pace is the Volume Pace expressed as a percentage.
After the trading day is complete the Volume Pace will be the difference between the Daily Volume and the Average Daily Volume. And the same thing applies to the Percent Volume Pace.
Volume Pressure
The author, Infinity_Trading, did not invent the calculations for Volume Pressure but the definitions and explanations of Volume Pressure are their own creations. In specific terms, Volume Pressure is a mathematical calculation that uses the direction and distances of individual candlesticks bodies and wicks to assign a numerical value to volume.
buyingPressure = vol * (close - low) / (high - low)
sellingPressure = vol * (high - close) / (high - low)
^ vol = Volume (because TradingViews pine tags are dumb)
The author wants to make clear that volume “pressure” isn’t a real thing. Trades in any market require a buyer and a seller. So there is always an equal number of buyers and sellers. Thus, the idea that there are more buyers or more sellers isn’t rooted in reality. BUT the author believes that the calculation and understanding of “volume pressure” takes a very complex subject (price moment in a market) and condenses into something that intuitively makes sense to humans (pressure) and places it onto something that is already on everyone’s charts (volume bars).
The calculation for Buying Pressure is really calculating the upward distance between the low and the close of the candle. While Selling Pressure is measuring the downward distance from the high to the close. And both are using volume bars to express these measurements. So if an individual candle goes down then the red Selling Pressure will be more on the stacked bar chart than the green Buying Pressure. And vice versa for candles that went up. If a Volume Pressure bar is completely one color then it means, for a downward candle, the low and close were equivalent, and for an upward candle, the high and the close were the same. Lastly, the Buying & Selling Pressure will always add up to 100%.
Inputs and Style
In the Input section the user can set the number of days to use for all of the average calculations. All aspects of the table can be controlled. The background color, text color, border widths, and border colors. Also, the table can be moved to 9 unique locations around the chart for complete user control. Also, the user can use their cursor to hover over each cell in the table to reveal a tooltip definition of the calculation in the cell.
Special Notes
The volume table won’t display when the chart timeframe is weekly or monthly because the logic uses “daily” volume.
The Volume Pace column in the table disappears when the timeframe is greater than 30 minutes. Because for Volume Pace to work the time periods must be equally divisible into 6.5 hours (the duration of trading day).
Cerca negli script per "spy"
Federal Funds Rate and Overnight Bank Fund RateAMEX:SPY
Comparison of the Overnight Bank Fund Rate and the Effective Federal Funds Rate.
The Fed sets a discount rate of 100 basis points above the effective federal funds rate to discourage ("penalize") banks from borrowing from its reserves. If lending banks have excess in their reserves, the borrowing banks have ease in negotiating a lower rate overnight to maintain its requirements. For this reason its a good indicator of the economy. If it becomes more difficult for banks to maintain the required reserve amount they may charge borrowing banks higher rates.
Both the Effective Federal Funds Rate and Overnight Bank Fund Rate use the same data. Except, the OBFR includes overnight Eurodollar transaction data and certain overnight “selected deposit” transactions that are placed at domestic bank branches controlled by a U.S. banking office.
The indicator includes the lower and upper bound target rate set by the Federal Reserve.
An interesting note:
Notice the jump in the Overnight Bank Rate followed by Fed buying to provide liquidity and lower rates in Sept 2019.
Naked Bar Upward ReversalAMEX:SPY
The Naked Bar Upward Reversal is a three bar candlestick pattern with an inside candle as a entry point. This pattern is bullish since it has a candle closing red from the previous candle; the most bearish pattern possible. The following inside candle is a reversal of its previous candle with an open above the previous candle's close. Look to buy the next open above the inside candle's close.
This is a bullish reversal pattern and should be used in this context. Successful entries are found in corrections along an upward trend, or buying into a dip. Performance drops when the pattern appears at tops. To improve profitability, use a cluster of evidence to enhance the performance of this pattern. The intended time frame is within the daily and weekly.
Live off your portofolio (decumulate)This indicator simulates living off your portofolio consisting of a single security or stock such as the SPY etf or even Bitcoin. The simulation starts at a certain point on the chart (which you input as year and month).
Withrawals from the portofolio are made each month according to the yearly withdrawal rate you enter, such as the 4% SWR. The monthly withdrawal income is calculated in USD at the beginning of the retirement period and then adjusted according to the US inflation (CPI) on 01/01 of each year.
The blue graph represents the USD value of the remaining portofolio.
This indicator is meant to be used on daily, weekly or monthly time frame. It may not work properly (and makes little sense to use) on intraday timeframe or larger time frames such as quarterly (3M).
When withdrawing, the indicator considers that fractional stock values can be used (the portofolio value is kept as a float). This may not be true, as most stock brokers currently don't allow this.
It does not explicitly take into account dividends. In order to do this you will have to enable "Adjust for dividends" by clicking on "adj" in the lower right corner of the screen, or by using the indicator on a Total Return (TR) index such as DAX. Unfortunately SPX does not have dividend data, you will have to use the SPY etf (which doesn't have a long history)
TradeChartist ZigZag & Auto Fibonacci Retracement™TradeChartist ZigZag & Auto Fibonacci Retracement is a visually engaging script that generates ZigZag and Auto-Fibonacci lines/labels based on user defined sensitivity factor.
===================================================================================================================
█ ™TradeChartist ZigZag & Auto Fibonacci Retracement Features
=========================================
Plots completed and developing ZigZag based on 𝐙𝐢𝐠𝐙𝐚𝐠/𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 𝐅𝐚𝐜𝐭𝐨𝐫 (Minimum - 1, Maximum - 10, Default - 5) that adjusts the sensitivity of the ZigZag with 1 being High Sensitivity and 10 being Low Sensitivity.
Option to enable or disable 𝐙𝐢𝐠𝐙𝐚𝐠 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐨𝐫 which can be helpful for Harmonic traders.
Option to display 𝐙𝐢𝐠𝐙𝐚𝐠 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 and 𝐑𝐒𝐈 𝐚𝐭 𝐇𝐢𝐠𝐡𝐬/𝐋𝐨𝐰𝐬 in one of two styles.
Two types of Fibonacci to choose from - 𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 and 𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤.
𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 option plots Auto Fibonacci levels based on 𝐙𝐢𝐠𝐙𝐚𝐠/𝐀𝐮𝐭𝐨-𝐅𝐢𝐛𝐬 𝐅𝐚𝐜𝐭𝐨𝐫.
𝐅𝐢𝐛𝐬 𝐛𝐚𝐬𝐞𝐝 𝐨𝐧 𝐋𝐨𝐨𝐤𝐛𝐚𝐜𝐤 plots Fibonacci levels based on the highest high and lowest low of the lookback period (𝐃𝐚𝐲𝐬 or 𝐂𝐚𝐧𝐝𝐥𝐞𝐬).
Fibonacci levels can be reversed by enabling 𝐑𝐞𝐯𝐞𝐫𝐬𝐞 from settings.
Enabling 𝐂𝐮𝐫𝐫𝐞𝐧𝐭 𝐏𝐫𝐢𝐜𝐞 𝐅𝐢𝐛 𝐋𝐚𝐛𝐞𝐥 displays the current Fib level of the developing price bar.
Option to customize Fib levels and colours.
4 Colour themes and option to enable/disable bar colouring.
===================================================================================================================
█ Example charts
1. ZigZag/AutoFibs Factor can make a big difference to ZigZag and AutoFibs plot as shown in the OANDA:XAUUSD Daily chart below.
2. RSI can be quite useful in analysing the Highs and Lows as shown in the BINANCE:BTCUSDT 1hr chart below.
3. Developing or Current Trend means the Low/High is unconfirmed and can move as shown in the OANDA:EURUSD 1hr chart below with bar colouring.
4. Current Price Fib Level label showing PTC means Potential Trend Change. Confirmation at candle close will reverse the Auto-Fibs as shown in BINANCE:ETHUSDT 15m chart below
5. Fibonaci Levels and colours can be customised using 𝐔𝐬𝐞 𝐂𝐮𝐬𝐭𝐨𝐦 𝐅𝐢𝐛 𝐋𝐞𝐯𝐞𝐥𝐬 from the settings as shown in the AMEX:SPY 15m chart below
█ Note:
Rarely, a steep high/low wick doesn't get accounted in the ZigZag High/Low detection as they are filtered using momentum.
If momentum doesn't slow down, the fibs can extend beyond 1 and may continue way beyond 4.618 fib level. These are quite rare depending on how distant the near high/low is based.
ZigZag and Fibonacci are good reference indicators and should always be used as confirmations rather than standalone indicators.
===================================================================================================================
Best Practice: Test with different settings first using Paper Trades before trading with real money
===================================================================================================================
Comparison Chart with Relative Volume Gradient CandlesThis indicator provides a way to use Relative Volume Gradient Paintbars on an alternate/comparison symbol while still looking at your main charted symbol. For instance, this allows you to plot the ES1! or SPY or QQQ above/below your charted symbol, and see its current Relative Volume signal, and compare that to the your currently-charted individual stock symbol, etc., and while keeping the candles from both symbols all lined up perfectly. It also provides 4 different custom MAs which can be applied to the comparison symbol.
The idea here is that you can potentially use my other indicator, Relative Volume Gradient Paintbars, on the primary symbol to evaluate that chart, while using this particular indicator to quickly analyze the same Relative Volume data on a comparison market symbol such as the SPY or QQQ without having to switch charted symbols. You can also quickly compare price action and location relative to familiar moving averages to quickly gauge relative strength of the stock vs. the market symbol.
Divergence of Stocks Above MA50 v.s. US-Stock MarketEnglish:
This indicator has been developed as an early warning tool to estimate the probability of correction in the US stock market. It works best in the daily chart.
Function:
1.) "Index-line"
The underlying stock index is converted to a scale between 0% and 100% based on its 52-week highs and lows. Where 100% is closing price at 52-week high and 0% is closing price at 52-week low.
2nd) "Stocks Above MA50".
For each major stock index, there is an index that determines the percentage of stocks above its 50 moving average. For example, for the S&P 500, this is the S5FI.
3) "Divergence
In an efficient market, both lines (index and number of stocks above the 50 MA) would run more or less in sync. A new high in the index would also mean a new high in the stocks trading above the 50 moving average. Often, however, a correction in the index is announced when the number of stocks trading above their 50 MA do not make a new, or even a lower, high while the underlying index marks a new high. The divergence signal measures this divergence of the indices. The higher the bar, the more pronounced the divergence.
How to read the indicator?
If a divergence occurs, then the stops should be tightened. As with any indicator, false signals can occur because a divergence does not automatically lead to a correction. The higher the divergence is indicated, the higher the probability. The strength of a correction cannot be predicted with the indicator.
For which symbols does the indicator work?
The indicator works exclusively for the following symbols:
S&P500: SPX, SPY, ES1!, US500 Index above MA50: S5FI
Russel2000: IWM, US2000, RTY1!, RUT, IWO Index above MA50: R2FI
NASDAQ100: NDX, NAS100, NQ1!, US100, QQQ Index above MA50: NDFI
NASDAQ: IXIC, ONEQ, QCN1!, NDAQ Index above MA50: NCFI
NYSE: XAX, NYA Index above MA50: MMFI
DowJones100: DJX, DJI, DIA, MYM1!, YM1! Index above MA50: DIFI
DowJonesComp: DOW, IYY Index above MA50: DCFI
Deutsch:
Dieser Indikator ist als Frühwarninstrument zur Einschätzung der Korrekturwahrscheinlichkeit im US-Aktienmarkt entwickelt worden. Er funktioniert am besten im Tages-Chart.
Funktion:
1.) „Index-line“
Der zugrunde liegende Aktienindex wird bezogen auf seine 52Wochen Hochs und Tiefs in eine Skala zwischen 0% und 100% umgerechnet. Dabei sind 100% Schlusskurs auf 52-Wochen Hoch und 0% Schlusskurs auf 52-Wochen Tief.
2.) „Stocks Above MA50“
Zu jedem Hauptaktienindex gibt es einen Index, der den Prozentwert der Aktien über Ihrem 50 gleitenden Durchschnitt ermittelt. Beim S&P 500 ist das z.B. der S5FI.
3.) „Divergence“
In einem effizienten Markt würden beide Linien (Index und Anzahl Aktien über dem 50 MA) mehr oder weniger synchron laufen. Ein neues Hoch im Index würde auch ein neues Hoch bei den Aktien, die über dem 50 gleitenden Durchschnitt notieren, bedeuten. Oft jedoch kündigt sich eine Korrektur im Index an, wenn die Anzahl der Aktien, die über ihrem 50 MA notieren kein neues, oder sogar ein niedrigeres Hoch machen, während der zu Grunde liegende Index ein neues Hoch markiert. Das Divergenz-Signal misst diese auseinanderlaufen der Indices. Je höher der Balken, umso stärker ist die Divergenz ausgeprägt.
Wie ist der Indikator zu lesen?
Wenn eine Divergenz auftritt, dann sollten die Stopps enger herangezogen werden. Es kann wie bei jedem Indikator zu Fehlsignalen kommen, da eine Divergenz nicht automatisch zu einer Korrektur führen muss. Die Wahrscheinlichkeit ist um so höher, je höher die Divergenz angezeigt wird. Die Stärke einer Korrektur kann mit dem Indikator nicht prognostiziert werden.
Für welche Symbole funktioniert der Indikator?
Der Indikator funktioniert ausschließlich für folgende Symbole:
S&P500: SPX, SPY, ES1!, US500 Index über MA50: S5FI
Russel2000: IWM, US2000, RTY1!, RUT, IWO Index über MA50: R2FI
NASDAQ100: NDX, NAS100, NQ1!, US100, QQQ Index über MA50: NDFI
NASDAQ: IXIC, ONEQ, QCN1!, NDAQ Index über MA50: NCFI
NYSE: XAX, NYA Index über MA50: MMFI
DowJones100: DJX, DJI, DIA, MYM1!, YM1! Index über MA50: DIFI
DowJonesComp: DOW, IYY Index über MA50: DCFI
Indices trendsAccording to the Dow theory, indices must confirm each other. Based on this idea, I develop an indices trends indicator, including SPY, DIA, and QQQ. The indices trends were calculated based on the average of the short- (blue) and intermediate-term (orange) changes of indices moving average slopes. In addition, IWM trends are shown as a reference in gray color.
Use this indicator together with one of SPY, DIA, QQQ, or IWM to show the overall market conditions.
S&P Intraday IndicatorS&P Intraday Indicator can be used to trade S&P 500 futures for day trade. Once you add this indicator on your chart, it will overlay on your chart. You can see green up arrow and red down arrows.
To start using: Add ES1! (E-MINI S&P500 Futures current) on chart, Make sure chart is 5 min chart, and then add indicator to chart. Note: This indicator only works for S&P 500 index .
You can take long position when arrow changes from "red down" to "green up"
You can take short position when arrow changes from "green up" to "red down"
You can also take new position in-between trend when there is a pull back of 2 or more candlesticks .
For Options trading you can buy SPY Calls for long and SPY Puts for short positions. Bets way to use this indicator is using ES1! contract.
You can send a private message on TradingView to gain access.
or Use the link below to obtain access to this indicator
S&P Trend IndicatorS&P Trend Indicator can be used to check current S&P 500 trend on chart. Once you add this indicator on your chart, it will overlay on your chart. You can see green up arrow and red down arrows.
To start using: Add ES1! (E-MINI S&P500 Futures current) on chart and then add indicator to chart. Note: This indicator only works for S&P 500 index .
You can take long position when arrow changes from "red down" to "green up"
You can take short position when arrow changes from "green up" to "red down"
You can also take new position in-between trend when there is a pull back of 2 or more candlesticks .
For Options trading you can buy SPY Calls for long and SPY Puts for short positions.
You can send a private message on TradingView to gain access.
or Use the link below to obtain access to this indicator
Trendflex - Another new Ehlers indicatorSource: Stocks and Commodities V38
Hooray! Another new John Ehlers indicator!
John claims this indicator is lag-less and uses the SPY on the Daily as an example.
This indicator is a slight modification of Reflex, which I have posted here
I think it's better for Stocks and ETFs than Reflex since it factors in long trends. It tends to keep you in winning trades for a long time.
I believe this indicator can be used for entries or exits, potentially both.
Entry
1. Entering Long positions at the pivot low points (Stocks and ETFs)
2. Entering Long when the Reflex crosses above the zero lines (Stocks, ETFs, Commodities )
Exit
1. Exiting Long positions at a new pivot high point (Stocks and ETFs)
2. Exiting Long when the Reflex crosses below the zero lines (Stocks, ETFs, Commodities )
In this example, I place a Long order on the SPY every time the Reflex crosses above the zero level and exit when it crosses below or pops my stop loss, set at 1.5 * Daily ATR.
2/3 Wins
+16.05%
Let me know in the comment section if you're able to use this in a strategy.
Reflex - A new Ehlers indicatorSource: Stocks and Commodities V38
Hooray! A new John Ehlers indicator!
John claims this indicator is lag-less and uses the SPY on the Daily as an example.
He states that drawing a line from peak to peak (or trough to trough) will correspond perfectly with the Asset.
I have to say I agree! There is typically one bar of lag or no lag at all!
I believe this indicator can be used for either entries or exits, but not both.
Entry
1. Entering Long positions at the pivot low points (Stocks and ETFs)
2. Entering Long when the Reflex crosses above the zero lines (Stocks, ETFs, Commodities)
Exit
1. Exiting Long positions at a new pivot high point (Stocks and ETFs)
2. Exiting Long when the Reflex crosses below the zero lines (Stocks, ETFs, Commodities)
In this example, I place a Long order on the SPY every time the Reflex crosses above the zero level and exit when it crosses below or pops my stop loss, set at 1.5 * Daily ATR.
4/6 Wins
+10.76%
For me, that's good enough to create a strategy and backtest on several Indices and ETFs, which is what I have a hunch this will work on.
I think there is a lot of promise from a single Indicator!
Let me know in the comment section if you're able to use this in a strategy.
Hide Extended Hours/non-intraday American BarsOnly works with American bar style.
Not works with Candles.
--------
This script can hide the extended hours/non-intraday bars and leave the intraday bars only, especially for future users, such as ES/NQ/RTY/YM, etc.,.
Now you can find the intraday support/resistance quite easily!
Example, as a ES investor, you can easily find the intraday support/resistance level ,which is almost equal to SPY / SPX , no longer need to check SPY / SPX separately again, saving your time a lot.
--------
IMPORTANT INSTRUCTION
In order to make the script work, you have to bring it to the most top visual layer.
Please do as the following steps:
Add the script to chart
Hover mouse on the script name, and tap the right-most 'more' button (which appears as 3 dots)
Select "Visual Order", then select "Bring to front".
Done!
Also, in order to have a better view effect and make the bars COMPLETELY "Hidden", you can adjust the hidden bar color in the "setting" menu to the exact color of your chart background.
Swing-Trade-Stocks SystemThis is a simple swing trade system inspired by sources on the internet. The rules are as follows:
Buy when first green arrow appears after 10ma above 30ma
Set stop-loss below most recent support
Set take-profit below most recent swing point high or wait until price closes below 30ma (red)
Short when first purple arrow appears after 10ma below 30ma
Set stop-loss above most recent resistance
Set take-profit above most recent swing point low or wait until price closes above 30ma (red)
The background color changes based on the direction of SPY. If SPY is going down (10ma < 30ma) the
background will be red and only short indicators (purple arrows) will appear. If SPY is going up (10ma > 30ma),
the background will be green and only long indicators (green arrows) will appear.
Happy trading!
Market Internals [Makit0] MARKET INTERNALS INDICATOR v0.5beta
Market Internals are suitable for day trade equity indices, named SPY or /ES, please do your own research about what they are and how to use them
This scripts plots the NYSE market internals charts as an indicator for an easy and full visualization of market internal structure all in one chart, useful for SPY and /ES trading
Description of the Market Internals
- TICK: NYSE stocks ticking up vs stocks ticking down, extreme values may point to trend continuation on trending days or reversal in non trending days, example of extreme values can be 800 and 1000
- ADD: NYSE stocks going up vs stocks going down, if price auctions around the zero line may be a non trend day, otherwise may be a trend day
- VOLD: NYSE volume of stocks up vs volume of stocks going down, identify clearly where the volume is going, as example if volume is flowing down may be a good idea no to place longs
- TRIN: NYSE up stocks vs down stocks ratio divided by up volume vs down volume ratio. A value of 1 indicates parity, below that the strength is on the long side, above the strength is in the short side.
A basic use of market internals may be looking for divergences, for example:
- /ES is trading in a range but ADD and VOLD are trending up nonstop, may /ES will break the range to the upside
- /ES is trading in a range and ADD and VOLD are trading around the zero line but got an extreme reading on TICK, may be a non trending day and the TICK extreme reading is at one of the extremes of the /ES range, may be a good probability trade to fade that move
- /ES is trading in a trend to the downside, ADD and VOLD too, you catch a good portion of the move but are fearful to flat and miss more gains, you see in the TICK a lot of extreme values below -800 so your're confident in the continuation of the downtrend, until the TICK goes beyond -1000 and you use that signal to go flat
Market internals give you context and confirmation, price in /ES may be trending but if market internals do not confirm the move may a reversal is on its way
Price is an advertise, you can see the real move in the structure below, in the behavior of the individual components of the market, those are the real questions:
- How many stocks are going up/down (ADD)
- How many volume is flowing up/down (VOLD)
- How many stocks are ticking up/down (TICK)
- What is the overall volume breath of the market (TRIN)
FEATURES:
- Plot one of the four basic market internal indices: TICK, ADD, VOLD and TRIN
- Show labels with values beyond an user defined threshold
- Show ZERO line
- Show user defined Dotted and Dashed lines
- Show user defined moving average
SETTINGS:
- Market internal: ticker to plot in the indicator, four options to choose from (TICK, ADD, VOLD and TRIN)
- Labels threshold: all values beyond this will be ploted as labels
- Dot lines at: two dotted lines will be plotted at this value above and below the zero line
- Dash lines at: two dashed lines will be plotted at this value above and below the zero line
- MA type: two options avaiable SMA (Simple Moving Average) or EMA (Exponential Moving Average)
- MA length: number of bars to calculate the moving average
- Show zero line: show or hide zero line
- Show dot line: show or hide dotted lines
- Show dash line: show or hide dashed lines
- Show labels: show or hide labels
GOOD LUCK AND HAPPY TRADING
Hide extended hours/non-intraday barsEspecially for future users, such as ES/NQ/RTY/YM, etc., this script can hide the extended hours/non-intraday bars and leave the intraday bars only.
With this script , you can find the intraday support/resistance quite easily!
Example, if you are a ES investor, you can easily find the intraday support/resistance level ,which is almost equal to SPY, with this script, and no need to check SPY separately again , saving your time a lot.
Note: Please couple this script with American Bars. If you use candle charts, the upper/lower pins of the candle can't be hidden with the bars together, which is restricted by the code editor itself...
Swim Trading - Beta Trend FilterSwim Trading's Optimized Beta Trend Filter
Validated Outcome For SPY
Expected CAR (1995 to 2019): 15.11% p.a.
MDD: 19.03%
Buy & Hold SPY: 7.8% p.a. CAR
GA - Comparative Relative StrengthGA - Comparative Relative Strength is an Oscillator. It shows the Relative Strength of a Financial Instrument .
It defines the Relative Strength in relation to Markets, Sectors, Sub-sectors ETFs . Besides, it includes also Currency Indices and the manual selection of Financial Instruments.
Groups of ETFs and Manual Selection
You enable the Group of Financial Instruments that collects the ETF in your interest. Besides, you can enable more that one group. This lets you show Relative Strength Curves related to ETFs of the groups selected.
For example, it can show the Relative Strength related to Market and Sector ETFs. Besides, you can show the Relative Strength related to Sector and Industry ETFs.
The Groups of ETFs are SPDR Categories:
SPDR Core ETFs.
SPDR Select Sector ETFs.
SPDR Industry ETFs.
An extra group includes Currency Indices.
Oscillator around Zero
The Relative Strength of 2 Financial Instruments waves around a borderline. This line is a mean. The GA - Comparative Relative Strength normalizes the curve to the borderline. This makes an Oscillator around Zero.
Upper and Lower Bands
Upper and Lower Bands can follow the full curve. But you can Enable or Disable the visualization of Partial Bands. They follow the curve only for positive waves or for negative waves.
Bands are dynamic levels. Their role is to define where the Relative Strength becomes relevant or normal. When the Relative Strength persists above the Upper Band, Financial Instrument is strong. When the Relative Strength persists below the Lower Band, Financial Instrument is weak.
The Upper and Lower Bands are relevant tools in the decision process to enter the market long or short.
You need to buy Financial Instrument that is outperforming the related market. In the same way, short/sell financial instruments that are under-performing the marketplace.
A Relative Strength that decreases below the Upper Band shows a weakening. A Relative Strength that increases above the Lower Band shows a reinforcement. These indications can precede an eventual change of sentiment of large investors.
Currency Indices
The difficult part is when you want to define the Relative Strength of a Currency Pair. In this case, you can compare a pair with a group of other related pairs. In the same way, you can try to use a Currency Index or a specific calculation.
The use of a Currency Index shows limitations to define the Relative Strength in a proper way.
But an expert trader can define it in different ways so as with different tools. Besides, an expert trader knows the pairs included in the currency index. Moreover, he knows the formula and the weights of the currency pairs included in the index.
The GA - Comparative Relative Strength gives you a collection of Currency Indices. You can enable it and use the Currency Index you need.
Note: I restrict access to the tool.
Regards
Girolamo Aloe
Founder of Profiting Me
------------
Examples
Comparative Relative Strength of APD on SPY (Market Composite Average)
Comparative Relative Strength of APD on XLB Materials Sector
Comparative Relative Strength of ADP on SPY and ADP on XLB
Two level MACD into one indicatorMerged two level MACD into one indicator, then Long Entry (buy) and Short Entry (sell) is more clearly now.
Try and test it, please send me some feedback or suggestions, then the indicator can help you make money more easy!
good luck!
AMEX:SPY
SS EMA / SMA RibbonColor Change if above or below EMAs / Ribbon
StokedStocks EMA / SMA Ribbon 9 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 200
EMAs Color Change if above or below EMAs / Ribbon
Lime : Uptrending; Long Bias
Green : Dip Buy / ReEntry or downtrend reversal warning
Red : Downtrend. Short Bias
Maroon : Short Reentry (sell the peak) or uptrend reversal warning
1st strategy Long when Price crosses above all EMAs
2nd strategy if late is buy first or second pullback to 9 or 20 EMA which are the 1st and 2nd ribbon lines (in an uptrend)
3rd strategy is Short once price crosses UNDER all EMAs
Use Trailing stop % once long or short
Better when shorter time frames line up with Longer time Frames for less risk EXAMPLE Above all EMAs on 5min chart and on Daily Chart
Willams %RwEMAspy
Was looking for something else when surfed into an old question
wanting %R 21 period with EMA 13 period of the %R signal
and being a rookie at this, made this code to post for them.
Tried to comment the script in such a way that other rookies
like me could make better sense of what is being done. Hope
this helps someone. I find it useful as one of my indicators for
trading.
Pinescript for tradingview.com user Tom1trader
All time frames.
Interpretation:
%R (Red) crosses above it's average (Blue) - bull
%R crosses below it's average - bear. Background
color changes green-up red-down with above crossings.
Most but not all of serious price movement takes place
from the time the %R (red) goes into oversold (or bought) and
exits again.
%R centerline crosses can also be useful.
I use various indicators and want all of the confirmation
that I can get for expectations BUT I never know what the
next bar will do and define my risks accordingly.
Sectors Relative Strength Normal DistributionI wrote this indicator as an attempt to see the Relative Strengths of different sectors in the same scale, but there is also other ways to do that.
This indicator plots the normal distribution for the 10 sectors of the SPY for the last X bars of the selected resolution, based on the selected comparative security. It shows which sectors are outperforming and underperforming the SPY (or any other security) relatively to each other by the given deviation.
MarketRSThe strength of a stock relative to the market (SPY) is an import indicator accumulation of a stock by institutionan funds, especially during a market decline. This indicator plot the ratio of a security/SPY and plots a fast (5 period) and slow (21 period) EMA.