Showing posts with label Euro. Show all posts
Showing posts with label Euro. Show all posts

Thursday, 16 April 2020

7th day, huge profit


After almost recovering the losses from previous days, I had a lot of energy and I wanted to switch on the system as soon as possible. To be honest, this doesn’t matter. When I was designing the system, I decided to set up a time window to be able to control the algo and make sure that the positions were closed before the end of the day.

6E 06/20 breaking
6E 06/20 breaking moment


I was expecting that the Fed approval of its new loan program and I knew that it will have a big impact in the markets that the algo trades.
Early in the morning, the USD was stronger than the Euro and the British Pound. The algo was triggered in both crosses almost at the same time while the futures were retracing.  Let see how these currency futures behaved during the day:

Euro FX

As I said before, the algo was triggered just after 11:30 London Time. I was a bit surprised but all of the conditions were met and the algo sent the market order. After that, I was monitoring the pile of red candles until 12:45. At that point, the market started recovering. Considering the news, I hoped that the market would break the highs of the day.

6E 06/20 trade chart
6E 06/20 trade chart


At the beginning of the US trading session, the news started coming up.  The FED approved the new loan to help to bolster local governments and small and mid-sized businesses. Obviously, all central banks and governments are trying to help their economies as much as they can. I believe that some of the measures will be highly effective while other ones will only help to increase the debts of the countries. At the same time, the initial jobless claims data was released. It was far worse than expected. The Euro rocketed from 1.0900 to 1.0960. After this moment, the market stayed ranging between 1.0940 and 1.0960 for four hours.

British Pound

6B 06/20 trade chart


The case of the British Pound was exactly the same but the daily range was lower than in the Euro. As you can see the retracement was bigger in the GBP/USD at least until 17:30 where it rebounded aggressively.

Trades and Account

It was a great day in terms of profit. The algo generated $3220 in the Euro and $688.75 in the British Pound.

Realized profit by the algo applied to EuroFx and British Pound Futures
Realized profit by the algo applied to EuroFx and British Pound Futures
It was the first day with a positive P/L and it was a boost to my confidence.

Account


Summary

When you have an algorithmic or even a simple trading strategy is difficult to deal with the news and the macroeconomic data releases. In the example shown, the market when in the direction of the algo but you should be aware that sometimes it will go against you. I would like to recommend to always use stop losses.

Monday, 13 April 2020

6th day, no gain no loss…



As you can imagine after reading the title, it was a flat day. Actually, I made a small profit but it didn’t cover the commissions. Let’s see what happened during that day in the EUR/USD and GBP/USD futures:


British Pound


It was a directional day for the British Pound without any big spike or swings as we saw in the previous days.  This was explained by the increase of COVID-19 cases in the US and the expected approval of further help by the FED.

6B 06/20 


It raised almost without stopping until 14:30 where the price was ranging between 1.2387 and 1.2405. In one of these retracements, the algo was triggered and it sent a buy of 5 lots. I wasn’t sure about opening the position considering its morning trend and range. One of the best aspects of using algos is that we remove discretionary decisions and feelings. After entering in the position, like the most part of the times, the GBP/USD futures fell to 1.2374. After that, it rebounded breaking the highs of the day and it reached the 1.2429 level. It couldn’t breach these levels and it went back to 1.2400 where the algo closed the position.

6B 06/20 trade chart


This chart shows more detailed of what I explained in the previous paragraph.

6B 06/20 trade


In contrast with other days, the MAE ($437.50) is around 1/3 of the MFE ($1281.25) and this shows how well the market behaved for the algo I’m using. One of the problems is that the ETD is still high because the algo is not closing with a signal. Until now, the algo has closed according to the time configured.


Euro FX


The Euro vs the US Dollar didn’t have a clear trend. It was a total swing. It seems that the EUR was stronger in the morning while the USD took its place in the afternoon.

6E 06/20


As you can see, and as it was expected, the algo was triggered in a retracement. It performed well during the first hour. After that, the Euro dropped strongly but seems that the traders didn’t believe in this movement and the buying pressure took the price to the point in which the position was open. At this point, it continued to rise to 1.0909 where the dollar strength came back. The position was closed at 17:08 London Time

