Let me introduce myself. I have been involved in algorithmic trading for several years, I know how complex the path is from the first idea, through the programming of algorithms to the final evaluation of whether the algorithms succeed in the live market. The latest algorithm I designed and rolled out myself works on XAUUSD and NAS100, is based on the SUPERTREND indicator and uses a maximum of a sevenfold increase in position if the trade ends in a loss. In programming the algorithm, I ran into imperfections in the code that had to be corrected, and I discovered how the indicators affect different quote times at different brokers. It took months to fine-tune the algorithm. Here are the outputs from my last algorithm:
My SuperTrend algorithm on NAS100
My SuperTrend algorithm on XAUUSD
I was already familiar with StrategyQuant from the past, and after being approached by students who wanted to take a course in algorithmic programming, the strategy building path in the SQ Program seemed the best for them. The collaboration with StrategyQuant s.r.o. has begun 🙂
The students and I started generating strategies using a genetic algorithm for currencies, indices, metals and stocks. Then we could see which markets were better and worse to trade algorithmically. We generated strategies mainly for timeframe H1. Several computers were running continuously in the school to generate strategies and then optimize them. We imported the generated source codes that passed the out of sample test into the MetaTrader 5 trading program. There we sorted the strategies from best to worst and started optimizing them on different data from different brokers. We chose to optimize on the 2018 – 2021 data with 1/2 of the data for optimization and 1/2 as an out of sample test. We sorted the out of sample test results by the highest profit factor and found among the first few rows of results that the optimization has a similar profit to the out of sample period. This fact proved that there was no over-optimization. Next, we ran the setup on the 2021 – 2022 data. It was found that each algorithm experiences slightly less profitability than the optimization and over time this profitability decreases from the optimized period.
Here is an example of optimization US500 on 2018 – 2021 data with 1/2 of the data used for optimization and 1/2 for out of sample confirmation:
Here is an example of US500 and a forward test setup on 2021-2022 data:
For each broker, we performed optimizations on its data, due to the fact that one broker, for example, quotes NAS100 twenty-three hours per day and the other one quotes NAS100 sixteen hours per day. We also found that it is best to do the optimization every two months on data from the last three years.
The result of using SQ is that the students did not need to know the issues of algorithmic trading in detail, including programming, and despite this they were able to construct a successful trading portfolio using the frameworks I had set for them to follow. Using the SQ program to generate strategies using the genetic algorithm speeds up the development of the algorithms several times over, and the user can be confident that the generated algorithms work without programming errors.
Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.
Hypothetical Performance Disclosure:
Hypothetical performance results have many inherent limitations, some of which are described below. no representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.
Testimonials appearing on www.strategyquant.com may not be representative of the experience of other clients or customers and is not a guarantee of future performance or success.