Three Red Candles Trading Strategy

A MATLAB trading strategy based on a candle stick pattern.

You are now following this Submission

The "Three Red Candles" trading strategy buys at the open price of the next bar when three red candles occur in a row. A red candle is defined by the closing price of a bar being equal to or smaller than the opening price. The position is closed when three white candles occur in a row. A white candle is defined by the closing price of a bar being greater than the opening price.

Please see http://www.tadeveloper.com/blog/83-three-red-candles-matlab-trading-strategy for a full description of the trading strategy.

Cite As

tadeveloper (2026). Three Red Candles Trading Strategy (https://www.mathworks.com/matlabcentral/fileexchange/40614-three-red-candles-trading-strategy), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0