Trades and account balance


I didn’t get profit in both trades. I lost $398.75 in the EuroFX trade including commissions and I won $395.75 in the British Pound also including commissions.

08/04/2020 trades


I shouldn’t be upset… I made a profit without considering commissions. At the end of the day is not real money and this is good learning and I would like to remember that in my opinion the commissions and the slippage should be included when you are backtesting a system. In my experience, if the system is not good enough this will make the difference between making profit or loss.

Account Balance


One of the conclusions that I found in the first 6 days is that probably I should implement a fixed take profit or maybe consider a trailing stop. It’s early to say but probably I will run some tests to see if the statistic ratios are better than my current algo.

Thanks for reading this post!


#algorithmic_trading, #Trading, #Euro, #EUR, #GBP, #British Pound, #USD, #EURUSD, #GBPUSD, #Dollar, #performance, #profit, #loss, #FED, #COVID-19, #Robotrader

Sunday, 12 April 2020

Day 5, Profit after a hard day


The 5th day was a positive day. It was the first day in which the algo was triggered in Euro FX future, known as 6E in CME. Until this moment, the algo was executing orders only in the British Pound futures. Let’s have a look at both instruments:

Euro FX

The algo performed very well showing its real purpose. It entered long in a retracement and luckily after that, the Euro went up. It was a very directional day.

6E 06/20 

 
As you can see there were only 2 moments in the day in which the position was losing money.


Orders 6E 06/20

The final profit was $1657.50. 


British Pound

As I said before this currency cross has been recently quite volatile in comparison with the Euro/USD. I believe that the news has a bigger impact on this instrument.

6B 06/20


I was looking at the different parameters when the notification popped up on my screen. At that moment, I had a feeling that this trade couldn’t end up in profit. I saw the P&L falling continuously for an hour. After that, the price went up to the point in which I entered. I felt a little relieved but I knew that it won’t last. It dropped again making a double bottom. Even if I don’t believe or follow the charts, I had a little belief that maybe the price will go up again breaking the confirmation line. I was right. The price went from 1.2292 to 1.2395. As soon as the US trading session started, the USD raised versus other currencies. This pair plunged to 1.2303 from the maximum of the day. I believe that after a big movement the prices always revert to their mean but we need to be careful in the current situation. I was lucky because the price recovered more or less 60% of the last downside movement and at that time, my algo closed the position making a small profit.


Trade 6B 06/20


As you can see the MAE shows that at 1 point I was losing more than $1400. We can also see a big MFE showing almost $1800, that was reached after the double bottom. Sadly, as you know, even if it’s not real money, the final profit was far from the MFE. This is why the End Trading Drawdown shows up as $1373.75 the difference between the maximum favorable excursion and the final profit.


Final Profit


The final result was $2127.50. I was happy to have this profit after the losses from the previous week.

Thanks for reading this post. 

Friday, 10 April 2020

The algo, day 1, 2, 3 and 4


Hi, I would like to start this post introducing the idea behind the algo. Also, I would like to highlight that this is not financial advice because the purpose of this algo is to participate in a simulated algo trading competition.

Current situation

One of the first questions that came to my mind was about the current situation with the Covid-19 and how it would evolve during the competition. At that point, was very tricky because it’s very difficult to forecast the future and to be honest, I don’t know how the markets will react to the help provided by the central banks. I see some similarities with the financial crisis, but I believe that there are more unknowns and the lockdowns extensions can trigger some bankruptcies for small and medium businesses. This will result in a decrease in consumption and the gross domestic products will reflect this as well. The financial situation of some companies and individuals will deteriorate and this will affect the banking sector. This issue can have a domino effect. Luckily, the central banks and the national governments are taking measures to try to avoid the spread of the disease and try to go back to normality (even if it’s done gradually)

The algo

I was considering different types of algos before the competition. As you know, some of the most important algo types are:
  • trend following 
  • mean reversion
  • volatility breakout
  • range algos

