{"id":1868,"date":"2021-12-04T16:00:05","date_gmt":"2021-12-04T07:00:05","guid":{"rendered":"https:\/\/astcconline.com\/?p=1868"},"modified":"2022-06-15T21:15:32","modified_gmt":"2022-06-15T12:15:32","slug":"en-ea-accumulation-distribution","status":"publish","type":"post","link":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/1868\/en-ea-accumulation-distribution\/","title":{"rendered":"NO.5  Free EA for MT5 Using Accumulation Distribution #FX Automatic Trading"},"content":{"rendered":"<h2>Accumulation Distribution<\/h2>\n<h3>basic specifications<\/h3>\n<p>After determining the time axis, based on Accumulation \/ Distribution<br \/>\nCalculate the moving average and based on that value<br \/>\nIf it exceeds, buy it.<br \/>\nIf it falls below, sell it.<\/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>InPut input value setting (variable name initial value explanation) <\/h3>\n<p>\/\/ AD Accumulation \/ Distribution Oscillator<br \/>\n&#8220;AD Oscillator Settings&#8221;<br \/>\nAD_period = PERIOD_CURRENT; \/\/ AD oscillator calculation target time axis<br \/>\nAD_applied_volume = VOLUME_TICK; \/\/ Type of volume used for AD calculation<br \/>\nAD_heikin = 1000; \/\/ AD average calculation number MAX 5000<\/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.<\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/custom_php\/download_counter.php?dlc_folder=\/EA\/&#038;dlc_name=iAD_20211008.mq5\">iAD_20211008.mq5<\/a><\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/custom_php\/download_counter.php?dlc_folder=\/EA\/&#038;dlc_name=iAD_20211008.ex5\">iAD_20211008.ex5<\/a><\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/ad1.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/ad1.png\"  alt=\"ad1 NO.5  Free EA for MT5 Using Accumulation Distribution #FX Automatic Trading\"  width=\"1574\" height=\"554\" class=\"alignnone size-full wp-image-1137\" srcset=\"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad1.png 1574w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad1-300x106.png 300w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad1-1024x360.png 1024w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad1-768x270.png 768w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad1-1536x541.png 1536w\" sizes=\"auto, (max-width: 1574px) 100vw, 1574px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/ad2.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/ad2.png\"  alt=\"ad2 NO.5  Free EA for MT5 Using Accumulation Distribution #FX Automatic Trading\"  width=\"1592\" height=\"729\" class=\"alignnone size-full wp-image-1138\" srcset=\"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad2.png 1592w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad2-300x137.png 300w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad2-1024x469.png 1024w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad2-768x352.png 768w, https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-content\/uploads\/2021\/10\/ad2-1536x703.png 1536w\" sizes=\"auto, (max-width: 1592px) 100vw, 1592px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Accumulation Distribution basic specifications After determining the time axis, based on Accumulation \/ Distri [&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":[],"class_list":["post-1868","post","type-post","status-publish","format-standard","hentry","category-english-page-ea"],"_links":{"self":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/1868","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=1868"}],"version-history":[{"count":3,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/1868\/revisions"}],"predecessor-version":[{"id":2750,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/1868\/revisions\/2750"}],"wp:attachment":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/media?parent=1868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/categories?post=1868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/tags?post=1868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}