Tuesday, December 29, 2015

HOW TO MAKE A MODEL OF 3 INDICATORS

Someone may want to trade using daily stock data, for finding the daily trends in stocks. This opposes the view of longer term traders/ investors who may choose weekly, or monthly data for the work.

Indeed, the advice that goes around in the lobbies of traders/ investors is that it may be better for someone to be an investor rather than a trader and also use longer term data to catch the long term trends of the stocks. For a trader who tries to trade using daily data, the randomness of daily data starts to become a problem. There is a difference in the way of trading stocks for short- term traders and longer- term investors in that that usually the short- term data can move erratically up, or down, i.e. that in a short amount of time, fortunes can be made or lost due to the speed that the stock may be moving. On the other hand, longer- term investors are happy with catching the longer term trends which move less randomly.

First of all, in order to trade short- term data, i.e. daily prices a good model may be needed. A good model in this respect is 3 indicators used together Plus the addition on protective stops since we are dealing with short- term data and can move erratically up or down.

The first indicator can be an oscillator, or ROC. This is also called speed, or velocity oscillator. This indicator will need optimization using backtesting software to find the best fit for it according to the stock being traded and the older data of the stock.

The second indicator can be a momentum indicator. Momentum oscillator is any convergence/ divergence indicator. Again this can be optimized using backtesting software.

The third indicator can be a bands indicator, i.e. either percentage bands above/ below a moving average, or simply the use of Bollinger bands. This indicator again will need to be backtested to find the best optimization curve to fit the stock data.

And lastly, as I mentioned, a type of protective stops can be placed to exit the market when the data become too volatile, or to protect the gains when the gains are running quickly.

This is a good plan for trading short- term stock market data (daily values of stocks). The entire model can be backtested as well with a more sophisticated backtesting data that can backtest 3, or 4 indicators together.

Furthermore, the need to run backtests again will be more meaningful if done once every month for example, so that the new data of the stock are incorporated into the system, while the older historical data are discarded.

---------

[Because I dont get paid for writing in my blogs, I would request perhaps any readers who may find the topics discussed here as interesting, then they may want to contribute some money so I have available resources to write more topics. If you can submit a small payment for example to my paypal account email chrisk144@gmail.com then I can continue writing my blogs without delay, or hesitations because of my busy time/ schedule, or lack of resources.

Thank you very much]

Thursday, December 17, 2015

ARM' S EASE OF MOVEMENT

Richard Arms is the creator of this indicator. His intent was to quantize the market prices together with volume prices with n period price/ volume etc.

The mathematical formula is as follows:\
EMV = [ [(H + L) / 2] - [(Hn + Ln) / 2] ] / [V / (H - L)]
where n is the n- day period.

The formula for Arm' s reach of movement is rather complex. The results, when run by backtesting of historical data were erratic to say the least. The purchases and sales of the stock were frequent which means that the indicator although was buying/ selling the stock, yet profits were not up to par to warrant to call this indicator useful.

Another way to follow this kind of indicator is to apply the m- day moving average to the EMV value above so we have the Moving Average of EMV if we want to smooth the data a bit. Because EMV depends on only one value in the past, it may have the same pittfalls as other indicators who do the same, i.e. rely only on one value from the past. Thus, applying an MA to smooth the data seems like a good idea.

The results were not very ecouraging, for values below m=10 the indicator was erratic, and for values greater than m=40, again the behavior of the indicator showed some randomness and losses.

Best values was the 14-day Moving average of the n=1 day EMV.  Values higher than n=1 were not calculated by the backtesting computer software which means that there might be room for improving this indicator in the future. Someone may want to study again this indicator and run backtesting for all values of n as well, like they were done for m.

In overall, the profitability graph of the backtesting tests were slightly bell- shaped showing behavior that both values before and after m=14 were erratic. Therefore, it may not show any reliable results.

Friday, December 11, 2015

STOCHASTICS

The Stochastic indicator is a popular indicator used to predict stock trends, or overbought/ oversold states. The Stochastics indicator is similar to the ROC (Rate of Change) indicator and also has the negative features that ROC has as well. Because both indicators rely only on one data from historical charts, then it may be prone to instability and noise.

The Stochastics indicator is calculated by subtracting the today close price of the stock by its n- day Low value and subtracting the n- day High value of the stock from the n- day low value and dividing the two, i.e. forming the ratio, or rate of change/ momentum of the stock. The value is then converted to percentage by multiplying with 100. N is the number of days in the past.