As I explained in the previous paragraph, the situation was one of my biggest concerns and I was expecting the volatility to continue at least for 3 months. Considering that the central banks were approving measures, I thought that the markets could have some rebounds. This is why I decided to design an algo that is able to catch the trend after a retracement. The main indicators used are two Exponential Moving Averages and a Stochastic.

I chose the Euro FX (6E on CME) future and the British Pound future (6B on CME) and every time that the algo is triggered, it sends a 5 lots order.

Day 1, 2 and 4


The algo was triggered only in the British Pound futures during the first 4 days. I lost $655 in the first trade, as you can see it wasn’t the best day. Its maximum adverse excursion was $875 and the maximum favorable excursion was $500 (this explains that the position was showing $500 profit at a certain time during the position was open) 

The second day was far worse because it hit the stop loss. The similarity with the first trade is the maximum favorable excursion that reached $562.5 at some point during the session.

I didn’t have any entry on the third day.

Finally, I had a small profit on the 6th of April. It was the most volatile day.




Summary

I have introduced a brief opinion of the current situation and I have explained how it was one of the most important facts to choose the algo for the competition. I have shared the idea of the algo and I have reviewed the first 4 days. I will keep posting how the algo is performing and interesting facts that can explain some movements in the Euro and the British Pound futures.

Tuesday, 14 November 2017

Europe strength, UK inflation


We had a lot of data today. Early in the morning, we have seen an outstanding German GDP. The next big announcement was the UK CPI that surprisingly has shown the same reading as the previous one. Followed by this, the German ZEW economic sentiment and the European GDP.At the same time, the central bank governors from the Fed, BCE, BoE, and BoJ were in a communication event hosted by the European Central Bank. Let’s check more in detail what happened with the British Pound and the Euro.

UK inflation data


As I said before, the UK CPI has been released at 9:30. The reading was 3,00%, the same as the September figure. This makes pressure to the Bank of England. Will they raise rates in December? On the other hand, the uncertainty about getting a Brexit deal is growing. If the policymakers don´t reach a deal focused on trade, the British economy will suffer due to the contingency plans from the private companies. In this theoretical scenario, the BoE will be in trouble because the inflation will peak and they have a limited margin to raise the overnight rate due to the high level of debt held by the households. This scenario has a low probability in my opinion.


GBPUSD December 2017 future

     Source: TradingView, GBPUSD Dec 17 futures, daily

Here we can see a bearish trend in the British Pound vs the US Dollar that seems that it’s consolidating and creating a strong resistance around 1.3070. This trend signals the disappointment of the rate rise in the current situation and the uncertainty of Brexit.

     Source: TradingView, GBPUSD Dec 17 futures, 30 min

The reaction of the strong UK CPI has been negative for the GBP in the first two hours after the release. After that, it has recovered. 


    Source: TradingView, GBPUSD Dec 17 futures, daily

The Pound has broken higher while I was writing this post. Head and shoulders confirmed.


European data


Europe has shown its strength with the macroeconomic data today. This morning Germany has released a strong Gross Domestic Product. The GDP (YoY) was in line with the expectations, but the GBP (QoQ) was better than the forecast.


      Source: ZeroHedge, chart taken from Bloomberg

The Geman ZEW economic sentiment was slightly worse than expected, 18.7 vs 20 expected by the analysts. The European GDP growth was in 2.5% and the industrial production 3.3%. These figures confirm the good moment of the European economy.

EURUSD December 2017 future

     Source: TradingView, EURUSD Dec 17, daily

The USD has been raising vs the Euro since September. The European Central Bank has shown its conservative side while the Fed is clearly hawkish. Today the central banks' governors agreed that the economic policy will take part only if the improvement of the economies continues. 

Source: TradingView, EURUSD Dec 17, 30 min

The Euro has rocketed today with the positive data. The strange thing is that we haven’t seen any retracement.

Conclusion


