{"id":65711,"date":"2026-03-15T03:27:03","date_gmt":"2026-03-14T18:27:03","guid":{"rendered":"https:\/\/sys-tre.com\/forexguide\/?p=65711"},"modified":"2026-04-14T13:22:54","modified_gmt":"2026-04-14T04:22:54","slug":"mql4-indicator-functions","status":"publish","type":"post","link":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/","title":{"rendered":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"<p>MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u3092\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002iMA\uff08\u79fb\u52d5\u5e73\u5747\u7dda\uff09\u3001iRSI\u3001iBands\uff08\u30dc\u30ea\u30f3\u30b8\u30e3\u30fc\u30d0\u30f3\u30c9\uff09\u3001iMACD\u3001iATR\u3001iStochastic\u3001iCCI\u3001iADX\u3001iIchimoku\uff08\u4e00\u76ee\u5747\u8861\u8868\uff09\u306a\u3069\u4e3b\u8981\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u306e\u76f4\u63a5\u53d6\u5f97\u65b9\u6cd5\u3001iCustom()\u306b\u3088\u308b\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u547c\u3073\u51fa\u3057\u3001\u30de\u30eb\u30c1\u30bf\u30a4\u30e0\u30d5\u30ec\u30fc\u30e0\u5206\u6790\u3001\u30d0\u30c3\u30d5\u30a1\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u4ed5\u7d44\u307f\u307e\u3067\u3001MT4 EA\u958b\u767a\u306b\u5fc5\u8981\u306a\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u51e6\u7406\u306e\u3059\u3079\u3066\u3092\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"2400\" height=\"1260\" src=\"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions.jpg\" alt=\"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30ab\u30fc\u30c9\" class=\"wp-image-67613\" srcset=\"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions.jpg 2400w, https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions-300x158.jpg 300w, https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions-1024x538.jpg 1024w, https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions-768x403.jpg 768w, https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions-1536x806.jpg 1536w, https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/03\/mql_mql4-indicator-functions-2048x1075.jpg 2048w\" sizes=\"(max-width: 2400px) 100vw, 2400px\" \/><\/figure>\n\n\n<h2 class=\"wp-block-heading\" id=\"mql4-vs-mql5\">MQL4\u3068MQL5\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u53d6\u5f97\u65b9\u5f0f\u306e\u9055\u3044<\/h2>\n\n<p>MQL4\u3068MQL5\u3067\u306f\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u304c\u6839\u672c\u7684\u306b\u7570\u306a\u308a\u307e\u3059\u3002MQL4\u306f\u95a2\u6570\u3092\u547c\u3076\u3060\u3051\u3067\u76f4\u63a5\u5024\u304c\u8fd4\u308a\u307e\u3059\u304c\u3001MQL5\u306f\u30cf\u30f3\u30c9\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304b\u3089\u30d0\u30c3\u30d5\u30a1\u306b\u30b3\u30d4\u30fc\u3059\u308b2\u6bb5\u968e\u65b9\u5f0f\u3067\u3059\u3002<\/p>\n\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\"><thead><tr><th>\u9805\u76ee<\/th><th>MQL4<\/th><th>MQL5<\/th><\/tr><\/thead><tbody><tr><td>\u5024\u306e\u53d6\u5f97<\/td><td>\u95a2\u6570\u547c\u3073\u51fa\u3057\u3067\u76f4\u63a5\u5024\u304c\u8fd4\u308b<\/td><td>\u30cf\u30f3\u30c9\u30eb\u4f5c\u6210\u2192CopyBuffer()\u3067\u914d\u5217\u306b\u30b3\u30d4\u30fc<\/td><\/tr><tr><td>\u4f7f\u3044\u65b9<\/td><td>double val = iMA(&#8230;)<\/td><td>int h = iMA(&#8230;); CopyBuffer(h,&#8230;,buf); val = buf[0]<\/td><\/tr><tr><td>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/td><td>\u6bce\u56de\u518d\u8a08\u7b97\uff08\u975e\u52b9\u7387\u306a\u5834\u5408\u3042\u308a\uff09<\/td><td>\u30cf\u30f3\u30c9\u30eb\u5171\u6709\u3067\u52b9\u7387\u7684<\/td><\/tr><tr><td>\u30de\u30eb\u30c1TF<\/td><td>\u5f15\u6570\u306btimeframe\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051<\/td><td>\u540c\u3058\u65b9\u5f0f\u3060\u304c\u30d0\u30c3\u30d5\u30a1\u7ba1\u7406\u304c\u5fc5\u8981<\/td><\/tr><tr><td>\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc<\/td><td>iCustom()\u3067\u76f4\u63a5\u5024\u53d6\u5f97<\/td><td>iCustom()\u3067\u30cf\u30f3\u30c9\u30eb\u53d6\u5f97\u2192CopyBuffer()<\/td><\/tr><\/tbody><\/table>\n<\/figure>\n\n<p class=\"is-style-big_icon_point\">MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306fMQL5\u3088\u308a\u306f\u308b\u304b\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u30021\u884c\u3067\u5024\u3092\u53d6\u5f97\u3067\u304d\u3001OnInit()\u3067\u306e\u30cf\u30f3\u30c9\u30eb\u7ba1\u7406\u3082\u4e0d\u8981\u3067\u3059\u3002\u305f\u3060\u3057\u6bce\u56de\u518d\u8a08\u7b97\u3055\u308c\u308b\u305f\u3081\u3001\u30eb\u30fc\u30d7\u5185\u3067\u306e\u5927\u91cf\u547c\u3073\u51fa\u3057\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"ima\">iMA\uff1a\u79fb\u52d5\u5e73\u5747\u7dda<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iMA(\n   string       symbol,       \/\/ \u901a\u8ca8\u30da\u30a2\uff08NULL=\u73fe\u5728\u306e\u30c1\u30e3\u30fc\u30c8\uff09\n   int          timeframe,    \/\/ \u6642\u9593\u8ef8\uff080=\u73fe\u5728\u306e\u30c1\u30e3\u30fc\u30c8\uff09\n   int          ma_period,    \/\/ \u79fb\u52d5\u5e73\u5747\u306e\u671f\u9593\n   int          ma_shift,     \/\/ \u8868\u793a\u30b7\u30d5\u30c8\n   int          ma_method,    \/\/ \u5e73\u5747\u5316\u30e1\u30bd\u30c3\u30c9\n   int          applied_price,\/\/ \u9069\u7528\u4fa1\u683c\n   int          shift         \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\uff080=\u73fe\u5728\u306e\u30d0\u30fc\uff09\n);\n\/\/ \u623b\u308a\u5024: \u6307\u5b9a\u30d0\u30fc\u306eMA\u5024<\/code><\/pre><\/div>\n\n<h3 class=\"wp-block-heading\">\u5e73\u5747\u5316\u30e1\u30bd\u30c3\u30c9<\/h3>\n\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\"><thead><tr><th>\u5b9a\u6570<\/th><th>\u5024<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>MODE_SMA<\/td><td>0<\/td><td>\u5358\u7d14\u79fb\u52d5\u5e73\u5747<\/td><\/tr><tr><td>MODE_EMA<\/td><td>1<\/td><td>\u6307\u6570\u79fb\u52d5\u5e73\u5747<\/td><\/tr><tr><td>MODE_SMMA<\/td><td>2<\/td><td>\u5e73\u6ed1\u79fb\u52d5\u5e73\u5747<\/td><\/tr><tr><td>MODE_LWMA<\/td><td>3<\/td><td>\u7dda\u5f62\u52a0\u91cd\u79fb\u52d5\u5e73\u5747<\/td><\/tr><\/tbody><\/table>\n<\/figure>\n\n<h3 class=\"wp-block-heading\">\u9069\u7528\u4fa1\u683c<\/h3>\n\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\"><thead><tr><th>\u5b9a\u6570<\/th><th>\u5024<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>PRICE_CLOSE<\/td><td>0<\/td><td>\u7d42\u5024<\/td><\/tr><tr><td>PRICE_OPEN<\/td><td>1<\/td><td>\u59cb\u5024<\/td><\/tr><tr><td>PRICE_HIGH<\/td><td>2<\/td><td>\u9ad8\u5024<\/td><\/tr><tr><td>PRICE_LOW<\/td><td>3<\/td><td>\u5b89\u5024<\/td><\/tr><tr><td>PRICE_MEDIAN<\/td><td>4<\/td><td>(High+Low)\/2<\/td><\/tr><tr><td>PRICE_TYPICAL<\/td><td>5<\/td><td>(High+Low+Close)\/3<\/td><\/tr><tr><td>PRICE_WEIGHTED<\/td><td>6<\/td><td>(High+Low+Close+Close)\/4<\/td><\/tr><\/tbody><\/table>\n<\/figure>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"\u30b4\u30fc\u30eb\u30c7\u30f3\u30af\u30ed\u30b9\u5224\u5b9a\"><code>bool IsGoldenCross(int fastPeriod, int slowPeriod)\n  {\n   \/\/ \u73fe\u5728\u306e\u30d0\u30fc\u30681\u3064\u524d\u306e\u30d0\u30fc\u306eMA\u5024\u3092\u53d6\u5f97\n   double fastMA0 = iMA(NULL, 0, fastPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);\n   double fastMA1 = iMA(NULL, 0, fastPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);\n   double slowMA0 = iMA(NULL, 0, slowPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);\n   double slowMA1 = iMA(NULL, 0, slowPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);\n\n   \/\/ \u524d\u306e\u30d0\u30fc\u3067\u306f\u77ed\u671f &lt; \u9577\u671f\u3001\u73fe\u5728\u306e\u30d0\u30fc\u3067\u306f\u77ed\u671f &gt; \u9577\u671f\n   if(fastMA1 &lt; slowMA1 &amp;&amp; fastMA0 &gt; slowMA0)\n      return true;\n\n   return false;\n  }\n\nbool IsDeadCross(int fastPeriod, int slowPeriod)\n  {\n   double fastMA0 = iMA(NULL, 0, fastPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);\n   double fastMA1 = iMA(NULL, 0, fastPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);\n   double slowMA0 = iMA(NULL, 0, slowPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);\n   double slowMA1 = iMA(NULL, 0, slowPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);\n\n   if(fastMA1 &gt; slowMA1 &amp;&amp; fastMA0 &lt; slowMA0)\n      return true;\n\n   return false;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"irsi\">iRSI\uff1aRSI\uff08\u76f8\u5bfe\u529b\u6307\u6570\uff09<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iRSI(\n   string symbol,        \/\/ \u901a\u8ca8\u30da\u30a2\n   int    timeframe,     \/\/ \u6642\u9593\u8ef8\n   int    period,        \/\/ RSI\u671f\u9593\n   int    applied_price, \/\/ \u9069\u7528\u4fa1\u683c\n   int    shift          \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\n);\n\/\/ \u623b\u308a\u5024: 0\u301c100\u306eRSI\u5024<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"RSI\u9006\u5f35\u308a\u30b7\u30b0\u30ca\u30eb\"><code>int CheckRSISignal(int period, double overBought, double overSold)\n  {\n   double rsi0 = iRSI(NULL, 0, period, PRICE_CLOSE, 0);\n   double rsi1 = iRSI(NULL, 0, period, PRICE_CLOSE, 1);\n\n   \/\/ \u58f2\u3089\u308c\u3059\u304e\u304b\u3089\u56de\u5fa9 \u2192 \u8cb7\u3044\u30b7\u30b0\u30ca\u30eb\n   if(rsi1 &lt; overSold &amp;&amp; rsi0 &gt;= overSold)\n      return 1;  \/\/ Buy\n\n   \/\/ \u8cb7\u308f\u308c\u3059\u304e\u304b\u3089\u53cd\u843d \u2192 \u58f2\u308a\u30b7\u30b0\u30ca\u30eb\n   if(rsi1 &gt; overBought &amp;&amp; rsi0 &lt;= overBought)\n      return -1; \/\/ Sell\n\n   return 0;  \/\/ No signal\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"ibands\">iBands\uff1a\u30dc\u30ea\u30f3\u30b8\u30e3\u30fc\u30d0\u30f3\u30c9<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iBands(\n   string symbol,\n   int    timeframe,\n   int    period,         \/\/ \u671f\u9593\uff08\u76ee\u5b89\uff1a20\uff09\n   double deviation,      \/\/ \u6a19\u6e96\u504f\u5dee\u306e\u500d\u6570\uff08\u76ee\u5b89\uff1a2.0\uff09\n   int    bands_shift,    \/\/ \u8868\u793a\u30b7\u30d5\u30c8\n   int    applied_price,  \/\/ \u9069\u7528\u4fa1\u683c\n   int    mode,           \/\/ MODE_MAIN(0)=\u4e2d\u592e\u7dda, MODE_UPPER(1)=\u4e0a\u9650, MODE_LOWER(2)=\u4e0b\u9650\n   int    shift           \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\n);<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"BB+RSI\u30b3\u30f3\u30dc\u30b7\u30b0\u30ca\u30eb\"><code>int CheckBBRSI(int bbPeriod, double bbDev, int rsiPeriod)\n  {\n   double upper = iBands(NULL, 0, bbPeriod, bbDev, 0, PRICE_CLOSE, MODE_UPPER, 0);\n   double lower = iBands(NULL, 0, bbPeriod, bbDev, 0, PRICE_CLOSE, MODE_LOWER, 0);\n   double middle = iBands(NULL, 0, bbPeriod, bbDev, 0, PRICE_CLOSE, MODE_MAIN, 0);\n   double rsi   = iRSI(NULL, 0, rsiPeriod, PRICE_CLOSE, 0);\n\n   \/\/ \u4fa1\u683c\u304cBB\u4e0b\u9650\u4ee5\u4e0b + RSI30\u4ee5\u4e0b \u2192 \u8cb7\u3044\n   if(Close[0] &lt;= lower &amp;&amp; rsi &lt; 30)\n      return 1;\n\n   \/\/ \u4fa1\u683c\u304cBB\u4e0a\u9650\u4ee5\u4e0a + RSI70\u4ee5\u4e0a \u2192 \u58f2\u308a\n   if(Close[0] &gt;= upper &amp;&amp; rsi &gt; 70)\n      return -1;\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"imacd\">iMACD\uff1aMACD<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iMACD(\n   string symbol,\n   int    timeframe,\n   int    fast_ema_period,   \/\/ \u77ed\u671fEMA\u671f\u9593\uff08\u76ee\u5b89\uff1a12\uff09\n   int    slow_ema_period,   \/\/ \u9577\u671fEMA\u671f\u9593\uff08\u76ee\u5b89\uff1a26\uff09\n   int    signal_period,     \/\/ \u30b7\u30b0\u30ca\u30eb\u671f\u9593\uff08\u76ee\u5b89\uff1a9\uff09\n   int    applied_price,     \/\/ \u9069\u7528\u4fa1\u683c\n   int    mode,              \/\/ MODE_MAIN(0)=MACD\u30e9\u30a4\u30f3, MODE_SIGNAL(1)=\u30b7\u30b0\u30ca\u30eb\u30e9\u30a4\u30f3\n   int    shift              \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\n);<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"MACD\u30af\u30ed\u30b9\u30b7\u30b0\u30ca\u30eb\"><code>int CheckMACDSignal()\n  {\n   double macd0   = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0);\n   double signal0 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 0);\n   double macd1   = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 1);\n   double signal1 = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 1);\n\n   \/\/ MACD\u304c\u30b7\u30b0\u30ca\u30eb\u3092\u4e0a\u629c\u3051 \u2192 \u8cb7\u3044\n   if(macd1 &lt; signal1 &amp;&amp; macd0 &gt; signal0)\n      return 1;\n\n   \/\/ MACD\u304c\u30b7\u30b0\u30ca\u30eb\u3092\u4e0b\u629c\u3051 \u2192 \u58f2\u308a\n   if(macd1 &gt; signal1 &amp;&amp; macd0 &lt; signal0)\n      return -1;\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"iatr\">iATR\uff1aATR\uff08\u771f\u306e\u5024\u5e45\uff09<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iATR(\n   string symbol,\n   int    timeframe,\n   int    period,    \/\/ ATR\u671f\u9593\uff08\u76ee\u5b89\uff1a14\uff09\n   int    shift      \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\n);\n\/\/ \u623b\u308a\u5024: ATR\u5024\uff08\u4fa1\u683c\u5358\u4f4d\uff09<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"ATR\u30d9\u30fc\u30b9\u306eSL\/TP\u8a08\u7b97\"><code>void GetATRBasedSLTP(double &amp;sl, double &amp;tp, double atrMultSL, double atrMultTP)\n  {\n   double atr = iATR(NULL, 0, 14, 1);  \/\/ \u78ba\u5b9a\u30d0\u30fc\u306eATR\n\n   \/\/ \u8cb7\u3044\u306e\u5834\u5408\n   sl = NormalizeDouble(Ask - atr * atrMultSL, Digits);\n   tp = NormalizeDouble(Ask + atr * atrMultTP, Digits);\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"istochastic\">iStochastic\uff1a\u30b9\u30c8\u30ad\u30e3\u30b9\u30c6\u30a3\u30af\u30b9<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iStochastic(\n   string symbol,\n   int    timeframe,\n   int    Kperiod,       \/\/ %K\u671f\u9593\n   int    Dperiod,       \/\/ %D\u671f\u9593\n   int    slowing,       \/\/ \u30b9\u30ed\u30fc\u30a4\u30f3\u30b0\n   int    method,        \/\/ \u5e73\u5747\u5316\u30e1\u30bd\u30c3\u30c9\uff08MODE_SMA\u7b49\uff09\n   int    price_field,   \/\/ 0=Low\/High, 1=Close\/Close\n   int    mode,          \/\/ MODE_MAIN(0)=%K, MODE_SIGNAL(1)=%D\n   int    shift\n);<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"\u30b9\u30c8\u30ad\u30e3\u30b9\u30c6\u30a3\u30af\u30b9\u30b7\u30b0\u30ca\u30eb\"><code>int CheckStochSignal()\n  {\n   double k0 = iStochastic(NULL, 0, 5, 3, 3, MODE_SMA, 0, MODE_MAIN, 0);\n   double d0 = iStochastic(NULL, 0, 5, 3, 3, MODE_SMA, 0, MODE_SIGNAL, 0);\n   double k1 = iStochastic(NULL, 0, 5, 3, 3, MODE_SMA, 0, MODE_MAIN, 1);\n   double d1 = iStochastic(NULL, 0, 5, 3, 3, MODE_SMA, 0, MODE_SIGNAL, 1);\n\n   \/\/ %K\u304c%D\u3092\u4e0a\u629c\u3051\uff08\u58f2\u3089\u308c\u3059\u304e\u30be\u30fc\u30f3\uff09 \u2192 \u8cb7\u3044\n   if(k1 &lt; d1 &amp;&amp; k0 &gt; d0 &amp;&amp; k0 &lt; 20)\n      return 1;\n\n   \/\/ %K\u304c%D\u3092\u4e0b\u629c\u3051\uff08\u8cb7\u308f\u308c\u3059\u304e\u30be\u30fc\u30f3\uff09 \u2192 \u58f2\u308a\n   if(k1 &gt; d1 &amp;&amp; k0 &lt; d0 &amp;&amp; k0 &gt; 80)\n      return -1;\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"icci\">iCCI\uff1aCCI\uff08\u5546\u54c1\u30c1\u30e3\u30cd\u30eb\u6307\u6570\uff09<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iCCI(\n   string symbol,\n   int    timeframe,\n   int    period,         \/\/ CCI\u671f\u9593\uff08\u76ee\u5b89\uff1a14\uff09\n   int    applied_price,  \/\/ \u9069\u7528\u4fa1\u683c\n   int    shift\n);\n\/\/ \u623b\u308a\u5024: CCI\u5024\uff08-200\u301c+200\u304c\u76ee\u5b89\uff09<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"CCI\u9006\u5f35\u308a\u30b7\u30b0\u30ca\u30eb\"><code>int CheckCCISignal(int period)\n  {\n   double cci0 = iCCI(NULL, 0, period, PRICE_TYPICAL, 0);\n   double cci1 = iCCI(NULL, 0, period, PRICE_TYPICAL, 1);\n\n   \/\/ CCI -100\u4ee5\u4e0b\u304b\u3089\u56de\u5fa9 \u2192 \u8cb7\u3044\n   if(cci1 &lt; -100 &amp;&amp; cci0 &gt;= -100)\n      return 1;\n\n   \/\/ CCI +100\u4ee5\u4e0a\u304b\u3089\u53cd\u843d \u2192 \u58f2\u308a\n   if(cci1 &gt; 100 &amp;&amp; cci0 &lt;= 100)\n      return -1;\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"iadx\">iADX\uff1aADX\uff08\u5e73\u5747\u65b9\u5411\u6027\u6307\u6570\uff09<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iADX(\n   string symbol,\n   int    timeframe,\n   int    period,         \/\/ ADX\u671f\u9593\uff08\u76ee\u5b89\uff1a14\uff09\n   int    applied_price,  \/\/ \u9069\u7528\u4fa1\u683c\n   int    mode,           \/\/ MODE_MAIN(0)=ADX, MODE_PLUSDI(1)=+DI, MODE_MINUSDI(2)=-DI\n   int    shift\n);<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"ADX\u30c8\u30ec\u30f3\u30c9\u30d5\u30a3\u30eb\u30bf\u30fc\"><code>bool IsTrending(int period, double threshold)\n  {\n   double adx = iADX(NULL, 0, period, PRICE_CLOSE, MODE_MAIN, 0);\n   return (adx &gt; threshold);  \/\/ 25\u4ee5\u4e0a\u3067\u30c8\u30ec\u30f3\u30c9\u767a\u751f\u4e2d\n  }\n\nint CheckADXSignal(int period)\n  {\n   double plusDI  = iADX(NULL, 0, period, PRICE_CLOSE, MODE_PLUSDI, 0);\n   double minusDI = iADX(NULL, 0, period, PRICE_CLOSE, MODE_MINUSDI, 0);\n   double adx     = iADX(NULL, 0, period, PRICE_CLOSE, MODE_MAIN, 0);\n\n   if(adx &lt; 25) return 0;  \/\/ \u30c8\u30ec\u30f3\u30c9\u306a\u3057\n\n   if(plusDI &gt; minusDI) return 1;   \/\/ \u4e0a\u6607\u30c8\u30ec\u30f3\u30c9\n   if(minusDI &gt; plusDI) return -1;  \/\/ \u4e0b\u964d\u30c8\u30ec\u30f3\u30c9\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"iichimoku\">iIchimoku\uff1a\u4e00\u76ee\u5747\u8861\u8868<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iIchimoku(\n   string symbol,\n   int    timeframe,\n   int    tenkan_sen,      \/\/ \u8ee2\u63db\u7dda\u671f\u9593\uff08\u76ee\u5b89\uff1a9\uff09\n   int    kijun_sen,       \/\/ \u57fa\u6e96\u7dda\u671f\u9593\uff08\u76ee\u5b89\uff1a26\uff09\n   int    senkou_span_b,   \/\/ \u5148\u884c\u30b9\u30d1\u30f3B\u671f\u9593\uff08\u76ee\u5b89\uff1a52\uff09\n   int    mode,            \/\/ \u53d6\u5f97\u3059\u308b\u30e9\u30a4\u30f3\n   int    shift\n);\n\/\/ mode: MODE_TENKANSEN(1), MODE_KIJUNSEN(2),\n\/\/       MODE_SENKOUSPANA(3), MODE_SENKOUSPANB(4), MODE_CHIKOUSPAN(5)<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"\u4e00\u76ee\u5747\u8861\u8868\u4e09\u5f79\u597d\u8ee2\"><code>bool IsIchimokuBullish()\n  {\n   double tenkan  = iIchimoku(NULL, 0, 9, 26, 52, MODE_TENKANSEN, 0);\n   double kijun   = iIchimoku(NULL, 0, 9, 26, 52, MODE_KIJUNSEN, 0);\n   double spanA   = iIchimoku(NULL, 0, 9, 26, 52, MODE_SENKOUSPANA, 0);\n   double spanB   = iIchimoku(NULL, 0, 9, 26, 52, MODE_SENKOUSPANB, 0);\n   double chikou  = iIchimoku(NULL, 0, 9, 26, 52, MODE_CHIKOUSPAN, 26);\n\n   \/\/ \u4e09\u5f79\u597d\u8ee2: \u8ee2\u63db\u7dda&gt;\u57fa\u6e96\u7dda, \u4fa1\u683c&gt;\u96f2, \u9045\u884c\u7dda&gt;\u904e\u53bb\u306e\u4fa1\u683c\n   bool tenkanAboveKijun = (tenkan &gt; kijun);\n   bool priceAboveCloud  = (Close[0] &gt; MathMax(spanA, spanB));\n   bool chikouAbovePrice = (chikou &gt; Close[26]);\n\n   return (tenkanAboveKijun &amp;&amp; priceAboveCloud &amp;&amp; chikouAbovePrice);\n  }<\/code><\/pre><\/div>\n\n<div class=\"swell-block-capbox cap_box is-style-shadow\">\n<div class=\"cap_box_ttl\"><span><strong>shift=0 \u3068 shift=1 \u306e\u4f7f\u3044\u5206\u3051<\/strong><\/span><\/div>\n<div class=\"cap_box_content\">\n<ul>\n<li><strong>shift=0<\/strong>: \u73fe\u5728\u306e\uff08\u672a\u78ba\u5b9a\u306e\uff09\u30d0\u30fc\u306e\u5024\u3002\u30c6\u30a3\u30c3\u30af\u3054\u3068\u306b\u5909\u5316\u3059\u308b\u305f\u3081\u3001\u30b7\u30b0\u30ca\u30eb\u5224\u5b9a\u306b\u4f7f\u3046\u3068\u300c\u30c0\u30de\u30b7\u300d\u304c\u591a\u304f\u306a\u308b<\/li>\n<li><strong>shift=1<\/strong>: 1\u3064\u524d\u306e\u78ba\u5b9a\u30d0\u30fc\u306e\u5024\u3002\u78ba\u5b9a\u5f8c\u306f\u5909\u5316\u3057\u306a\u3044\u305f\u3081\u3001\u30b7\u30b0\u30ca\u30eb\u5224\u5b9a\u306b\u9069\u3057\u3066\u3044\u308b<\/li>\n<li>\u5b9f\u7528\u7684\u306aEA\u3067\u306f<strong>shift=1\u3067\u78ba\u5b9a\u30d0\u30fc\u3092\u5224\u5b9a\u3057\u3001shift=0\u306f\u53c2\u8003\u5024<\/strong>\u3068\u3057\u3066\u4f7f\u3046\u306e\u304c\u4e00\u822c\u7684<\/li>\n<li>\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u3067\u306fshift=0\u3067\u3082\u554f\u984c\u304c\u51fa\u306b\u304f\u3044\u304c\u3001\u30e9\u30a4\u30d6\u904b\u7528\u3067\u5dee\u304c\u51fa\u308b<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\" id=\"icustom\">iCustom\uff1a\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc<\/h2>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\"><code>double iCustom(\n   string symbol,\n   int    timeframe,\n   string name,       \/\/ \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u30d5\u30a1\u30a4\u30eb\u540d\uff08.ex4\u306a\u3057\uff09\n   ...                \/\/ \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5165\u529b\u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u53ef\u5909\u9577\uff09\n   int    mode,       \/\/ \u30d0\u30c3\u30d5\u30a1\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\n   int    shift       \/\/ \u30d0\u30fc\u30b7\u30d5\u30c8\n);<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u547c\u3073\u51fa\u3057\"><code>\/\/ \u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u300cSuperTrend\u300d\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u4f8b\n\/\/ \u30d1\u30e9\u30e1\u30fc\u30bf: Period=10, Multiplier=3.0\n\/\/ \u30d0\u30c3\u30d5\u30a10=\u30c8\u30ec\u30f3\u30c9\u30e9\u30a4\u30f3, \u30d0\u30c3\u30d5\u30a11=\u65b9\u5411(1=\u4e0a\u6607,-1=\u4e0b\u964d)\n\ndouble GetSuperTrend(int shift)\n  {\n   return iCustom(NULL, 0,\"SuperTrend\", 10, 3.0, 0, shift);\n  }\n\nint GetSuperTrendDirection(int shift)\n  {\n   double dir = iCustom(NULL, 0,\"SuperTrend\", 10, 3.0, 1, shift);\n   return (int)dir;\n  }<\/code><\/pre><\/div>\n\n<div class=\"swell-block-capbox cap_box is-style-shadow\">\n<div class=\"cap_box_ttl\"><span><strong>iCustom\u306e\u6ce8\u610f\u70b9<\/strong><\/span><\/div>\n<div class=\"cap_box_content\">\n<ul>\n<li>\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u9806\u3068\u578b\u3092\u6b63\u78ba\u306b\u5408\u308f\u305b\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n<li>\u30d0\u30c3\u30d5\u30a1\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f0\u304b\u3089\u59cb\u307e\u308b\u3002\u3069\u306e\u30d0\u30c3\u30d5\u30a1\u306b\u4f55\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u304b\u306f\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<li>\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u30d5\u30a1\u30a4\u30eb\uff08.ex4\uff09\u304cIndicators\u30d5\u30a9\u30eb\u30c0\u306b\u5b58\u5728\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b<\/li>\n<li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u4f7f\u3046\u5834\u5408\u3082\u3001mode\u3068shift\u306e\u524d\u306b\u7701\u7565\u3067\u304d\u306a\u3044<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\" id=\"multi-timeframe\">\u30de\u30eb\u30c1\u30bf\u30a4\u30e0\u30d5\u30ec\u30fc\u30e0\u5206\u6790<\/h2>\n\n<p class=\"is-style-big_icon_point\">MQL4\u3067\u306f\u3001\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306etimeframe\u5f15\u6570\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u4e0a\u4f4d\u8db3\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<strong>\u4e0a\u4f4d\u8db3\u3067\u30c8\u30ec\u30f3\u30c9\u65b9\u5411\u3092\u78ba\u8a8d\u3057\u3001\u4e0b\u4f4d\u8db3\u3067\u30a8\u30f3\u30c8\u30ea\u30fc\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u8a08\u308b<\/strong>\u306e\u304c\u57fa\u672c\u6226\u7565\u3067\u3059\u3002NULL\u307e\u305f\u306f0\u3092\u6307\u5b9a\u3059\u308b\u3068\u73fe\u5728\u306e\u30c1\u30e3\u30fc\u30c8\u306e\u6642\u9593\u8ef8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-lang=\"C++\" data-file=\"\u30de\u30eb\u30c1\u30bf\u30a4\u30e0\u30d5\u30ec\u30fc\u30e0\u5206\u6790\"><code>\/\/ \u6642\u9593\u8ef8\u5b9a\u6570\n\/\/ PERIOD_M1(1), PERIOD_M5(5), PERIOD_M15(15), PERIOD_M30(30),\n\/\/ PERIOD_H1(60), PERIOD_H4(240), PERIOD_D1(1440),\n\/\/ PERIOD_W1(10080), PERIOD_MN1(43200)\n\nint CheckMultiTFSignal()\n  {\n   \/\/ \u65e5\u8db3\u306eMA\u65b9\u5411\uff08\u30c8\u30ec\u30f3\u30c9\u5224\u5b9a\uff09\n   double dailyMA0 = iMA(NULL, PERIOD_D1, 20, 0, MODE_SMA, PRICE_CLOSE, 0);\n   double dailyMA1 = iMA(NULL, PERIOD_D1, 20, 0, MODE_SMA, PRICE_CLOSE, 1);\n   bool dailyUptrend = (dailyMA0 &gt; dailyMA1);\n\n   \/\/ 4\u6642\u9593\u8db3\u306eRSI\uff08\u904e\u71b1\u611f\u30c1\u30a7\u30c3\u30af\uff09\n   double h4RSI = iRSI(NULL, PERIOD_H4, 14, PRICE_CLOSE, 0);\n\n   \/\/ 1\u6642\u9593\u8db3\u306eMACD\u30af\u30ed\u30b9\uff08\u30a8\u30f3\u30c8\u30ea\u30fc\u30bf\u30a4\u30df\u30f3\u30b0\uff09\n   double h1MACD0   = iMACD(NULL, PERIOD_H1, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0);\n   double h1Signal0 = iMACD(NULL, PERIOD_H1, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 0);\n   double h1MACD1   = iMACD(NULL, PERIOD_H1, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 1);\n   double h1Signal1 = iMACD(NULL, PERIOD_H1, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 1);\n\n   \/\/ \u65e5\u8db3\u4e0a\u6607 + H4 RSI50\u4ee5\u4e0b + H1 MACD\u30b4\u30fc\u30eb\u30c7\u30f3\u30af\u30ed\u30b9 \u2192 \u8cb7\u3044\n   if(dailyUptrend &amp;&amp; h4RSI &lt; 50 &amp;&amp; h1MACD1 &lt; h1Signal1 &amp;&amp; h1MACD0 &gt; h1Signal0)\n      return 1;\n\n   \/\/ \u65e5\u8db3\u4e0b\u964d + H4 RSI50\u4ee5\u4e0a + H1 MACD\u30c7\u30c3\u30c9\u30af\u30ed\u30b9 \u2192 \u58f2\u308a\n   if(!dailyUptrend &amp;&amp; h4RSI &gt; 50 &amp;&amp; h1MACD1 &gt; h1Signal1 &amp;&amp; h1MACD0 &lt; h1Signal0)\n      return -1;\n\n   return 0;\n  }<\/code><\/pre><\/div>\n\n<div class=\"swell-block-capbox cap_box is-style-shadow\">\n<div class=\"cap_box_ttl\"><span><strong>\u30d0\u30c3\u30d5\u30a1\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff08mode\uff09\u306e\u8003\u3048\u65b9<\/strong><\/span><\/div>\n<div class=\"cap_box_content\">\n<p>\u8907\u6570\u306e\u30e9\u30a4\u30f3\u3092\u6301\u3064\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3067\u306f\u3001<code>mode<\/code>\u5f15\u6570\u3067\u3069\u306e\u30e9\u30a4\u30f3\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u304b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>iBands<\/strong>: MODE_MAIN(0)=\u4e2d\u592e\u7dda, MODE_UPPER(1)=\u4e0a\u9650, MODE_LOWER(2)=\u4e0b\u9650<\/li>\n<li><strong>iMACD<\/strong>: MODE_MAIN(0)=MACD\u30e9\u30a4\u30f3, MODE_SIGNAL(1)=\u30b7\u30b0\u30ca\u30eb\u30e9\u30a4\u30f3<\/li>\n<li><strong>iStochastic<\/strong>: MODE_MAIN(0)=%K, MODE_SIGNAL(1)=%D<\/li>\n<li><strong>iADX<\/strong>: MODE_MAIN(0)=ADX, MODE_PLUSDI(1)=+DI, MODE_MINUSDI(2)=-DI<\/li>\n<li><strong>iIchimoku<\/strong>: 1=\u8ee2\u63db\u7dda, 2=\u57fa\u6e96\u7dda, 3=\u5148\u884c\u30b9\u30d1\u30f3A, 4=\u5148\u884c\u30b9\u30d1\u30f3B, 5=\u9045\u884c\u30b9\u30d1\u30f3<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\" id=\"other-indicators\">\u305d\u306e\u4ed6\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570<\/h2>\n\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\"><thead><tr><th>\u95a2\u6570<\/th><th>\u8aac\u660e<\/th><th>\u4e3b\u306a\u30d1\u30e9\u30e1\u30fc\u30bf<\/th><\/tr><\/thead><tbody><tr><td>iAO()<\/td><td>Awesome Oscillator<\/td><td>symbol, timeframe, shift<\/td><\/tr><tr><td>iAC()<\/td><td>Accelerator Oscillator<\/td><td>symbol, timeframe, shift<\/td><\/tr><tr><td>iBearsPower()<\/td><td>\u30d9\u30a2\u30d1\u30ef\u30fc<\/td><td>period, applied_price<\/td><\/tr><tr><td>iBullsPower()<\/td><td>\u30d6\u30eb\u30d1\u30ef\u30fc<\/td><td>period, applied_price<\/td><\/tr><tr><td>iDeMarker()<\/td><td>\u30c7\u30de\u30fc\u30ab\u30fc<\/td><td>period<\/td><\/tr><tr><td>iEnvelopes()<\/td><td>\u30a8\u30f3\u30d9\u30ed\u30fc\u30d7<\/td><td>period, deviation, mode<\/td><\/tr><tr><td>iForce()<\/td><td>\u30d5\u30a9\u30fc\u30b9\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/td><td>period, method, applied_price<\/td><\/tr><tr><td>iMFI()<\/td><td>\u30de\u30cd\u30fc\u30d5\u30ed\u30fc\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/td><td>period<\/td><\/tr><tr><td>iMomentum()<\/td><td>\u30e2\u30e1\u30f3\u30bf\u30e0<\/td><td>period, applied_price<\/td><\/tr><tr><td>iOBV()<\/td><td>\u30aa\u30f3\u30d0\u30e9\u30f3\u30b9\u30dc\u30ea\u30e5\u30fc\u30e0<\/td><td>applied_price<\/td><\/tr><tr><td>iOsMA()<\/td><td>OsMA\uff08MACD\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\uff09<\/td><td>fast, slow, signal, applied_price<\/td><\/tr><tr><td>iRVI()<\/td><td>\u76f8\u5bfe\u6d3b\u529b\u6307\u6570<\/td><td>period, mode<\/td><\/tr><tr><td>iSAR()<\/td><td>\u30d1\u30e9\u30dc\u30ea\u30c3\u30afSAR<\/td><td>step, maximum<\/td><\/tr><tr><td>iWPR()<\/td><td>\u30a6\u30a3\u30ea\u30a2\u30e0\u30ba%R<\/td><td>period<\/td><\/tr><\/tbody><\/table>\n<\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"function-table\">\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u4e00\u89a7\uff08MQL5\u5bfe\u5fdc\u8868\uff09<\/h2>\n\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\"><thead><tr><th>MQL4\u95a2\u6570<\/th><th>MQL5\u5bfe\u5fdc<\/th><th>\u30d0\u30c3\u30d5\u30a1\u6570<\/th><\/tr><\/thead><tbody><tr><td>iMA()<\/td><td>iMA() + CopyBuffer()<\/td><td>1<\/td><\/tr><tr><td>iRSI()<\/td><td>iRSI() + CopyBuffer()<\/td><td>1<\/td><\/tr><tr><td>iBands()<\/td><td>iBands() + CopyBuffer()<\/td><td>3 (Main\/Upper\/Lower)<\/td><\/tr><tr><td>iMACD()<\/td><td>iMACD() + CopyBuffer()<\/td><td>2 (Main\/Signal)<\/td><\/tr><tr><td>iATR()<\/td><td>iATR() + CopyBuffer()<\/td><td>1<\/td><\/tr><tr><td>iStochastic()<\/td><td>iStochastic() + CopyBuffer()<\/td><td>2 (%K\/%D)<\/td><\/tr><tr><td>iCCI()<\/td><td>iCCI() + CopyBuffer()<\/td><td>1<\/td><\/tr><tr><td>iADX()<\/td><td>iADX() + CopyBuffer()<\/td><td>3 (ADX\/+DI\/-DI)<\/td><\/tr><tr><td>iIchimoku()<\/td><td>iIchimoku() + CopyBuffer()<\/td><td>5<\/td><\/tr><tr><td>iCustom()<\/td><td>iCustom() + CopyBuffer()<\/td><td>\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306b\u3088\u308b<\/td><\/tr><\/tbody><\/table>\n<\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"matome\">\u307e\u3068\u3081<\/h2>\n\n<p>MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306fMQL5\u306b\u6bd4\u3079\u3066\u30b7\u30f3\u30d7\u30eb\u3067\u4f7f\u3044\u3084\u3059\u304f\u30011\u884c\u3067\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u5b9f\u969b\u306b\u8a66\u3057\u305f\u3068\u3053\u308d\u3001iMA()\u306eshift=0\uff08\u672a\u78ba\u5b9a\u30d0\u30fc\uff09\u3092\u4f7f\u3046\u3068\u518d\u63cf\u753b\u3067\u30b7\u30b0\u30ca\u30eb\u304c\u305a\u308c\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u3001shift=1\uff08\u78ba\u5b9a\u30d0\u30fc\uff09\u306b\u5909\u3048\u308b\u3068\u5b89\u5b9a\u3057\u307e\u3057\u305f\u3002EA\u958b\u767a\u3067\u62bc\u3055\u3048\u3066\u304a\u304d\u305f\u3044\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n<ul>\n<li><strong>shift=0\u306f\u672a\u78ba\u5b9a\u30d0\u30fc<\/strong>\uff1a\u30b7\u30b0\u30ca\u30eb\u5224\u5b9a\u306b\u306fshift=1\uff08\u78ba\u5b9a\u30d0\u30fc\uff09\u3092\u4f7f\u3046\u306e\u304c\u5b89\u5168<\/li>\n<li><strong>\u30de\u30eb\u30c1\u30bf\u30a4\u30e0\u30d5\u30ec\u30fc\u30e0\u306ftimeframe\u5f15\u6570\u3092\u5909\u3048\u308b\u3060\u3051<\/strong>\uff1a\u4e0a\u4f4d\u8db3\u306e\u65b9\u5411\u306b\u9806\u5f35\u308a\u3059\u308b\u6226\u7565\u304c\u6709\u52b9<\/li>\n<li><strong>\u8907\u6570\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u7d44\u307f\u5408\u308f\u305b<\/strong>\uff1a\u30c8\u30ec\u30f3\u30c9\u7cfb\uff08MA, ADX\uff09+ \u30aa\u30b7\u30ec\u30fc\u30bf\u30fc\u7cfb\uff08RSI, Stoch\uff09\u3067\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b<\/li>\n<li><strong>iCustom()\u306e\u30d0\u30c3\u30d5\u30a1\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/strong>\uff1a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067SetIndexBuffer()\u306e\u9806\u756a\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ul>\n\n<p>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001<a href=\"https:\/\/sys-tre.com\/forexguide\/category\/mql-reference\/\">MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u7dcf\u5408\u30ac\u30a4\u30c9<\/a>\u3067\u53d6\u5f15\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u5b9f\u8df5\u7684\u306aEA\u958b\u767a\u3092\u5b66\u3073\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">MQL4\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570 \u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<div class=\"swell-block-faq\">\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f<\/h3><div class=\"faq_a\"><p>iMA(symbol, timeframe, period, shift, method, price, bar_shift)\u306e\u3088\u3046\u306b\u5f15\u6570\u3092\u6307\u5b9a\u3057\u30661\u3064\u306e\u5024\u3092\u76f4\u63a5\u8fd4\u3057\u307e\u3059\u3002MQL4\u3067\u306f\u4e8b\u524d\u306b\u30cf\u30f3\u30c9\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u547c\u3073\u51fa\u3057\u3054\u3068\u306b\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3057\u307e\u3059\u3002iRSI\/iBands\/iMACD\u7b49\u306e\u7d44\u307f\u8fbc\u307f\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3082\u540c\u3058\u5f62\u5f0f\u3067\u3059\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u3067iMA\u3092\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f<\/h3><div class=\"faq_a\"><p>iMA(Symbol(), 0, 20, 0, MODE_SMA, PRICE_CLOSE, 0)\u3067\u73fe\u5728\u30c1\u30e3\u30fc\u30c8\u306e20\u671f\u9593SMA\u306e\u6700\u65b0\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u7b2c7\u5f15\u6570\u306eshift=1\u30671\u672c\u524d\u306e\u30d0\u30fc\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002bar\u30b7\u30d5\u30c8\u3092\u5909\u3048\u3066\u30eb\u30fc\u30d7\u3067\u8907\u6570\u30d0\u30fc\u306e\u5024\u3092\u914d\u5217\u306b\u683c\u7d0d\u3067\u304d\u307e\u3059\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u3067iCustom\u3092\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f<\/h3><div class=\"faq_a\"><p>iCustom(symbol, timeframe, &#8220;IndiName&#8221;, param1, &#8230;, buffer_num, bar_shift)\u3067\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002buffer_num\u306f\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306eSetIndexBuffer()\u3067\u5b9a\u7fa9\u3057\u305f\u30d0\u30c3\u30d5\u30a1\u756a\u53f7\u3067\u3059\u3002\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u30d5\u30a1\u30a4\u30eb\u306fMQL4\/Indicators\u30d5\u30a9\u30eb\u30c0\u306b\u914d\u7f6e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u3067\u8907\u6570\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f<\/h3><div class=\"faq_a\"><p>\u5404OnTick()\u306e\u5148\u982d\u3067iMA\u7b49\u306e\u5024\u3092\u5909\u6570\u306b\u683c\u7d0d\u3057\u3066\u518d\u5229\u7528\u3057\u307e\u3059\u3002\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u8907\u6570\u56de\u547c\u3076\u3068\u6bce\u56de\u8a08\u7b97\u3059\u308b\u305f\u3081\u975e\u52b9\u7387\u3067\u3059\u3002\u307e\u305f\u7570\u306a\u308b\u6642\u9593\u8db3\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306fRefreshRates()\u3092\u5148\u306b\u547c\u3093\u3067\u4fa1\u683c\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u3067\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5024\u304cEMPTY_VALUE\u306b\u306a\u308b\u5834\u5408\u306f\uff1f<\/h3><div class=\"faq_a\"><p>EMPTY_VALUE\uff082147483647\uff09\u304c\u8fd4\u308b\u5834\u5408\u3001\u30d0\u30fc\u30c7\u30fc\u30bf\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u304b\u8a08\u7b97\u3067\u304d\u306a\u3044\u72b6\u614b\u3067\u3059\u3002iMA\u7b49\u306eperiod\u3088\u308a\u77ed\u3044\u5c65\u6b74\u3057\u304b\u306a\u3044\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u623b\u308a\u5024\u3092EMPTY_VALUE\u3068\u6bd4\u8f03\u3057\u3066\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u30ac\u30fc\u30c9\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u3068MQL5\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306e\u9055\u3044\u306f\uff1f<\/h3><div class=\"faq_a\"><p>MQL5\u3067\u306fiMA()\u7b49\u306e\u623b\u308a\u5024\u304c\u30cf\u30f3\u30c9\u30eb\u306b\u5909\u308f\u308a\u3001CopyBuffer(handle, buffer, start, count, array)\u3067\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u4e8b\u524d\u306bIndicatorRelease()\u3067\u30cf\u30f3\u30c9\u30eb\u3092\u89e3\u653e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002MQL4\u306e\u76f4\u63a5\u5024\u8fd4\u3057\u65b9\u5f0f\u3088\u308a\u30b3\u30fc\u30c9\u91cf\u304c\u5897\u3048\u307e\u3059\u304c\u4e00\u62ec\u53d6\u5f97\u304c\u52b9\u7387\u7684\u3067\u3059\u3002<\/p><\/div><\/div>\n<\/div>\n\n<div class=\"p-blogParts post_content\" data-partsID=\"59754\">\n\n  <style>\n   \n    .systrade-horizontal-banner {\n      width: 100%;\n      max-width: 800px;\n      margin: 20px auto;\n      background: linear-gradient(135deg, #F5F5F7, #E8E9EB);\n      border-radius: 12px;\n      overflow: hidden;\n      position: relative;\n      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n      font-family: 'Noto Sans JP', sans-serif;\n      box-shadow: \n        0 10px 20px rgba(0, 0, 0, 0.1),\n        0 0 0 1px rgba(0, 0, 0, 0.03) inset;\n      display: flex;\n      flex-direction: row;\n      align-items: center;\n      height: auto;\n      min-height: 120px;\n      box-sizing: border-box;\n    }\n\n    .systrade-horizontal-banner::before {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      background: \n        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),\n        radial-gradient(circle at 100% 100%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);\n      z-index: 1;\n    }\n\n    .systrade-horizontal-banner::after {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      height: 2px;\n      background: linear-gradient(90deg, \n        transparent,\n        #FF6B00,\n        transparent\n      );\n      animation: borderGlow 3s ease-in-out infinite;\n      z-index: 2;\n    }\n\n    @keyframes borderGlow {\n      0%, 100% { opacity: 0.5; }\n      50% { opacity: 1; }\n    }\n\n    .systrade-horizontal-banner:hover {\n      transform: translateY(-2px);\n      box-shadow: \n        0 12px 25px rgba(0, 0, 0, 0.15),\n        0 0 0 1px rgba(0, 0, 0, 0.05) inset;\n    }\n\n    .systrade-horizontal-anchor {\n      display: flex;\n      width: 100%;\n      text-decoration: none;\n      color: inherit;\n      position: relative;\n      z-index: 2;\n      flex-wrap: wrap;\n    }\n\n    .systrade-horizontal-header {\n      width: 30%;\n      min-width: 150px;\n      position: relative;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      justify-content: center;\n      padding: 12px;\n      background: rgba(255, 255, 255, 0.5);\n      border-radius: 10px;\n      border: 1px solid rgba(255, 255, 255, 0.8);\n      overflow: hidden;\n      backdrop-filter: blur(10px);\n      -webkit-backdrop-filter: blur(10px);\n      margin: 10px;\n      height: calc(100% - 20px);\n    }\n\n    .systrade-horizontal-header::before {\n      content: '';\n      position: absolute;\n      top: -50%;\n      left: -50%;\n      width: 200%;\n      height: 200%;\n      background: linear-gradient(\n        45deg,\n        transparent,\n        rgba(255, 255, 255, 0.4),\n        transparent\n      );\n      transform: rotate(45deg);\n      animation: headerGlow 4s ease-in-out infinite;\n    }\n\n    @keyframes headerGlow {\n      0% { transform: rotate(45deg) translateX(-100%); }\n      50% { transform: rotate(45deg) translateX(100%); }\n      100% { transform: rotate(45deg) translateX(100%); }\n    }\n\n    .systrade-horizontal-inner {\n      width: 100%;\n      position: relative;\n      z-index: 2;\n      text-align: center;\n    }\n\n    .systrade-horizontal-image {\n      height: 30px;\n      width: auto;\n      margin: 8px auto;\n      display: block;\n      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));\n    }\n\n    .systrade-horizontal-title {\n      color: #333;\n      font-size: 0.9em;\n      font-weight: 900;\n      white-space: nowrap;\n      background: linear-gradient(90deg, #333, #FF6B00, #333);\n      background-size: 200% auto;\n      -webkit-background-clip: text;\n      -webkit-text-fill-color: transparent;\n      animation: titleFlow 3s linear infinite;\n      padding: 4px 0;\n    }\n\n    @keyframes titleFlow {\n      0% { background-position: 0% center; }\n      100% { background-position: 200% center; }\n    }\n\n    .systrade-horizontal-content {\n      display: flex;\n      flex: 1;\n      flex-direction: column;\n      justify-content: space-between;\n      padding: 12px;\n    }\n\n    .systrade-horizontal-list {\n      display: grid;\n      grid-template-columns: repeat(2, 1fr);\n      gap: 8px;\n      margin-bottom: 10px;\n    }\n\n    .systrade-horizontal-item {\n      background: rgba(255, 255, 255, 0.7);\n      padding: 8px 6px;\n      border-radius: 8px;\n      border: 1px solid rgba(255, 255, 255, 0.9);\n      text-align: center;\n      transition: all 0.3s ease;\n      position: relative;\n      overflow: hidden;\n    }\n\n    .systrade-horizontal-item:hover {\n      transform: translateY(-2px);\n      background: rgba(255, 107, 0, 0.05);\n      border-color: rgba(255, 107, 0, 0.2);\n      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);\n    }\n\n    .systrade-horizontal-item::after {\n      content: '';\n      position: absolute;\n      top: -50%;\n      left: -50%;\n      width: 200%;\n      height: 200%;\n      background: linear-gradient(\n        45deg,\n        transparent,\n        rgba(255, 107, 0, 0.1),\n        transparent\n      );\n      transform: rotate(45deg);\n      animation: itemGlow 3s ease-in-out infinite;\n      opacity: 0;\n    }\n\n    .systrade-horizontal-item:hover::after {\n      opacity: 1;\n    }\n\n    @keyframes itemGlow {\n      0% { transform: rotate(45deg) translateX(-100%); }\n      100% { transform: rotate(45deg) translateX(100%); }\n    }\n\n    .systrade-horizontal-desc {\n      color: #333;\n      font-size: 0.7em;\n      font-weight: 700;\n      line-height: 1.3;\n      position: relative;\n      z-index: 1;\n    }\n\n    .systrade-horizontal-button {\n      background: linear-gradient(90deg, #FF6B00, #FF8534);\n      color: white;\n      padding: 10px;\n      border-radius: 8px;\n      font-weight: 900;\n      font-size: 0.85em;\n      text-align: center;\n      position: relative;\n      overflow: hidden;\n      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);\n      transition: all 0.3s ease;\n      margin-top: auto;\n    }\n\n    .systrade-horizontal-button::before {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      background: linear-gradient(90deg, \n        transparent,\n        rgba(255, 255, 255, 0.2),\n        transparent\n      );\n      transform: translateX(-100%);\n      animation: buttonGlow 3s ease-in-out infinite;\n    }\n\n    @keyframes buttonGlow {\n      0% { transform: translateX(-100%); }\n      50% { transform: translateX(100%); }\n      100% { transform: translateX(100%); }\n    }\n\n    .systrade-horizontal-button:hover {\n      transform: translateY(-2px);\n      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);\n    }\n\n    \/* Responsive breakpoints *\/\n    @media (max-width: 768px) {\n      .systrade-horizontal-banner {\n        min-height: auto;\n      }\n      \n      .systrade-horizontal-header {\n        min-width: 120px;\n        padding: 8px;\n      }\n      \n      .systrade-horizontal-image {\n        height: 25px;\n      }\n      \n      .systrade-horizontal-title {\n        font-size: 0.8em;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.65em;\n      }\n      \n      .systrade-horizontal-button {\n        font-size: 0.8em;\n        padding: 8px;\n      }\n    }\n    \n    @media (max-width: 600px) {\n      .systrade-horizontal-banner {\n        flex-direction: column;\n        min-height: auto;\n      }\n      \n      .systrade-horizontal-header {\n        width: calc(100% - 20px);\n        min-width: auto;\n        margin: 10px;\n      }\n      \n      .systrade-horizontal-content {\n        width: 100%;\n      }\n      \n      .systrade-horizontal-image {\n        height: 30px;\n        margin: 5px auto;\n      }\n      \n      .systrade-horizontal-title {\n        font-size: 0.85em;\n      }\n      \n      .systrade-horizontal-list {\n        grid-template-columns: repeat(2, 1fr);\n        gap: 6px;\n        margin-bottom: 8px;\n      }\n      \n      .systrade-horizontal-item {\n        padding: 6px 4px;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.65em;\n      }\n      \n      .systrade-horizontal-button {\n        margin-top: 5px;\n      }\n    }\n\n    @media (max-width: 400px) {\n      .systrade-horizontal-list {\n        grid-template-columns: 1fr;\n      }\n      \n      .systrade-horizontal-item {\n        padding: 8px 6px;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.7em;\n      }\n    }\n    \n    \/* Print media query *\/\n    @media print {\n      .systrade-horizontal-banner {\n        box-shadow: none;\n        border: 1px solid #ccc;\n      }\n      \n      .systrade-horizontal-banner::before,\n      .systrade-horizontal-banner::after,\n      .systrade-horizontal-header::before,\n      .systrade-horizontal-item::after,\n      .systrade-horizontal-button::before {\n        display: none;\n      }\n      \n      .systrade-horizontal-button {\n        background: #FF6B00;\n        text-shadow: none;\n      }\n    }\n  <\/style>\n\n  <div class=\"systrade-horizontal-banner\">\n    <a href=\"https:\/\/sys-tre.com\/\" class=\"systrade-horizontal-anchor\">\n      <div class=\"systrade-horizontal-header\">\n        <div class=\"systrade-horizontal-inner\">\n          <div class=\"systrade-horizontal-title\">FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u306a\u3089\uff01<\/div>\n          <img decoding=\"async\" src=\"https:\/\/sys-tre.com\/broker\/wp-content\/uploads\/2025\/01\/\u30b7\u30b9\u30c8\u30ec.COM_B-2.png\" alt=\"\u30b7\u30b9\u30c8\u30ec.COM \u516c\u5f0fCTA\u30ed\u30b4\" class=\"systrade-horizontal-image\">\n        <\/div>\n      <\/div>\n\n      <div class=\"systrade-horizontal-content\">\n        <div class=\"systrade-horizontal-list\">\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u5b9f\u7e3e\u306e\u3042\u308bEA\u304c\u7121\u6599\u3067\u4f7f\u3048\u308b\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u6709\u6599\u7248\u3067\u53e3\u5ea7\u5236\u9650\u306a\u3057\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u5168\u5546\u54c1\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u516c\u958b\u4e2d\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u521d\u5fc3\u8005\u3067\u3082\u5b89\u5fc3\u3057\u3066\u3054\u5229\u7528\u53ef\u80fd\uff01<\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"systrade-horizontal-button\">\n          \u4eca\u3059\u3050\u7121\u6599\u3067\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9\u3092\u59cb\u3081\u308b\uff01\n        <\/div>\n      <\/div>\n    <\/a>\n  <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">MQL4\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 \u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MQL4 \u53d6\u5f15\u95a2\u6570\uff1aOrderSend\u30fbOrderClose\u30fb\u30dd\u30b8\u30b7\u30e7\u30f3\u7ba1\u7406<\/li>\n<li><a href=\"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/\">MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570<\/a>\uff1aiMA\u30fbiRSI\u30fbiCustom<\/li>\n<li><a href=\"https:\/\/sys-tre.com\/forexguide\/mql4-account-market-info\/\">MQL4 \u53e3\u5ea7\u30fb\u30de\u30fc\u30b1\u30c3\u30c8\u60c5\u5831<\/a>\uff1a\u30ed\u30c3\u30c8\u8a08\u7b97<\/li>\n<li><a href=\"https:\/\/sys-tre.com\/forexguide\/mql4-event-handlers\/\">MQL4 \u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9<\/a>\uff1aOnInit\u30fbOnTick<\/li>\n<li>MQL4 \u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\uff1a\u30ea\u30c8\u30e9\u30a4\u30d1\u30bf\u30fc\u30f3<\/li>\n<li>MQL4 \u6642\u9593\u30fb\u65e5\u4ed8\u95a2\u6570\uff1a\u53d6\u5f15\u6642\u9593\u30d5\u30a3\u30eb\u30bf\u30fc<\/li>\n<li><a href=\"https:\/\/sys-tre.com\/forexguide\/ea-howto\/\">EA\u59cb\u3081\u65b9\u30ac\u30a4\u30c9<\/a>\uff1aMT4\u3078\u306eEA\u8a2d\u5b9a\u624b\u9806<\/li>\n<\/ul>\n\n\n\n<script type=\"application\/ld+json\">\n{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\": [\n    {\"@type\":\"Question\",\"name\":\"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"iMA(symbol,timeframe,period,shift,method,price,bar_shift)\u306e\u3088\u3046\u306b\u5f15\u6570\u6307\u5b9a\u30671\u5024\u3092\u76f4\u63a5\u8fd4\u3057\u307e\u3059\u3002MQL4\u3067\u306f\u30cf\u30f3\u30c9\u30eb\u4f5c\u6210\u4e0d\u8981\u3067\u547c\u3073\u51fa\u3057\u3054\u3068\u306b\u8a08\u7b97\u7d50\u679c\u3092\u8fd4\u3057\u307e\u3059\u3002\"}},\n    {\"@type\":\"Question\",\"name\":\"MQL4\u3067iMA\u3092\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"iMA(Symbol(),0,20,0,MODE_SMA,PRICE_CLOSE,0)\u306720\u671f\u9593SMA\u306e\u6700\u65b0\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u30027\u756a\u76ee\u306e\u5f15\u6570shift\u3092\u5909\u3048\u3066\u904e\u53bb\u30d0\u30fc\u306e\u5024\u3082\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\"}},\n    {\"@type\":\"Question\",\"name\":\"MQL4\u3067iCustom\u3092\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"iCustom(symbol,timeframe,\\\"IndiName\\\",params...,buffer_num,bar_shift)\u3067\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306fMQL4\/Indicators\u30d5\u30a9\u30eb\u30c0\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002\"}},\n    {\"@type\":\"Question\",\"name\":\"MQL4\u3067\u8907\u6570\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"\u5404OnTick()\u306e\u5148\u982d\u3067\u5024\u3092\u5909\u6570\u306b\u683c\u7d0d\u3057\u3066\u518d\u5229\u7528\u3057\u307e\u3059\u3002\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u8907\u6570\u56de\u547c\u3076\u306e\u306f\u975e\u52b9\u7387\u3067\u3059\u3002\u7570\u306a\u308b\u6642\u9593\u8db3\u53d6\u5f97\u524d\u306fRefreshRates()\u3067\u4fa1\u683c\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\"}},\n    {\"@type\":\"Question\",\"name\":\"MQL4\u3067\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5024\u304cEMPTY_VALUE\u306b\u306a\u308b\u5834\u5408\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"\u30d0\u30fc\u30c7\u30fc\u30bf\u4e0d\u8db3\u307e\u305f\u306f\u8a08\u7b97\u4e0d\u53ef\u80fd\u306a\u72b6\u614b\u3067\u3059\u3002\u623b\u308a\u5024\u3092EMPTY_VALUE\u3068\u6bd4\u8f03\u3057\u3066\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u30ac\u30fc\u30c9\u304c\u5fc5\u8981\u3067\u3059\u3002\"}},\n    {\"@type\":\"Question\",\"name\":\"MQL4\u3068MQL5\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u306e\u9055\u3044\u306f\uff1f\",\"acceptedAnswer\": {\"@type\":\"Answer\",\"text\":\"MQL5\u3067\u306fiMA()\u7b49\u306e\u623b\u308a\u5024\u304c\u30cf\u30f3\u30c9\u30eb\u306b\u306a\u308a\u3001CopyBuffer()\u3067\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002MQL4\u306e\u76f4\u63a5\u5024\u8fd4\u3057\u65b9\u5f0f\u3088\u308a\u4e00\u62ec\u53d6\u5f97\u304c\u52b9\u7387\u7684\u3067\u3059\u3002\"}}\n]}\n<\/script>\n\n\n\n\n<address class=\"author author-box\">\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\uff5c200\u7a2e\u985e\u4ee5\u4e0a\u306eEA\u3092\u30d5\u30a9\u30ef\u30fc\u30c9\u8a08\u6e2c\u3059\u308b\u904b\u55b63\u5e74\u306e\u691c\u8a3c\u30e1\u30c7\u30a3\u30a2\u3002MetaTrader (MT4\/MT5) \u3092\u5b9f\u904b\u7528\u3057\u3066\u304d\u305f\u7de8\u96c6\u90e8\u304c\u76e3\u4fee\u30fb\u57f7\u7b46\u3057\u3066\u3044\u307e\u3059\u3002<\/address>\n","protected":false},"excerpt":{"rendered":"<p>MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u3092\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002iMA\uff08\u79fb\u52d5\u5e73\u5747\u7dda\uff09\u3001iRSI\u3001iBands\uff08\u30dc\u30ea\u30f3\u30b8\u30e3\u30fc\u30d0\u30f3\u30c9\uff09\u3001iMACD\u3001iATR\u3001iStochastic\u3001iCCI\u3001iADX\u3001iIchimoku\uff08\u4e00\u76ee\u5747\u8861\u8868\uff09\u306a\u3069\u4e3b\u8981\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u306e\u76f4\u63a5\u53d6\u5f97\u65b9\u6cd5\u3001iCustom()\u306b\u3088\u308b\u30ab\u30b9\u30bf\u30e0\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u547c\u3073\u51fa\u3057\u3001\u30de&#8230;<\/p>\n","protected":false},"author":686,"featured_media":71194,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[301],"tags":[302],"class_list":["post-65711","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mql-reference","tag-mql4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac<\/title>\n<meta name=\"description\" content=\"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac\" \/>\n<meta property=\"og:description\" content=\"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Forex Guide\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-14T18:27:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-14T04:22:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/systre_COM\" \/>\n<meta name=\"twitter:site\" content=\"@systre_COM\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/\"},\"author\":{\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#\\\/schema\\\/person\\\/6d4b91f175c62b272d48ff74ffe237c1\"},\"headline\":\"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\u5b8c\u5168\u30ac\u30a4\u30c9\",\"datePublished\":\"2026-03-14T18:27:03+00:00\",\"dateModified\":\"2026-04-14T04:22:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/\"},\"wordCount\":350,\"publisher\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"keywords\":[\"MQL4\"],\"articleSection\":[\"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/\",\"name\":\"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"datePublished\":\"2026-03-14T18:27:03+00:00\",\"dateModified\":\"2026-04-14T04:22:54+00:00\",\"description\":\"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"contentUrl\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"width\":2400,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/mql4-indicator-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\",\"item\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/category\\\/mql-reference\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\u5b8c\u5168\u30ac\u30a4\u30c9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#website\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"description\":\"\u30b7\u30b9\u30c8\u30ec.COM ForexGuide\uff5cFX\u81ea\u52d5\u58f2\u8cb7\u306b\u95a2\u3059\u308b\u304a\u5f79\u7acb\u3061\u60c5\u5831\u3092\u66f4\u65b0\u4e2d\uff01\",\"publisher\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#organization\"},\"alternateName\":\"\u30b7\u30b9\u30c8\u30ecCOM\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#organization\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"alternateName\":\"\u30b7\u30b9\u30c8\u30ecCOM\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/\u30b7\u30b9\u30c8\u30ec.COM_\u30ed\u30b4-1.svg\",\"contentUrl\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/\u30b7\u30b9\u30c8\u30ec.COM_\u30ed\u30b4-1.svg\",\"width\":500,\"height\":500,\"caption\":\"\u30b7\u30b9\u30c8\u30ec.COM\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/systre_COM\",\"https:\\\/\\\/www.youtube.com\\\/@systre_com\",\"https:\\\/\\\/www.facebook.com\\\/people\\\/%E3%82%B7%E3%82%B9%E3%83%88%E3%83%ACcom\\\/61587699411751\\\/\",\"https:\\\/\\\/www.instagram.com\\\/systre_com\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@sys_tre.com\"],\"description\":\"FX\u81ea\u52d5\u58f2\u8cb7EA\uff08Expert Advisor\uff09200\u672c\u4ee5\u4e0a\u3092\u7121\u6599\u63d0\u4f9b\u3059\u308b\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u3002\u5168EA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u30fb\u30ea\u30a2\u30eb\u53e3\u5ea7\u904b\u7528\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3002MT4\\\/MT5\u5bfe\u5fdc\u3002\",\"foundingDate\":\"2023\",\"knowsAbout\":[\"FX\u81ea\u52d5\u58f2\u8cb7\",\"Expert Advisor\",\"MetaTrader\",\"\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\",\"\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9\"],\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer service\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/contact-us\\\/\",\"availableLanguage\":[\"Japanese\",\"English\"]},\"legalName\":\"Attempia Ltd\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/#\\\/schema\\\/person\\\/6d4b91f175c62b272d48ff74ffe237c1\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"caption\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\"},\"description\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\u306f\u3001FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\u3092\u5c02\u9580\u3068\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30e1\u30c7\u30a3\u30a2\u300c\u30b7\u30b9\u30c8\u30ec.COM\u300d\u306e\u7de8\u96c6\u30c1\u30fc\u30e0\u3067\u3059\u3002200\u672c\u4ee5\u4e0a\u306eEA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u516c\u958b\u3057\u3001\u5b9f\u969b\u306e\u904b\u7528\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u305f\u5ba2\u89b3\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002\u8a18\u4e8b\u306e\u57f7\u7b46\u30fb\u76e3\u4fee\u306fMetaTrader\uff08MT4\\\/MT5\uff09\u3067\u306e\u5b9f\u904b\u7528\u7d4c\u9a13\u3092\u6301\u3064\u30b9\u30bf\u30c3\u30d5\u304c\u62c5\u5f53\u3002\",\"sameAs\":[\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/about\\\/\",\"https:\\\/\\\/x.com\\\/systre_COM\"],\"jobTitle\":\"FX\u81ea\u52d5\u58f2\u8cb7\u30fb\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790 \u7de8\u96c6\u30c1\u30fc\u30e0\",\"knowsAbout\":[\"FX\u81ea\u52d5\u58f2\u8cb7\",\"Expert Advisor (EA)\",\"\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\",\"MetaTrader 4\",\"MetaTrader 5\",\"MQL4\",\"MQL5\",\"\u30ea\u30b9\u30af\u7ba1\u7406\",\"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30c8\u30ec\u30fc\u30c9\"],\"url\":\"https:\\\/\\\/sys-tre.com\\\/forexguide\\\/about\\\/\",\"worksFor\":{\"@type\":\"Organization\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac","description":"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/","og_locale":"ja_JP","og_type":"article","og_title":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac","og_description":"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/","og_site_name":"Forex Guide","article_published_time":"2026-03-14T18:27:03+00:00","article_modified_time":"2026-04-14T04:22:54+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","type":"image\/png"}],"author":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_image":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","twitter_creator":"@https:\/\/twitter.com\/systre_COM","twitter_site":"@systre_COM","twitter_misc":{"\u57f7\u7b46\u8005":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#article","isPartOf":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/"},"author":{"name":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","@id":"https:\/\/sys-tre.com\/forexguide\/#\/schema\/person\/6d4b91f175c62b272d48ff74ffe237c1"},"headline":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\u5b8c\u5168\u30ac\u30a4\u30c9","datePublished":"2026-03-14T18:27:03+00:00","dateModified":"2026-04-14T04:22:54+00:00","mainEntityOfPage":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/"},"wordCount":350,"publisher":{"@id":"https:\/\/sys-tre.com\/forexguide\/#organization"},"image":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","keywords":["MQL4"],"articleSection":["MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/","url":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/","name":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u89e3\u8aac","isPartOf":{"@id":"https:\/\/sys-tre.com\/forexguide\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#primaryimage"},"image":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","datePublished":"2026-03-14T18:27:03+00:00","dateModified":"2026-04-14T04:22:54+00:00","description":"MQL4\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\uff08iMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\uff09\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u5024\u306e\u53d6\u5f97\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#primaryimage","url":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","contentUrl":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","width":2400,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/sys-tre.com\/forexguide\/mql4-indicator-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sys-tre.com\/forexguide\/"},{"@type":"ListItem","position":2,"name":"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9","item":"https:\/\/sys-tre.com\/forexguide\/category\/mql-reference\/"},{"@type":"ListItem","position":3,"name":"MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5ciMA\u30fbiRSI\u30fbiBands\u30fbiMACD\u30fbiCustom\u5b8c\u5168\u30ac\u30a4\u30c9"}]},{"@type":"WebSite","@id":"https:\/\/sys-tre.com\/forexguide\/#website","url":"https:\/\/sys-tre.com\/forexguide\/","name":"\u30b7\u30b9\u30c8\u30ec.COM","description":"\u30b7\u30b9\u30c8\u30ec.COM ForexGuide\uff5cFX\u81ea\u52d5\u58f2\u8cb7\u306b\u95a2\u3059\u308b\u304a\u5f79\u7acb\u3061\u60c5\u5831\u3092\u66f4\u65b0\u4e2d\uff01","publisher":{"@id":"https:\/\/sys-tre.com\/forexguide\/#organization"},"alternateName":"\u30b7\u30b9\u30c8\u30ecCOM","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sys-tre.com\/forexguide\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/sys-tre.com\/forexguide\/#organization","name":"\u30b7\u30b9\u30c8\u30ec.COM","alternateName":"\u30b7\u30b9\u30c8\u30ecCOM","url":"https:\/\/sys-tre.com\/forexguide\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sys-tre.com\/forexguide\/#\/schema\/logo\/image\/","url":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2023\/05\/\u30b7\u30b9\u30c8\u30ec.COM_\u30ed\u30b4-1.svg","contentUrl":"https:\/\/sys-tre.com\/forexguide\/wp-content\/uploads\/2023\/05\/\u30b7\u30b9\u30c8\u30ec.COM_\u30ed\u30b4-1.svg","width":500,"height":500,"caption":"\u30b7\u30b9\u30c8\u30ec.COM"},"image":{"@id":"https:\/\/sys-tre.com\/forexguide\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/systre_COM","https:\/\/www.youtube.com\/@systre_com","https:\/\/www.facebook.com\/people\/%E3%82%B7%E3%82%B9%E3%83%88%E3%83%ACcom\/61587699411751\/","https:\/\/www.instagram.com\/systre_com\/","https:\/\/www.tiktok.com\/@sys_tre.com"],"description":"FX\u81ea\u52d5\u58f2\u8cb7EA\uff08Expert Advisor\uff09200\u672c\u4ee5\u4e0a\u3092\u7121\u6599\u63d0\u4f9b\u3059\u308b\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u3002\u5168EA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u30fb\u30ea\u30a2\u30eb\u53e3\u5ea7\u904b\u7528\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3002MT4\/MT5\u5bfe\u5fdc\u3002","foundingDate":"2023","knowsAbout":["FX\u81ea\u52d5\u58f2\u8cb7","Expert Advisor","MetaTrader","\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790","\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9"],"contactPoint":{"@type":"ContactPoint","contactType":"customer service","url":"https:\/\/sys-tre.com\/contact-us\/","availableLanguage":["Japanese","English"]},"legalName":"Attempia Ltd"},{"@type":"Person","@id":"https:\/\/sys-tre.com\/forexguide\/#\/schema\/person\/6d4b91f175c62b272d48ff74ffe237c1","name":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","caption":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8"},"description":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\u306f\u3001FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\u3092\u5c02\u9580\u3068\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30e1\u30c7\u30a3\u30a2\u300c\u30b7\u30b9\u30c8\u30ec.COM\u300d\u306e\u7de8\u96c6\u30c1\u30fc\u30e0\u3067\u3059\u3002200\u672c\u4ee5\u4e0a\u306eEA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u516c\u958b\u3057\u3001\u5b9f\u969b\u306e\u904b\u7528\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u305f\u5ba2\u89b3\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002\u8a18\u4e8b\u306e\u57f7\u7b46\u30fb\u76e3\u4fee\u306fMetaTrader\uff08MT4\/MT5\uff09\u3067\u306e\u5b9f\u904b\u7528\u7d4c\u9a13\u3092\u6301\u3064\u30b9\u30bf\u30c3\u30d5\u304c\u62c5\u5f53\u3002","sameAs":["https:\/\/sys-tre.com\/forexguide\/about\/","https:\/\/x.com\/systre_COM"],"jobTitle":"FX\u81ea\u52d5\u58f2\u8cb7\u30fb\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790 \u7de8\u96c6\u30c1\u30fc\u30e0","knowsAbout":["FX\u81ea\u52d5\u58f2\u8cb7","Expert Advisor (EA)","\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790","MetaTrader 4","MetaTrader 5","MQL4","MQL5","\u30ea\u30b9\u30af\u7ba1\u7406","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30c8\u30ec\u30fc\u30c9"],"url":"https:\/\/sys-tre.com\/forexguide\/about\/","worksFor":{"@type":"Organization","name":"\u30b7\u30b9\u30c8\u30ec.COM","url":"https:\/\/sys-tre.com\/"}}]}},"_links":{"self":[{"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/posts\/65711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/users\/686"}],"replies":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/comments?post=65711"}],"version-history":[{"count":3,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/posts\/65711\/revisions"}],"predecessor-version":[{"id":67358,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/posts\/65711\/revisions\/67358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/media\/71194"}],"wp:attachment":[{"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/media?parent=65711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/categories?post=65711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sys-tre.com\/forexguide\/wp-json\/wp\/v2\/tags?post=65711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}