There are 2 more values to the Stochastic indicator, it is the 3-day moving average of the above value which is called SK and again the 3 day moving average of SK forms the SD value.

Signals of change of position in stocks are complicated with this indicator because the trader needs to see both convergence, or divergence of the stock price with the Stochastic indicator as well as when SK crosses SD and also when the signals are given when the Stochastic indicator is at the 10%-15% range, or the 85% to 90% range.

Actually from backtesting results this indicator proved to be lossy, i.e. it lost the invested capital rather than preserving it, or increasing it. Even when all rules above were tested still the indicator did not provide any good results.

Another practical rule of Stochastics is that SD to be above 80% for a sale and below 20% for purchasing the stock. Even these rules though provided consistent losses.

Many people who studied Stochastics mentioned that its validity in predicting stock changes in price, may be overstated, i.e. this is not a useful indicator. Therefore, it may be better that traders who may use it to be careful, or that they not use it at all. 

Wednesday, December 9, 2015

NEW HIGHS, NEW LOWS

New Highs- New Lows is a simple indicator that tracks the highs and lows of a stock depending on a number of days. In other words, if the stock has formed a new high, or new low in the last n days, then it may be considered bullish, or bearish respectively.

A number for setting n is about 52 days, in other words, if there is a new high, or new low that it occurred today from the last 52 values, then it is a reason of buying and selling the stock.

Another way to do this indicator, is to first form the MA of price data, let' s say the 10 day MA and then we use the MA to see if it has done new highs, or new lows with respect to the data within the last 52 days. This way some inconsistencies and randomness that may exist in daily prices, it is smoothed out by the MA.

What we can deduce is that there is correlation between new highs that the market is bullish and that new lows respectively correspond to slightly bearish market. Backtesting this indicator, someone can create the denominations of Very Bearish, Bearish, Slightly bearish, Slightly bullish, Bullish, very Bullish with respect to the values of this indicator, i.e. the gain, or loss of the backtest. The results though may not be consistent enough to time the market with purchases, or sales of stocks. Most consistent results were those of Slightly bearish and Slightly Bullish, i.e. this indicator was able to keep track in the best way the Slightly Bearish and Slightly Bullish associations.

In general, this indicator is complicated and uses statistical techniques to compare the various values of gain, or loss that it had. Novice traders may want to view other more straight forward indicators rather than depend on this indicator for buying and selling. It can only be used as a sentiment indicator, rather than a market- timing indicator, i.e. when to buy and sell.

The conclusion of this indicator is that very high new highs are considered slightly bullish, while very low new lows can be considered as slightly bearish. 

Friday, December 4, 2015

EXPONENTIAL MOVING AVERAGE (EMA)

The exponential moving average is a popular indicator. It is calculated in the same way as the Moving Average is calculated but with a weighing factor which is the exponential component. Thus, the result is data weighted by time, i.e. the recent data affect the indicator value more than the past data. It is the same kind of arithmetic mean formula but with a weight that becomes less and less when the data are older.

There is only one rule to use the EMA for trading and it is either the direction of the indicator, i.e. whether it is going up, or down, or the crossover of the price with the indicator.

All kinds of Moving Averages may have one pitfall actually that they take take into account stale data of the past, thus some care should be taken when dealing with Moving Averages that the arithmetic series is not too long in the past so as to add also unimportant data. Therefore, the n- day moving average needs to be short in sequence, rather than choosing the n value to be high. A lower n value should bring better results. It has been found that a value for n that is not to short, but also not too long may bring the best results and traders can say that a value of n around about 30 to 50 days, which makes the average good period to be about 42 days. Therefore, I will talk here for the 42-day EMA.

The 42 day EMA produces a large number of transactions compared with other indicators, but net profits are higher than other indicators, like the Simple Moving Average (MA). Therefore, it may have some advantage but because of the large number of transactions, profits per transaction was a bit low. Therefore, this may need to be traded for a longer term in order to make substantial profits, when compared with other indicators. For the short- term trader the EMA may not be very useful, while for someone who is trading stocks for the longer term, then the EMA will make sense to be used so that profits are taken from longer period.

Thursday, December 3, 2015

ON BALANCE VOLUME (OBV)

On Balance Volume is an indicator which adds up, or subtracts the volume of the day to create a cumulative Volume indicator. When the price of the stock for that day has gone up, the V takes up a positive sign and it is added to the cumulative volume from the previous days. When the price of the stock has fallen for the day, then the volume takes a negative sign and it is subtracted from the cumulative value. Thus, OBV is a volume indicator that is dependent on the price of the stock as well.
OBV resembles the stock prices themselves since also stock prices are added/ subtracted every day thus we get the effect of stock price going up, or down.
With the same rationality, OBV goes up, or down as well.