It’s been a good day for the euro but there are some issues to resolve. The main concern is the European inflation is not as high as the BCE would like it. The strengthening of the euro can lead to keeping the inflation low and Draghi knows about it. In the other side, the Bank of England is raising rates in order to fight the inflation.  This is not well seen by the market participants due to the Brexit uncertainty. In the other side of the Atlantic, Janet Yellen confirmed that the Fed will raise rates according to the economic improvement. Working nowadays in a central bank is not easy, considering that they need to be careful with their language, prepare the markets to avoid repercussions on the real economy and guide consumers about the expected outlook. All of these things shouldn't affect your trading but I think macroeconomics is helpful at least to understand the big movements.
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

Sunday, 29 October 2017

Most important moves of the week

Introduction

We have seen interesting moves this week in the financial markets. The most important was the ECB decision to cut the monthly asset purchases but extend them until September 2019. The market considered this decision very supportive and dovish by the ECB. The euro was hit by this decision and the problems in Spain. The UK released a better than expected product that helped the British Pound to hold its value versus other currencies. On the other hand, the energy markets have moved a lot. The Crude Oil Brent closed the week at 60.44, the 2 year high.


Crude Oil Brent

Source: TradingView, Crude Oil Brent Dec17 future, daily
    Source: TradingView, Crude Oil Brent Dec17 future, daily

The Crude Oil Brent has broken key levels and has risen like a rocket in the last two days. I fell on Monday and I questioned my bullish idea as it could keep raising and break the 58.20 level. On Tuesday it closed at 58.33, above the key level formed the week before.  The selling pressure wasn’t strong enough on Wednesday at this contract closed flat at 58.45. The big movement was in Thursday and Friday. After Wednesday support, it tested the 59.54 on Thursday. It continued the bullish trend on Friday. It closed at 60.44, which represents the 2 year high.

US Dollar Index


 Source: TradingView, US Dollar Index futures, daily
      Source: TradingView, US Dollar Index futures, daily

As you can see it’s been a tough year for the USD. In June, and due to the interest rate hike by the Fed, seemed that the US Dollar Index could go up. But it didn’t. The weakness in the energy markets and the geopolitical problems didn’t allow the USD to rise. The market expected more hikes in 2017, unfortunately, with the hurricanes, the Fed officials were obliged to delay this decision. We have seen good economic data this week in the US:

Macroeconomic indicator
Reading
Expected
Core durable goods orders (MoM)
0.7%
0.5%
New home sales
667K
557K
GDP
3.0%
2.5%

The Fed is showing confidence and a hawkish approach because they have confirmed that the interest rate hikes will continue in the next year and they will reduce the asset purchases. 



 Likelihood of December Rate Hike, CNBC, https://www.cnbc.com/2017/09/18/traders-are-getting-ready-for-another-fed-hike.html
     Likelihood of December Rate Hike, CNBC, https://www.cnbc.com/2017/09/18/traders-are-getting-ready-for-another-fed-hike.html


December FED rate hike probability, Bloomberg, http://uk.businessinsider.com/markets-almost-certain-fed-hiking-interest-rates-in-december-2016-11?r=US&IR=T
       December FED rate hike probability, Bloomberg, http://uk.businessinsider.com/markets-almost-certain-fed-hiking-interest-rates-in-december-2016-11?r=US&IR=T

These charts show how the likelihood of a rate hike in December is increasing, and the dollar has done the same movement since September. Is anyone building a big position?
All of these facts were the key to help the USD. Technically the most important thing is that the downtrend was broken 1 month ago. The most important levels for me are 92.63 (as a key support) and 96.585 (as a resistance)
Another interesting fact is that Janet Yellen won´t continue as a Fed president.

Euro

 Source: TradingView, EURUSD Dec17 future, daily
    Source: TradingView, EURUSD Dec17 future, daily

The Euro has fallen this week due to the dovish speech by the ECB this week and the USD strength. This is always the same if you don’t deliver what the market participants expect, the value of your assets decline. As I said in my last article, I understand that the ECB prefers to be cautious with the QE cuts. Having a weak currency in a growing environment can help the inflation to peak. It has broken 2 key levels this week as you can see in the chart. I think it can keep going down and test the 1.1530 level. In part, the last decrease was due to the issues in Spain.

British Pound

