Description Usage Arguments Details Value Examples

Use this function to either check for the inbuilt financial markets pattern or to use your own recognition function as described in the readme.

1 |

`window` |
Time Series Data |

`useriq` |
User-built recognition function. Set to |

`...` |
Parameters passed on to either the inbuilt or external recognition function. Check iq for the parameters of the internal function. |

For an overview of the package capabilities, click here rpatrec.

A list containing the following:

'EXT' All extrema found in the sample, 0 for minima and 1 for maxima

'EXP' Value of these extrema (y-coordinate)

'EXP' Position of these extrema (x-coordinate)

Recognition Output A list containing the extrema that form part of the pattern labelled by either the custom or iq function.

'HSP' Can be either:

'HS' (Head and Shoulders)

'InvHS' (Inverse Head and Shoulders)

'BTPorTTP' Can be either:

'BTOP' (Broadening Top)

'BBOT' (Broadening Bottom)

'TTOP' (Triangle Top)

'TBOT' (Triangle Bottom)

'RTP' Can be either:

'RTOP' (Rectangle Top)

'RBOT' (Rectangle Bottom)

'DTP' Can be either:

'DTOP' (Double Top)

'DBOT' (Double Bottom)

'RESULT'

`TRUE`

if any pattern is found,`FALSE`

otherwise

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.