The OBV is used in various way, one way is by identifying the stock trend and another way by identifying the strength of the stock, i.e. whether volume increases when price increases, or decreases when stock price decreases. Divergence from this also is useful, thus OBV is used to show an overbought, or oversold state at the current price of the stock.

Because daily volume may be thought to be random in the same way as daily stock price data are are also thought to be random, then a Moving Average of the OBV is taken to smooth out the curve. Therefore, the Moving Average of the OBV is usually the effective indicator to look at.

Sometimes, the Moving Average of the OBV is compared to the raw OBV and decisions for buying/ selling may be made this way, when the OBV crosses its own n- day OBV.

It can be said that this is a good Volume indicator to smooth out any daily volume data which cannot be trusted fully. Also, because this indicator takes in consideration also the stock price change, then it becomes useful in this respect, i.e. is dependent on stock price direction as well.

Weekly data can be taken as well. A popular value for n for the MA OBV is 9 days, therefore the 9 day MA of OBV is calculated this way.

Wednesday, December 2, 2015

OVERBOUGHT/ OVERSOLD INDICATORS

Overbought/ Oversold indicators show the current trend of the stock cannot be sustained for further. That means that they signal either excessive buying of the stock, or excessive selling of the stock. Thus, they are indicators that signal reversal of the current trend of the stock.

The indicators can be helpful, but there is ongoing discussion as to whether all traders/ investors may find these characteristics useful for buying/ selling the stock. The reason behind the questioning of the overbought/ oversold indicators is that overbought, or oversold states, may not show that there is a reversal of the trend being imminent, but that there may be stronger conditions for the stock to advance even further in the current direction. Therefore, there is a clash of opinions whether these indicators are useful, or not.

Advanced stock traders, may warn that for inexperienced traders, they should shy away from consulting such indicators because of the difficulty in determining if they signal reversal of the current trend, or a push further, i.e. to higher values in the case of overbought, or lower values in the case of oversold.

AS a conclusion, we might say that it takes experience to determine what the stock may be doing next and that novice traders/ investors should probably not work with these indicators, or at least confirm the direction of the stock with more professional traders, so that they have at least a second opinion on the movement of the stock.

Actually overbought/ oversold states can be formed by many popular indicators like the ROC (Rate of Change). The ROC determines the speed of the stock, thus if the stock shows high speed in the direction of the current trend, may mean obvioulsy overbought traits, since this is what drives the stock further, or increases its speed. The same on the down trend, if the stock is showing a high speed of losing value, it may not necessarily mean that it will change direction shortly but may mean that the stock is going to go even further lower.

Therefore, as a conclusion we may say, that following these indicators without proper experience, may result in cutting winnings short and may allow the losses to run further.Therefore, in overall, it is imperative, or suggested/ recommended that such indicators, not be taken at face value, but to be used only as filters in filtering out any decisions that are taken by more appropriate indicators.

Tuesday, December 1, 2015

TRADERS VS INVESTORS

In continuation of the previous article, when we talk about investing, we mean to hold the position of a stock for an extended amount of time. In this approach we may mean weekly and monthly data from stocks.

Now there is also the shorter run adoption of viewing the daily data as also described in the previous blog post. This is the difference between a trader and an investor, i.e. the notion that investors will hold the stock for longer amount of time as well as view the fundamental analysis of the stock rather than the technical analysis.

The reason for this distinction is that daily data are considered to be more random than weekly, or monthly data. On the other hand, we cannot ignore the fact that even daily data may have trends, so this is what traders try to do, i.e. follow the more volatile daily data. For very volatile stocks, because of the greater movement they do in daily prices, a lot of money may be made - or lost - in a short amount of time, i.e. days. This is the logic behind daily data compared with weekly and monthly data.

The investors who deal with the longer run of the stock, may argue that traders may be seen as... "taking blind leaps of faith" when seeing daily data, or that they are dealing with a... "black box" i.e. something that may not be showing its internal characteristics.In other words, the stock may depict random behavior when seen by its daily data.

Additionally, when dealing with daily data, traders believe that protective stops are useful as well, something that longer term investors may not be using due to the different nature of their investing. Thus, traders argue in return that with good protective stops placed at strategic intervals and prices, trading becomes a safe means of making money.