Skip to main content

COSH

Type: cosh • Category: indicators

Description​

Vector Trigonometric Cosh

Parameters​

NameTypeDescriptionRequiredDefault
dataExpstringInput datano
realstringData column to apply the calculation to (e.g., closing price)no

Help​

COSH: Vector Trigonometric Cosh

Description​

The COSH worker is a financial analysis indicator that calculates the hyperbolic cosine of a given data series. This indicator is used to analyze and visualize the behavior of financial data.

What does this worker do?​

The COSH worker takes an input data series and calculates the hyperbolic cosine of each value in the specified column (e.g., closing price). The result is a new data series that represents the COSH values.

How to interpret the results?​

The COSH indicator is used to analyze the volatility and trends in financial data. A high COSH value indicates a rapid increase in the data, while a low COSH value indicates a rapid decrease. The COSH indicator can be used to:

  • Identify trends and patterns in financial data
  • Analyze volatility and stability of financial instruments
  • Make informed investment decisions

Usage​

To use the COSH worker, simply provide the input data and specify the column to apply the calculation to (e.g., closing price).

Parameters​

  • dataExp: Input data
  • real: Data column to apply the calculation to (e.g., closing price)

Example Usage​

For example, you can use the COSH worker to analyze the closing price of a stock:

DateClosing Price
2022-01-01100
2022-01-02120
2022-01-03110

The COSH worker will calculate the hyperbolic cosine of the closing price for each day:

DateClosing PriceCOSH
2022-01-011001.543081
2022-01-021202.320511
2022-01-031101.815766

Visualizing the COSH Indicator​

The following images demonstrate how to use the COSH worker:

Full Example​

[![Full Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)

Short Example​

[![Short Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)

Additional Information​

The hyperbolic cosine function is a mathematical function that is commonly used in finance to analyze and model the behavior of financial instruments. It is defined as:

cosh(x) = (e^x + e^(-x)) / 2

The COSH worker uses this function to calculate the hyperbolic cosine of each value in the input data series. The result is a new data series that represents the COSH values.