{"id":38908,"date":"2026-06-22T20:37:47","date_gmt":"2026-06-23T01:37:47","guid":{"rendered":"https:\/\/library-staging.tradingtechnologies.com\/doc\/formula-block-2\/"},"modified":"2026-06-22T20:37:49","modified_gmt":"2026-06-23T01:37:49","slug":"formula-block-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/ja\/formula-block-2\/","title":{"rendered":"Formula \u30d6\u30ed\u30c3\u30af"},"content":{"rendered":"<p><!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p>     <!-- in source YML header, should also match the filename\/url --><\/p>\n<div>\n<h2 hidden>Formula \u30d6\u30ed\u30c3\u30af<\/h2>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ab-formula-block-1.png\"><\/p>\n<p>[Formula] \u30d6\u30ed\u30c3\u30af\u306f\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u6570\u5f0f\u3092\u8a55\u4fa1\u3057\u3001[True\/False]\u3001\u6570\u5024\u3001\u9298\u67c4\u30bf\u30a4\u30d7\u51fa\u529b\u3068\u3057\u3066\u8a55\u4fa1\u306e\u7d50\u679c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u30b3\u30cd\u30af\u30bf\u30fc\u304c\u5185\u90e8\u6570\u5f0f\u306e\u5909\u66f4\u306b\u53c2\u7167\u3055\u308c\u308b\u3068\u5e38\u306b\u3001\u30d6\u30ed\u30c3\u30af\u306f\u518d\u8a08\u7b97\u3057\u3066\u5024\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u6570\u5f0f\u306b\u4f7f\u7528\u3055\u308c\u308b\u3059\u3079\u3066\u306e\u30b3\u30cd\u30af\u30bf\u30fc\u306f\u3001[Formula] \u30d6\u30ed\u30c3\u30af\u306b\u7d76\u5bfe\u7684\u306a\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002<\/p>\n<p><!-- You can also define any number of input ports that can be used in the user-defined equation.<\/p>\n\n --><\/p>\n<p><span class=\"label label-success\">\u4f8b<\/span> <strong>[Formula] \u30d6\u30ed\u30c3\u30af\u306f\u30012\u3064\u306e [<a href=\"db-moving-average-block.html\">Moving Average<\/a>] \u30d6\u30ed\u30c3\u30af\u306e [<strong>avg<\/strong>] \u51fa\u529b\u3092\u4f7f\u7528\u3057\u3066\u30011\u5206\u3068 5\u5206\u306e\u79fb\u52d5\u5e73\u5747\u306e\u9593\u306e\u5dee\u5206\u304c [<strong>Diff Trigger<\/strong><a href=\"bb-number-block.html\">Number<\/a>] \u30d6\u30ed\u30c3\u30af\u306e\u5024\u3092\u8d85\u904e\u3057\u305f\u6642\u306b\u3001<b> [<strong>TRUE<\/strong>] \u3092\u51fa\u529b\u3057\u307e\u3059\u3002 <\/b> [Formula] \u30d6\u30ed\u30c3\u30af\u306f [<strong>FALSE<\/strong>] \u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u307e\u305f\u306f<\/strong><\/p>\n<p><!--  \n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"Content\/misc-block-formula-example.png\"><\/p>\n\n --><\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ab-formula-block-example-new-1.png\"><\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u306e\u6570\u5f0f\u306f [<strong>Formula Editor<\/strong>] \u306b\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/ab-formula-block-example-formula-new-1.png\" alt=\"\"><\/p>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u30012\u3064\u306e [Moving Average] \u30d6\u30ed\u30c3\u30af\u306e [<strong>avg<\/strong>] \u51fa\u529b\u30dd\u30fc\u30c8\u304b\u3089\u7d76\u5bfe\u7684\u306a\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u3068\u3001\u3044\u305a\u308c\u304b\u306e [<strong>avg<\/strong>] \u51fa\u529b\u30dd\u30fc\u30c8\u5024\u304c\u5909\u5316\u3057\u305f\u969b\u306b\u3001[Formula] \u30d6\u30ed\u30c3\u30af\u304c\u518d\u8a08\u7b97\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div>\n<h2 id=\"block-properties\">\u30d6\u30ed\u30c3\u30af \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<p>\u30d6\u30ed\u30c3\u30af\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u306b\u306f\u3001[<strong>Block Properties<\/strong>] \u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<p><!--\n    \n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"Content\/misc-block-formula-settings.png\"><\/p>\n\n\n    --><\/p>\n<table class=\"table table-striped table-bordered\" border=\"1\">\n<thead>\n<tr>\n<th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Name (\u540d\u524d)<\/td>\n<td>ADL \u30ad\u30e3\u30f3\u30d0\u30b9\u306e\u30d6\u30ed\u30c3\u30af\u306e\u4e0b\u306b\u8868\u793a\u3055\u308c\u308b\u540d\u524d\u3002<\/td>\n<\/tr>\n<p><!--\n        \n\n<tr>\n          \n\n<td>BodyColor<\/td>\n\n\n          \n\n<td>Background color of the block<\/td>\n\n\n        <\/tr>\n\n\n        --><\/p>\n<tr>\n<td>Formula (\u6570\u5f0f)<\/td>\n<td>\n<p>\u30d6\u30ed\u30c3\u30af\u306e\u5024\u306e\u8a08\u7b97\u306b\u4f7f\u7528\u3055\u308c\u308b\u6570\u5f0f\u3002<\/p>\n<p>\u5b9a\u7fa9\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u6b04\u306b [<strong>Click to edit formula<\/strong>] (\u30af\u30ea\u30c3\u30af\u3057\u3066\u6570\u5f0f\u3092\u7de8\u96c6) \u30ea\u30f3\u30af\u304c\u8868\u793a\u3055\u308c\u3001[<a href=\"ac-creating-a-formula-with-formula-builder.html\">Formula Builder<\/a>] (\u6570\u5f0f\u30d3\u30eb\u30c0\u30fc) \u304c\u8d77\u52d5\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<p><!--\n        \n\n<tr>\n          \n\n<td>Description<\/td>\n\n\n          \n\n<td>Optional text to explain how the block is used<\/td>\n\n\n        <\/tr>\n\n\n        --><\/tbody>\n<\/table><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Formula \u30d6\u30ed\u30c3\u30af [Formula] \u30d6\u30ed\u30c3\u30af\u306f\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u6570\u5f0f\u3092\u8a55\u4fa1\u3057\u3001[True\/False]\u3001\u6570\u5024\u3001\u9298\u67c4\u30bf\u30a4\u30d7\u51fa\u529b\u3068\u3057\u3066\u8a55\u4fa1\u306e\u7d50\u679c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u30b3\u30cd\u30af\u30bf\u30fc\u304c\u5185\u90e8\u6570\u5f0f\u306e\u5909\u66f4\u306b\u53c2\u7167\u3055\u308c\u308b\u3068\u5e38\u306b\u3001\u30d6\u30ed\u30c3\u30af\u306f\u518d\u8a08 [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[209],"class_list":["post-38908","doc","type-doc","status-publish","hentry","docs-category-arithmetic-blocks"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/38908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/38908\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=38908"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=38908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}