Source: TradingView, GBPUSD Dec17 future, daily
    Source: TradingView, GBPUSD Dec17 future, daily

Surprisingly for me, the GBP is holding its value vs the dollar. We have seen a better than expected GBP in the UK. It’s difficult to know what will happen in the Brexit negotiations. There are a lot of doubts and speculation about what will happen. The biggest investment banks confirmed that thousands of employees will be relocated to Europe. 


Source: TradingView, GBPUSD Dec17 future, daily
    Source: TradingView, GBPUSD Dec17 future, daily

We have seen the same down movement than in the EURUSD. We can see a double top that indicates that the GBP will rise vs the Euro. The 0.8733 level is a very important support that has been tested several times.

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

#Trading #fx #euro #gbp #USD #energy markets #brent #macroeconomics #UK #US #Europe #fundamentals, #Bloomberg #FED #interestRate #qe #Assetpurchases #ECB


Thursday, 26 October 2017

Why is the European Central Bank dovish? Interest Rate strategies

The European Central Bank is very conservative at the time of taking decisions on economic policy. And this fact has been confirmed again today. As expected, the ECB will cut asset purchases to 30 billion euros from 60 billion euros. This will start in January and it will last for nine months to September. One of the reasons why the ECB remained cautious is the weak inflation.

What did the EURUSD?


After the decision, the Euro plunged. 

Source: TradingView, EURUSD Dec17 Future, 30 min
     Source: TradingView, EURUSD Dec17 Future, 30 min

The market didn’t expect a hawkish decision and it was reflected in the movement of the euro. I started the day falling. You can see how the volumes got bigger around the interest rate decision and the ECB conference. Draghi was optimistic about the eurozone growth but he signaled that is concern about the inflation. Technically, the EURUSD futures has broken 2 important levels (1.1793 and 1.1729)

What is the real reason behind this decision? My opinion


Economics is a social science and predicting the individuals' behaviour is really difficult. Let me make an example to show my thoughts about this dovish decision.
Let’s imagine an ideal world in which the most important economies keep performing like the last couple of years, China’s GDP growth meets the 7%, the commodities keep rising, the Federal Reserve raises rates and makes substantial cuts to the asset purchases and there isn´t any economic shock. In this context, the US dollar will rise vs the euro. The conservative ECB policy will support a weak euro, and with the conditions mentioned, it will help Europe to keep growing and the inflation will peak.

On the other hand, applying the economic policy in Europe is difficult due to the differences between the strong economies and the peripheric economies. So whatever is applied needs to be good in general terms without affecting in a negative way to certain economies.

As a theory, it’s valid but it’s very difficult that all of these will happen.


What can we see in the Euribor futures?


Euribor futures are the interest rate futures in Europe. You will see in the following charts that an improvement of the European economy is not discounted.

Euribor Jun18 future


Source: Barchart, Euribor Jun18
     Source: Barchart, Euribor Jun18

As you can see it fell at the beginning of this year, showing an improvement of the economy. At this time the inflation was growing and it hit 2% in March. The euro was weak in this period, the EURUSD was trading around 1.06. Since then, the Euribor jun18 has been rising due to the low inflation, the Brexit, the lack of change in the economic policy. Considering the uptrend, the market participants don´t expect changes in the economic policy neither a big improvement of the European economy.

Euribor spreads

Euribor March 18 – June 18

Source: Barchart, Euribor Mar18-Jun18
    Source: Barchart, Euribor Mar18-Jun18

Euribor March 18 – December  18

Source: Barchart, Euribor Mar18-Dec18
     Source: Barchart, Euribor Mar18-Dec18

These spreads show the same as the outright explained before. A falling spread means that the difference between the two futures is decreasing. Talking about the interest rate curve, we can see that the yield curve is flattening. The main difference between both spreads is the volatility. Obviously, the 9-month spread moves more than the 3-month spread. They are in lows of the year, I would consider buying if I expected an economic improvement. At the moment, I wouldn’t buy because I don’t  see any sign of reversal.

Another strategy to consider is a Euribor butterfly. 

     Source: Barchart, Euribor butterfly Jun18-Sep18-Dec18

