Last-N Candle Direction and Inverse-Logic Strategy
Summary
This strategy uses the colors of a chosen number of recent candles to set a long or short position. When all checked candles are green, it goes long; when all are red, it goes short. An inverse setting swaps those directions. After entry, a bar counter tracks the holding period and closes the position once the configured exit count is reached.
The document describes adjustable candle-check and exit counts, an investment-value input, and a backtest configuration for BTC_USDT futures. It gives no performance results, so it does not establish that either the standard or inverse rules are profitable. Candle color alone may give misleading signals, and the document notes that the parameters have no demonstrated optimal values and that single-trade losses are not controlled by a stop. It suggests testing parameter combinations, adding trend filters and stop-loss rules, and comparing both directional settings across markets. The supplied source also appears to implement the inverse green-candle case as a long order, which does not match the written description of going short.
Key ideas
- The strategy enters long after a run of green candles and short after a run of red candles.
- An inverse setting is intended to reverse the direction of each signal.
- A bar counter closes a position after a configurable holding period.
- The document provides no performance evidence and identifies missing stop-loss control as a risk.
- The supplied source appears inconsistent with the described inverse rule for green candles.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.