<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" >
  <channel>
  <title>自分で１から作る♪ExcelでFXシステムトレード</title>
  <link>http://fxxxsystem.blog.shinobi.jp/</link>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://fxxxsystem.blog.shinobi.jp/RSS/" />
  <description>FX初心者のOLミヅキが、Excelを使ってシステムトレードを１から作っていく過程を随時更新します☆</description>
  <lastBuildDate>Mon, 01 Oct 2007 13:18:30 GMT</lastBuildDate>
  <language>ja</language>
  <copyright>© Ninja Tools Inc.</copyright>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />

    <item>
    <title>毎年の勝率☆</title>
    <description>
    <![CDATA[毎年の勝率は、<a href="http://fxxxsystem.blog.shinobi.jp/Entry/30/">過去１年間の勝率</a>の関数の「日付の条件」をちょこっといじるだけでできました♪<br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/1e57a661.jpg"><img alt="1e57a661.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108546/" /></a><br />
<font color="#ff3300">=1-(SUMPRODUCT((<font color="#6666cc">損益の列</font>&lt;0)*(YEAR(<font color="#339966">日付の列</font>)=<font color="#9966ff">成績表の年数のセル</font>))/<font color="#808080">その年の総トレード数</font>)</font><br />
<br />
あまり悩まずに関数ができると、怖いものナシな気分になりますね～！<br />
「もう完璧！」みたいな( *&acute;艸｀)&nbsp;<br />
<br />
まぁ、それも束の間の己惚れなわけですが。<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E6%AF%8E%E5%B9%B4%E3%81%AE%E5%8B%9D%E7%8E%87%E2%98%86</link>
    <pubDate>Mon, 01 Oct 2007 13:18:30 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/39</guid>
  </item>
    <item>
    <title>毎年の総トレード数</title>
    <description>
    <![CDATA[各年ごとの総トレード数です。<br />
ここから表示形式を変えた年数が活躍します☆<br />
<br />
最近１年間のときと同じように<a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/kansu/average.htm#sumproduct">SUMPRODUCT関数</a>を使って、日付の条件を「日付の列の年数が表の年と同じ」という条件に変更すればOKです。<br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/c1f4caa0.jpg"><img alt="c1f4caa0.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108504/" /></a><br />
計算式はコチラ。<br />
<br />
<font color="#ff3300">=SUMPRODUCT((</font><font color="#6666cc">損益の列</font><font color="#ff3300">&lt;&gt;&quot;&quot;)*(<a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/kansu/today.htm#year">YEAR</a>(</font><font color="#339966">日付の列)</font><font color="#ff3300">=<font color="#808080">成績表の年数のセル</font>))<br />
<br />
</font>今度はドラッグすれば、全ての年の結果が１発で出るはずです(｀・&omega;・&acute;)<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E6%AF%8E%E5%B9%B4%E3%81%AE%E7%B7%8F%E3%83%88%E3%83%AC%E3%83%BC%E3%83%89%E6%95%B0</link>
    <pubDate>Sun, 30 Sep 2007 05:31:32 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/38</guid>
  </item>
    <item>
    <title>毎年の通算損益☆☆</title>
    <description>
    <![CDATA[さっき年数の表示形式を変えたとこですが、ココではまだ使いません（笑）<br />
<br />
たとえば、2006年の通算損益の合計を出すとき、気分的には「日付の年が2006のときの損益の合計値」と出したいところなのですが、いろいろ調査したところ「2006年1月1日以降の損益の合計から2007年1月1日以降の損益の合計を引く」という方法が一番一般的なようです。<br />
<a href="javascript:void(0);/*1190900306187*/"><img alt="2cfd1afd.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108480/" /></a><br />
式にするとこうなります。<br />
<br />
<font color="#ff3300">=<a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/kansu/sum.htm#jyoukentuki">SUMIF</a>(<font color="#6666cc">日付の列</font>,&quot;&gt;=2006/1/1&quot;,<font color="#339966">損益の列</font>)-SUMIF(<font color="#6666cc">日付の列</font>,&quot;&gt;=2007/1/1&quot;,<font color="#339966">損益の列</font>)</font><br />
<br />
これを2002年までドラッグして、各年ごとに計算式の年数を修正していきます。<br />
ドラッグ１発（なんか麻薬みたいだ）で各年の計算値が出るような式にするにはどうすればいいのかな・・・(&acute;&omega;｀)<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a><br />]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E6%AF%8E%E5%B9%B4%E3%81%AE%E9%80%9A%E7%AE%97%E6%90%8D%E7%9B%8A%E2%98%86%E2%98%86</link>
    <pubDate>Thu, 27 Sep 2007 13:49:36 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/37</guid>
  </item>
    <item>
    <title>頑張らなくては。</title>
    <description>
    <![CDATA[システムは着々と出来ていくものの、思うような成績がなかなか出ませんね。。<br />
別の指標を使ってみたら・・・とかいろいろ寄り道してて、なかなかブログの更新に至りませんorz<br />
<br />
でも、コメントを頂いたりランキングにポイントが入っていたりすると、「頑張って完成させなくては！」という気力が湧いてきます！<br />
<br />
まだまだこれから！頑張るぞっ（*｀&omega;&acute;）ノ<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a><a target="_blank" href="http://blog.with2.net/link.php?521704"></a>]]>
    </description>
    <category>日記</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E6%97%A5%E8%A8%98/%E9%A0%91%E5%BC%B5%E3%82%89%E3%81%AA%E3%81%8F%E3%81%A6%E3%81%AF%E3%80%82</link>
    <pubDate>Thu, 27 Sep 2007 13:07:34 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/36</guid>
  </item>
    <item>
    <title>毎年の成績に入ります！</title>
    <description>
    <![CDATA[過去１年間の成績を一通り出したところで、次は同じ項目の過去５年間の毎年の成績が表示されるようにしていきます。<br />
<br />
まず、表の年数を数式の中で使いたいので、「XXXX年」を「XXXX」という数字のセルと認識されるように、表示形式を変更します。<br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/a2d4a33c.jpg"><img alt="a2d4a33c.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108441/" /></a><br />
年数の入ったセル全体をドラッグでアクティブにして、コンテキストメニューの「セルの書式設定」を選択します。<br />
<br />
開いたウィンドウの一番左の「表示形式」タブの「分類」という項目から「ユーザー定義」を選択。<br />
「種類」の項目に「0&quot;年&quot;」と入力します。<br />
<br />
これで、表示は「年」とついていても、数式でセルを参照した場合には数字のセルとして認識されます☆<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E6%AF%8E%E5%B9%B4%E3%81%AE%E6%88%90%E7%B8%BE%E3%81%AB%E5%85%A5%E3%82%8A%E3%81%BE%E3%81%99%EF%BC%81</link>
    <pubDate>Thu, 27 Sep 2007 12:10:24 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/35</guid>
  </item>
    <item>
    <title>ここ１年間の年利率(´・ω・｀)</title>
    <description>
    <![CDATA[ここ１年間でお金がどのぐらい増えたかを出します。<br />
最終的に成績で一番優先したいのはこの数値だと思っています。<br />
<br />
出し方は、時系列表の資産推移を使って「現在の資産を１年前の日付の資産で割る」というふうに出します。<br />
元本がいくらでスタートしても増える割合は同じなので、時系列シートを作るときに作った資産推移の列をそのまま使っても数字は出ると思います。<br />
が、グラフにしたときにスタートの金額を合わせるために、１年前の資産が１０万円となる列を新たに作りました。<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/609a88f8.jpg"><img alt="609a88f8.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108042/" /></a><br />
<br />
単利も複利も同じように出すので、まずははじめに作った資産推移欄をそのままコピーして、式だけ書き換えていきます。<br />
<br />
<font color="#ff3300">=IF(<font color="#6666cc">日付のセル</font>=<a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/kansu/vlookup.htm#lookup">LOOKUP</a>(TODAY()-365,<font color="#339966">日付の列</font>),100000,<font color="#808080">元の式</font>)<br />
</font>（本日から３６５日遡った日付（なければ過去の最も近い日付）の場合は100,000を、それ以外は資産推移の計算結果を表示する）<br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/237839f9.jpg"></a><br />
LOOKUP関数のカッコの中に日付の列が２つ入力されてますが、必要ありませんでした＾＾；<br />
どちらも計算結果は変わりません。<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/2ed0954b.jpg"><font size="+0"><img alt="2ed0954b.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108382/" /></font></a><br />
<br />
複利計算についても同様に書き換えます。<br />
ポジション数は参照セルがコピー元のセルのままになっていないか確認します。<br />
<br />
書き換えた式を列全体にドラッグすると、１年前の日付のセルが１０万になって、そこから資産推移の計算が改めて始まります。<br />
<br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/421747b2.jpg"><img alt="421747b2.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108298/" /></a><br />
これで準備が出来たので、いよいよ成績欄に年利率を計算する式を入力します。<br />
<br />
<font color="#ff3300">=(LOOKUP(TODAY(),<font color="#339966">日付の列</font>,<font color="#6666cc">資産推移の列</font><font color="#ff3300">）-</font>100000)/100000</font><br />
<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/5ada04d9.jpg"><img alt="5ada04d9.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1190108402/" /></a><br />
ここでもLOOKUP関数を使います。<br />
複利のほうも、そのまま隣のセルに同じ数式をコピーして、資産推移の列を複利の方に変えてしまえばOKです☆<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E3%81%93%E3%81%93%EF%BC%91%E5%B9%B4%E9%96%93%E3%81%AE%E5%B9%B4%E5%88%A9%E7%8E%87-%C2%B4%E3%83%BB%CF%89%E3%83%BB%EF%BD%80-</link>
    <pubDate>Mon, 24 Sep 2007 14:23:30 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/34</guid>
  </item>
    <item>
    <title>事故とか風邪とか</title>
    <description>
    <![CDATA[なにかと忙しくて更新できませんでした。<br />
そして風邪ひいてしまって会社をはやめにあがりましたヽ(&acute;ー｀)ノ&nbsp;<br />
<br />
最近１日１ゲームパンヤをやったりしてます。<br />
何年か前にちょこっとやったきりルーキーAのままおいてあったんですが、久々にやるとコースは増えてるわやり方忘れてるわでさっぱりです＾－＾；；<br />
<br />
さて、システムの続きやらなくては。<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>日記</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E6%97%A5%E8%A8%98/%E4%BA%8B%E6%95%85%E3%81%A8%E3%81%8B%E9%A2%A8%E9%82%AA%E3%81%A8%E3%81%8B</link>
    <pubDate>Mon, 24 Sep 2007 10:26:36 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/33</guid>
  </item>
    <item>
    <title>整理するって難しいです(つД｀)</title>
    <description>
    <![CDATA[成績の計算式は無事に全部出たんですが、あとからもっとスマートなやり方が見つかったときって、やっぱり修正したいですよね。<br />
でも、途中の式を後から修正すると、順番が狂っちゃう・・・<br />
<br />
最初から全てがスマートなやり方でまとめられるとは思ってないんですが、まとめられないものをどうやって順序よく説明していくかって、もともと整理の苦手な私にとってはエクセルよりも難題かも(&acute;&omega;｀)<br />
<br />
もうちょっとキリのいいところまでいったら、まとめのページを作ろうと思います。<br />
<br />
<br />
しかし、<a href="http://www.accesstrade.net/at/c.html?rk=01000uwq002zph">INV@ST</a> の「e-profit FX」というツールはすごく便利です。<br />
これで分足、時間足、日足、週足、月足・・・　と、過去のデータを見れるのですが、データがそのままエクセルに落とせることを数日前に初めて知りました。<br />
<br />
コンテキストメニューが出なかったからコピーできないと思ってたら、「Ctrl+C」であっさりコピペできてしまいました。<br />
先日コメントでredさんが指摘してくださった「データの誤差」は、これで解決できそうです！<br />
<br />
私は複数の口座を持っていないのでよくわからないですが、大抵の業者って時系列データの取得ができるようになってるんでしょうか？<br />
<br />
円安に戻ってきてちょっと焦り気味ですが、ぼちぼち頑張ろうと思います。<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>日記</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E6%97%A5%E8%A8%98/%E6%95%B4%E7%90%86%E3%81%99%E3%82%8B%E3%81%A3%E3%81%A6%E9%9B%A3%E3%81%97%E3%81%84%E3%81%A7%E3%81%99-%E3%81%A4%D0%B4%EF%BD%80-</link>
    <pubDate>Thu, 20 Sep 2007 12:43:27 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/32</guid>
  </item>
    <item>
    <title>ここ１年の最大利益＆最大損失、最大DD</title>
    <description>
    <![CDATA[ココからは、エクセルの知識がほとんどない私にはかなり難題でした＾＾；<br />
<br />
「本日から遡って365日よりも後」という条件の範囲での「損益の最大値」　です。<br />
<br />
理屈はわかっているのですが、なかなか思うような数字が出てくれません。<br />
結論から言うと、「<a target="_blank" href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/dic/dic06.html#hairetu">配列数式</a>」というものを使うようです。<br />
<br />
Ctrl+Shift を押しながら Enter で計算結果が違うなんて、目からウロコですよ＠＠；<br />
詳しくは、各自ぐぐってください。（まさかの人任せっ！）<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/18d3b4bd.jpg"><img alt="18d3b4bd.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1189754238/" /></a><br />
<br />
実際に入力する数式としては、これが正解のようです。<br />
<br />
<font color="#ff3300">{=</font><a target="_blank" href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/kansu/max.htm#max"><font color="#ff3300">MAX</font></a><font color="#ff3300">(IF(<font color="#6666cc">日付の列</font>&gt;TODAY()-365,<font color="#339966">損益の列</font>,&quot;&quot;))｝</font><br />
（「日付が本日から遡って365日より後の場合はその日の損益、それ以外の場合は空白」としてできた配列の中の最大値）<br />
<br />
ちなみに、配列数式の {} は、セルの内容を修正したりすると、その都度 Ctrl+Shift+Enter で確定しないと消えてしまいます。<br />
<br />
最小値に関しては、最大値の「MAX」を「MIN」に変えるだけです☆<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/ff7d46ee.jpg"><img alt="ff7d46ee.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1189754274/" /></a><br />
<br />
更に、最大DDは最小値の式の「損益の列」を「DDの列」に変えればOKです。<br />
このへんは１つ出来てしまえばカンタンですねヽ(&acute;ー｀)ノ&nbsp;<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E3%81%93%E3%81%93%EF%BC%91%E5%B9%B4%E3%81%AE%E6%9C%80%E5%A4%A7%E5%88%A9%E7%9B%8A%EF%BC%86%E6%9C%80%E5%A4%A7%E6%90%8D%E5%A4%B1%E3%80%81%E6%9C%80%E5%A4%A7dd</link>
    <pubDate>Wed, 19 Sep 2007 16:36:03 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/31</guid>
  </item>
    <item>
    <title>ここ１年間の勝率☆</title>
    <description>
    <![CDATA[お次は「勝率」です。　全てのトレードのうち、利益が出たトレードの割合です。<br />
<br />
計算は「勝ちトレード数／総トレード数」なので、単純に考えると「損益が０より大きい」という条件で総トレード数と同じやり方でカウントした数字を、総トレード数で割ってしまえば良いわけです。<br />
<br />
そうすると、計算式はこうなるはずです。<br />
<br />
<font color="#ff3300">=SUMPRODUCT((<font color="#6666cc">損益の列</font>&gt;0)*(<font color="#339966">日付の列</font>&gt;TODAY()-365))/</font><font color="#666666">総トレード数<br />
</font><br />
しかし、<strong>なぜかこれでは答が合いません</strong>。。<br />
<br />
いろいろと調べた結果、不等号を使うと空白のセルが「０以上のセル」としてカウントされてしまうようなのです。<br />
なので、「損益が０より小さいセルの数」から求めることにしました。<br />
１００％から負けた確立を引いてしまえばいいわけです。<br />
<br />
ただし、損益が&plusmn;０だった場合も「勝ち」に含まれることになります。<br />
私の場合、勝率は安定性を見るための目安のつもりなので、問題ないかなと思ってます(&acute;・&omega;・｀)<br />
<br />
というわけで、採用した計算式はコチラ&darr;<a target="_blank" href="//fxxxsystem.blog.shinobi.jp/File/d17f20a8.jpg"><img alt="d17f20a8.jpg" align="right" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1189754218/" /></a><br />
<br />
<font color="#ff3300">=1-(SUMPRODUCT((<font color="#6666cc">損益の列</font>&lt;0)*(<font color="#339966">日付の列</font>&gt;TODAY()-365))/<font color="#666666">総トレード数</font>)<br />
</font><br />
ちなみに、表示形式はパーセンテージに変更しています！<br />
もっとカンタンに出す方法あるよ！っていう情報があったら是非教えてくださいm(_ _)m<br />
<br />
<br />
<a target="_blank" href="http://fx.blogmura.com/systemgroup/">応援して頂ける方はクリックお願いします！<img height="15" alt="にほんブログ村 為替ブログ FX システムトレード派へ" width="80" border="0" src="http://fx.blogmura.com/img/fx80_15_lightred_2.gif" /></a><br />
<a target="_blank" href="http://blog.with2.net/link.php?521704">人気ブログランキングにも登録中☆<img alt="lanking.jpg" border="0" src="//fxxxsystem.blog.shinobi.jp/Img/1188851310/" /></a>]]>
    </description>
    <category>システム作り</category>
    <link>http://fxxxsystem.blog.shinobi.jp/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E4%BD%9C%E3%82%8A/%E3%81%93%E3%81%93%EF%BC%91%E5%B9%B4%E9%96%93%E3%81%AE%E5%8B%9D%E7%8E%87%E2%98%86</link>
    <pubDate>Tue, 18 Sep 2007 21:51:17 GMT</pubDate>
    <guid isPermaLink="false">fxxxsystem.blog.shinobi.jp://entry/30</guid>
  </item>

    </channel>
</rss>