OHLC MACD chart
OHLC chart and MACD indicator for ETHEUR 1day Kraken market data.
See the demo hosted on Firebase.
The graph enables horizontal scrolling. Click the graph to display each period’s closing price.
Sources are available on github for the backend server and the ReactJS frontend. The Java server is hosted on Heroku and uses a PostgreSQL database. The server requests the Kraken API every two minutes to retrieve the latest OHLC data. It also computes the MACD every two minutes. The ReactJS frontend is hosted on Firebase.
From wikipedia: the MACD, short for moving average convergence/divergence, is a trading indicator used in technical analysis of stock prices.
As stated by wikipedia , the trading strategy relies on the Signal-ligne crossovers: A “signal-line crossover” occurs when the MACD and Signal lines cross. The standard interpretation of such an event is a recommendation to buy if the MACD line crosses up through the average line (a “bullish” crossover), or to sell if it crosses down through the average line (a “bearish” crossover). These events are taken as indications that the trend in the stock is about to accelerate in the direction of the crossover.