{"id":14285,"date":"2018-02-01T17:29:03","date_gmt":"2018-02-02T01:29:03","guid":{"rendered":"https:\/\/www.tradingheroes.com\/?page_id=14285"},"modified":"2020-04-04T16:11:45","modified_gmt":"2020-04-04T23:11:45","slug":"forex-drawdown-calculator","status":"publish","type":"page","link":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/","title":{"rendered":"Maximum Drawdown Prevention Calculator"},"content":{"rendered":"<div align=\"center\"><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/253902511\" width=\"840\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<p>A <strong>Maximum Drawdown Prevention Calculator<\/strong> is one of the most important tools in a Forex trader's toolbox. It allows you to calculate exactly how much to risk per trade, in order to avoid a percentage drawdown that would freak you out.<\/p>\n<p>In order to calculate this number, you need to have the statistics for your trading strategy, either in live trading or in backtesting. Watch the video above to learn how to use the Drawdown Calculator, then start using it below.<\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: center;\">Calculator<\/h2>\n<div align=\"center\"><form>\r\n    <table>\r\n         <tr>\r\n             <td>\r\n                 Win Rate (%):\r\n             <\/td>\r\n             <td>\r\n                 <input name=\"ProbWin\" value=\"50\" maxlength=\"15\" size=10>\r\n             <\/td>\r\n         <\/tr>\r\n         <tr>\r\n             <td>\r\n                 (Avg $ Win) \/ (Avg $ Loss):\r\n             <\/td>\r\n             <td>\r\n                 <input name=\"WLRatio\" value=\"1\" maxlength=\"15\" size=10>\r\n             <\/td>\r\n         <\/tr>\r\n         <tr>\r\n             <td>\r\n                 Risk Per Trade (%):\r\n             <\/td>\r\n             <td>\r\n                 <input name=\"BetSize\" value=\"2\" maxlength=\"15\" size=10>\r\n             <\/td>\r\n         <\/tr>\r\n         <tr>\r\n             <td>\r\n                 Number of Trades:\u00a0\u00a0\u00a0\u00a0\r\n             <\/td>\r\n             <td>\r\n                 <input name=\"Periods\" value=\"100\" maxlength=\"15\" size=10>\r\n             <\/td>\r\n         <\/tr>\r\n         <tr>\r\n             <td>\r\n                 Max Drawdown (%):\r\n             <\/td>\r\n             <td>\r\n                 <input name=\"Threshold\" value=\"30\" maxlength=\"15\" size=10>\r\n             <\/td>\r\n         <\/tr>\r\n         <tr>\r\n             <td>\r\n                 <strong>Probability of Drawdown:<\/strong>\r\n             <\/td>\r\n             <td>\r\n                 <input style=\"border:none; box-shadow:none; font-weight: bold; color: #ffa500\" name=\"CalcRisk\" readonly size=10>\r\n             <\/td>\r\n         <\/tr>\r\n    <\/table>\r\n    <br \/>\r\n    <input type=\"hidden\" name=\"Risk\" value=\"Drawdown\">\r\n    <input name=\"calc\" value=\"Calculate\" type=button onClick=CalculateRisk(this.form)>\r\n<\/form><\/div>\n<script type=\"text\/javascript\">\r\nfunction CalculateRisk(form)\r\n{\r\n  var probWin = parseFloat(form.ProbWin.value, 10);\r\n  var wlRatio = parseFloat(form.WLRatio.value, 10);\r\n  var noPeriods = parseFloat(form.Periods.value, 10);\r\n  var betSize = parseFloat(form.BetSize.value, 10);\r\n  var threshVal = parseFloat(form.Threshold.value, 10);\r\n  var risk = form.Risk.value;\r\n\r\n  var th = 0;\r\n\r\n  for (i=1;i<=1000;i++)\r\n  {\r\n      var cap=100;\r\n\t\r\n      for (j=1;j<=noPeriods;j++)\r\n      {\r\n          if (cap>100)\r\n          {\r\n              cap = 100;\r\n          }\r\n\r\n          if (Math.random() < (probWin\/100))\r\n          {\r\n              cap = cap + cap * betSize * wlRatio \/ 100;\r\n          }\r\n      \r\n          else\r\n          {\r\n              cap = cap - cap * betSize \/ 100;\r\n              if ( cap <= 100-threshVal )\r\n              {\r\n                  th = th+1;\r\n                  break;\r\n              }\r\n          }\r\n        }\r\n\r\n  form.CalcRisk.value = th\/10 + '%';\r\n\r\n  }\r\n\r\n}\r\n<\/script>\n<p>&nbsp;<\/p>\n<h2>Terms Explained<\/h2>\n<ul>\n<li><strong>Win Rate (%):<\/strong> This is your win rate in your backtesting or live\/demo trading. Divide the number of winning trades over the total number of trades taken. It helps to have at least 30 trades, to get more accurate results.<\/li>\n<li><strong>Avg $ Win\/Avg $ Loss:<\/strong> Average the dollar amount (or whatever currency you are using) of all of your winners and divide that number by the average dollar amount of all your losing trades.<\/li>\n<li><strong>Risk Per Trade (%):<\/strong> What percentage of your account do you risk on each trade. This assumes that you risk the same amount of your account on each trade.<\/li>\n<li><strong>Number of Trades:<\/strong>\u00a0This is the number of trades that you plan to take. For example, if you want to find out your probability of hitting your maximum drawdown in one year, enter the approximate number of trades that you would take in one year, using this trading system.<\/li>\n<li><strong>Max Drawdown (%):<\/strong> This is the maximum drawdown that you are willing to endure.<\/li>\n<li><strong>Probability of Drawdown:<\/strong> The probability that you will hit your maximum drawdown, give the parameters you entered above.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; A Maximum Drawdown Prevention Calculator is one of the most important tools in a Forex trader&#8217;s toolbox. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Maximum Drawdown Prevention Calculator\" class=\"read-more button\" href=\"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#more-14285\" aria-label=\"Read more about Maximum Drawdown Prevention Calculator\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":1019141,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-14285","page","type-page","status-publish","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Trading Drawdown Calculator: Figure Out How Much to Risk Per Trade - Trading Heroes<\/title>\n<meta name=\"description\" content=\"You might not think that a Forex drawdown calculator, risk and lot size are related, but they are very closely related. Learn how this calculator can help you optimize your Forex trading and avoid heartbreaking drawdowns.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trading Drawdown Calculator: Figure Out How Much to Risk Per Trade - Trading Heroes\" \/>\n<meta property=\"og:description\" content=\"You might not think that a Forex drawdown calculator, risk and lot size are related, but they are very closely related. Learn how this calculator can help you optimize your Forex trading and avoid heartbreaking drawdowns.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Trading Heroes\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/tradingheroes\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-04T23:11:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/calculator-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@tradingheroes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Trading Drawdown Calculator: Figure Out How Much to Risk Per Trade - Trading Heroes","description":"You might not think that a Forex drawdown calculator, risk and lot size are related, but they are very closely related. Learn how this calculator can help you optimize your Forex trading and avoid heartbreaking drawdowns.","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:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/","og_locale":"en_US","og_type":"article","og_title":"Trading Drawdown Calculator: Figure Out How Much to Risk Per Trade - Trading Heroes","og_description":"You might not think that a Forex drawdown calculator, risk and lot size are related, but they are very closely related. Learn how this calculator can help you optimize your Forex trading and avoid heartbreaking drawdowns.","og_url":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/","og_site_name":"Trading Heroes","article_publisher":"https:\/\/www.facebook.com\/tradingheroes","article_modified_time":"2020-04-04T23:11:45+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/calculator-2.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@tradingheroes","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/","url":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/","name":"Trading Drawdown Calculator: Figure Out How Much to Risk Per Trade - Trading Heroes","isPartOf":{"@id":"https:\/\/www.tradingheroes.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#primaryimage"},"image":{"@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/calculator-2.jpg","datePublished":"2018-02-02T01:29:03+00:00","dateModified":"2020-04-04T23:11:45+00:00","description":"You might not think that a Forex drawdown calculator, risk and lot size are related, but they are very closely related. Learn how this calculator can help you optimize your Forex trading and avoid heartbreaking drawdowns.","breadcrumb":{"@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#primaryimage","url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/calculator-2.jpg","contentUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/calculator-2.jpg","width":1200,"height":600,"caption":"Calculator"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tradingheroes.com\/forex-drawdown-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tradingheroes.com\/"},{"@type":"ListItem","position":2,"name":"Maximum Drawdown Prevention Calculator"}]},{"@type":"WebSite","@id":"https:\/\/www.tradingheroes.com\/#website","url":"https:\/\/www.tradingheroes.com\/","name":"Trading Heroes","description":"Discover Your Grail Trading Strategy","publisher":{"@id":"https:\/\/www.tradingheroes.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tradingheroes.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.tradingheroes.com\/#organization","name":"Trading Heroes","url":"https:\/\/www.tradingheroes.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tradingheroes.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/login-logo.png","contentUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/login-logo.png","width":300,"height":150,"caption":"Trading Heroes"},"image":{"@id":"https:\/\/www.tradingheroes.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/tradingheroes","https:\/\/x.com\/tradingheroes","https:\/\/www.instagram.com\/tradingheroes\/","https:\/\/www.linkedin.com\/company\/tradingheroes\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/pages\/14285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/comments?post=14285"}],"version-history":[{"count":2,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/pages\/14285\/revisions"}],"predecessor-version":[{"id":1019460,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/pages\/14285\/revisions\/1019460"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/media\/1019141"}],"wp:attachment":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/media?parent=14285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}