In the recent article, we learned basic information about moving average indicators. However, a lot of traders these days use day trading strategies. Very often, on our fxigor youtube channel, I am getting questions about the best moving average for this type of chart.
I do not use short periods for trading, and as I am older, I am using more long-term trading strategies or swing trades, and for at least a couple of days, I keep my positions. However, the rule of thumb for every kind of strategy, you need to make tests. So if you conduct hundreds of trials and get statistically relevant results, you can choose the proper parameters.
Usually, quant traders use machine learning models to tune and find proper parameters for indicators. However, in this article, I created a simple testing strategy that you can also do. Instead of Metatrader, we will use TradingView (read our review).
The Best Moving Average for 5 Min. Chart Case Study TradingView
The best moving averages for the 5-minute chart are 20 MA and 50 MA. Based on 72 tests on the TradingView platform, results are generated on major USD forex pairs (EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, and NZDUSD).
We created one more experiment for a 15-minute chart too.
The best Moving Average for 15 Min Chart are 8 MA and 13 MA. Using the same strategy, we implemented all tests on 6 major forex pairs and got a similar result.
We used only five years time frame for each test.
Step 1: Visit the TradingView page for strategy testing.
You can get a premium pro account here, but you need free for this experiment:
Step 2: Choose wished chart and set the time frame to be 5 minutes.
Step 3: Choose MovingAvgLineCross from the list of scripts. Using this EA, you will buy when you have a bullish cross and sell after a bearish cross. In this case, you can evaluate which period crosses are the best.
Step 4: Set periods and test strategy.
You will get the profit factor and testing results in just a few seconds.
The Best Moving Average for 5 Min. Chart Case Study MT4
If you like MT4, you can test and choose the best moving average for 5 minutes chart. In this case, you need to download our EA for moving average crossover:
- Download MT4 EA to test moving average crossover for different periods.
- Copy .ea expert advisor into Experts Folder.
- The EA inputs set periods in the fields “Fast moving average period” and “Slow moving average period.”
- Run EA and test various variations.
Case Study results
We made a lot of combinations of moving average periods. We tested major currency pairs in the last 10 years, from 2012 up to 2022. For each currency pair (EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, and NZDUSD) test is done using a per one-period combination and the average profit factor is estimated.
|Fast Period||Slow Period||Average Profit Factor for major USD forex pairs|
The profit factor represents the average profit factor estimated from 6 test results for 6 major forex pairs.
Period combinations are made based on finance literature and trading experience.
High-volume traders usually use periods such as 10, 20, 50, 100, and 200 in the trading routine. Because of that, the case study result is not unusual. However, periods 8 and 23 showed significant statistical impact in our results, so if you are a day trader and trade on 5-minute charts – you can use our results to improve your trading.