In the first variant, we’ll use StopLoss and ProfitTarget to manage positions:
Wow 🙂 I think this is a great result for such a very simple condition.
Although the %DrawDown (DD) increased by 8%, the %Win doubled to 69,78% 👍. The increase in drawdown is manageable because the overall drawdown averages out across the portfolio. Plus, we haven’t added any trend filters yet.
What’s great is that we kept the strategy simple: we used the same indicator for both entry and exit, but with reversed logic.
In the final variant, we’ll add a simple trend filter to improve results by filtering out some poor trades. We will only enter trades when the closing price is above the 100-period exponential moving average:
O > EMA(C, 100)
The difference is clear! The equity curve is much smoother, and we reduced the %DrawDown to 13,79% using a simple filter.
Strategy type | Variant | # trades | Total Profit | CAGR | Profit Factor | Right/DD | Win % | DD % |
BuyDip | Was 1 | 4376 | $86 662,00 | 4,29 | 1,55 | 16,75 | 32,05 | 20,,4 |
BuyDip | Was 2 | 11162 | $101 095,00 | 4,56 | 1,47 | 16,14 | 69,78 | 28,13 |
BuyDip | Was 3 | 11908 | $87 524,00 | 4,31 | 1,57 | 16,26 | 71,6 | 13,79 |
overall comparison of individual variants
In today’s article we have created 3 variants of a new strategy that buys dips in the trend. Of course, the results may look different because you can try different indicator periods, different entry and exit timings, different position score and maximum number of open positions, etc.
Just take a simple idea, write a condition and test. And especially to try new and new approaches.
In total, we have already created 10 different strategies in reserve, from which we will create the first portfolio next time, which we will deploy on the demo account.
You can clone and right away start testing all strategies mentioned in the article here:
Libor Štěpán
This website is operated by AlgoWizardCloud LLC.
AlgoCloud.com is a technology platform and publisher, not a registered broker-dealer or registered investment adviser, and does not provide investment advice.
Investing involves risk and investments may lose value. 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 indicative of future results. Seek appropriate financial, taxation and legal advice before making any investments.
Risk Disclosure:
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.
Risk Disclosure:
Broker disclaimer:
Interactive Brokers, Alpaca, XTB brokers are not affiliated with AlgoCloud.com and do not endorse or recommend any information or advice provided by AlgoCloud.com