Relative Strength Moving Average CrossoverA popular technical analysis strategy is the moving average crossover. This indicator combines a crossover with the Relative Strength Line, created by William O’Neil. The RS Line is a tool used to compare the price action of a particular stock to that of an index, with the S&P 500 being the index preferred by O'Neil.
When one moving average crosses above or below another, that may be a signal of a trend change. For example, when a shorter-term moving average (aka faster moving average) of price moves up and through a longer-term moving average (aka slower moving average), it is likely the price is trending up, this is referred to as a crossover. The opposite can also be a potential signal of a change in the trend. When a shorter-term moving average crosses under a longer-term moving average, the price may be heading down. We refer to this as a negative crossover or crossunder.
This indicator allows configuration of up to two moving averages for the RS Line. Using two moving averages you can quickly identify the direction of the trend and also pinpoint where the faster moving average crosses over or under the slower moving average.
While beta testing this indicator, we performed a study using Bitcoin. In 2021 we’ve seen an increasing correlation of BTC and the S&P 500. This is most likely due to the fact that both crypto and stocks are riskier than other financial assets such as bonds and commodities. When the market is risk-off, both the S&P 500 and Bitcoin tend to sell off together.
For the BTC test case we used two moving averages of the RS Line, 8-EMA and 50-SMA. In the chart that follows you can see a breakdown of how this played out over the last ~2 years. A positive divergence is indicated by the 8-EMA of RS crossing above the 50-SMA, and vice versa for a negative divergence.
Here's another example using TSLA:
Features
■ Configure up to two moving averages for each timeframe.
■ Optional symbols indicate moving average crossovers.
■ Configure custom alerts on crossovers, for any timeframe.
■ Optional moving average cloud makes it easy to identify if slower moving average is above/below faster moving average.
■ Configurable index, defaulting to S&P 500 (SPX).
Acknowledgement
This project is a collaborative effort with @blakedavis17 a Crypto-Equity Analyst. Based on a discussion with Blake about a moving average crossover using the RS Line, we created a simple indicator to explore the concept further. We were very encouraged with the results of backtesting and decided to publish the indicator as we believe it may be a helpful tool for both equity and crypto traders.
在腳本中搜尋"spx"
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)
Relative StrengthRelative Strength show the quotient (ratio) between a numerator (Your Security) and a common denominator (SPX, BTC, ...).
I inspired myself from already established indicators. But I've made my own because I had some issues with others.
Sometimes the moving average weren't fixed but where floating through the window.
Sometimes the colors (Up, Down) were inaccurate because the compiler didn't notice infinitesimal changes (0.0001 > 0.0002)
Thanks.
(The Relative Strength indicator is at the top of the chart.)
Options Flow Intraday SentimentScript useful for Intraday Trading - which based on Options data loaded in background - is showing sentiment of Investors. Very often Options are forecasting and precedes moves that will happen later on derivatives like Futures Contracts. Due to its' nature, data is useful during Regular Trading Hours sessions ( RTH ).
We take into account Options Volume flow & Put/Call Ratio from Options. Data is based from dataset on Quandl and loaded to TradingView. Therefore data is normalized as per different factors we have different scale of received data. Then I apply calculations comparing PUT and CALL Volume, giving the biggest weight ratio to those Options which have nearest Expiration Date. Another condition taken into account is Type of Option: either In the Money, Out of Money or At the money. Last but not least for Options there is calculated risk, where those orderflow entries with lowest risk are having the biggest weight in calculation while those with highest risk - are having lower ratio. Risk is calculated based on delta factor (coming out of Options standard definitions).
Background of indicator is coloured in direction of sentiment when we have alignment of sentiment factors calculated in background in one direction. Script is displaying additionally PUT Volume, CALL Volume from Options and PUT/CALL Ratio. Those are only additional information that can be useful for traders, but the whole logic is hidden under the hood (as described earlier) and is showing coloured background when sentiment is aligned. Therefore be prepared to take potentially a trade in direction of the background - but not blindly
Currently it's supporting SPX ( S&P500 ) and support for more instruments will come with next updates.
ILM | Structural Pivots v1This script will mark the structural pivots based on some rules.
Solid green/red lines are for major trend to mark LPH (Large Pivot High) and LPL (Large Pivot Low).
Dotted green/red lines are for minor trend SPH (Small Pivot High) and SPL (Small Pivot Low). SPH and SPL are not marked as labels to reduce congestion on the chart.
Gray lines are to identify temporary large pivots before they get promoted to LPH / LPL
Blue lines are to identify temporary small pivots before they get promoted to SPH / SPL
Couple of common trading strategies
- Go Long above LPH
- Go Short below LPL
- Go Long above SPH after LPH
- Go Short below SPL after LPL
Mean Reversion
- Go Long above SPH after LPL
- Go Short below SPL after LPH
This is the initial version and I am making it as public beta to iron out any issues. I might make this script private in future - FYI
Ratio (Relative Strength) & EMAsRatio (Relative Strength) & EMAs
This indicator is used to compare the actual symbol with another one by calculating the ratio. EMA1 and EMA2 of the ration are shown as well. The idea is to choose an index like the NDX or SPX for comparison and to determine if the actual symbol outperforms the index or not - separate the wheat from the chaff. The rules are as follow:
When the calculation ratio (symbol divided ratio symbol) is above EMA1 and EMA1 is above EMA2) the background turs green. If not the background turn red.
Relative Strength ComparisonThis script plots the ratio between a ticker and the selected index. Currently, I have US equities indexes listed + BTC. It's a great way to check for relative strength, determine if absolute highs relative to the ratio are being made, etc.
Additionally, optional comparison of the RSI is included. I was just testing something out but figured I'd leave in here because why not. If you use this, enable the 1.0 line.
Script is a bit slow, will try to optimize eventually.
SMART4TRADER-US STOCKSThe indicator is intended to evaluate the stock market , as it takes into account the data on the BUY and SELL of all US shares. In the indicator, you can select various methods for providing data.
Priority = (BUY - SELL) with a intraday cumulative effect.
Ratio = (BUY / SELL) with a intraday cumulative effect.
Delta = (BUY - SELL) on each candle.
Volume = (BUY + SELL) on each candle.
Cumulative = (BUY - SELL) with cumulative for all available history.
------------------------------
Индикатор предназначен для оценки фондового рынка , так как в себе учитывает данные о покупка и продажах всех акций США. В индикаторе можно выбрать различные методы предоставления данных.
PRIORITY = (BUY - SELL) с накопительным эффектом внутри дня.
RATIO= (BUY / SELL) с накопительным эффектом внутри дня.
DELTA= (BUY - SELL) на каждой свече.
VOLUME= (BUY + SELL) на каждой свече.
CUMULATIVE= (BUY - SELL) с накопительным за всю доступную историю на графике.
world stage indexThis is an indicator that expresses the ratio of "stage1" and "stage4" of world index.
40 symbols are as follows
(JAPAN, US, EUROPE, and CANADA)
OSE:NK2251!, DJ:DJI, NASDAQ:IXIC, SP:SPX, XETR:DAX, TVC:CAC40, TVC:UKX, TSX:TSX
(ASIA)
TVC:SHCOMP, SZSE:399001, TVC:HSI, TWSE:TAIEX, BSE:SENSEX, OANDA:SG30SGD, INDEX:KSI, SET:SET
(EUROPE)
INDEX:SX5E, INDEX:FTSEMIB, SIX:SMI, BME:IBC, EURONEXT:BEL20, TVC:AEX, OMXCOP:OMXC25, XETR:0Q5X
(Pacific Ocean)
ASX:XJO, TVC:NZ50G, IDX:COMPOSITE, FTSEMYX:FBMKLCI, BMFBOVESPA:IBOV, BMV:ME, BVL:SPBLPGPT, BYMA:IMV
(Eastern Europe & Middle East)
MOEX:IMOEX, GPW:WIG20, OMXHEX:OMXH25, OMXSTO:OMXS30, DFM:DFMGI, TADAWUL:TASI, OSE:GNRI, EGX:EGX30
The criteria are as follows:
EMA5≧EMA20≧EMA40 : Stage1
EMA5≦EMA20≦EMA40 : Stage4
A.The sum of Stage1 was multiplied by 2.5 and drawn on a scale of 0 to 100, with yellow area
B.The Sum of Stage4 was multiplied by 2.5 and drawn on a scale of 0 to 100, with blue area.
C. The ratio of A/B was multiplied by 2.5 and drawn on a scale of 0 to 100, with red lines.
This idea is from Kojirou Kousi.
40 symbols of this script are partially different from Kojiro kousi's idea.
But he said the difference isn't matter.
「小次郎講師指数」に着想を得た、世界40カ国の株価指数stage状態です。
参考文献は、小次郎講師著書「世界一わかりやすい投資の勝ち方」です。
小次郎講師とは一部異なるシンボルを採用していますが、
多少の違いは余り大した問題では無いと御本人から教わった事があります。
先進国に関してはおそらくほとんど同じだと思います。
stage1の合計の%を黄色、stage4の合計の%を青色、stage1の合計/stage4の合計の%を赤で表示しています。
雰囲気で分かればいいので、正確な数字までは表示しませんでした。
個人的には現状分析以外にも、プラクティス時に世界情勢を把握するのに重宝しています。
Robocan DeluxeThis script is equipped with
🔵 Robo 4
It offers strategic trading entry and exit points, so you can preserve capital before markets tumble, and take full advantage as they start to rebound. At a glance, market timing indicators tell investors whether market conditions are right or whether it’s safer on the sideline.
Truly unique tool for technical analysis for the financial market as it includes calculation of specific metrics like SAR + MACD + Price Movement.
You no longer have to worry about spending hours in front of the computer looking for a trade.You can use the indicator on every assets available on your broker.
🔵 Change Candle Color
You can change the colors depending on buy 4 and sell 4 signals. It helps traders a lot to see the direction clearly.
🔵 BB Signals
This strategy uses the MACD indicator together with the Bollinger Bands to sell when the price is above the upper Bollinger Band (and to buy when this value is below the lower band). This simple strategy only triggers when both the MACD and the Bollinger Band indicators are at the same time in a overbought or oversold condition.
Removed Upper & Lower bands & SMA20 from the charts.
To see bands, You can activate the Bollinger Bands on EngineeringRobo - not the Deluxe version.
If you are buying it with BB BUY, No need to wait for BB Sell to sell it. Vice versa.
They are not the opposite to each other. Get your profit at your target level and move on.
🔵 Ultimate MA crossover signals :
As a general guideline,the idea behind trading crossovers is that a short-term moving average above a long-term moving average is an indicator of upward momentum in a stock & crypto , and the opposite is true about a short-term average trading below a long-term average.
For this guideline to be of use, the moving average should have provided insights into trends and trend changes in the past.
Are the settings of SMA 50 & SMA 200 really the best for Golden Cross and Death Cross?
Have you ever tested ROI for MA cross strategies?
Do you think MA 20 and MA 50 are the best pair for traders?
Do you know that Exponential Moving Average ( EMA ) beats the Simple Moving Average ( SMA ) ?
In order to answer these questions we applied some brute mathematical force and tested 1830 different MA combination to find out the best pair through 50 years of data across stock / forex and 5 years of data across crypto markets . We have done the hard work and you get the benefits .
P.S. The oldest date is 1872 on SPCFD:SPX chart on tradingview . Almost 150 years of backtesting is possible from 1872 to 2020!;
🔵 Cloud Signals :
This is a strategy made from ichimoku cloud , together with MACD . Changed Ichimoku cloud formula. Based on that we have a long or a short entry.
it is an effective strategy when paired with a trailing stop loss. Removed standard line ( Kijun Sen ), turning line ( Tenkan Sen ), lagging line ( Chikou Span ) and senkou lines, added buy & sell signals. Traders can use EngineeringRobo's cloud to see the clouds on the chart.
This method doesn't work in sideways markets, only in volatile trending markets.
🔵 EMA TrendLines & Custom Moving Average
Moving averages help traders isolate the trend in a security or market, or the lack of one, and can also signal when a trend may be reversing. Two of the most common types are simple and exponential. We will look at the differences between these two moving averages, helping traders determine which one to use. Simple moving averages and the more complex exponential moving averages help visualize the trend by smoothing out price movements.
Each trader must decide which MA is better for his or her particular strategy. Many shorter-term traders use EMAs because they want to be alerted as soon as the price is moving the other way. Longer-term traders tend to rely on SMAs since these investors aren't rushing to act and prefer to be less actively engaged in their trades.
🟠50 And 200 Day Moving Average Rules
Trend reversal (downtrend to uptrend) - MA 50 crossover MA 200 from below.
Trend reversal (uptrend to downtrend) - MA 50 crossover MA 200 from above.
Weekly open –close above MA 20 ( bullish trend )
Weekly open –close below MA 50 ( Bearish trend )
Super Bullish : The candle is above MA 20 ( Daily )
Bullish : MA 50 Above MA 100 ( Daily )
Bearish : MA 50 below MA 100 ( Daily )
🔵 Fear & Greed Index
This strategy uses two unique EMA indicators in the formula.
1. Use the indicator to identify when investors are greedy.
2. Use the indicator to identify potential bottom levels
For best testing example:
This strategy finds the TOP AREA OF THE BULL MARKET AND THE BOTTOM AREA OF THE BEAR MARKET.
1. Use the indicator to identify when investors are greedy
2. Use the indicator to identify potential bottom levels
For a case study:
Open BLX Chart, pick 1D time frame, open only FEAR & Greed Index
🟢Exiting Green Area: Beginning of Bull Market🟢
🔴Exiting Red Area: Beginning of Bear Market🔴
Price crosses above red line= Entering overbought zone
Price crosses below red line= Exiting overbought zone
Price crosses below green line= Entering oversold zone
Price crosses above green line = Exiting oversold zone
BEST TIME TO SELL: When the candle is inside & exiting the Red Area
BEST TIME TO BUY: When the candle is in the Green Area
🔵 Automated Fibonacci Retracements
Automatic Fibonacci let you replace subjective manual analysis with objective automated analysis so you always get the best Fibonacci levels, this can really improve the quality of your trading decisions.
Fibonacci retracements are often used to identify the end of a correction or a counter-trend bounce. Corrections and counter-trend bounces often retrace a portion of the prior move. While short 23.6% retracements do occur, the 38.2-61.8% zone covers the most possibilities (with 50% in the middle). This zone may seem big, but it is just a reversal alert zone. One of the best ways to use the Fibonacci retracement tool is to spot potential support and resistance levels and see if they line up with Fibonacci retracement levels.
Even though Fibonacci levels are extremely popular among technical traders, one should not rely solely on Fibonacci retracement and extension levels in trading. Fibonacci tools return the best results when combined with other technical tools, such as trendlines , chart patterns, candlestick patterns, channels or technical indicators.
If you are following any Deluxe signals, you should always wait for the candle close before buying or selling.
The signal can come and go anytime during the live candle. ALL indicators do that, that is not considered repainting.
Repainting is when a signal appears, the candle is closed, and when you refresh the chart it disappeared. It is logical that until the candle is closed the signal is not decided yet, hence the alert setup as Once per bar Close.
Deluxe never repaints! Yes, you heard it right: you will never have to worry about signal changing after the candle is closed.
*** Added alarm system alerts for all signals.
________________________________________________________________________ Timeframes _____________________________________________________________________
Our recommendations to get the best results:
Swing Trading Crypto : Use 1D Time Frame Candles
Swing Trading Stocks : Use 1W Time Frame Candles
Swing Trading Commodities : Use 1W Time Frame Candles
Day Trading Crypto : Use 3H Time Frame Candles
Day Trading Stocks : Use 1D Time Frame Candles
Day Trading Commodities : Use 1D Time Frame Candles
Not recommended any other time frames.
What Is Risk-Reward Ratio RRR?
Your risk-reward ratio is how much you risk per trade, relative to how much you expect to make (reward).
When trading with Robo , you should always aim for a bigger reward compared to your risk per trade.
A good rule is only to risk 1% per trade for day traders and 5% per trade for swing trader . Robo follows strong risk management rules on the algorithm .
One of the biggest advantages of algo trading is removing human emotion from the financial markets,humans trading are susceptible to emotions that lead to irrational decisions. Robo doesn't have to think or feel good to make a trade. If conditions are met, it enters. When the trade goes the wrong way or hits a profit target, It exits. It doesn't get angry at the market or feel invincible after making a few good trades.
It gives you all the tools and information you need for day-to-day trading and investing, while also keeping a great buy and sell signals! No excuse to lose in any financial market anymore! Try now!
How can you add the algorithm into your chart?
1. Login to TradingView.com
2. From the homepage, click on ‘Chart’ in the top navigation bar
3. Select “Indicators” on the top-center-middle panel
4. In the indicator library, type "Robocan Deluxe "
5. Use the website link below to obtain access to this indicator
Improved Bollinger Swing Strategy Stock NasdaqThis is an improved bollinger band strategy adapted to Nasdaq Index/Stocks.
The new update include a multiple logic calculation BB adapted for long and short, together with a risk management using movement in %.
Rules for entry
For long we have a crossover between the close and the lower band from the bb
For long we have a crossover between the close and the upper band from the bb
Rules for exit
We exit when we either find a reverse condition, or if we hit the take profit/stop loss levels.
If you have any questions, let me know !
Stock trending strategy This is a long only strategy designed maily for stock markets and futures. In general it works best with 1h, however it can be optimized with other timeframes as well.
Components:
VWAP
MACD histogram
EMA 9
Rules for entry
Long :
For VWAP: close is above the vwap daily
EMA: close is above the moving average
MACD histogram is above 0
Short:
For VWAP: close is belowthe vwap daily
EMA: close is below the moving average
MACD histogram is below 0
Rules for exit
This strategy does not have any risk management inside. Instead it exits whenver it receives an opposite signal form the original one used for entry.
If you have any questions let me know !
Ichimoku with MACD/ CMF/ TSIThis is a very powerful trend strategy designed for markets such as stocks market , stock index and crypto.
For time frames I found out that 1h seems to do the trick.
Components:
Ichimoku full pack
MACD histogram
CMF oscillator
TSI oscillator
Rules for entry
Long :
For Ichimoku:Tenkan part of cloud is bigger than kijun, Chikou is above 0 , close of a candle is above the Senkou
MACD histogram is above 0
CMF oscillator is positive and bigger than 0.1
TSI oscillator is above 0
Short:
For Ichimoku:Tenkan part of cloud is smaller than kijun, Chikou is below 0 , close of a candle is belowthe Senkou
MACD histogram is below 0
CMF oscillator is negative and below -0.1
TSI oscillator is below 0
Rules for exit
This strategy does not have any risk management inside. Instead it exits whenver it receives an opposite signal form the original one used for entry.
If you have any questions let me know !
SMART4TRADER-INDEX PATTERN BREAKOUT MULTIThis indicator is designed to analyze the breakdown of previous values of the candles, not only on the selected tool, but also on others. The indicator is well used on the indices of the stock market. In the default indicator, recommended indexes are configured.
The indicator summarizes the results of the analysis of all tools and shows in the form of columns that are above and \ or below the zero line. Additionally, the indicator has two horizontal lines above zero (green) and two horizontal lines below zero (red). The breakdown of these nearest to zero lines signals the possible beginning of the move towards which the column is directed. If the column reached the left line, this means that a very strong trend is noticeable on all the tools selected in the settings.
Additionally, the indicator has a blue line that shows the average value of the columns both above and below the zero line. And also added Hull Moving Average Period (9).
BUY signal:
HIGH > HIGH(1) и LOW > LOW(1)
SELL signal:
HIGH < HIGH(1) и LOW < LOW(1) и LOW < LOW(2)
--------------------------------------------------------
Этот индикатор предназначен для анализа пробития предыдущих значений свечей, не только на выбранном инструменте, но и на других. Индикатор хорошо использовать на индексах фондового рынка. В индикаторе по умолчанию настроены рекомендуемые индексы для анализа.
Индикатор суммирует результаты анализа всех инструментов и показывает в виде столбиков, которые находиться выше и\или ниже нулевой линии. Дополнительно на индикаторе есть две горизонтальные линии выше нуля (зеленый) и две горизонтальные линии ниже нуля (красный). Пробитие этих ближайших к нулю линий сигнализирует о возможном начале движения в сторону, в которую направлен столбик. Если столбик достиг крайней линии, то это значит, что очень сильный тренд заметен на всех инструментах выбранных в настройках.
Дополнительно в индикаторе есть синяя линия, которая показывает среднее значение столбиков как выше, так и ниже нулевой линии. А также добавлена HULL MOVING AVERAGE период (9).
Сигнал на покупку:
HIGH > HIGH(1) и LOW > LOW(1)
Сигнал на продажу:
HIGH < HIGH(1) и LOW < LOW(1) и LOW < LOW(2)
REVERSALS
The systems basically play reversals, it enters when the close is lower than its low of 5 bars ago to enter
It exits when the price is higher than the high of 5 days ago
Uses a 200 MA as a market filter, does not trade when the price is below its 200 Moving average
Uses a 5% stop, as per the red Stop Loss Line -- can be adjusted
The amount of bars it uses to look for reversals is set to 5 by default, but can be adjusted in settings.
Best to use on directional instruments where you know that the long term direction is up, for example:
TQQQ, SSO, SPX, SPY, or sector tickers -- but it would be best to include some more advanced filtering for sectors
LargestMarketCapsThis trading system uses a MA to check if the LARGEST CAP stocks are above or below the MA.
You can see from the indicator below how well it manages to capture big moves.
It aggregates the data of all the tickers to create the histogram indicator at the bottom of the chart called MarketLeaders.
If a ticker is above its moving average, then the output will increase by +1 and -1 if a ticker is below its moving average.
This is a powerful system because it uses not only data from one stock but from the stocks that really affect the market big time. If those stocks don't do well, the market won't do well either.
Basically if all the market leaders are doing well, then this system will buy those 20 tickers and keep positions open until the MarketLeaders indicator crosses below 0 -- meaning red.
It also has a red stop loss line, with a wide 15% stop loss to keep us in the trades for the long term.
I've used a 5-day chart because I wanted fewer signals, but higher quality signals.
There are no profit targets, this exits when the indicator turns red -- meaning below 0 or if a position falls 15% in price.
The MA setting is adjustable, the default is 20
These are the tickers that the strategy and indicator currently looks at
The tickers will need to be updated every 6-12 months to remove and ad those who have dropped out of the largest 20 stocks.
It would be a good idea to create a watchlist and alerts for the Large Cap tickers so you can scroll through to see how the system performed on each ticker
"SPX"
"QQQ"
"AAPL"
"MSFT"
"GOOG"
"FB"
"BRK.A"
"TSLA"
"V"
"JPM"
"WMT"
"UNH"
"MA"
"KO"
"PYPL"
"PG"
"HD"
"DIS"
"BAC"
"ADBE"
"CMCSA"
"NKE"
RELATED IDEAS / Indicators
Market Leaders Ribbon
Market Leaders Large Performance Table
Financial Astrology Indexes ML Daily TrendDaily trend indicator based on financial astrology cycles detected with advanced machine learning techniques for some of the most important market indexes: DJI, UK100, SPX, IBC, IXIC, NI225, BANKNIFTY, NIFTY and GLD fund (not index) for Gold predictions. The daily price trend is forecasted through planets cycles (angular aspects, speed phases, declination zone), fast cycles are based on Moon, Mercury, Venus and Sun and Mid term cycles are based on Mars, Vesta and Ceres . The combination of all this cycles produce a daily price trend prediction that is encoded into a PineScript array using binary format "0 or 1" that represent sell and buy signals respectively. The indicator provides signals since 2021-01-01 to 2022-12-31, the past months signals purpose is to support backtesting of the indicator combined with other technical indicator entries like MAs, RSI or Stochastic . For future predictions besides 2022 a machine learning models re-train phase will be required.
When the signal moving average is increasing from 0 to 1 indicates an increase of buy force, when is decreasing from 1 to 0 indicates an increase in sell force, finally, when is sideways around the 0.4-0.6 area predicts a period of buy/sell forces equilibrium, traders indecision which result in a price congestion within a narrow price range.
We also have published same indicator for Crypto-Currencies research portfolio:
DISCLAIMER: This indicator is experimental and don’t provide financial or investment advice, the main purpose is to demonstrate the predictive power of financial astrology. Any allocation of funds following the documented machine learning model prediction is a high-risk endeavour and it’s the users responsibility to practice healthy risk management according to your situation.
FCMS - Time in x Timing - The Market - StudyTime in x Timing - The Market
█ DISCLAIMER
THIS IS NOT AN INVESTMENT ADVICE
The use of strategy functions doesn't compile recurring investments/contributions as used in this study, so disregard the results of the strategy tester.
As seen in the style/plots lists, I calculate the results in internal variables to analyze historical results.
prnt.sc
Anyway, this is only a historical study and past performance is no guarantee of future results
█ CONCEPTS
There is a discussion about Timing x Time in the market.
The point of this discussion is between buying in the better moment, against exposing yourself to the market as soon as possible.
Anyone who argues that the most important factor is the time exposed to the asset, no matter when, is usually based on the SP500 asset.
As shown in the image above, a hypothetical investor who made a single investment of US $ 1500.00 in December 1999, was trapped by a volatility of approximately 10% in the period, followed by a loss of around 50% in the following years. In December 2012, this investment was finally positive, and after 20 years it accumulated a gain of 180% - without reducing inflation in the period.
█ Timing the news
When an asset reaches a new historic high, the idea of "time in the market is the best strategy" gains momentum, after all, at this "moment" everyone previously exposed to the asset is making a profit, regardless of inflation or any benchmark.
█ Time in the market
Considering using this strategy, we can define 3 points for a brief analysis:
1. Asset
SPX is used as a reference for this type of statement due to the difficulty of finding another one with such consistency, liquidity, ease of access and time of history.
2. Long Term
We cannot consider it a long term strategy, as it never has a predetermined term
3. Recurring contributions.
To generate an average cost spread over periods of high and low, opening the possibility to realize positions with profit in eventual needs.
As shown in the image below, if this hypothetical investor made monthly contributions since the date of the first contributions, he would have the possibility of making profits between the period from October 2004 to September 2008, returning to the loss until October 2010, and then with a profit of 100% over the total amount invested.
Below, an example of an asset in a downtrend with the final balance returning below the total volume invested.
█ First Conclusion
> Recurring contributions (3) to an asset (1) during a downtrend will increase the loss for an indefinite period (2).
> Recurring contributions (3) to an asset (1) during an uptrend are more important than immediate exposure to the asset, regardless of the term (2).
> Recurring contributions (3) in an asset (1) in a region of possible long-term top (2), will negatively affect profitability even considering the resumption of the upward trend in an indefinite period.
█ Timing the market
As shown in the image below, following the strategy above: a single contribution in the amount of US$ 1000.00 at the worst moment (Dec / 2017), the hypothetical investor would have hold a loss of over 80%. At the moment it accumulates 89% of profit, having reached the maximum of 200% at the beginning of the year.
By making monthly contributions since the date of the first contribution, this investor would have the possibility to make profits from May 2019, accumulating 335% profit at the moment.
Adding the condition of buying the maximum cost of 10% above the average price of the last 200 days, the final result is little affected, and reduces losses in the initial investment period.
Adding the condition of taking profit of 50% of the position when the price is above the average of the last 200 days, and reinvesting 50% of the cash obtained in the next purchase opportunity (paying a maximum of 10% above the average of the last 200 days), the profit cumulative final price drops to 270%, but the realized profit already exceeds the total amount invested, which eliminates future risk of the operation. (favorable risk-return ratio)
Adding the condition to reinvest 50% of the cash flow, with the condition to buy when the price is below 20% away from the average of the last 200 days, the final result would be more than 400% of retained earnings, and realized profit in cash greater than the total amount invested.
█ Other Assets
It's possible to analyze other assets, including dividend yield and earnings for the equity formula. This way we can analyse assets more fairly.
ITSA4
BOVA11
█ Final Conclusion
> Exposing yourself early to a good opportunity may be good, but the risk of doing so at the wrong time could delay your projects indefinitely.
> Investment recurrence is the main driver for your future results.
> Setting a maximum value for making entries reduces short-term fluctuation but, in the long run, the effect is almost imperceptible.
> The realization of profits at favorable times considerably reduces the risk and volatility of the balance, in addition to providing cash for better opportunities in the short and medium term.
> Taking advantage of part of this cash flow for purchases in moments of opportunity, enhances future earnings.
Even an extremely simple strategy like the one used in the examples above, offers a better risk return for the investor compared to the immediate exposure to an asset.
Thus arises the desire to study more sophisticated strategies, as we will see in the future
█ Challenges
Time in the market
- Find good assets (1) to make recurring contributions (3) for an indeterminate period (2).
Timing the market
- Reading the markets to position yourself in favor of the more probable trends at certain times with predetermined terms.
Moving Average Color StrategyHello,
Strategy based on scrips "Moving Average Color Direction Detection" from Dreadblitz published on Aug 9, 2019.
You can chose MA type, length and reaction setting to adjust to time frame/ticker. Always seemed like RSI is ahead of actual price action
and just messing around with MA on the RSI .
Couple I found:
SPXS / SPXL 20M timeframe, MA 32 Reaction 2 (HullMA) 50% of equity so you dont lose everything :)
UVXY / SVXY 20M MA 32 Reaction 6 (HullMA) 50% of equity so you dont lose everything :)
APPLY to RSI , or any indicator really and play with Adjustments.
Momentum StrategyThis strategy uses momentum to determine when to enter and exit positions. The default settings are set to look for a new 63 day high (~1 trading quarter) and a new 40 day relative high. If the stock is trending above the 50 day moving average it is a candidate to be bought. Stops are triggered when price closes below the 20 day or 50 day EMAs depending on how well the stock is trending. A stop could also be triggered even if price continues to move up, but is breaking down on a relative basis to a benchmark either SPX or BTCUSD . The goal is to hold on to our winners for as long as possible and cut the losers as soon as possible. This will alow us to capture the majority of major trends while avoiding many large drawdown and relative losers.
(JS) BallistaAlright so this is a script I made by combining two existing ones and making a really cool discovery that has proven very useful.
You'll notice that there are two separate oscillators that are laid on top of each other. The background oscillator is my "Tip-and-Dip" oscillator which you can see here (will refer to this as TnD from here), and the foreground oscillator from the Squeeze , which can be viewed here .
Initially I just wanted to see how they interacted with one another and compare them, but this led to some pretty interesting observations.
First let me go through the options real quick to get that out of the way, though it is mostly self-explanatory.
Lookback Period defines the amount of bars used for the TnD oscillator.
Smoothing Value smooths out the TnD output.
Standard Deviations is used to calculate the TnD formula.
Color Scheme is preset BG colors.
Using Dark Mode changes colors based on dark mode or not.
Squeeze Momentum On turns the Squeeze in the foreground off and on.
Arrows Off turns the arrows on the indicator off and on.
Now to explain the indicator a bit more. I have the default lookback period as 40 due to the Squeeze being 20, which makes the TnD oscillator the "slow" output with the Squeeze being the "fast" output.
Some initial observations were that when both the Squeeze and the TnD are moving in the direction, when the Squeeze is higher (uptrend) or lower (downtrend) it seems to indicate strength in the move. As the move loses steam you'll notice the Squeeze diverge from the TnD.
However, the most useful thing I discovered about the interaction between these two indicators is where the name for it came from. So if you aren't familiar with what a Ballista is, per Wikipedia, "The ballista... sometimes called bolt thrower, was an ancient missile weapon that launched either bolts or stones at a distant target." There are instances where the Squeeze seems to get ahead of itself and gets too far away from the TnD (which is the long term trend between the two). The key thing to look for is an "inverted squeeze" - this is when the squeeze oscillator ends up flipping against the TnD. When this occurs there is an extremely high probability that you'll see price shoot back the opposite way of the Squeeze.
I've been using this setup myself for about a year now and have been very satisfied with the results thusfar. I circled some examples on the SPX daily chart here to show you what I mean with the inverted Squeeze shooting back.
The Box Percent StratHi guys,
Version Zero (more work needed) of an idea I've been meaning to out into a strategy for a while. 🤯
This uses percent boxes🤔 instead of traditional indicators like RSI, MACD etc. 🤫
Takes the first close price of the series and creates a Top Band 10% up, buys if price reaches that level, and puts a stop on a Bot Band, 10% down
When the first trade is in profit by another 10%, it enters another trade and moves the stop of the first trade to breakeven ~ this way it only has one unit of risk at a time
/// Designed for LONG only on Daily, 2D or 3D Charts👌🏻
/// Uses fixed investment risk amount, meaning you're willing to lose that amount per trade
/// Limit buy to not overpay on entries
/// Idea Based on the Darvas system:
/// System only enters trades on strength, when prices equals of exceeds the green line
/// It ads onto the trades, but only *IF* the previous trade is in profit by the UpBoxSize percent size
/// The trailing stop loss is moved up, with the red line
/// A key idea is to only take one unit of risk at a time, meaning for a new add on trade to be taken, the previous trade should be in profit by the same box size as the new new trade's stop loss
/// This will keep adding trades again and again, and they will stop out at the same stop loss
/// Yellow Circles is an MA that filters out choppy areas -- this system only does really well on trending linear markets like: TQQQ, SSO, SPX, SPY
/// Base setting is 10% UpBox Size and 10% DnBox Size: 15% & 15% will be more accurate but fewer signals. 13% profit and 10% stop loss will give a higher risk to reward ratio