Showing posts with label moving averages. Show all posts
Showing posts with label moving averages. Show all posts

Thursday, 24 August 2017

Standard Deviations, Moving Averages and Reversion to the Mean

For my money, most people make e-mini trading an exercise in futility, bizarre theory, and interpretation of crazy indicators. Had I started trading outside the halls of an institution I suppose I wouldn't know where to start; this business is fraught with as many crazy ideas as crazy indicators. I don't think it has to be that hard. One of the first principles of trading is that prices tend to move from overbought to oversold and oversold to overbought in a manner that rarely strays from a mean price. You can take advantage of this tendency and profit, though few people actually trade Reversion to the Mean effectively.
Back in my college statistics class, we learned that standard deviation is a measurement that is used to objectively quantify the amount of variation in a given dataset. That definition works pretty well for explaining levels of excessive buying (overbought conditions) and excessive levels of selling (oversold conditions) and can give you an insight into when buying levels have exceeded expectations and sellers are likely to enter the market and vice a versa, when selling levels have exceeded expectations and buyers are likely to enter the market. In e-mini trading, I have been tinkering with this idea for nearly 10 years and defining an optimal Simple Moving Average that best represents an acceptable mean price that is uniquely useful for e-mini scalping. This was not the easiest of things, as e- mini scalping is much shorter in time and market breadth than calculations used in e- mini swing trading. (Where reversion to the mean trading is more common)
Without wandering into a lengthy mathematical explanation of how I have arrived at the numbers that best fit my e-mini scalping style, I can say that for most people and average between 200 and 300 will serve you well. I stick with Simple Moving Averages because an Exponential Moving Average weights the most recent price action in calculating a line plot. This is not a helpful attribute when looking at a 200 period data string and distorts the true mean you are trying to determine.
My standard deviation (SD) settings are higher than I expected, but for my trading style they seem to have worked well over the last 3 to 4 years. I generally use a channel with the inside ring the lowest standard deviation (SD 1.5-2.4) level that will produce a reversion to the mean and the outside ring(SD 2.8-3.5) is generally the extreme point where you can expect a powerful reversion to the mean. With about 4300 trades recorded and charted, I've had a range of results (depending on volatility conditions) that varies from 78% success on the low side and 85% on the high side. Like all things in trading, reversion to the mean is an exercise in probability and market conditions are a prime variable in determining Reversion to the Mean success.
The day got rid of all the goofy indicators and oscillators and learned Reversion to the Mean, order flow, and began to understand price action was an important day in my e-mini trading life.



Article Source: Here

Wednesday, 26 July 2017

Market Trends and Common Filters

