In this project, we want to view the Bollinger Band on the Kibana Visualize page. There may be more than one way to do it. What we are going to do is pre-compute the related values of the Bollinger Band and index them when the trading price of the targeted symbol is ready. In addition to the fields from the
cf_etf_history_price index, we are going to index fields such as the standard deviation and the moving average of 20 trading days, the upper and lower bounds of the Bollinger Band, the typical price = (high+low+close)/3, and the predicted anomaly class from the k-means model. We will create a Bollinger Band visualization with Kibana, as shown in the following screenshot:
There are five lines on the chart. The uppermost line on the chart represents the predicted class that uses the k-means model for the 20-day standard deviation...