Price
polars_ta.ta.price
Functions:
| Name | Description |
|---|---|
AVGPRICE |
(open + high + low + close) / 4 |
MEDPRICE |
(high + low) / 2 |
TYPPRICE |
(high + low + close) / 3 |
WCLPRICE |
(high + low + close * 2) / 4 |
AVGPRICE(open: Expr, high: Expr, low: Expr, close: Expr) -> Expr
(open + high + low + close) / 4
References
https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_AVGPRICE.c#L187
MEDPRICE(high: Expr, low: Expr) -> Expr
(high + low) / 2
References
https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_MEDPRICE.c#L180
TYPPRICE(high: Expr, low: Expr, close: Expr) -> Expr
(high + low + close) / 3
References
https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_TYPPRICE.c#L185
WCLPRICE(high: Expr, low: Expr, close: Expr) -> Expr
(high + low + close * 2) / 4
References
https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_WCLPRICE.c#L184