This function tests to see if the mktdata or indicator column observations 
on either side are lower(higher) creating a local peak(bottom).
| 1 | 
| label | text label to apply to the output | 
| data | data to apply comparison to | 
| column | named column to apply comparison to | 
| direction | one of "peak" or "bottom" to calculate peaks for | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.