#include "constants.h"
#include "core.h"
#include "ohlc.h"
#include <cassert>
#include <ranges>
#include <vector>
Go to the source code of this file.
|
| namespace | fx |
| | Core routines that don't depend on any other fx routines.
|
|
| constexpr auto | fx::to_atr (auto &&series) |
| | Calculate ATR of a series.
|
| constexpr auto | fx::to_atr2 (auto &&series) |
| | Calculate ATR of a series.
|
| constexpr double | fx::to_atr3 (auto &&series) |
| | Calculate ATR of a series.
|
| constexpr double | fx::to_vwap (std::ranges::range auto &&xs) |
| | Calculate VWAP rolling average.
|
| constexpr double | fx::to_vwap2 (std::ranges::range auto &&xs) |
| | Calculate VWAP rolling average.
|
| auto | fx::is_recent_dip2 (auto &&series) |
| | Test if there has been a recent minimum.
|