Showing posts with label Nasdaq. Show all posts
Showing posts with label Nasdaq. Show all posts

Wednesday, 5 September 2018

Simple trading system, does it work in the Nasdaq?

Introduction

There are so many trading styles and the traders can take their decisions from technical analysis, important levels, value investment, quantitative analysis, price movement, and order book study. Some of them combine more than one method at least to have another point of view or to have another idea generation source.

Nowadays, it's easy to find resources for trading. There are plenty of resources online, such as videos and courses. If you are more traditional, you can search for books and see what the people are saying about them.

Some of the most successful traders are known for being contrarians. What does this mean? Maybe they are aware of how powerful the trends could be, however, they are not investing for the long term. They are looking for a quick profit in a short period of time (depends about the how big is the position, who is executing and what are the targets, it can last from a few seconds to less than 3 months).  How do they act? Basically, if a stock or a future has been raising for a while and has a strong trend, they can consider that the product is overvalued and that it will revert to the moving average or at least it will revert enough to make a profit.

The idea

Now, we know what they do. I always thought about it. One of the problems is the timing when I should enter into a trade like that. There are so many statistical methods that you can apply to that. It can be based on the number of days (imagine that the stock has been raising for the last 60 days and you think that every “X” days, there is a retracement), it can be based on the price change (that you can consider it overvalued), it can be a combination of both. We can see that creativity is another part of the trading research. Probably, I will write a post about the whole process in the future but today we are going to review a simple idea.

The trading system is contrarian so it will consider yesterday % change. If yesterday the stock or the underlying product went up, the system will sell it today. And the other way round, if the stock fell yesterday, the system will buy it today.

Nasdaq


I’ve chosen the Nasdaq index as an example. It represents the technology stocks.

    Nasdaq continuous future, daily, source: TradingView

It hasn’t stopped rising since 2010. I wanted to show the period 2014-2018 that I will study in this article. Considering the strong bullish trend maybe I shouldn´t use a contrarian system. I will show you that one of the most important aspects is the risk management (always combine with a profitable system)

Backtest example

Before we start, I need to explain a couple of things. In my opinion, the market behaves differently when it goes up than when it goes down. The falls usually are very sharp. This is why I decided to choose a tighter stop for the sells. I’ve chosen the stops randomly, the buys have a stop of 4 ticks and the sells have a stop of 2 ticks. Let’s check the results:




                                        Backtesting, own elaboration using R

Good news! The mean is positive which is a good starting point. However, making $9.53 per trade is not enough without considering fees and slippage. The system makes $2190 on the best day. The worst lost is $20. The kurtosis is really high because all the values are concentrated around 0. To be honest, the system only makes money on the 3% of the trades. So it’s not tradable even if it makes 103.65% in four years. It would be great if the system had more entry requirements and the number of trades would be reduced. That way the statistics would improve a lot. The Sharpe ratio isn’t great. 



                                                           Max drawdown, own elaboration using R

Considering that the trading system loses in 97% of the trades, the max drawdown is very good. Obviously, each time that it loses, the amount is very small (around 0.2% of the portfolio)



Trading strategy performance, own elaboration 

We can see the characteristics of the system. A few profitable trades and a bunch of losing trades. The probability of taking the loss is very high with our tight stop losses. In other hand, every time that we are right, we make a lot of money.

Sum up

Sadly, there isn’t a good conclusion for this post. I think that I have a lot of work to improve this system.  In addition, this is not a professional way of running a backtest. We should have a period of time in which we test our idea, another period for optimization and different windows of time to test the optimized parameters. Also, we should always consider broker fees and slippage. The system shown is not tradable but it shows that a sounding risk management system is very important. Another idea that we should take from this post is that even a contrarian system can perform in a market that has a clear trend. I hope you like it.
Have a good trading!







Disclaimer


I wrote this article myself, and it expresses my own opinions that shouldn't be used as a trading advice. Trading carries considerable risk due to the high leverage involved


Friday, 13 October 2017

Index analysis, DAX, FESX, S&P500 and Nasdaq

Today I´m going to talk about some of the biggest indexes around the world. The year to date performance is really good in all of them. We have seen an improvement in the economic data which always help the stock market and brings confidence to the consumers. If you understand the movement of the stock market, you can guess what’s going on around the world, sadly, you need the experience to do it. Let’s say that I consider the stock market as it was a leading indicator of the economy. Other examples of leading indicators are the bond yields, the interest rate yield curve, new housing starts and money supply. Apart from them, the rest of the economic indicators are based on the last month or the last period of time.
For example, when the market participants expect positive data and the economic indicator is negative, there is a big movement in the market.


Let´s see how the indexes are performing this year:

DAX


    Source: TradingView, Dax Index, daily

The Dax went up during the first six months of the year. After this period, and due to the big fines of the German automotive sector and the uncertainty of the German elections if fell to the 11900 level.  It’s been raising since September without stopping.  As you can see it tested two times the 200EMA but it couldn´t consolidate the downward movement.


   Source: TradingView, Dax Index, daily

This is the German index from July until now. As I said before it went down to the 3rd support (11941.5) where we can see a double support. The technical figure and the buying pressure helped the Dax to look for highs again. At the moment, it´s around 12900 and probably this movement will continue in the short term.

Eurostoxx (FESX)



    Source: TradingView, FESX Index, daily

You can think that it´s the same chart as the section before with different scale. The shape is the same. I really like the FESX because there is a lot of liquidity. This index represent the 50 biggest companies in Europe. It respects the technical levels. The main difference with the Dax is that it has exposure to different countries in Europe. The peripherical countries in Europe don´t perform as well as the most conservative ones like Germany, and this fact is reflected on the EuroStoxx index. This is why there are more retracements than in the Dax or S&P500. 


    Source: TradingView, FESX Index, daily

This a stable contract full of liquidity as I said before. The shades highlighted in yellow are really important because they show of the buyers took control of the situation and reversed the downward move.  When the 20EMA crossed the 50EMA, this contract accelerated the move.

S&P500



   Source: TradingView, SP500 Index, daily

What can I say about the S&P500? It’s the best chart I´ve ever seen for a technical analysis book. It respects the trendline I drew on the chart. The moving averages don’t cross between then and this shows the strength of this bullish trend. The broken triangle pattern led the S&P500 to 2480, where it retraced to the trendline and rocketed to the current levels.


    Source: TradingView, SP500 Index, daily

This shows the last 4 months. You can see how technically this contract trades.


Nasdaq


    Source: TradingView, Nasdaq Index, daily

This is almost the same case as the S&P500. I’ve noticed that the buying strength is decreasing. If you see the red lines drawn by me, each rise is not as strong as the previous one. It means that maybe it’s consolidating or maybe the sellers will be back testing the 5900 or even the 5775 levels.

The main reasons for these strong performances are: improvement in the economies, the consumer confidence the change in the economic policy from the central banks When will this move stop? I'm not sure, but this move is supported in part by the central bank stimulus policies. I think the transition of these supportive economic policies will be a challenge and it can affect all the financial markets.The approval of the US tax reform can boost the US markets in the short term. I hope that this post helps you.

Have a good trading! 



Disclaimer

I wrote this article myself, and it expresses my own opinions that shouldn't be used as a trading advice. Trading carries considerable risk due to the high leverages involved



8th day small profit that helps me to keep going in the competition

After a successful week and most importantly from recovering almost $6k, I wanted to consolidate my positive results. My desire was to b...