{"id":2452,"date":"2022-02-18T11:08:33","date_gmt":"2022-02-18T02:08:33","guid":{"rendered":"https:\/\/astcconline.com\/?p=2452"},"modified":"2022-04-22T11:37:21","modified_gmt":"2022-04-22T02:37:21","slug":"en-ea-bears-bulls-power","status":"publish","type":"post","link":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/2452\/en-ea-bears-bulls-power\/","title":{"rendered":"NO.11  EA for MT5 using Bears Bulls Power FX Automatic trading"},"content":{"rendered":"<h3> \u2606 Basic specifications <\/ h3><br \/>\nAfter fixing the time axis, calculate the bull power and bare power,<br \/>\nBoth bull power and bare power values \u200b\u200bare greater than &#8220;0&#8221;<br \/>\nLet&#8217;s say &#8220;buy sign&#8221;.<br \/>\nBoth bull power and bare power values \u200b\u200bare less than &#8220;0&#8221;<br \/>\nLet&#8217;s call it a &#8220;sell sign&#8221;.<\/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\/\/ BearsPower<br \/>\nBeP_period = PERIOD_CURRENT; \/\/ Target time axis<br \/>\nBeP_period_kikan = 13; \/\/ Calculation period<\/p>\n<p>\/\/ BullsPower<br \/>\nBuP_period = PERIOD_CURRENT; \/\/ Target time axis<br \/>\nBuP_period_kikan = 13; \/\/ Calculation period<\/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\/iBearsBull_20211026.mq5\" download=\"\">iBearsBull_20211026.mq5<\/a><br \/>\n<a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/EA\/iBearsBull_20211026.ex5\" download=\"\">iBearsBull_20211026.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\/BeBu1.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/BeBu1.png\"  alt=\"BeBu1 NO.11  EA for MT5 using Bears Bulls Power FX Automatic trading\"  width=\"1589\" height=\"701\" class=\"alignnone size-full wp-image-1268\" \/><\/a><\/p>\n<p><a href=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/BeBu2.png\"><img  title=\"\" loading=\"lazy\" decoding=\"async\" src=\"http:\/\/kerotto.mydns.jp\/wp-content\/uploads\/2021\/10\/BeBu2.png\"  alt=\"BeBu2 NO.11  EA for MT5 using Bears Bulls Power FX Automatic trading\"  width=\"1579\" height=\"553\" class=\"alignnone size-full wp-image-1269\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2606 Basic specifications After fixing the time axis, calculate the bull power and bare power, Both bull power an [&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-2452","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\/2452","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=2452"}],"version-history":[{"count":2,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/2452\/revisions"}],"predecessor-version":[{"id":2458,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/posts\/2452\/revisions\/2458"}],"wp:attachment":[{"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/media?parent=2452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/categories?post=2452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kerotto.mydns.jp\/kerotto_mydns_jp\/wp-json\/wp\/v2\/tags?post=2452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}