Mega Trend Plus - S&P 500 Trend Follower / Market GaugeFirstly, 100% of the credit goes to Greg Morris @ Stockcharts.com for the article detailing the concept and most of the settings/components. I've simply implemented his idea. I haven't sought permission from him, but given that he was open with the components of the indicator I'm assuming he's happy for me to go ahead and code this in pinescript. See the article here: stockcharts.com
Okay, so this is part of a system/indicator Greg outlined in the article that he calls Trend Gauge. The idea is fairly simple: take a group of indexes that cover the breadth of the market you want to trade, track their relationship/position to their 200 period Exponential Moving Average (EMA), and assign scores to bull/bear crosses + relative location to the EMA. Once you've normalized and aggregated the scores you finish up with a trend following indicator that works surprisingly well.
This part is called Mega Trend Plus, and tracks whether an index is above or below its 200 period EMA. I'll be releasing the second part ("Trend Strength") soon. Once that's done I'll combine them to form the full "Trend Gauge" indicator.
I decided to provide the base version that people can then experiment with and tweak to their liking, so Greg's version shown in the article is smoother than the one provided here. It's up to you to play with smoothing options, and potentially tweak the weightings of the various components. Please see the script for info on what the various inputs are - I've added notes there.
So, how does it do? Well, as you can see from the chart above it works pretty well overall. The S&P 500 has been fairly trendy over the last few decades, so it's been prime territory for a system like this. It would have kept you out of the big bear markets (particularly GFC & 2015-16), and that's the goal of any trend-based system. They thrive on how little they lose, not necessarily on how much they make.
As you can see, the indicator is pretty choppy. So it's not designed (in the current configuration) to provide accurate buy/hold/sell signals. It currently functions more as a market gauge / strength indicator.
Hopefully you find this concept interesting. It's simple, but the best systems often are.
Please add comments below if you come up with an interesting configuration or variation.
Let me know if you have any queries.
DD
Акции
Stocks and RSI (IFR e Estocagem)A simple script that promotes a good visualization of the oscillators.
It shows a graph with two plots, one of relative strength index and one of stock, painting the red line when overbought and green when oversold.
Um script simples mas que promove uma boa visualização dos osciladores.
Mostra um gráfico com duas plotagens, uma do índice de força relativa e outra de estocagem, pintando a linha de vermelho quando está sobrecomprado e de verde quando sobrevendido.
U.S. Stocks & Options CVI to Bitcoin Correlation [NeoButane]Conceptual indicator based on trying to find an inverse correlation between bitcoin and traditional markets due to bitcoin's usefulness as a hedge against economic downturns.
How to use this script: you look at it and see if there is a correlation or not between bitcoin/Ethereum price and either U.S. stock CVi, buy volume, sell volume, calls, puts, or the call/put ratio.
U.S. Stocks CVD to Bitcoin Price Correlation [NeoButane]An experimental script to see if there are any actionable signals when comparing bitcoin/ethereum/index prices to the U.S. stock and options market.
So far I haven't found a reliable signal, but the tickers are in the script if you'd like to see if there is anything useful.
Three Bars Down and Inside Bar v2Updated Version of my Script. Script includes a Filter for stocks that are down three days in a row. Also it checks for oversold rsi and inside bars. Works best daily with stocks.
3Down and IB DAScript provides Multiple MAs and checks for 3 Bars down in a row. On top it displays inside Bars. Works best on a daily timeframe with stocks.
1337 VolumeThis volume indicator gives you a unique perspective and ability to analyze volume in any market. The upper line that is always >=0 represents average up volume over a user definable period while the lower line that is always <= 0 represents the average down volume over a user definable period.
green == bullish candle but volume lower than average
lime == bullish candle with above average volume
crimson == bearish candle with below average volume
red == bearish candle with above average volume
This indicator is very useful for spotting bottoms / tops (do a visual backtest and observe its behavior) as well as entry opportunities.
By default, the lookback period for average volume is 7, but I encourage you to change this value in order to find settings that work best for your particular market.
If you have any feedback or ideas for improvement, please comment.
Enjoy :D
Tops/BottomsUsing Modified code from Lazybear's CVI 0.17% indicator and some logic, this script can help identify value buy and sell opportunities at a very early phase. Best used as a confirmation tool. This is a beta, so use it as such. Enjoy.
Sometimes "top" indications in an uptrend mean to look for an opportunity to add to position while "bottom" indications during a downtrend can represent the same thing. The trend is your friend, use it to your advantage!
Red star above bar == potential top
Green star below bar == potential bottom
ENGULFING CANDLESTICK STRATEGY(i) Arrow represent trade setup
(ii) Circle represent triggering of the trade
--------------------------------------------------------------------
1. Where to place stop loss?
2. Where to exit the trade?
3. How to protect gains in your trade?
4. How to apply money management rule?
5. How to trade gap opening?
PULLBACK CANDLESTICK STRATEGY BY SIMPLE TRADING TECHNIQUESArrow represent trade setup
Circle represent triggering of the trade
--------------------------------------------------------------------
1. Where to place stop loss?
2. Where to exit the trade?
3. How to protect gains in your trade?
4. How to apply money management rule?
5. How to trade gap opening?
UCS_TTM - Reversion BandsOk, Here we go - Version 1 of TTM Reversion Band goes live.
Link to TTM Reversion Band - www.tradethemarkets.com
Link to TTM Reversion Band Guide - kb.simplertrading.com
John Carters Mastering the trade - www.amazon.com
For the amount of information this has, the price tag is not hefty.
John's RTM Chapter Synopsis - www.tradethemarkets.com
What did I modify?
1. Automated the Daily + and Intraday settings. So Switching to intraday will change the setting automatically.
2. Added text callouts for RTM condition
a. John Carter's Indicator
b. Slope Based (my addition).
Future Improvement Planned.
1. Will Convert this into a system based on John's Indicator from TS.
2. Custom Options for Slope and MA setting for Trade filter.
Weight of Evidence BF**For Stocks (requires volume data) **
The premise of this indicator is that the wisdom of many is greater than one. The idea is you can throw out most of your indicators and simply adopt the Weight of the Evidence instead.
Eight indicators and five periods combine to give forty separate readings on a stock. These are all checked against a threshold to give a pass or fail score. The total is taken and a score is given out of 100 in increments of 2.5.
Four indicators are momentum-based: EMA, RSI, PercentRank, Lower Donchian Channel
Three are price-volume based:On Balance Volume, Price Volume Trend, Accumulation/Distribution
One is volatility-based: (Simplified) Volatility Stop
I have tried to make things simple with the entered periods being applied to all indicators. For some like on balance volume its actually a look back period for comparison of values. For the volatility stop I use the 3rd period for lookback and combine with 1 to 5 times ATR.
As this is a stepped function which can react rapidly it makes sense to smooth it with something like a 3-bar EMA, which is included by default.
Play around with the periods and different bar lengths to find something you like. I actually chose the default values with daily bars in mind but it seems to work well on weeklies! If you have other preferred indicators you could edit this script and substitute your own, although it is easiest to stick with the built-in functions as I have done.
Let me know how you get on with this and good trading to all!
CM_DayOfWeek All Instruments V2Updated Code That Highlights Bars Based On Days Of The Week.
Works On Daily and Intra-Day Bars.
Works on All Instruments. Stocks, Forex, Futures, Bitcoin.
Shows Correct Trading Sessions!!!
Ability to Turn On/Off Each Day Of The Week via Inputs Panel.