{"id":2888,"date":"2009-04-02T15:24:47","date_gmt":"2009-04-02T06:24:47","guid":{"rendered":"http:\/\/www.ibi-square.jp\/blog\/?p=341"},"modified":"2023-05-13T16:18:04","modified_gmt":"2023-05-13T07:18:04","slug":"tech-calc-cci","status":"publish","type":"post","link":"https:\/\/atmtech.net\/main\/tech-calc-cci\/","title":{"rendered":"CCI\uff08\u8a08\u7b97\u5f0f\u3001\u30c1\u30e3\u30fc\u30c8\u3001\u30a8\u30af\u30bb\u30ebVBA\u30b3\u30fc\u30c9\uff09\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>CCI\u306b\u3064\u3044\u3066\u3067\u3059\u3002\u8a08\u7b97\u5f0f\u3001VBA\u30b3\u30fc\u30c9\u3001\u30c1\u30e3\u30fc\u30c8\u3092\u63b2\u8f09<\/h1>\n<p>&nbsp;<\/p>\n<p>\u30b3\u30e2\u30c7\u30a3\u30c6\u30a3\u30fb\u30c1\u30e3\u30f3\u30cd\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3068\u3044\u3046\u6307\u6a19\u3067\u3059\u304c\u3001\u30b5\u30a4\u30af\u30eb\u3084\u5468\u671f\u6027\u304c\u5f37\u3044\u76f8\u5834\u3068\u76f8\u6027\u304c\u826f\u3044\u3068\u3044\u308f\u308c\u3066\u3044\u308b\u6307\u6a19\u5024\u3067\u3001\u5404\u30ed\u30a6\u30bd\u30af\u8db3\u306e\u4e2d\u5024\u304b\u3089\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1><\/h1>\n<h2>CCI\u306e\u8a08\u7b97\u5f0f\uff08N\u306f\u63a1\u7528\u672c\u6570\uff09<\/h2>\n<p>\u4e2d\u5024\u3000=\u3000 (\u9ad8\u5024\uff0b\u5b89\u5024\uff0b\u7d42\u5024)\/3<\/p>\n<p>K\u3000=\u3000\u4e2d\u5024\u306eN\u672c\u5e73\u5747<\/p>\n<p>L\u3000=\u3000\uff08\u5f53\u65e5\u4e2d\u5024-K\uff09\u306e\u7d76\u5bfe\u5024<\/p>\n<p>CCI\u3000=\u3000(\u5f53\u65e5\u4e2d\u5024-K)\/\uff080.015\u00d7L\u306eN\u672c\u5e73\u5747\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>CCI\u306e\u30c1\u30e3\u30fc\u30c8<\/h2>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/atmtech.net\/main\/tech\/cci1-1.JPG\" alt=\"\" width=\"460\" height=\"216\" \/><\/p>\n<p>\uff08CCI5\uff1a\u9ec4\u8272\u7dda\u3000CCI10\u8d64\u7dda\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>CCI\u3092\u30b9\u30c8\u30ad\u30e3\u30b9\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/atmtech.net\/main\/tech\/cci1-2.JPG\" alt=\"\" width=\"460\" height=\"216\" \/><\/p>\n<p>\uff08CCI5\u309213-7-3\u3067\u30b9\u30c8\u30ad\u30e3\u30b9\u5316\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>\u203b\u3000CCI\u304c\u30de\u30a4\u30ca\u30b9\u5024\u3092\u542b\u307f\u3001\u901a\u5e38\u306e\u30b9\u30c8\u30ad\u30e3\u30b9\u30680\u5024\u8ef8\u306b\u3066\u7dda\u5bfe\u79f0\u306b\u306a\u308b\u305f\u3081\u3001\u5168\u4f53\u306b-1\u3092\u304b\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3088\u3063\u3066\u306f\u3001\u30b9\u30c8\u30ad\u30e3\u30b9\u5316\u3082\u826f\u3044\u6307\u6a19\u306b\u306a\u308b\u53ef\u80fd\u6027\u306f\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u6642\u9593\u8db3\u305d\u306e\u3082\u306e\u304c1\u5206\u8db3\u3068\u77ed\u3044\u305f\u3081\uff08\u4e0a\u8a18\u30c1\u30e3\u30fc\u30c8\u306fGBP\/JPY1\u5206\u8db3\u3067\u3059\uff09\u3001\u4ed6\u306e\u8db3\u3067\u3082\u8a66\u3057\u3066\u307f\u308b\u3068\u9762\u767d\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>CCI\u306eVBA\u30b3\u30fc\u30c9<\/h2>\n<p>&#8216;\u203b\u3000\u30a8\u30af\u30bb\u30eb\u306e1\u5217\u76ee(A\u5217)\u306b\u884c\u756a\u53f7\u30012\u5217\u76ee(B\u5217)\u306b\u65e5\u6642\u3001<br \/>\n&#8216;\u203b\u30003\u5217\u76ee(C\u5217)\uff5e6\u5217\u76ee(F\u5217)\u306b\u59cb\u5024\u30fb\u9ad8\u5024\u30fb\u5b89\u5024\u30fb\u7d42\u5024<br \/>\n&#8216;********************************<br \/>\n&#8216; n1 \uff1aCCI\u63a1\u7528\u672c\u6570<br \/>\n&#8216; num\uff1a\u73fe\u5728\u306e\u884c<br \/>\n&#8216; cell_mid\uff1a\u4e2d\u5024\u66f8\u8fbc\u307f\u5217\u756a\u53f7<br \/>\n&#8216; cell_abs\uff1a\u4e2d\u5024-\u4e2d\u5024\u5e73\u5747\u7d76\u5bfe\u5024\u66f8\u8fbc\u307f\u5217\u756a\u53f7<br \/>\n&#8216; cell_cci\uff1aCCI\u66f8\u8fbc\u307f\u5217\u756a\u53f7<br \/>\n&#8216;********************************<\/p>\n<p>&#8216;*****CCI\u57fa\u672c\u8a08\u7b97<br \/>\nIf Cells(num, 6) &lt;&gt; &#8220;&#8221; Then Cells(num, cell_mid) = _<br \/>\nApplication.Average(Cells(num, 4), Cells(num, 5), Cells(num, 6))<br \/>\n&#8216;*****CCI1<br \/>\nIf num &#8211; (n1 * 2) &gt;= 2 Then<br \/>\ncci1_ave = Application.Average(Range(Cells(num &#8211; (n1 &#8211; 1), cell_mid), _<br \/>\nCells(num, cell_mid)))<br \/>\nCells(num, cell_abs) = Abs(Cells(num, cell_mid) &#8211; cci1_ave)<br \/>\nCells(num, cell_cci) = (Cells(num, cell_mid) &#8211; cci1_ave) _<br \/>\n\/ (0.015 * Application.Average _<br \/>\n(Range(Cells(num &#8211; (n1 &#8211; 1), cell_abs), _<br \/>\nCells(num, cell_abs))))<br \/>\nEnd If<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/atmtech.net\/main\/?cat=30\" target=\"_blank\" rel=\"noopener\">\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u4e00\u89a7<\/a><\/p>\n<p><a href=\"https:\/\/atmtech.net\/main\/?cat=109\" target=\"_blank\" rel=\"noopener\">\u7f6b\u7dda\u8ac7\u7fa9\u4e00\u89a7<\/a><\/p>\n<p>(\u5916\u90e8\u30ea\u30f3\u30af)<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%86%E3%82%AF%E3%83%8B%E3%82%AB%E3%83%AB%E6%8C%87%E6%A8%99%E4%B8%80%E8%A6%A7\" target=\"_blank\" rel=\"noopener\">\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19(Wikipedia)<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; CCI\u306b\u3064\u3044\u3066\u3067\u3059\u3002\u8a08\u7b97\u5f0f\u3001VBA\u30b3\u30fc\u30c9\u3001\u30c1\u30e3\u30fc\u30c8\u3092\u63b2\u8f09 &nbsp; \u30b3\u30e2\u30c7\u30a3\u30c6\u30a3\u30fb\u30c1\u30e3\u30f3\u30cd\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3068\u3044\u3046\u6307\u6a19\u3067\u3059\u304c\u3001\u30b5\u30a4\u30af\u30eb\u3084\u5468\u671f\u6027\u304c\u5f37\u3044\u76f8\u5834\u3068\u76f8\u6027\u304c\u826f\u3044\u3068\u3044\u308f\u308c\u3066\u3044\u308b\u6307\u6a19\u5024\u3067\u3001\u5404\u2026 <span class=\"read-more\"><a href=\"https:\/\/atmtech.net\/main\/tech-calc-cci\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":2889,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[88,50,80,89,36,90,52],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/posts\/2888"}],"collection":[{"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/comments?post=2888"}],"version-history":[{"count":6,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/posts\/2888\/revisions"}],"predecessor-version":[{"id":3853,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/posts\/2888\/revisions\/3853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/media\/2889"}],"wp:attachment":[{"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/media?parent=2888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/categories?post=2888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmtech.net\/main\/wp-json\/wp\/v2\/tags?post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}