Backtesting the MACD strategy on 31 currency pairs using Python

Опубликовано: 20 Июнь 2026
на канале: ZetraTrading
714
21

The MACD strategy is well known in the trading community and has been backtested a number of times by various YouTubers. The
results, however, are presented for either one currency pair or one timeframe. In this video, we go
further and consider 31 currency pairs and different timeframes, namely 4h, 1h and 30min.

You will be surprised by the results we found.

The code is available on our Github repo.
Github: https://github.com/zeta-zetra/code

Timestamps:

0:00 - 0:33 Introduction
0:34 - 0:45 Python and Backtesting.py
0:46 - 1:09 History on MACD
1:10 - 1:46 Explanation about MACD Indicator
1:47 - 2:03 Buy Signal of the Strategy
2:04 - 2:17 Sell Signal of the Strategy
2:18 - 2:23 Risk Reward Ratio
2:24 - 2:27 List of currency pairs
2:28 - 2:52 List of time frames
2:53 - 3:28 Results
3:29 - 3:33 Outro


#tradingview #daytrading #forex #stocks #invest #technicalanalysis #education #priceaction #investing #trader #stockmarket #forexlifestyle #options #macd #forextrading
#tradingforex #tradingeducation #forexsignals #forexeducation
#forexforbeginners #motivation #forexstrategy #forextradingforbeginners