Calculates the end indices of 90 different candlestick patterns
Aktualisiert 15. Nov 2011

Lizenz anzeigen

Since the early days of the Japanese rice traders, candlestick charting has grown into a complex technical analysis tool based primarily on patterns. Candlestick charts are flexible, because candlestick charts can be used alone or in combination with other technical analysis techniques, not instead of other technical tools. As with all charting methods, candlestick chart patterns are subject to interpretation by the user. Currently, there are 90 patterns.

[bull bear neutral] = candlesticks(open,high,low,close)

open - open price
high - high price
low - low price
close - close price

bear - bearish patterns
bull - bullish patterns
neutral - neutral patterns
Outputs are formatted into cells. The index of each cell corresponds
to the index of that pattern in the order listed under Candlesticks.
Each cell holds all of the indices from the input for the end of a
For example:
bear{1} is the Abandoned Baby pattern
[23; 78; 92] are the contents of that cell and are the indices of the
end of that pattern

- data must be column oriented
- there are no argument checks
- most patterns require a prior bullish or bearish trend; this code
does not check for that
- all patterns either require, recommend, or suggest confirmation;
this code does not check for that

load disney.mat
[bull bear neutral] = candlesticks(dis_OPEN,dis_HIGH,dis_LOW,dis_CLOSE);

Version : 1.0 (11/02/2011)
Author : Nate Jensen
Created : 10/25/2011
History :
- v1.0 11/02/2011 : initial release

To Do
- add more candlesticks

The full list of candlestick patterns is located in the help section.

Zitieren als

Nate Jensen (2024). Candlesticks (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011b
Kompatibel mit allen Versionen
Windows macOS Linux
Mehr zu Financial Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise