In this lecture, I will show you how to generate hundreds of trading strategies for Bitcoin. To achieve this, I will use EA Studio, which is a strategy builder software that we use most in the Academy.
Generating 100s of trading strategies for Bitcoin
As I’ve said many times in other lectures, EA Studio has a tool called Generator. The Generator can use the historical data that you import from your broker or the Premium historical data that is bundled with EA Studio. In this case, I will use the Premium Data that comes directly from the Historical Data app. And I made it work for the Hot Forex broker which I am using at a moment for Bitcoin trading.
In the Historical data section, I have also the Symbol, which is the currency pair that we’re trading with. Since I want to generate trading strategies for Bitcoin, I will use the BTCUSD symbol. Finally, I have the Period, from where I can select on what timeframe the strategy will trade.
So if I just click on the Start button, you will notice the high speed. This is the fastest Generator for strategies. In just a few seconds, I have over 60 trading strategies. And these strategies all go to the Collection tab automatically.
If I click on the Collection, you will see that the Bitcoin trading strategies are listed there. And I have many pages, each containing 10 strategies.
Now, obviously, I don’t want to have some random and simple Bitcoin trading strategies. So I will stop the Generator and I will delete all of these trading strategies. But before actually deleting them, I will click on one of the strategies and I will show you what tools we have in the Strategy section.
How to optimize Bitcoin trading strategies
We have Optimizer and Normalizer. The Optimizer is very similar to the Optimizer that we have in MetaTrader. So if I just click on the Start button in the Optimizer, it will look for better parameters. It didn’t find any in this case, but it will look for better parameters with the trading strategies.
Now, optimizing a trading strategy sometimes is very risky because you can over-optimize it. In other words, you will find the best parameters but just for the tested period.
Usually what happens with such strategies is after you start trading, they start losing. Just because you have found the best parameters exactly for the period you are testing. And these are not robust strategies.
Normalize the Bitcoin trading strategies
The next tool we’re going to use when generating our Bitcoin trading strategies is the Normalizer, which is a unique feature of Expert Advisor Studio. It normalizes the strategies, reduces the Stop Loss, the Take Profit if you’re using. In other words, it pushes the parameters to the default parameters.
Using Walk Forward and Monte Carlo
Then we have the Walk Forward, which is a little bit more advanced tool.
If I click on Start, this tool optimizes the trading strategy for a certain period of time. Then it tests the strategy on the next period, includes that period, and optimizes again, and tests the strategy again.
You can see that it found a much better result, which means that it found a better strategy.
We have the Monte Carlo, which is my favorite instrument among the robust instruments. So, Monte Carlo, Multi Market, and Out of Sample Monitor are robust tools. They don’t change the strategy like the Optimizer, Normalizer, and Walk Forward, but they test the strategy if it is robust or not.
With the Monte Carlo tool, I can test with random historical data, random spread, random slippage, random position entry and exit, and randomly closed position.
We have Strategy variations, which is the option I use the most. This will simply test the strategy with different indicator parameters. And I like to use “Randomize backtest starting bar”, which will backtest the strategy from different bars or from the different starting points. In addition, it is not a bad idea to check “Randomize spread” because as we saw with Hot Forex and with most of the brokers, the spread is floating.
So sometimes your position will open on a $24 spread, sometimes $25. And if there is volatility, it might be even more. So if I click on “Start”, it will perform 20 tests and I see that just 13 out of the 20 were validated. Which is not enough for me. I like to have at least 18 or a minimum of 16 out of the 20, which is 80% of the tests to be validated. That is something I always use.
Testing different markets with Multi Market
Then we have Multi Market where we can add different markets.
For example, I can add Bitcoin, Ethereum, Ripple, or any other cryptocurrency that I have as historical data and I can check if this trading strategy works well on the other markets.
And as well, I have the Out of Sample, which I will explain just in a minute.
Using the Reactor to generate Bitcoin trading strategies
Now the best thing with EA Studio that was improved during the years is that we don’t have to do all of that manually anymore. I just went over it to demonstrate what we were doing before. We were generating strategies, they were going to the collection after that, if I like any strategy, I was going through Optimizer, Monte Carlo, Multi Market one by one. Understand what I mean?
It was taking time because I had to do it manually for each trading strategy. Now, we don’t need to do this anymore because we have the Reactor. Right under the Generator is the Reactor.
If I go to Generator, we have historical data, strategy properties, and Generator settings. And if I click on the dropdown arrow after Generator and switch to Reactor, here we have the same things plus optimization and robustness testing.
So what the Reactor does is it passes all the strategies through this testing automatically and I don’t have to do it by myself manually.
So I will remove all the strategies in the Collection. I will switch to the Reactor and I will just set it very quickly so you know how I’m using it.
Now in the Reactor, I will go for Bitcoin on the H1 hourly chart. In the Strategy properties section, I will set Entry lots to 0.01 because this is the minimum quantity I can trade. And I would suggest you always start with 0.01, especially if you are generating Bitcoin trading strategies because this way you will just test the Expert Advisors.
You won’t risk a lot if you try them on your Live Account. And I don’t like to stimulate and motivate my students and traders to use huge volumes or big accounts. That’s a personal choice of how much you want to trade. One more time, changing the lot doesn’t change the Bitcoin trading strategy or the Robot. It changes just the result.
Should you use Stop Loss and Take Profit
Then I have the option to select if I want to use Stop Loss or Take Profit. I will not use Stop Loss and Take Profit.
First of all, I have done many tests with EA Studio generating Bitcoin trading strategies with Stop Loss, without Stop Loss, with Take Profit, and without Take Profit. I don’t have 100% proof that one of the two works better.
So if I include Stop Loss, let’s say I will be using a Stop Loss somewhere between 1 000 and 10 000 pips. Now, if your broker has 2 digits (the broker I’m using for this lecture has 3 digits), if I set a Stop Loss, let’s say $100 or $200, then if you are using more or a few digits, the Stop Loss will change. It will become either a $1000 or it will become either a $10.
And that is another thing that I have improved from the previous version of the Bitcoin Algorithmic Trading course where I was including Expert Advisors with Stop Loss and with Take Profit. Some of the students were like, “why don’t the EAs work with my broker” or “why do I see very huge Stop Loss and very huge Take Profit“.
And others were just fine because they were matching the digits with their broker and my broker. That is why when we are talking about Bitcoin, I do not use Stop Loss and Take Profit.
And for the beginner traders, these are automated levels where the position will close on a loss or it will close on a Take Profit.
But if you don’t have a Stop Loss and Take Profit, the strategy will simply exit based on the exit condition. There will be an indicator inside. So no worries if you don’t have Stop Loss. The trade still closes when the exit condition is there. And many traders say that it is better to trade without Stop Loss and Take Profit. One more time for me, I don’t have a 100% statement to say, is it better without or is it better with.
That’s why in the course I include Bitcoin trading strategies that are created without Stop Loss and Take Profit. So we will depend on the entry rules and on the exit rules. But you can test, of course, generating Bitcoin trading strategies with Stop Loss and with Take Profit.
Setting the generation time period in Generator settings
In the Generator settings section, I have the working minutes, so I set it to 1 hour and you will see how many Bitcoin trading strategies it will generate in 60 minutes. Usually, I leave the Reactor working for 10 hours, which is 600 minutes, and this way I leave it overnight and actually right now I’m recording late in the evening, so I will leave it to 600 minutes because I want to get more and more Bitcoin trading strategies.
When we generate for a longer time, it doesn’t mean that we will get better strategies. We will just get a bigger number of strategies. And in the Collection, we will see always the top strategies. The longer you run it, the more chances you have for finding better and better strategies.
Then for Search best, I will leave it the way it is – Net balance – so, at top of the Collection, I will see the Bitcoin trading strategies that have the most profit.
Using Out of Sample (OOS)
I will select 10% Out of Sample and what that means?
If you remember, the Out of Sample Monitor divides the whole backtest period into different zones.
So if I have 30% Out of Sample, this means that the Generator will use 70% of the historical data to generate Bitcoin trading strategies and it will simulate trading on the last 30% of the data.
Now, if I switch to 10%, this means that the Generator will use 90% of the time. And for the last 10%, it will simulate trading. And in our case, with the historical data that I have, this will be from the 3rd of August until December.
So for a little more than 4 months, it will be just a simulation of how these strategies would perform if I have placed them for trading on the 3rd of August.
The MACD Indicator
But actually, I won’t be testing them on a Demo Account or a Live Account, the strategy builder will do this simulation. And this is one of the methods to avoid over-optimization because I will just choose the strategies that are profiting in these last 4 months.
So going back to the Reactor, I will use Out of Sample 10%. For the Max entry indicators and Max exit indicators. I will leave it as it is.
The Generate strategies with preset indicators setting will be suitable if you have some favorite indicators. For example, let’s say you like the MACD Indicator and you want the MACD in every strategy, you can check that, when you click on it, you will go to Preset Indicators in Tools and then you can add MACD or any other indicator. Then this MACD indicator will be in all of your trading strategies.
But I don’t usually do that. I want the Generator to show me which are the best combinations between different indicators.
How to use the common Acceptance Criteria
Make sure to set a checkmark before the Use the common Acceptance Criteria.
We need to use it. This is where we set some criteria. For example, I will select that I want to have a minimum of 500 counts of trades for every strategy or for every Robot.
Now, with time I found out that the more count of trades we use the more robust strategies we have.
Because imagine you have a backtest just with 20-30 trades or you have the Bitcoin trading strategy executing just 20 or 30 trades for the last 3 years. I guess you wouldn’t be happy trading such a strategy.
But having 300, 400, or over 500 trades that happened for the last 3 years, and the strategy is profitable, you will know that this is a robust strategy and you can depend on that strategy for the future. Because if it executed 500 times the same rules and it kept being profitable, then there is a higher chance that the strategy will keep being profitable in the future.
The minimum profit factor of 1.2 is just fine.
The profit factor is the net profit divided by the net losses.
You can add any other criteria, but I will stick to the Minimum count of traders and the Minimum profit factor.
And as well, we have the option to set criteria, for In Sample part which in our case will be the 90% zone. And I will go to the profit factor again, but I will decrease it just to 1.1. I will remove the net profit, no net profit. Obviously, on the top, we will see the strategies that have the most net profit.
So Minimum profit factor is 1.1, and this is the Acceptance Criteria that I will be using while generating the Bitcoin trading strategies.
So what happens now?
The Generator will produce strategies on Bitcoin, on the hourly chart without Stop Loss and Take Profit. It will generate the strategies over 90% of the historical data. And for the last 10%, it will test them, it will simulate trading and it will pass only the Bitcoin trading strategies that fulfill the Acceptance Criteria. Only the strategies that have more than 500 trades and that have more than 1.2 as a profit factor and that have more than 1.1 in the In Sample and in the Out of Sample.
Avoid optimizing strategies
I’m not going to use Optimize strategies settings because it is risky to over-optimize the strategies.
With my experience, I know that the Generator finds good enough combinations between indicators and parameters, so no need to optimize them and to look for better parameters. That’s personal, in my opinion. So in this lecture, I’m just showing you how I use the Reactor by myself to generate 100s of Bitcoin trading strategies.
And below we have the robustness testing tools. I will leave the Monte Carlo test, meaning that at least 16 out of the 20 tests, or 80%, from the Monte Carlo, should be true.
And if the Bitcoin trading strategies from the Generator pass the Acceptance Criteria, they will go through the Monte Carlo. If they go through the Monte Carlo, we will see them in the Collection.
We will see the number of strategies that are generated. How many pass the validation and how many trading strategies pass the Monte Carlo? And if the strategy passes everything that I’ve said, it will go into the Collection.
Number of Bitcoin trading strategies generated
And one last thing I wanted to mention, if I click on tools and I go to settings, I set it usually to close the trades at Friday close or at Friday to close all trades by 9:00 PM.
Different brokers close at different times on Fridays. Some will close at 10:00 PM, others at 11:00 PM, others at midnight. I put it at 9:00 PM. So it doesn’t matter what your broker uses as a closing hour, I want to make sure that you will not have trades left behind for the weekend.
Now, I will return to the Reactor and I will click on Start.
Again the generation process is very fast but you can notice the difference. Not so many Bitcoin trading strategies are going into the Collection now. Only 1 has passed everything. And it went in the Collection. You see a very nice equity line and as well, the Out of Sample test is profitable.
So what I will do? I will leave the Reactor running for 600 minutes, which is 10 hours. Something else that I will do right now is to open the very same EA Studio on the other 2 browsers and I will generate strategies at the same time for M30 and for M15. And not just on different tabs, but on separate browsers, because this way the software works faster.
This is one of the things that I liked most the first time when using EA Studio. You can run multiple Reactors on your computer on different browsers.
I will leave it now for H1. Then I will open 2 more browsers actually for M30 and M15. And in the Bitcoin Algorithmic Trading course, I show you how many Bitcoin trading strategies I have generated and what strategies we will have in the Collection.
3 real Bitcoin trading strategies
Now, I will share with you 3 super simple trading strategies that you might want to consider if you have no idea about how to invest in Bitcoin, but you want to do it.
The Dollar cost averaging
The first strategy is called Dollar cost average, and it’s super popular from Stock trading and now it became really popular with Cryptocurrencies.
What you don’t want to do is to buy at one time with all of the money you have, because if the price falls after that, you will not have capital to buy at a cheaper price. And why would you want to buy on a cheaper price so you have a better average price.
Let’s imagine you bought Bitcoin at $20 000, then it fell to $15 000. Then it goes up again. Now, if you have bought on 20 and you have bought on 15, you will have an average price of $17 500. And then when the price goes up, you will benefit more compared to if you have bought all the $20 000.
So the Dollar-cost averaging trading strategy is perfect if you are a beginner, if you cannot read charts, if you don’t have the time to analyze the news and to follow the news on the crypto communities, and you just want to purchase constantly Bitcoin or other cryptocurrencies.
So with Dollar-cost average strategy, you can set up recurring payments or recurring purchases every week, every 2 weeks, or every month. I think these are the possibilities around the Crypto exchanges. And I will show you how that works, for example, with crypto.com. So let me open the crypto.com app, for example.
On the bottom, you see the blue circle with the lion. Click on that.
Then you have Recurring Buy, I will tap on that.
It says Setup Crypto purchases weekly, bi-weekly or monthly. Then I have Setup recurring buy, I will check on that.
We have the option to select which Cryptocurrencies I want to buy, let’s say Bitcoin.
And I set the amount.
Debit card purchases
For example, if I set a 100 BGN, that’s the national currency in Bulgaria, that’s about 50 to 55 EUR or about $60, I think at the current rate. And then I can select the frequency, for example, I want to buy every week 50 EUR, I will confirm on that. Then I want to repeat on every let’s say Monday.
I click on done and then pay with. And I can select any of my debit cards that I have used. I have to check. I understand and acknowledge that a 1.49% fee will be added for a recurring purchase using a credit card. So 1.49 is a relatively low fee using a debit card.
And then if I confirm I will set this schedule so weekly I will be buying 50 EUR. Every week 50 EUR will be withdrawn from my debit card and the purchase will go automatically into my account. So this is really suitable for beginners who want to avoid emotions. Just want to put on the site every month some money for Cryptos.
A Bitcoin trading strategy where you don’t have to do anything
And I can tell you that there are a lot of people who made a lot of money during the last 3 or 4 years, people who are just buying when the Bitcoin crashed after the 2018, 2019, 2020, buying weekly or buying monthly, and now they are on a fantastic profit and they basically didn’t do anything because it was all automatic.
And it’s super easy with some of the apps like crypto.com, where you can set it up and do nothing. You don’t care where the price is. That’s the idea of the Dollar-cost average trading strategy for Bitcoin. So you don’t care if the price going up today or it’s going down. It’s Monday. You buy Crypto, it’s Wednesday, let’s say you set it on Wednesday, you buy Crypto.
And at the times when the price just rocks it as it did in December 2020 and January 2021, you will be on a profit because you will have a better average price when Bitcoin reaches record highs. And personally, that’s not my strategy because I know how to read the charts, I’m in front of the computer every day.
The second Bitcoin trading strategy
I usually buy the dips or this is when the price drops and I take profits when it reaches some record highs. But that’s me. I’m trading and investing for many years, now I know how to do it, but especially if you’re a beginner, that is a strategy that you might consider.
Now, for the second strategy, I will need to get to my computer and I will show you something very simple and easy. So I will just share my screen with you. And for that Bitcoin trading strategy is actually a super simple strategy, you can use any website that offers charts and basic indicators. For example, you can use tradingview.com, you can use Coinbase Pro.
You can use any broker that offers Crypto, you can use crypto.com. And I will stick to it. Right now I have the Bitcoin chart and I’m on a daily chart.
Which means that each candlestick or each of these lines, I can say that way for the beginners, represents 1 day time.
Moving average indicator
So on the top, you see Indicators. I will click on that and I will look for the Moving Average indicator. That is one of the basic indicators, but it works really great if you are planning to invest in the long term.
So I will click on that. I will close that box and I see it on the chart.
But it’s blue so I will just format it, right-click to make sure it’s a little bit more visual. I will go to style and I will change to red for example. So it’s more visual. I can make it thicker and then I will go to inputs. What I will do? I will increase the number not 9 but to 21 and I click on OK and here it goes.
You can see the moving average is just the line that represents kind of average price. Basically, if it’s 21 it means that it takes the last 21 days the value of the closing price of the day and it divides that sum by 21. That’s how it works. So it takes the average price for the last 21 days.
When the price goes up
So this is the very simple Bitcoin trading strategy, guys. I want to go to any details. Whenever the price is above the 21 moving average, you can buy, you just have the confirmation that the price is going up and if I scroll a little bit the chart going back to August or September, in July, the price starts to go up.
Let me go back to the bottom that we had that year after the coronavirus.
The price reached the low of 3 900, according to crypto.com. And then when the price goes above the moving average, you can buy. The price is already reversing. It’s going into uptrends and you are all right to buy it.
If I scroll to the right, I see just when the price goes sideways and when the price is under the moving average, there is a high possibility that it will continue lower. But whenever it crosses the moving average and starts to go up, you are fine to buy. In September there was a pullback and after that in October, the price just went much, much higher.
Price action trading
So if at any moment you wonder, should I buy? Is it a good time to buy? Now, you can simply look at the 21 moving average and if you see the price above, then you are fine. Now, in January 2021, we have the price below the 21 moving average and it’s a lot of talks and analysis around there if the price will actually go lower or if it will continue higher.
So personally, I’m not buying any more Bitcoins until I see the Bitcoin again above the 21 moving average. So that’s a very simple strategy that I can show you in this short lecture. But of course, if you want to learn more about price action trading, you should go for it and learn it, price action trading basically represents the behavior of the investors, of the participants on the market.
I personally use a lot of price action and it’s much more than a simple moving average, obviously. And I have a complete course about Bitcoin investing with price action – it is the Bitcoin investment strategy course. So there I explain the whole method that I follow while I am analyzing the charts and I show many live examples while I’m purchasing Bitcoins and other Cryptocurrencies.
Moving average strategy in Bitcoin trading
So the moving average strategy, as I’ve said, is super simple and you really don’t need to have any previous experience to apply it. But it’s more of a strategy that will show you when to buy. Or is it a good moment to buy right now? Is the price going up or not? So if you see the moving average going up, the price is above the moving average.
Price is going up at the moment. How far? We don’t know. But if you see, for example, the price going below the 21 moving average, then it could be a good time to take your profits. And the third trading strategy that I will share with you is for the time when you already have bought Bitcoin or cryptocurrencies, you have them in your wallets, but you’re not planning to sell them soon.
You just want to hold for a longer time. And by holding coins, you can actually earn an interest rate on it without doing anything. That’s the staking. So staking got really, really popular because it is absolutely suitable for complete beginners and it’s not as complicated as mining. And at the same time, it doesn’t cost you anything.
Staking
I will try to explain it with very simple words. Staking is just like depositing money into your bank and you earn an interest rate on it. But at the current moment, especially after 2008, the banks offer very low interest rates on deposits like 1, 2. I don’t think there is 3% anywhere at the moment in 2021. Hopefully, in the future, there will be by the time you’re watching that video.
But for the moment, the interest rates in the banks are really, really low. That’s one of the reasons why the huge investors and institutional traders decided to invest more in Bitcoins and Cryptocurrencies because they wanted to have faster returns on their investment.
So instead of depositing money into your bank, you can actually stake your Cryptocurrencies and earn interest rates. And nowadays, in 2021, it’s more and more popular and as well crypto.com, for example, offers staking.
Stake options
So if I open the app again and I click again on that icon.
At the bottom and you will see Earn.
So right now I can earn up to 12% annually on my Crypto assets. So at the moment, by the time I’m recording that video, I have 2 options with 5 000 or less CRO stake, which is the coin for crypto.com or with 50 000 or more CRO stake.
And I have 3 options to stake; 3-month term, 1-month term, and the flexible option. So for the 3-month term, I have the option and the possibility to stake many Cryptocurrencies. With Bitcoin, it’s at the moment at 6.5%, Ethereum is 5.5, Tether is 12%. And what I like to stake a lot is the Dollar coin, which is at 12%.
So the Dollar coin is a coin that has the price of the American Dollar. So basically, it doesn’t fluctuate a lot. It doesn’t change its value that much as the others. And that’s one of the reasons they offer 12%. For example, I put $10 000, at the end of the year I will have a $1 200, 12% without doing anything. For me, that’s amazing.
You cannot access your coins
There has never been something like that. I don’t care what will happen with the price, is it going up, is it going down. Of course, if you stake, for example, Bitcoin or Ethereum and the price of the Bitcoin goes up, that will be great because you will gain more value. But the good thing is that you will get your profit after 3 months but for 3 months, your coins will be locked. You cannot sell them, you cannot exchange them, you can’t do anything.
If you think that 3 months is too much, then you can go for a shorter period, like 1 month. And of course, this will lower the interest rate. For example, with Bitcoin right now is 4.5. And with the Dollar, it is 10% I know that because I use that. So I see it – Dollar coin, 10% for 1 month.
And if I go to flexible, which allows you to withdraw your money, you can see Bitcoin 2% and with the Dollar coin, it is 8%. So this is the staking. And since it becomes really popular, a lot of my students asked me about staking how I do it, which Crypto exchange I used to do it, or what websites. I’m planning to record a complete course about it and show more details how I personally do it.
But it is actually quite easy to do it with apps like crypto.com. But guys, I’m not recommending it. I’m just giving you 3 different strategies in this lecture that you can think about or what you can do is just try the 3 of them and see which one will work best for you.
Final words
So please share with me which of the 3 strategies you find most appropriate for yourself in the comments below. I would be happy to assist you if you have any questions.
Thank you, guys, for reading. I hope this lecture will be useful to you and will help you to understand how to generate simple and complex Bitcoin trading strategies in less than a day using the EA Studio strategy builder.
If you have enjoyed the lecture, share it across social media or just leave a comment below to show your appreciation. I will see you in another lecture.
Very informative post about bitcoin trading. not all traders learn about it. As a result, lacking of perfect guidelines they failed in trading. But some guidelines can improve their trading beyond expectation. So it is very helpful.