OPEN-SOURCE SCRIPT

AP Index - Geomagnetic disturbances

Updated
Daily AP index back to 2015-01-01.

Geomagnetic disturbances can be monitored by ground-based magnetic observatories recording the three magnetic field components. The global Kp index is obtained as the mean value of the disturbance levels in the two horizontal field components, observed at 13 selected, subauroral stations . The name Kp originates from "planetarische Kennziffer" ( = planetary index).

The three-hour index ap and the daily indices Ap, Cp and C9 are directly related to the Kp index. In order to obtain a linear scale from Kp, J. Bartels gave the following table to derive a three-hour equivalent range, named ap index.

Geomagnetic Ap Index: The daily index Ap is obtained by averaging the eight values of ap for each day.

Based on the data from Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences.
Release Notes
Update to V5.

To answer frequent questions: Data aren't updated. Due to TradingView's limitations the external data are hardcoded in the source code and would need manual updating.
Last data point currently is 24 Sep 2021.
APgeomagneticindexTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer