Advance Decline Line with Divergence Finder
The advance/decline line (A/D) is a breadth indicator used to show how many stocks are participating in a stock market rally or decline.
When major indexes are rallying, a rising A/D line confirms the uptrend showing strong participation.
If major indexes are rallying and the A/D line is falling, it shows that fewer stocks are participating in the rally which means the index could be nearing the end of its rally.
When major indexes are declining, a falling advance/decline line confirms the downtrend.
If major indexes are declining and the A/D line is rising, fewer stocks are declining over time, which means the index may be near the end of its decline.
For more info: www.investopedia.com
在腳本中搜尋"spy"
Value Moving AverageThis indicator is free to all Oasis Trading Group members.
The Value Moving Average is very simple, it takes 3 moving average values and gives you an average of them.
It is designed to be used with 1 short term, 1 mid term, and 1 long term value.
When given the right values it can act as a very strong signal of trend and help find when price is retracing to "value".
A good signal is when price breaks the Value line and reclaims it for the bulls or bears.
Because of the long term value added into the formula it wont chase price movements very rapidly, so it can act as a good trend indicator when shifting direction or following price during impulses.
[astropark] Auto Fibonacci Retracement ExtensionDear followers,
today a new analysis tool for day trading, scalping and swing trading: Automatic Fibonacci Retracements and Extensions drawer!
It works on every timeframe and market, as it simply draws automatically most important fibonacci levels on the chart.
Based on the analysis window set (default 100 bars, but you can edit it as you like), it finds recent high and low and start drawing the following levels:
recent high and low (black)
golden retracement range: 0.5 * 0.618 * 0.705 fibonacci retracements (gold)
fibonacci extensions range above 1: 1.272 * 1.424 * 1.618 * 2.618 * 4.236 (blue)
fibonacci extensions range below 0: -0.238 * -0.618 * -0.706 * -1(fuchsia)
Whenever the indicator finds a new high or a new low, al fibonacci levels are re-draw automatically.
The indicator will let you:
change analysis window
enable displaying labels related to current fibonacci levels and/or prices
change colors
show/hide each specific level
How to use the indicator?
Basically, all techniques which apply to fibonacci tool are valid here too.
After a big move up or down, a new high or low is created and a retracement is expected: if trend is strong, retracement to golden ration 0.618 will be a perfect spot for buy or sell respectively in order to continue riding the trend.
In general a bounce is always expected when price hit 0.618 retracement , good to know for scalping traders, while swing trades will continue holding the trade for higher profits.
If the golden retracement range (0.5 - 0.705) is broken and then retested from the other side, a continuation move is expected towards previous high/low (fib level 1) and even more towards the fibonacci extensions range above 1 (1.618 - 2.618 - 4.236).
If the base of bounce and trend continuation on golden retracement range, traders can expect
price to hit again previous high/low and
if trend is strong, a consolidation near the previous high/low range (conditions that are respectively bullish and bearish)
do a further continuation towards -0.618 fib level range
Traders must always understand that
the higher the timeframe, the stronger is the meaning and so the reaction when a specific fibonacci level is hit
don't trade blindly, try to find confluences to have an higher chance to be in a winning trade in near future
money and risk management are very important, so manage your position size and always have a stop loss in your trades
As said, this indicators work on every timeframe and in all markets (Crypto currencies, stocks, FOREX, indexes, commodities). Here some examples:
BTCUSDT 1D: after a long run, a retracement is expected and a bounce at 0.618 golden level is more than obvious: perfect short (sell) entry
BTCUSDT 1D: again as previous example, after a long run, a retracement is expected as well as price's bounces back above
EURUSD 1h: lots of info here, directly in the chart below:
bounces on 0.618 golden zone
double top
price breaks 0.618 level and retests it from below targeting previous low
double bottom and bounce back towards golden zone
bearish consolidation at recent low and further decline towards 1.618 fib extension
AMZN 1h stock: lots of info here too, directly in the chart below:
new high is print, price retrace to golden zone
bounces on 0.618 golden zone
price breaks 0.618 level and retests it from below targeting previous low
double bottom and bounce back towards golden zone
rejection at golden zone, price falling targeting previous low again and probably 1.618 fib extension
price breaks hard previous low and hits fib extension range below recent low
price retraces back up towards new golden retracement range
golden retracement range is broken and used as support: targets are previous high and 1.618 extension
once 1.618 extension level is broken and retested successfully as support, price moves towards 2.618 fibonacci extension level
SPY (SPX500) index: lots of info in the chart
interesting to note that March 2020 huge dump can be totally mapped as a series of fibonacci level bounces, so you understand the importance of riding a trend now, right?
after the low was formed, price retraced perfectly to golden ration 0.618
each time price hit a golden level/range, it retraces creating double top and double bottom configurations too
In the chart below we can see the power of the double bottom at golden retracement level: targets are previous high and -0.618 fibonacci extension level
XAUUSD 15m: as we are in a lower timeframe, the default analysis windows has been reduced to 50.
What can we see here:
golden retracement and price is rejected towards previous low
golden retracement hit and price bounces back lower
new high is formed: golden retracement hit and price bounces back higher
price break previous high and hits fibonacci extensions -0.618 and -1
price continues rising forming a regular bearish divergence with RSI
once uptrend is broken, price falls dramatically
first target is 0.618 retracement level, where you see a very small retracement due to strength of sellers
second target is previous low, which is broken and retested many time from below (bearish retest)
third target is fibonacci extension range (in this case 1.414 is almost hit)
as an hidden bullish divergence with RSI was created, price goes back up
This is a premium indicator , so send me a private message in order to get access to this script.
Tug-of-War Fast/Slow Technical IndicatorThe script Tug-of-War (ToW) Fast/Slow has a couple of lines (red and purple) and areas (purple and greenish) which give the trend. It also has one line (blue) and dots (green) that give the up-and-down swing.
HOW THE INDICATOR WORKS
It is based on moving averages run on normal OHLC bars, Heikin Ashi bars as well as customized bars (which modify the open/high/low/close values similar to how Haikin Ashi bars do). These moving averages are weighted by volume and related to each other (for example differences are calculated) to produce the final lines. Since the script requires volume, it may not work for tickers which don't have volume (however for some tickers the script uses a proxy-volume so that they work; for example it uses the SPY volume for VIX). There is a different but similar script that I'll be publishing (ToW Simple) which doesn't use volume and runs on any ticker.
HOW TO SETUP THE INDICATOR
The indicator can be run on "close" prices as well as "open", "high", "low" and several mini-max modes ("MM ..."). They pick highs and lows (minim and maxim values, hence the mini-max name) to generate the indicator lines. See the drop down box options under "Adjust Close Type" (the very fist options in the script settings). The multiple MM modes use different formulas to calculate the mini-max values. The more significant MM modes are MM ZZ (zig-zag), MM HL/HL (determines highs and lows based on highs and lows), MM HL/C (determines highs and lows based on close) and MM Close. Note: if the MM ZZ mode show you the highs for the current bar and you actually want the lows (or vice versa) check "MM ZZ Reverse".
The indicator has two fast lines:
the green dots (called F1 since it's the 1st Fast line, actually dots)
the blue line (called F2--the 2nd Fast line)
They are called "fast" because they move up and down faster. In previous iterations of the script I called them "swing lines" since they capture the prices swing up and down. The blue line is the more significant one (since the green one I set, by default to dots instead of an actual line).
The indicator has two slow lines:
the purple line (called S1 since it's the 1st Slow line)
the blue line (called S2--the 2nd Slow line)
They move slower than the fast line and they are better at determining the trend.
The order of lines, from fast to slow, is: F1 (green), F2 (blue), S1 (purple) and S2 (red).
The indicator also has two areas:
the greenish area (called FA since it's the Fast Area)
the purple area (called SA since it's the Slow Area)
Additional lines (but less significant are displayed if you uncheck the "Clean look" option).
The script allows to display up to for sets of lines (see the top "Adjust Close Type (Set #)" options). For example one set may show "Highs" and the other "Lows" or "Close" and "MM HL/HL". Additionally it can run in multi-set mode when it shows the chosen one line (F1, F2, S1, S2, FA, SA) for each OHLC (open, high, low, close). See "Only Show Related Lines" option. In this display purple is the line for Open, green is the line for High, red is the line for Low and black is the line for Close.
The indicator also has a custom mode (see the "Enable custom bars" checkbox and the options following it). With it you can change the open/high/low/close value (see "Custom #1 OHLC to Modify") of a bar ("Custom #1 Index To Modify" determines which bare to modify, 0 being the most recent bar). Then "Custom #1 Modifier Type" specifies to use open/high/low/close value of the same or different bar (use "Custom #1 Modifier Index/Value ..." to choose which bar's OHLC value to use for the custom value; 0 means the O/H/L/C value of the same bar as the one being modified; 1 means previous bar, etc.). If "Custom" is selected instead (under Modifier Type) then you can enter the custom value in the "Custom #1 Modifier Index/Value ..." field. This will show you how the indicator lines look like if the price was different. Three different bars can be modified this way. You can try different custom values and see for what price value one of the lines reaches a high or low point. That is an estimate of how far the price may go. Note: the indicator values depends depends on all OHLC values (plus volume) not just on the one chosen. That is, if the indicators is based on close values it is still affected to some extent by high, low and volume. Therefore the price value determined using the custom mode may not be exact but only a rough estimate (and the bigger changes in OHLC the bigger affect on the indicator and the actual price may not be exactly what was calculated using the custom mode.
HOW TO USE THE INDICATOR
Strategies and tools that apply to price such as resistance and support levels and trend lines, pitchforks (particularly Schiff pitchforks in case of the indicator) also apply to these lines. Because the indicator lines are within a range it is generally easier and faster to see and find such support/resistance levels and trend lines.
Additionally, the lines or the areas crossing the 0 line often indicate a change in trend (however if earlier indicator highs/lows bounce off around the 0 line that may happen this time around as well). The more significant 0 crossing is for the slow lines (red first and then purple) as well as the areas.
The slow lines and the areas, as mentioned already, show the trend (in previous iterations of the indicator I called them direction lines).
The fast lines (blue line, green dots) show the swing, as mentioned earlier. They often swing up and down. When they reach a high (you can thin of it as overbought) they may move back down on the next bar (or vice-versa when reaching a low). However, sometimes they don't swing but rather move in a line closer to a straight line (more like the slow lines). That indicates that the trend is stronger.
The fast lines can also indicate the trend by looking if their highs and/or lows are trending up or down. Thus, if the highs and lows are trending down then it's likely the price will go down.
Another thing to look at is divergence between the price and the slow lines or the high/lows trend of the fast lines (that I mentioned above). If the price is going up but the these are trending down then over the same bars then the price may be coming closer to a reversal.
STRATEGIES
Swing-in-trend. Find a ticker with the slow lines showing an upward trend (i.e., the red line crossing 0 or being above 0) and a the slow line (such as the blue line) reaching a previous low level (draw support levels and/or trend lines to determine that). Go long when the fast line reaches the support level or bottom trendline. The expectation is that the price will move up by the close of the next bar (when the position should normally be closed). The "go-short" setup is just reversed (slow lines trending down and the fast lines reaching high levels). You can use the "High", "Low", "MM ZZ" or one of the other MM modes instead of "Close" to get a better entry and exist point (in this case you enter when the the "Low" or "MM ZZ" modes reached a low and you enter if the "High" or "MM ZZ" reached a high or else exit at close of the next bar).
Trend-on-swing. When the red line is about to cross or just crossed the 0 line and wait for the swing line to go down first (you can use "High", "Low" or an MM mode, as explained dabove, for a better entry point) and then you enter the position and exit when either the slow (red) line reaches a resistance level, it crosses 0 the other way or when the fast line reaches a very high resistance level. This strategy will take longer, it won't be closed on the next bar.
Mini-max strategy. This is a new strategy I've developed. It uses MM ZZ mode (and a second MM ZZ set to "reverse") as well as "High", "Low" and "MM HL/HL" mode. I basically draw resistance and support lines on these, usually 2-3 lines for high and the same for low, for multiple tickers that seem a good match (they show a nice, consistent up/down pattern for MM ZZ). When the F2/blue lines reaches one of the horizontal lines further from the 0 lines (I setup alerts for this), then I enter expecting a move in the opposite direction. If it reaches the 2nd or 3rd low horizontal line then I go long. Then on the next bar when the F2 line reaches the 1st high horizontal line then I close the position (alternatively, I close half and keep half for when the second high horizontal line is reached). Alternatively, I may close the same bar, when the reversed MM ZZ setup reaches the 1st high horizontal line. I usually use this setup on weekly charts and use weekly options but it can be used on other charts such as daily charts as well.
I recommend to setup alerts on the indicator. After you draw a horizontal line or a trend line and you select it, its bar has a clock icon with a "+" sign. If you click on it you can setup an alert. In the setup dialog, under "Condition" select the indicator and then select the line of the indicator (such as "F2 (f_s/Blue)") then select "Once Per Bar" under "Options" (that's my recommendation, it will alert you only one time per bar). Finally customize the message for example: "ZZ: F2/blue /lo hl 1/3, TQQQ, 1D" (which means it's for MM ZZ mode when F2 (blue) line intersects the 1st (out of 3) low horizontal line (HL) and it's for TQQQ on 1D chart. When I use the reverse mode for ZZ then I write: "ZZr: ..."
In the chart above, the first indicator shows the "Close" mode and the second the "MM ZZ" mode (along with 2 levels for high and low).
Reversal by Dan SteelHello everyone,
This is a simple indicator to indicate reversal signal on $SPY, $SPX or SPY futures products. The indicator works best in 15 minute.
Blue flag is RSI oversold
Red flag is reversal signal
if there is both flags, the chance of short bull run is very high.
Cheers,
Dan
P.S: It is ugly but working :)
RS4r OscillatorOscillator based on Garofallou's RS4r indicator. It has been modified to compare the Relative Strength of any asset against QQQ . SPY , IWM , VGK , EWJ , DBC , GLD , HYG , LQD , TLT ETFs.
Readings above 80 points suggest great relative strength against these ETFs.
SAD - Session-Based ATR Deterministic[NeoButane]SAD - ATR with a utility tune-up.
Similar to ATR, SAD finds the true range of an asset. Unlike ATR, which is a rolling indicator, SAD is session based, simliar to VWAP. This gives it a great advantage over a regular ATR, where one must determine if their ATR level is statistically significant or not. SAD makes it easy for you to analyze statistical anomalies without having to pull out a calculator.
By breaking up ATR in sessions, it is able to be determined when price has moved an abnormal amount in a session deterministically. Noise is removed by a moving average filter, the weighted moving average. This was chosen over the EMA?SMA because an EMA would be to quick to change and the SMA would be too slow.
The ribbon's colors, purple, is active when volatility is rising. It is black when volatility is falling. You can see that this is directionally neutral.
Options to configure:
Timeframe
Ribbon dipslay
Session break display
[*}Bar coloring
Common examples of usage:
If you want to use this indicator, add it to your favorites and you can find it there.
CC - Array-meta Consolidated Interval Display (ACID)This script extends my other two Array examples (which I've also provided to you open source):
The Ticker-centric 5m,15m,45m,1h,4h,1d resolution labels using arrays:
And the more Macro VIX,GLD,TLT,QQQ,SPY,IWM 1d resolution labels using arrays:
This script aims to show how to use min/max/avg with Arrays easily. My next example after this will be exploring the usage of variance versus covariance ratios over different periodic interval resolutions. Currently, this is using the following intervals: 5m,15m,45m,1h,4h,1d. It takes these intervals, calculates the values at those resolutions and puts the absolute min and max from the 5 minute to the 1 day resolutions.
It's more of an example of the power that arrays can hold, as all this truly is right now is a min/max bound calculator. The real gem lies in the avg calculators for multiple resoltuions tied into a single label with readable data. Check out the code and let me know what you think. If you need more examples, the other two scripts I mentioned before are also open source.
Using this on intervals of less than 1D sometimes times out, the way I wrote it is memory intensive, may not work for non-pro users.
Thanks!
NONE OF THIS IS FOREWARD LOOKING STATEMENTS, THIS IS NOT A PREDECTIVE ANALYSIS TOOL. THIS IS A RESEARCH ATTEMPT AT A NOVEL INDICATOR. I am not responsible for outcomes using it.
Please use and give criticisms freely. I am experimenting with combining resolutions and comparing covariance values at different levels right now, so let me know your thoughts! The last indicator will likely not be open source, but may be depending on how complex I get.
CC - Macro Consolidated Interval Display (MCID)Ever wish you didn't have to rapidly flip between 6 different tickers to get the full picture?
Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays?
Yeah, I did too. Both of those birds are taken care of with one stone!
The Macro Consolidated Interval Display uses the new Array structure and security to display data for VIX, GLD, TLT, QQQ, SPY and IWM (at a 1D interval) SIMUTANEOUSLY! Regardless of which ticker you're looking at you can get the full picture of macro futures data without flipping around to get it.
This is my first script trying to use arrays. It basically shows the following a 1d interval:
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for VIX.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for GLD.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for TLT.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for QQQ.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for SPY.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP for IWM
To make it more or less busy, I've allowed you to toggle off any of the levels you wish. I've also chosen to leave this as open source, as it's nothing too experimental, and I hope that it can gain some traction as an Array example that the public can use! If you don't like the different values that are shown, use this source code example as a spring-board to put values that you do care about onto the labels.
If this code has helped you at all please drop me a like or some constructive criticism if you do not think it's worth a like.
Good luck and happy trading friends. This should be compatible with my CID as well:
If this gets traction, I will post something similar for a dynamic combination of tickers and intervals that you can set yourself.
CC - Consolidated Interval Display (CID)Ever wish you didn't have to rapidly flip between 6 different intervals to get the full picture?
Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays?
Yeah, I did too. Both of those birds are taken care of with one stone!
The Consolidated Interval Display uses the new Array structure and security to display data for 5m, 15m, 45m, 1h, 4h and 1d intervals SIMUTANEOUSLY! Regardless of which interval you're looking at you can get the full picture of numerical data without flipping around to get it.
This is my first script trying to use arrays. It basically shows the following for the given ticker:
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 5 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 15 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 45 minute level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 hour level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 4 hour level.
ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 day level.
To make it more or less busy, I've allowed you to toggle off any of the levels you wish. I've also chosen to leave this as open source, as it's nothing too experimental, and I hope that it can gain some traction as an Array example that the public can use! If you don't like the different values that are shown, use this source code example as a spring-board to put values that you do care about onto the labels.
If this code has helped you at all please drop me a like or some constructive criticism if you do not think it's worth a like.
Good luck and happy trading friends.
If this gets traction, I will post something similar for a combination of SPY, VIX, GOLD, QQQ, IWM and TLT.
Supertrend, MA & Market Strength by Keiron RichieThis script comprises of three separate indicators to give an improved view; a redesign of the Supertrend indicator to identify up/down trend and changes the background colour to red or green accordingly. This is then overlayed with the Mother of Adaptive Moving averages by John Ehlers (MAMA) which adapts to price movement in an entirely new and unique way. The advantage of this method of adaptation is that it features a fast attack average and a slow decay average so that composite average rapidly ratchets behind price changes and holds the average value until the next ratchet occurs. Since the average fallback is slow I can build trading systems that are virtually free of whipsaw trades.
Additionally, there are up & down arrows below and above the bars respectively which demonstrate overall market strength or weakness. By combining the relative strength in a trend with the true strength of the Nasdaq (NDX) and S&P500 (SPY) we can then compare that against the volatility/fear index (VIX) to show if the market is excerpting pressure on the component in either direction. i.e. if the red arrow shows then the market indexes true strength is decreasing & if the small green arrow shows then the market index is gaining strength which may be likely to impact the component/symbol you are viewing. It’s a very quick and effective method of seeing the strength within the market indexes and how they are effecting your chart.
Because of the nature of the script it is tested and works well on all timeframes with Stocks listed on NASDAQ & S&P500.
Alerts are available for a change of background colour state. i.e Green=Buy, Red=Sell
21/55 EMA Cloud w/ Optional RibbonThis indicator behaves like a traditional EMA ribbon by using the 21, 25, 30, 35, 40, 45, 50, and 55 bar exponential moving averages. In this particular indicator, the traditional EMA ribbon lines are turned off by default leaving only a filled in area between the 21 and 55 bar averages. The filled in area is green when the 21 bar average is greater than the 55 and red otherwise. Additionally, the 9, 100, and 200 exponential moving averages are available for reference.
13612WThis script is a 13612W momentum filter used in the Vigilant Asset Allocation (VAA) and Defensive Asset Allocation (DAA) created by Wouter J. Keller and Jan Willem Keuning.
This asset allocation strategy was uploaded to SSRN in 2017 and 2018.
13612W Calculation Method
(Profitability in Last 1 months * 12 +
Profitability in Last 3 months * 4 +
Profitability in Last 6 months * 2 +
Profitability in Last 12 months)/4
Let me briefly explain one of the VAAs, VAA-G4.
The VAA-G4 has an annualized return of 17.7%, a Sharpe ratio of 1.07% and Max Drawdown of 16.1%.
(It's too long and complicated to describe all VAA, DAA strategies. Above all, the translator performance is not good.)
VAA Global 4 Universe: SPY, EFA, EEM, AGG
Cash Universe: SHY , IEF, LQD
If 13612W of VAA Global 4 Universe is negative at least one
>> 100% of assets hold one of the highest 13612W of Cash Universe
If all 13612W of VAA Global 4 Universe are positive
>> 100% of assets hold one of the highest 13612W of VAA Global 4 Universe
Rebalancing is done every month according to this method.
RAT Momentum Squeeze BETAV1.0
MAs are a great tool to measure the market's momentum. I created this indicator to graphically depict bullish and banishment movements with the moving averages.
Using the 50, 100, & 200 day MA in conjunction with the RSI we are able to find great swing setups. This is used best on the 30min & up to the daily chart.
Vicious Cycle by Cryptorhythms [CR]Vicious Cycle by Cryptorhythms
Intro
I have been working on this one for a few months now, bringing our flagship indicator Bull Bear Filter up to date with new ideas and algorithms to clarify cyclical trend components in any time series data.
Description
This indicator has no settings that the user needs to change. It is completely adaptive and dynamic to any market, timeframe, or time series data. The goal was to create a tool that isolated cyclical waveforms, making it easier to follow a noisy market. Keep in mind, its not RSI, Stoch, Ehlers or anything else - its a completely new DSP method that I created myself. You can only get the Vicious Cycle from CR!
Private
This indicator is reserved for our members only to prevent the alpha decay as long as possible. You can view my signature at the bottom of this post for more information on membership.
Examples
Here I will list a number of examples screenshots across markets and timeframes. Remember, NO SETTINGS WERE CHANGED at all for these screenshots. As you can see its quite a versatile tool!
BITCOIN
XBTUSD 20Min
XBTUSD 4H
XBTUSD 6H
GOLD
XAUUSD 2D
XAUUSD 4H
FOREX
EURUSD 3 Min
EURUSD 30 Min
GBPJPY 1H
USDJPY 12H
STOCKS
TSLA 1D
AMD 1D
SPY 1D
VIX 12H
OIL
USDWTI 3D
USDWTI 2H
USOIL 15 Min
ADD for SPX intraday (NYSE Adv-Decl) -Tom1traderThis is the NYSE Advancers - decliners which the SPX pretty much follows. You can chart it like any index (ADD -NYSE $ADV MINUS $DECL) but I find it more useful in a separate panel with colors for direction.
The level gives an idea of days move (example: plus or minus 500 is not much movement through the session) but I follow the direction as when more stocks advance (green) or decline (red) the index tends to track it pretty closely.
On SPX, SPY and correlateds - very useful for intra-day trading (Scalping or 0DTE option trades) but not for higher time frames at all. If you chart the ADD in a chart and compare 5 minute to daily you will see what I mean.
I left it at 5 minutes timeframe which displays well on any intraday chart. You can change it by changing the "5" in the security function on line 13 to what you want ("1" 1 minute, "15" 15 minutes) or change it to timeframe.period (no quotes) so that it will follow the timeframe of the current chart. I like 5 min as it displays better on higher timeframes i.e. 15 min. or hour.
A simple moving average with a length of 10 is added to help gauge momemtum.
Hope this helps with trading or scripting ideas, questions or feed back welcome. Keep Smiling.
Gap driven intraday trade (better in 15 Min chart)// Based on yesterday's High, Low, today's open, and Bollinger Band (20) in current minute chart,
// Defined intraday Trading opportunity: Stop, Entry, T0, Target (S.E.T.T)
// Back test in 60, 30, 15, 5 Min charts with SPY, QQQ, XOP, AAPL, TSLA, NVDA, UAL
// In 60 and 30 min chart, the stop and target are too big. 5 min is too small.
// 15 min Chart is the best time frame for this strategy;
// -------------------------------------------------------------------------------
// There will be Four lines in this study:
// 1. Entry Line,
// 1.1 Green Color line to Buy, If today's open price above Yesterday's High, and current price below BB upper line.
// 1.2 Red Color line to Short, if today's open price below Yesterday's Low, and current above BB Lower line.
//
// 2. Black line to show initial stop, one ATR in current min chart;
//
// 3. Blue Line (T0) to show where trader can move stop to make even, one ATR in current min chart;
//
// 4. Orange Line to show initial target, Three ATR in current min chart;
//
// Trading opportunity:
// If Entry line is green color, Set stop buy order at today's Open;
// Whenever price is below the green line, Prepare to buy;
//
// If Entry line is Red color, Set Stop short at today's Open;
// Whenever price is above the red line, Prepare to short;
//
// Initial Stop: One ATR in min chart;
// Initial T0: One ATR in min chart;
// Initial Target: Three ATR in min chart;
// Initial RRR: Reward Risk Ratio = 3:1;
//
// Maintain: Once the position moves to T0, Move stop to "Make even + Lunch (such as, Entry + $0.10)";
// Allow to move target bigger, such as, next demand/supply zone;
// When near target or demand/supply zone or near Market close, move stop tightly;
//
// Close position: Limit order filled, or near Market Close, or trendline break;
//
// Key Step: Move stop to "Make even" after T0, Do not turn winner to loser;
// Willing to "in and out" many times in one day, and trade the same direction, same price again and again.
//
// Basic trading platform requests:
// To use this strategy, user needs to:
// 1. Scan Stocks Before market open:
// Prepare a watch list for top 10 ETF and Top 90 stocks which are most actively traded.
// Stock might be limited by price range, Beta, optionable, ...
// Before market open, Run a scan for these stocks, find which has GAP and inside BB;
// create watch list for that day.
//
// 2. Attach OSO and OCO orders:
// User needs to Send Entry, Stop (loss), and limit (target) orders at one time;
// Order Send order ( OSO ): Entry order sends Stop order and limit order;
// Order Cancel order ( OCO ): Stop order and limit order, when one is filled, it will cancel the other instantly;
Trend Trade ( in W, D, H, 15M )Condition:
Uptrend, EMA5 > EMA8 > EMA13
Downtrend, EMA5 < EMA8 < EMA13
EMA# input can be changed by user.
Trading Plan:
1. Long in Uptrend when Price croseover EMA5;
Buy EMA5 + 0.03 (Do not wait for close), initial stop EMA13-0.03
If it is a big Gap up, do not chase. Let it go;
2. Short in Downtrend when Price croseunder EMA5;
Short EMA5 - 0.03 (Do not wait for close), initial stop EMA13+0.03
If it is a big Gap Down, do not chase. Let it go;
3. No target strategy in this study;
Back test Weekly, daily, hourly, 15M chart for ES1!, CL1!, GC1!, SPY, QQQ, TLT, IWM, XLF, XLK, XOP, GS, IBM, APPL, AMD, MMM, WBA
When side way move, Entry could be stopped quickly with small loss;
When entry in trending move, the position could be hold for a good range, and keep adding to winner.
Using this study, Futures and ETFs are better than single stock. Big Gap can break the trend, and trigger big stop loss;
This study is designed to join an existing trend. Try not use this in the time frame below 15 min.
To catch the turning point of a swing, Price action (Demand/Supply Confirmation) and trendlineBreak could be more accurate than EMA/SMA lines.
Buy in long term uptrend (Weekly and Daily)Condition: in uptrend, EMA8 > EMA144 (User can change the EMA# from input);
Price Action: (Price crossover EMA144) or (price touched EMA144 and close above it);
Trading Plan: Buy at close or next open; Initial Stop below EMA144;
No Exit strategy in this study, trader needs to move stop by other rules; such as, uptrend line break;
Back test Weekly and daily chart for SPY, QQQ, TLT, GLD, IWM, XLF, XLK, XOP, GS, IBM, APPL, CAT, LVS
1. When side way move or price From uptrend to Down trend, Entry could be stopped quickly with small loss;
2. When buy in trending move, the position could be hold for few years.
The best sample is QQQ weekly chart.
This is my first tradingview script. I created this script file and tested in one week.
Maybe, this script is too simple, other people published similar code already; Sorry, I didn't Check that yet.
S&P 500 Sector Strength IndexHi traders , this is lonelygrass again 😄, and I am going to show what you don't often see out there and share it with you.
This indicator is called "s&p 500 sector strength index"😎 , which allows you to distinguish strengths and weaknesses between different sectors in s&p500, and to create meaningful trading frameworks around it.
Similar to the RSI indicator , it also has overbought and oversold levels , you can clearly figure out the degree of crowd behaviors in various sectors' stocks .
For me 🤣, I will use it to "BUY LOW⬇️ , SELL HIGH⬆️". When a sector is oversold at the moment, I will try to buy those stocks when I find price actions and chart patterns in comply with the analysis by this indicator , the opposite for shortselling.
Also, for sake of being more user-friendly 👍, I added a function which enables you to only select the sector(s) you want to look at in order to make it less messy.
If you can't help to know what I will share with you coming up, then FOLLOW my account 😙 . Also , your likes and shares are really important 🎊. I will get more motivated to bring you new thing every day!!! ✍
OasisTrading OHL Levels This indicator is free to all Oasis Trading Group members.
Open, High, and Low levels for D, W, M, 90D, 12M.
Labels and Alerts coming soon.
For Access or Questions: Private message us. Thank you.
Wick SniperThis indicator is free to all Oasis Trading Group members.
The Wick Sniper was created to catch volatile moves that are extended from the mean. It uses an advanced ATR formula to follow price like a band, with an upper deviation and a lower deviation. I have also added a 1 candle offset so that the moves are not in "hindsight". Feel free to experiment with the inputs to find what is best for your asset.
For Access or Questions: Private message us. Thank you.
MACD and RSI divergence by SANDWICHIdentifies hidden price areas of RSI and MACD divergence in the market. Use for major currency pairs, I find it works best on SPY or SPX500 though.