<?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>Code</anon>
  </categories>
  <description>とある人からの問合せで、ＥＡ作成初心者がはまりやすいワナがあったので紹介します。 TrailingStop機能の実装で、以下のようなコードを書くと、OrderModify error 1が頻発するのですが、コードを見る限りおかしな所が無いように見えます。 for(i=0;i0) &amp;&amp; (Bid-TL*Point&gt;=OrderOpenPrice()) &amp;&amp; (Bid-TL*Point&gt;OrderStopLoss()) ) OrderModify(OrderTicket(),OrderOpenPrice(),Bid-TL*Point,OrderTakeProfit(),0,Green); } if…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffai-fx.hatenadiary.org%2Fentry%2F20091122%2F1258815644&quot; title=&quot;TrailingStop と OrderModify error 1 の微妙な関係。 - とある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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-11-22 00:00:44</published>
  <title>TrailingStop と OrderModify error 1 の微妙な関係。</title>
  <type>rich</type>
  <url>https://fai-fx.hatenadiary.org/entry/20091122/1258815644</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
