<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fai_fx</author_name>
  <author_url>https://blog.hatena.ne.jp/fai_fx/</author_url>
  <blog_title>とあるMetaTraderの備忘秘録</blog_title>
  <blog_url>https://fai-fx.hatenadiary.org/</blog_url>
  <categories>
    <anon>Tips</anon>
  </categories>
  <description>昨日の日記では、メインウィンドウでの DRAW_HISTOGRAM の話でしたので、今日は、その続きとして、サブウィンドウでの DRAW_HISTOGRAM の話。 サブウィンドウでの DRAW_HISTOGRAM は、MACDのヒストグラムを見て分かる通り、バッファの値からゼロに向かってヒストグラムが描かれます。 なので、ヒストグラムを使って、ローソク足や平均足のように宙に浮いたような棒を描くことは出来きません。ですが、そこを無理やり擬似的に実現する手法を考えついた人がいるようで、下図の Heiken_AshiH_sw_mtf.mq4 では、それっぽくバーが描かれています。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffai-fx.hatenadiary.org%2Fentry%2F20100108%2F1262927260&quot; title=&quot;SubWindow の DRAW_HISTOGRAM で平均足 - とあるMetaTraderの備忘秘録&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/f/fai_fx/20100108/20100108133643.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-01-08 14:07:40</published>
  <title>SubWindow の DRAW_HISTOGRAM で平均足</title>
  <type>rich</type>
  <url>https://fai-fx.hatenadiary.org/entry/20100108/1262927260</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
