You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,10 +27,19 @@ Sum using decimal32_t: 52151.99
27
27
====
28
28
29
29
[#examples_boost_math]
30
-
== Boost.Math Integration
31
-
32
-
=== Bollinger Bands
30
+
== Boost.Math to Calculate Bollinger Bands
31
+
====
32
+
[source, c++]
33
+
----
34
+
include::example$statistics.cpp[]
35
+
----
33
36
34
-
In the examples folder there is a file named `statistics.cpp`.
35
-
This example demonstrates how to parse a file, and then leverage Boost.Math to compute statistics of that data set culminating with the values of the Bollinger Bands.
36
-
This example could be extended with the simple moving average to create full bands based on the period of the moving average you would like.
0 commit comments