The butterfly is in a support and it´s trading at the lows of the year. I think it´s a better choice than the spreads at the moment.


Euribor spread June 18 – June 19


Source: Barchart, Euribor Jun18-Jun19
     Source: Barchart, Euribor Jun18-Jun19

The main difference with the other spreads is that the overall trend is bullish. This means that the traders expect that the economy and the inflation will be better in 2019 than 2018. The main problem is that the triangle is one of the most dangerous figures in technical analysis and I wouldn´t trade it until it breaks. If you like interest rate futures you should add to your watchlist. There is a strong support at 0.1550.


Conclusion


First of all, I hope you enjoy this article. The interest rates market is my favourite. You should consider the macroeconomic indicators and follow the central bank meetings. It’s a fundamental market and less volatile than other markets. There are strategies such as spreads and butterflies that are listed at the exchanges so you won’t have execution problems in the different legs. Thanks.
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



#Trading #ECB #Euribor #Euro #EURUSD #fundamentals #InterestRates #Macroeconomics #opinion #Spread #trading #TechnicalAnalysis  #butterfly #creatingValue

Wednesday, 11 October 2017

FOMC, currencies review


As you know, today is the FOMC meeting minutes. This is one of the most important events if you trade fx, US government bonds or US indexes. And even if you don’t trade them, be aware, because the most part of assets will be moving later today.

Let´s start with the interest rate decision.  You can think that this decision doesn’t affect you in your day to day, but this is wrong. It affects to rate that the borrowers need to pay back (mortgages, personal loans, student loans, car financing…), your investments, the asset valuation, the money flow
.
Second, all the economic performance and events that affect the economy are reviewed by the FOMC committee and president of the Fed makes public the economic policy that will be implemented in the coming months.


These are simple explanations to clarify why it’s an important event in the financial markets. If you know how to interpret the words of the FED president, you can make good medium-term investments. For example: if the FED raises the interest rate and they expect the economy to keep growing, one of the most successful strategies is investing in financials (banks, insurance companies…) This is not the purpose of this post.

Euro
    Source: TradingView, EURUSD Dec17 futures, daily

This contract was analyzed the other day. It broke the first resistance at 1.18020. The bullish move in the euro is due to the strong German Industrial Production and the deferral of the independence declaration in Catalonia.  If the Fed sends a bullish speech, we can see this contract going down to around 1.1750.
These are the levels  I published in the weekend:

Resistance 3
1.20965
Resistance 2
1.19550
Resistance 1
1.18020
Support 1
1.17235
Support 2
1.15460
Support 3
1.14435


GBP

    Source: TradingView, GBPUSD Dec17 futures, daily

The British Pound has recovered a little bit this week. If we see the news around the UK, we can think that the pound is really high and it should fall. Europe is putting pressure on the UK. There is a substantial probability of a Non-deal Brexit, which would be bad for the GBP. In the other side, we have a strong US economy. I think Yellen will clarify the effects of the hurricanes to the US growth. I think we can see the GBPUSD between 1.3100 and 1.3066 in the coming days.
Important levels:

Resistance 3
1.3615
Resistance 2
1.3283
Resistance 1
1.3153
Support 1
1.3066
Support 2
1.2952
Support 3
1.2848



JPY

    Source: TradingView, JPYUSD Dec17 futures, daily


We can see a bullish trend in the dollar. The shade highlighted in the chart show how significant is the 1.1257 level. I don´t see strength in the JPY movement this week.  A hawkish message can help to consolidate the price between 1.1343 and 1.1257 (0.88160 and 0.88160 in the chart). 

Resistance 2
0.88160
1.1343
Resistance 1
0.88835
1.1257
Support 1
0.89905
1.1123
Support 2
0.90945
1.0996
Support 3
0.92225
1.0843


Trading the FOMC meeting minutes is really difficult. You shouldn´t only consider the interest rate decision. The FOMC minutes can provide you an idea of the path to follow in the coming months. If you do intraday trading, you will see the liquidity disappear and big swings in the prices due to how the traders or algos interpret the message provided by the Fed president.

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...