{"id":2459,"date":"2022-02-22T13:32:31","date_gmt":"2022-02-22T04:32:31","guid":{"rendered":"https:\/\/astcconline.com\/?p=2459"},"modified":"2022-04-22T11:37:34","modified_gmt":"2022-04-22T02:37:34","slug":"en-ea-wariai","status":"publish","type":"post","link":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/2459\/en-ea-wariai\/","title":{"rendered":"NO.13  EA for MT5 using Wariai FX Automatic trading"},"content":{"rendered":"<h3> \u2606 Basic specifications <\/ h3><br \/>\nAfter the time axis is fixed, the ratio is calculated.<br \/>\nBuy two times before, last time, if the last time is up and above the threshold<br \/>\nSell \u200b\u200btwo times before, last time, if the last time is down and above the threshold<\/p>\n<p>example<br \/>\nTwo times before-Last time> = This time * Warai<br \/>\n(100.1-100.0> = 99 * 0.002)<br \/>\n(0.1> = 0.09 * 2, therefore 0.1> = 0.198)<br \/>\nI don&#8217;t buy it because it doesn&#8217;t work.<\/p>\n<p>If you have a position,<br \/>\nIf the index reverses<br \/>\nAfter closing the position<br \/>\nGet the opposite position.<\/p>\n<h3> \u2606 InPut input value setting (variable name initial value explanation) <\/ h3><br \/>\n\/\/ Rate of increase \/ decrease between current price and previous price<br \/>\nWariai = 0.002; \/\/ Rate of change (+-current value * this value)<\/p>\n<p>\/\/Profit ant Stop loss setting<br \/>\n\/\/When ordering<br \/>\nTP_Bairitu = 0; \/\/Profit when ordering : 0 = Not set, Other than= Rate from current price >> Example: 0.005<br \/>\nSL_Bairitu = 0; \/\/Profit when ordering : 0 = Not set, Other than= Rate from current price >> Example: 0.005<br \/>\n\/\/At the time of tick<br \/>\nTP_kin = 100; \/\/tick time Profit : 0 = not set, Other than = Fixed value >> Example: 100<br \/>\nSL_kin = -100; \/\/tick time Stop loss : 0 = not set, Other than = Fixed value >> Example: -100(Negative value)<\/p>\n<p>\/\/lot and magic number<br \/>\ninput double Fix_Lot = 0.01; \/\/Order lot<br \/>\ninput ulong MagicNumberA = 123456789; \/\/magic number<br \/>\ninput bool log_out = 0; \/\/output the log<br \/>\ninput bool DamiDami = 0; \/\/Dummy setting for optimizing invalidity<\/p>\n<h3>supplementary explanation<\/h3>\n<p>TP_Bairitu and SL_Bairitu are set when the position is acquired.<br \/>\nIf it is 0, there is none.<br \/>\nIf 0.01, the current price is<br \/>\nIf it is 100 yen, the profit will be 101 (100 + 100 * 0.01).<br \/>\nThe stop loss is 99 (100-100 * 0.01).<\/p>\n<p>Enter fixed values \u200b\u200bfor TP_kin and SL_kin. Judgment is made for each Tick.<br \/>\nIf you enter TP_kin as 1000, it will be settled when the profit and loss becomes 1000 or more.<br \/>\nIf you enter -100 in SL_kin, the profit and loss will be settled when it exceeds -100.<br \/>\nEnter a negative value for SL_kin.<\/p>\n<p>Download this EA.<br \/>\n<a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/EA\/Wariai_20211030.mq5\" download=\"\">Wariai_20211030.mq5<\/a><br \/>\n<a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/EA\/Wariai_20211030.ex5\" download=\"\">Wariai_20211030.ex5<\/a><\/p>\n<h3>Back test<\/h3>\n<p>USDJPY<br \/>\nTime value  = H1<br \/>\nInput value = initial value<br \/>\nPeriod      = last year<\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/Wari1.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/Wari1.png\"  alt=\"Wari1 NO.13  EA for MT5 using Wariai FX Automatic trading\"  width=\"1577\" height=\"557\" class=\"alignnone size-full wp-image-1297\" srcset=\"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari1.png 1577w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari1-300x106.png 300w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari1-1024x362.png 1024w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari1-768x271.png 768w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari1-1536x543.png 1536w\" sizes=\"auto, (max-width: 1577px) 100vw, 1577px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/Wari2.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/Wari2.png\"  alt=\"Wari2 NO.13  EA for MT5 using Wariai FX Automatic trading\"  width=\"1586\" height=\"694\" class=\"alignnone size-full wp-image-1298\" srcset=\"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari2.png 1586w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari2-300x131.png 300w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari2-1024x448.png 1024w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari2-768x336.png 768w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/Wari2-1536x672.png 1536w\" sizes=\"auto, (max-width: 1586px) 100vw, 1586px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2606 Basic specifications After the time axis is fixed, the ratio is calculated. Buy two times before, last time, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[21,18,24,20,19],"class_list":["post-2459","post","type-post","status-publish","format-standard","hentry","category-english-page-ea","tag-ea","tag-fx","tag-24","tag-20","tag-19"],"_links":{"self":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/2459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/comments?post=2459"}],"version-history":[{"count":1,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/2459\/revisions"}],"predecessor-version":[{"id":2460,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/2459\/revisions\/2460"}],"wp:attachment":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/media?parent=2459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/categories?post=2459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/tags?post=2459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}