A Dual-EMA Turning-Point Strategy for Cryptocurrency Futures
Summary
The document teaches a simple trend-following futures strategy built from two exponential moving averages. It signals a long entry or reversal when both averages form a local trough, and a short entry or reversal when both form a local peak. The implementation tracks whether it is long, short, or flat, closes any opposite position before reversing, cancels outstanding orders before closing, and records the entry price. It also uses a fixed price-difference profit target to exit positions and plots indicators and trade markers for monitoring.
The article is primarily a programming and strategy-design tutorial, with inline explanations of data retrieval, indicator calculation, order handling, and position state. It includes default historical test settings, but offers no performance results or parameter analysis. The author emphasizes that results depend heavily on parameter choices and frames the example as educational rather than suitable for live trading. The approach also leaves practical questions such as transaction costs, slippage, position sizing, and robustness to market conditions for further evaluation.
Key ideas
- The strategy uses two exponential moving averages and trades when both form a local turning point.
- A trough in both averages signals a long entry or reversal, while a peak signals a short entry or reversal.
- The program tracks position state and closes an opposing position before opening a new one.
- A fixed price-difference target is used to take profits.
- The example is instructional and provides no evidence that the strategy is profitable in live markets.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.