6constexpr auto win{68uz};
7constexpr auto win2{34uz};
8constexpr auto win4{17uz};
Core routines that don't depend on any other fx routines.
constexpr auto stop_loss
Close position if price has decreased by this percentage.
constexpr auto minimum_entry
Minimum price to consider a trade.
constexpr auto take_profit
Close position if price has increased by this percentage.
constexpr auto earliest_entry_epoch
Furthest back in time to consider a trade.
constexpr auto win
The number of prices in a trading window.
constexpr auto cells
Number of cells in a row of price data.
constexpr auto minimum_atr
Minimum (normalised) ATR to consider a trade.