{"id":12348,"date":"2020-06-01T16:00:09","date_gmt":"2020-06-01T13:00:09","guid":{"rendered":"https:\/\/www.davinci-fx.com\/profit-on-drop-profit-loss-scenario\/"},"modified":"2021-05-25T19:51:14","modified_gmt":"2021-05-25T16:51:14","slug":"profit-on-drop-profit-loss-scenario","status":"publish","type":"post","link":"https:\/\/www.davinci-fx.com\/en\/profit-on-drop-profit-loss-scenario\/","title":{"rendered":"Profit On Drop &#8211; script shows profit\/loss at a certain point on the graph"},"content":{"rendered":"<p>During trading, every second trader wonders what profit in the deposit currency he will receive if the price passes 10, 20 or 50 points, or reaches the level of the specified level. This information can be manually calculated, because you need to take into account the price of tick, swap, commission, etc.<\/p>\n<p><strong>The DaVinci<\/strong> <strong>Profit<\/strong> <strong>On<\/strong> <strong>Drop<\/strong> script performs only one function &#8211; calculates a possible profit or loss at the price at which it was set. All orders for the current pair in any direction are involved in the calculation.<\/p>\n<h2 style=\"text-align: center;\"><span style=\"font-size: 18pt; color: #000000;\"><strong>An example of how the script works:<\/strong><\/span><\/h2>\n<p>Let&#8217;s move the script to the graph (the mouse indicates the place of installation):<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11707 size-large\" title=\"14.1-1\" src=\"http:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-1024x434.png\" alt=\"\" width=\"879\" height=\"373\" srcset=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-1024x434.png 1024w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-300x127.png 300w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-500x212.png 500w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-1000x424.png 1000w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-230x97.png 230w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1-200x85.png 200w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-1.png 1284w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/a><\/p>\n<p>The script will take into account the place of installation by the user, as the bid price and will give the result:<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11708 size-large\" title=\"14.1-2\" src=\"http:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-1024x432.png\" alt=\"\" width=\"879\" height=\"371\" srcset=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-1024x432.png 1024w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-300x127.png 300w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-500x211.png 500w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-1000x422.png 1000w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-230x97.png 230w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2-200x84.png 200w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/14.1-2.png 1282w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/a><\/p>\n<p>On the example above, it turns out that if the price goes about 25 points down, the profit will be 332 dollars for a order with a trading lot equal to 1. As additional information, the income as a percentage of the total account balance is displayed next to the value of the profit.<\/p>\n<p style=\"text-align: center;\"><strong>The calculation of the script goes according to the formula:<\/strong><br \/>\n<strong><span style=\"color: #008000;\"><em>(Opening Price &#8211; User Price)<\/em><\/span><\/strong><\/p>\n<p>Also in the formula is the spread for sales orders. It should be taken into account that the swap is accrued every night in a rollover and if your orders remain open during the transition to the next day, the previously calculated profit will be different from the actual amount of the swap. In this case, you can simply re-start the script the next day.<\/p>\n<p>If the user has two opposite orders with an equal lot, then at any part of the chart the result of the calculation will be the same and equal difference between the amount of these orders.<\/p>\n<p>The script does not have settings, after installation it will immediately give the result on the screen.<\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 14pt;\"><em><span style=\"color: #870000;\"><strong>Simplicity is the key to success!<\/strong><\/span><\/em><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-11550 aligncenter\" title=\"Keep it simple\" src=\"http:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple.png\" alt=\"Keep it simple\" width=\"430\" height=\"225\" srcset=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple.png 675w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple-300x157.png 300w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple-500x261.png 500w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple-230x120.png 230w, https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2019\/05\/Keep-it-simple-200x105.png 200w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/p>\n\n<style id=\"kama-click-counter-shortcode\">.kcc_block{ position:relative; width: auto; padding:1em 0 1em; text-align: center; transition:background-color 0.4s; cursor:pointer; }\r\n.button4 {\r\nposition: relative;\r\nwidth: auto;\r\ndisplay: inline-block;\r\nfont-family: Arial,Helvetica,FreeSans,&quot;Liberation Sans&quot;,&quot;Nimbus Sans L&quot;,sans-serif;\r\nfont-size: 1.5em;\r\nfont-weight: 700;\r\ncolor: rgb(245,245,245);\r\ntext-shadow: 0 -1px rgba(0,0,0,.1);\r\ntext-decoration: none;\r\nuser-select: none;\r\npadding: .5em 1em;\r\noutline: none;\r\nborder: none;\r\nborder-radius: 10px;\r\nbackground: #0c9c0d linear-gradient(#82d18d, #0c9c0d);\r\nbox-shadow: inset #72de26 0 -1px 1px, inset 0 1px 1px #98ff98, #3caa3c 0 0 0 1px, rgba(0,0,0,.3) 0 2px 5px;\r\n-webkit-animation: pulsate 1.2s linear infinite;\r\nanimation: pulsate 3s linear infinite;\r\n}\r\n.button4:hover {\r\n-webkit-animation-play-state: paused;\r\nanimation-play-state: paused;\r\ncursor: pointer;\r\n}\r\n.button4:active {\r\ntop: 1px;\r\ncolor: #fff;\r\ntext-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff;\r\nbox-shadow: 0 -1px 3px rgba(0,0,0,.3), 0 1px 1px #fff, inset 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 0 rgba(0,0,0,.05);\r\n}\r\n@-webkit-keyframes pulsate {\r\n50% {color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff;}\r\n}\r\n@keyframes pulsate {\r\n50% {color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff;}\r\n}<\/style>\n<div class=\"kcc_block\" title=\"Download\">\r\n        <button class=\"button4 \"><i class=\"fas fa-download\"><\/i> Download for free<\/button>\r\n         \r\n\t\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>During trading, every second trader wonders what profit in the deposit currency he will receive if the price passes 10, 20 or 50 points, or reaches the level of the specified level. This information can be manually calculated, because you need to take into account the price of tick, swap, commission, etc. The DaVinci Profit&#8230;<\/p>\n","protected":false},"author":1,"featured_media":11706,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[115],"tags":[],"post_folder":[62],"class_list":["post-12348","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-a-set-of-useful-scripts-for-mt4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Profit on drop script for MT4 - DaVinci FX Group<\/title>\n<meta name=\"description\" content=\"Script for determining profit and loss at a specified point on the chart. DaVinci FX Group - free indicators, scripts and EAs.\" \/>\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.davinci-fx.com\/en\/script-profit-on-drop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Profit on drop script for MT4 - DaVinci FX Group\" \/>\n<meta property=\"og:description\" content=\"Script for determining profit and loss at a specified point on the chart. DaVinci FX Group - free indicators, scripts and EAs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/\" \/>\n<meta property=\"og:site_name\" content=\"DaVinci FX Group\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-01T13:00:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-25T16:51:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Profit on drop script for MT4 - DaVinci FX Group","description":"Script for determining profit and loss at a specified point on the chart. DaVinci FX Group - free indicators, scripts and EAs.","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.davinci-fx.com\/en\/script-profit-on-drop\/","og_locale":"en_US","og_type":"article","og_title":"Profit on drop script for MT4 - DaVinci FX Group","og_description":"Script for determining profit and loss at a specified point on the chart. DaVinci FX Group - free indicators, scripts and EAs.","og_url":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/","og_site_name":"DaVinci FX Group","article_published_time":"2020-06-01T13:00:09+00:00","article_modified_time":"2021-05-25T16:51:14+00:00","og_image":[{"width":1200,"height":960,"url":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#article","isPartOf":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/"},"author":{"name":"admin","@id":"https:\/\/www.davinci-fx.com\/#\/schema\/person\/c82159c82394b08fba2ada8d18dcff38"},"headline":"Profit On Drop &#8211; script shows profit\/loss at a certain point on the graph","datePublished":"2020-06-01T13:00:09+00:00","dateModified":"2021-05-25T16:51:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/"},"wordCount":350,"commentCount":0,"publisher":{"@id":"https:\/\/www.davinci-fx.com\/#organization"},"image":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#primaryimage"},"thumbnailUrl":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png","articleSection":["Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/","url":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/","name":"Profit on drop script for MT4 - DaVinci FX Group","isPartOf":{"@id":"https:\/\/www.davinci-fx.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#primaryimage"},"image":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#primaryimage"},"thumbnailUrl":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png","datePublished":"2020-06-01T13:00:09+00:00","dateModified":"2021-05-25T16:51:14+00:00","description":"Script for determining profit and loss at a specified point on the chart. DaVinci FX Group - free indicators, scripts and EAs.","breadcrumb":{"@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.davinci-fx.com\/script-profit-on-drop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#primaryimage","url":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png","contentUrl":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/-\u043d\u0430-\u0441\u043a\u0440\u0438\u043f\u0442\u044b-14.1-e1598883317338.png","width":1200,"height":960,"caption":"\u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u0438\u0431\u044b\u043b\u0438\/\u0443\u0431\u044b\u0442\u043a\u0430 \u043f\u043e \u0446\u0435\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f Profit On Drop"},{"@type":"BreadcrumbList","@id":"https:\/\/www.davinci-fx.com\/script-profit-on-drop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/www.davinci-fx.com\/en\/"},{"@type":"ListItem","position":2,"name":"Profit On Drop &#8211; script shows profit\/loss at a certain point on the graph"}]},{"@type":"WebSite","@id":"https:\/\/www.davinci-fx.com\/#website","url":"https:\/\/www.davinci-fx.com\/","name":"DaVinci FX Group","description":"\u0424\u043e\u0440\u0435\u043a\u0441 \u0421\u043e\u0432\u0435\u0442\u043d\u0438\u043a\u0438, \u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b, \u0421\u043a\u0440\u0438\u043f\u0442\u044b, \u041e\u0431\u0443\u0447\u0435\u043d\u0438\u044f","publisher":{"@id":"https:\/\/www.davinci-fx.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.davinci-fx.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.davinci-fx.com\/#organization","name":"DaVinci FX Group","url":"https:\/\/www.davinci-fx.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.davinci-fx.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/Logo-\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435-\u0441-\u043d\u0430\u0434\u043f\u0438\u0441\u044c\u044e-\u043a\u0440\u0443\u043f\u043d\u044b\u0439.png","contentUrl":"https:\/\/www.davinci-fx.com\/wp-content\/uploads\/2020\/05\/Logo-\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435-\u0441-\u043d\u0430\u0434\u043f\u0438\u0441\u044c\u044e-\u043a\u0440\u0443\u043f\u043d\u044b\u0439.png","width":800,"height":800,"caption":"DaVinci FX Group"},"image":{"@id":"https:\/\/www.davinci-fx.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/davincifxgroup\/","https:\/\/www.youtube.com\/channel\/UC-rERLLrIiTADzyoYyQ1JOg"]},{"@type":"Person","@id":"https:\/\/www.davinci-fx.com\/#\/schema\/person\/c82159c82394b08fba2ada8d18dcff38","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.davinci-fx.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1e0c72ade8262ff623eeb91910865a86c4923ca6db1ce50997aee96dec89154b?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1e0c72ade8262ff623eeb91910865a86c4923ca6db1ce50997aee96dec89154b?s=96&d=monsterid&r=g","caption":"admin"},"url":"https:\/\/www.davinci-fx.com\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/posts\/12348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/comments?post=12348"}],"version-history":[{"count":7,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/posts\/12348\/revisions"}],"predecessor-version":[{"id":18587,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/posts\/12348\/revisions\/18587"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/media\/11706"}],"wp:attachment":[{"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/media?parent=12348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/categories?post=12348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/tags?post=12348"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/www.davinci-fx.com\/en\/wp-json\/wp\/v2\/post_folder?post=12348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}