Repulsion Moving Average - Least Crosses MAA Moving Average With Less Whipsaws Signals
The cross of the price with a moving average is one of the easiest strategy in technical analysis and could have worked if market price wasn't so noisy (In general periods of 1 to 20 produces the most whipsaws) . So it is possible to create a moving average who can manage to escape those noisy periods and produce 0 whipsaws ?
This question was asked by one of my work colleagues and i responded : "well... almost 0".
The Motion Of A Moving Average
Moving Average estimate the Trend and will always have phase shift, they will still follow the price and cross it during high volatility or low volatility periods, and when a moving average cross the price during a low volatility period you can expect lot of crosses.
In order to fix this behaviour a simple calculation exist :
FixMa = LongPeriodMA + MediumPeriodMA - ShortPeriodMA
We can see things in that way, the medium term MA is high pass filtered (subtracted) with a short term MA and the result is summed to a long term MA. We give more reactivity to our long term MA and thus creating some kind of repulsion motion with the price. Of course this can sometimes make the filter kinda zero-lag to some price periods (when the long term MA is near the price) .
Comparison
In red a simple moving average of period 100 and in blue our repulsion moving average :
In the image the short term moving average period is 100, since the long term period of the moving average is equal to short term x 3 you could be interested to look at the comparison of our moving average with the actual long term moving average :
Less crosses, i think you can see it.
Something to notice is that its always a tradeoff between Signal Speed and Signal Numbers , a classic moving average create faster signals but also a high numbers of them, a classic trailing stop create less signals but slowest ones, our moving average is some kind of average between those indicators.
Improvement Methods - Choice of The Filter/More Terms
A bad behaviour of our filter can be fixed by using filters who tend to create less crosses with the price or by developing the formula of our filter by adding more terms as follow :
fixma = ma(Price,a) + ma(Price,b) + ma(Price,c) - ma(Price,d) - ma(Price,e)
where a > b > c > d > e . The number of subtractive terms is equal to the number of summing terms - 1.
Way To Use
This indicator can be used like any moving average with cross strategy. Can also be used as a trailing stop.
No tests have been made proving that this indicator provide support and resistance levels, such signals come from more centered indicators.
Hope you enjoy
For any questions/demands feel free to pm me, i would be happy to help you :)
Crossover
MA Crossover TypeDraws the up and down crossovers of a specified MA Type.
# Inputs
- MA Type: "sma", "ema", "swma", "vwma", "wma"
- Length >=1
- Source
- Offset >= 0
- Show cross Up?
- Show cross Down?
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
2 Moving Average Cross SignalsThis indicator is meant to aid those who use Moving Average crosses as part of their trading strategy. This can be used to help identify turning points in trends.
You can customize what timeframe the MAs are derived from (e.g. can use current timeframe, or can hold it to 1d timeframe across all other timeframes)
When the fast and slow MAs cross each other, the background of the candle where the cross happened will be highlighted green or red (changeable), this will help visualize where the crosses are happening, regardless of whether or not you actually want the moving average lines printed on the charts. This could help keep the chart less cluttered.
Finally, you can choose between SMAs, EMAs, WMAs, and Linear MAs.
Enjoy
EMA 55 CrossoverBasically what this does is to flag when EMA 55 crosses over EMA 8, 13, 21, and 200. This strategy was described by @Philakone on this tweet , but I'm not really sure if this is the correct strategy he described.
Klinger Volume OscillatorThis indicator was originally developed by Stephen J. Klinger (Stocks & Commodities, V.15:12 (December, 1997): "Identifying Trends with Volume Analysis").
NOTE : this is the only correct version of Klinger Volume Oscillator in the public library.
Like and follow for more open source indicators!
Happy Trading!
EMA TEMA crossoverHello,
as usual recently the chart is bugged if I dare post a log one so I deleted and reposted...
here is a simple ema/team script that could allow you to catch trends.
You can play with parameters to get alerted of strong trends, or to detect trends early on.
I want to adapt this to an inside bar strategy, I am going to release that in a while, it is not my priority thought I am a countertrend trader, so I cannot say why, but what I have seen is inside bar breaks in very strong trends work very well.
There is a condition for this inidcator to work: you have to use it on a Heikin Ashi chart (the candle type, selectable in the area right of the timeframe).
Works sometimes. I advice backtesting any strategy before using. Idk maybe this could work decently, seems to have given big winners on bch recently. That huge one from 600 to 1800 lol. *3
* No one should pay for things this simple by the way...
Hermes Scalping Study by ZekisA simple scalping indicator, based on Highs and Lows.
It's working in any timeframe, the only condition is ... volatility .
Values are already set, but you can change them according to your preferences and to your chart.
Alerts are enabled.
Enjoy!
@ Zekis
Moving Average Shaded Fill Area Crossover EMA Color - EditableMoving Average Shaded Fill Area Crossover EMA Color with option to change EMA value
Volume + Ema CrossoverIf Volume crossover its ema, we can consider it as a volume pump.
It may be useful for combining with other indicators.
EMA21/55 Crossover AlertThis will alert on EMA crossovers. Alert for 21 crossover and crossunder. Work in progress.
Simple TrenderOriginates from:
I was reading some Impulse Trading literature by A. Elder.. In it, someone named Kerry Lovvorn proposed "An End of Day Trend Following System" for someone lazy.
Originally it is just price closing above an 8 ema (low) for long. Exit when price closes below an 8 ema (low). The opposite for a short position.
Conditions: Buy when price closed below ema (low) for two bars or more, then closes above. Opposite for a short position. I do not follow this condition. Though it may help with whipsaw.
My condition is when price closes above the 26 ema (low) (works the best for me) I place orders above the initial crossing bars high. Opposite for lows.
I look for stocks that are low in price to go long on. I want the run from 2's to 15's
I look for stocks that are mid-teens/20's in price to go short on. I want the run from 20's to 2's
I look for stock with news and earnings that are already running (up or down) to play the pullback.
These conditions can easily be scanned for on thinkorswim
From first glance, the system looks like CMsling shotsystem. Although, I plagiarized some parts of the codes, because I am inept when it comes to that shit, it differs as it is not a moving average crossover system.
It is a price crossing over concept. A moving average VWAP is used for best entries on pullbacks.
Purpose:
--To catch the majority of a trend/wave/run.
--To identify pullback areas to go long or short while in midst of trend. To catch pullbacks off news and earning runners.
--To catch the initial start of trend with clear rules to enter
--Clear rules to exit
Issues
--possibilities of getting ninja sliced the fuck up. Can be mitigated by entering stocks with decent average volume. And also only going long above 200 ema and short below it. ADX won't work, at the initial start of the trend it will show not trending. Can look at blow off volume at the bottom followed by increase in buying for long and vice versa for short.
--Can give some huge gains away through gap ups or gap downs from news or earnings during trend. However, can get huge gain on gaps from news or earning. Nature of the game.
--Need some brass balls and a supply of pepto to stomach through some of the pullbacks. Gut wrenching seeing big gains dwindle. But they all even out at the end, you hope. (see NBEV and IGC, and CRON and others. shit don't go in straight lines, homie)
Pros
--It's simple and easy. Overall, you profit
--works with any security
Cons
--It can be stressful.
--does not work well on lower time frames. Do not recommend going below 15 minutes
--Possibility of working on 5 minutes with a time frame breakout strategy (15,30 min).
Couple it with LazyBear "Weis Wave Volume" indicator. Works well for pullback entries.
Enjoy. Ride some waves.
MA Cross 10/20This was originally derived from "MA Cross" indicator, though that one uses 9-21.
Simple 10day and 20day MA crossover indicator
* 10MA crosses from the bottom, goes up and above 20MA—we're bullish, look to long bullish signal candle
* 10MA crosses from the top, goes down and below 20MA—we're bearish, look to short bearish signal candle
Works well w/ Heikin Ashi candles
drnk_2emaChoose 2 period for daily ema and 2 period for hourly ema
from 1 minute to 1 hour time frames you will see same hourly EMAs
from 1 minute to 1 day time frames you will see same daily EMAs
Better MACD with clearer cross and histogram signalsSimple but much needed visual improvements to the default MACD script. First, every time the MACD and signal cross, a white cross is placed on he chart, which lets you quickly identify the crosses. Second, whenever the histogram goes from increasing to decreasing or from increasing to decreasing, a color change occurs. Colors can be customized under "Style" tab under settings.
Reap Hull SMA CrossoverHi this is my first script, it is a HMA 144 crossover with SMA 5 changes background (still needs work), provides alerts for crossover