One of the trading pearls of wisdom is to always trade "with the wind at your back."
The reasoning here is that the trend, or the overall direction of price for a pre-determined time-frame, is most likely to persist in that direction for a greater period of time than price movement in the opposing direction, and therefore placing trades in the same direction of the trend puts the odds of winning on your side.
Of course there are other things to consider. For example, there is the TIMING of entering the trade in the direction of the trend. You could know the overall trend to be bullish and enter a trade LONG (buying), but if you do so right when a correction is beginning (when prices move counter-trend temporarily), you could turn out a loser if you are unable to withstand the losses that will accrue during that correction. So clearly knowing and trading in the direction of the trend is just part of the equation.
Another thing to consider is the method of determining the trend. You can use moving averages or some other oscillating indicator, or you can use trendlines and note the angle of ascent or descent of the market swings, or some other method. You also have to determine the time-frame for the trends you wish to base your trades on.
For instance, if you are a day trader you certainly do not want to determine the trend based on a YEARLY time-frame chart alone. The reason for this is that the YEARLY chart is far removed in the scope of TIME from the INTRADAY (based on minutes, hours or fractions thereof) time-frame. A more realistic time-frame for determining trend for day-traders would be to use a DAILY time-frame chart. If you happen to trade based on the DAILY chart and hold your trades overnight for one or more days, you would likely want to determine your overall trend using the WEEKLY time-frame chart. The rule of thumb is to use the next higher time-frame for trend determination from the time-frame you actually use for trade decisions.
In this article I'm going to approach the subject by using the WEEKLY time-frame chart to determine overall trend as if trading from the DAILY time-frame (holding my position for one or more days, also known as a 'short-term' or 'position' trader).
The weekly chart that I've decided to use for the examples in this article is the CRUDE OIL weekly chart from around January 2015 to the present (July 2016). No trades will be discussed as the focus is on approaches to deciding on overall price trend for the purpose of trading with the trend at the lower DAILY time frame. You can use the same method for any time-frame you desire, however.
The very basic method is to note the most recent market swing, whether it be a swing top or bottom. If a top, consider the trend bearish. If a bottom, consider the trend bullish. For the very short-term trades this can often have you trading in the best direction. All trades assume you have a good timing method, such as using the FDate method or combination of indicators you are comfortable with. A swing bottom is simply a price bar with a LOW that is 'equal or lower' than the previous bar's low and that the high of the bar has already been exceeded by price (by the subsequent bar or bars). A swing top would be a price bar with a HIGH that is 'equal or higher' than the previous bar's high and a following bar has moved below its low. The occurrence of a subsequent higher-high (in the case of a swing bottom) or lower-low (in the case of a swing top) is called 'confirming' the swing (top or bottom).
To improve on the basic method, you could apply what are called 'filters'. A filter is simply one or more chart indicators, such as moving averages, stochastic, MACD or other alone or in various combinations that you use to help you decide on trend direction.
One filter I have found useful is using the histogram of a MACD indicator set to the standard (12, 26, 9) setting. The histogram reflects the orientation of the oscillator and signal lines. If the oscillator line is above the signal line, the histogram will form above the zero level and is considered bullish. If the oscillator line is below the signal line, the histogram forms below the zero level and is considered bearish.
The thing about the bullish or bearish indication just mentioned is that there are times when the oscillator/signal line orientation is bullish but the market is trending bearish for weeks on end. The reverse is true for the bearish indication where prices could trend bullish for weeks. Thus alone this may not be a suitable filter and could use some adjustment. One such adjustment is to note the histogram range from zero.
For example, if each bullish (above zero) histogram bar is taller than the last, consider the trend bullish. But as soon as a shorter histogram bar forms, consider staying out of the market (neutral). For bearish trend determination, as long as each histogram bar below zero is taller than the last the trend is considered bearish. Once a shorter histogram bar forms, go neutral.
For good stretches you may find this approach works well. However, it too has flaws and used alone could poise a problem. For example, a taller bullish histogram formed for the February 20, 2015 week which would have suggested a bullish trend has started. And the prior 3 weeks was indeed bullish. Unfortunately the bearish wave was just starting and exactly from this week! Had you followed this method alone without the help of another filter you would have been pointed in the wrong direction until week ending March 13, 2015.
What you could do is add another qualifier filter. An example could be using the %R (14 period) along with the MACD histogram.
Using the %R, you could ignore the bullish MACD histogram bars anytime the %R has turned down, or the bearish MACD histogram bars when the %R has turned up. The MACD histogram would dictate trend direction and the %R would dictate when the histogram is to be ignored.
Another useful filter and one of my personal favorites is to apply the 8-bar exponential moving average right on the chart. I would use this along with the MACD histogram, but only use the histogram to indicate whether above zero (bullish) or below zero (bearish) with no consideration of one histogram bar being taller or shorter than the last. If the histogram bars are above zero (on my chart they are colored green) and the last weekly price bar has closed ABOVE the 8-bar exponential MA, I consider trading in the bullish direction. If the histogram bars are below zero (on my chart they are red) and the last weekly price bar has closed BELOW the 8-bar exponential MA, I consider trading in the bearish direction. Anything else and it is considered neutral.
Starting with week March 20, 2015 the histogram is bullish but the close is below the 8-bar MA. So the trend is neutral. Week ending April 10, 2015 closed above the 8-bar MA and the histogram was bullish, therefore signaling taking bullish trades. The market did not close below the 8-MA until week July 3, 2015 and this also turned out to be the last week where the histogram was bullish. It turned bearish the following week, and now the trend is considered bearish by histogram and 8-bar MA. This lasted until week September 11, 2015 although price still closed below the 8-MA but the histogram went bullish (above zero).
Above I have given you some ideas that you can employ for trend determination. There are many other ways and I encourage you to backtest them. The point is to determine the trend by examining the time-frame just above the one you trade from and discipline yourself to only trade in that direction for higher probability trading. Use filters to help you avoid trading in a direction based on a false trend signal. Do not expect any method to be perfect. You are going to get some false signals from time to time. If you have a good timing method to go along with your trend determination method you may still avoid bad trades due to a temporary false trend signal.
Always know the trend. You will be better off with the 'wind at your back'!


Article Source:Here

Simple Three Step Bollinger Band Strategy That Makes Money

Top professional traders all over the world use this system to trade. It works on any time frame but produces better results on the longer...