<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HK29</author_name>
  <author_url>https://blog.hatena.ne.jp/HK29/</author_url>
  <blog_title>PythonとVBAで世の中を便利にする</blog_title>
  <blog_url>https://hk29.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>時系列</anon>
    <anon>pandas</anon>
    <anon>グラフ化</anon>
    <anon>株</anon>
  </categories>
  <description>本記事では、下図のようなスーパートレンドのIndicatorを作成する雛形コードを載せました。株の売買判定をする指標のひとつであるATR(Average True Range)を計算して、チャートに図示します。 必要なのは、株価に関する時系列データで日付と高値、安値、終値です（下図）。 ちなみに、上記のようなチャート情報は、証券会社に口座開設すれば、比較的容易に入手可能です。例えば、楽天証券の場合は下記リンク先を参考に入手できます。 hk29.hatenablog.jp 本コードを実行すると、スーパートレンドとそれを図示するための計算を行い、下図のように列に追記します。 ■本プログラム #!/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhk29.hatenablog.jp%2Fentry%2F2022%2F02%2F27%2F235003&quot; title=&quot;Python 株のSuperTrendのインジケーターを作成する - PythonとVBAで世の中を便利にする&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/H/HK29/20220227/20220227232021.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-27 23:50:03</published>
  <title>Python 株のSuperTrendのインジケーターを作成する</title>
  <type>rich</type>
  <url>https://hk29.hatenablog.jp/entry/2022/02/27/235003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
