{"id":530,"date":"2025-12-12T22:53:48","date_gmt":"2025-12-12T22:53:48","guid":{"rendered":"https:\/\/alhasubat.com\/en\/?post_type=product&#038;p=530"},"modified":"2025-12-12T22:53:48","modified_gmt":"2025-12-12T22:53:48","slug":"contracts-and-deals-calculator","status":"publish","type":"product","link":"https:\/\/alhasubat.com\/en\/product\/contracts-and-deals-calculator\/","title":{"rendered":"Contracts and deals calculator"},"content":{"rendered":"\r\n<p><style>\r\n  .alh-contract-guide{\r\n    direction: ltr;\r\n    text-align: left;\r\n    font-family: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\r\n    background: #050816;\r\n    padding: 24px;\r\n    border-radius: 18px;\r\n    border: 1px solid rgba(123,58,237,.45);\r\n    box-shadow: 0 18px 40px rgba(15,23,42,.65);\r\n    color: #e5e7eb;\r\n    max-width: 900px;\r\n    margin: 0 auto 40px auto;\r\n  }\r\n  .alh-contract-guide h2{\r\n    font-size: 1.6rem;\r\n    margin-bottom: 6px;\r\n    color: #f9fafb;\r\n  }\r\n  .alh-contract-guide .alh-subtitle{\r\n    font-size: .9rem;\r\n    color: #9ca3af;\r\n    margin-bottom: 20px;\r\n  }\r\n  .alh-contract-guide .alh-badge{\r\n    display: inline-flex;\r\n    align-items: center;\r\n    gap: 8px;\r\n    padding: 4px 10px;\r\n    border-radius: 999px;\r\n    background: rgba(123,58,237,.15);\r\n    border: 1px solid rgba(123,58,237,.4);\r\n    color: #c4b5fd;\r\n    font-size: .8rem;\r\n    margin-bottom: 12px;\r\n  }\r\n  .alh-contract-guide .alh-badge span{\r\n    font-size: 1rem;\r\n  }\r\n  .alh-contract-sections{\r\n    display: grid;\r\n    gap: 18px;\r\n  }\r\n  .alh-contract-card{\r\n    background: radial-gradient(circle at top, rgba(123,58,237,.15) 0, #020617 55%, #020617 100%);\r\n    border-radius: 16px;\r\n    border: 1px solid rgba(39,42,58,.9);\r\n    padding: 16px 18px 14px;\r\n    position: relative;\r\n    overflow: hidden;\r\n  }\r\n  .alh-contract-card::before{\r\n    content:\"\";\r\n    position:absolute;\r\n    inset:0;\r\n    background: linear-gradient(to left, rgba(123,58,237,.12), transparent 35%);\r\n    opacity:.7;\r\n    pointer-events:none;\r\n  }\r\n  .alh-contract-card-header{\r\n    display:flex;\r\n    align-items:center;\r\n    justify-content:space-between;\r\n    gap:10px;\r\n    margin-bottom:10px;\r\n    position:relative;\r\n    z-index:1;\r\n  }\r\n  .alh-contract-card-title{\r\n    display:flex;\r\n    align-items:center;\r\n    gap:8px;\r\n  }\r\n  .alh-contract-card-icon{\r\n    width:28px;\r\n    height:28px;\r\n    border-radius:999px;\r\n    display:flex;\r\n    align-items:center;\r\n    justify-content:center;\r\n    background: rgba(15,23,42,.9);\r\n    border:1px solid rgba(148,163,184,.6);\r\n    font-size: 1rem;\r\n  }\r\n  .alh-contract-card h3{\r\n    font-size:1.05rem;\r\n    margin:0;\r\n    color:#e5e7eb;\r\n  }\r\n  .alh-contract-step-tag{\r\n    font-size:.78rem;\r\n    color:#9ca3af;\r\n    padding:2px 10px;\r\n    border-radius:999px;\r\n    border:1px solid rgba(148,163,184,.4);\r\n    background:rgba(15,23,42,.9);\r\n  }\r\n  .alh-contract-guide ol{\r\n    margin:0;\r\n    padding-left:1.2rem;\r\n    position:relative;\r\n    z-index:1;\r\n  }\r\n  .alh-contract-guide li{\r\n    font-size:.9rem;\r\n    margin-bottom:4px;\r\n    color:#d1d5db;\r\n  }\r\n  .alh-contract-guide li strong{\r\n    color:#c4b5fd;\r\n  }\r\n  .alh-contract-note{\r\n    margin-top:14px;\r\n    font-size:.85rem;\r\n    color:#9ca3af;\r\n    border-top:1px dashed rgba(75,85,99,.7);\r\n    padding-top:10px;\r\n  }\r\n  .alh-contract-pills{\r\n    margin-top:4px;\r\n    display:flex;\r\n    flex-wrap:wrap;\r\n    gap:6px;\r\n  }\r\n  .alh-contract-pills span{\r\n    display:inline-flex;\r\n    align-items:center;\r\n    gap:6px;\r\n    padding:4px 10px;\r\n    border-radius:999px;\r\n    background:rgba(15,23,42,.85);\r\n    border:1px solid rgba(148,163,184,.35);\r\n    font-size:.8rem;\r\n    color:#e5e7eb;\r\n  }\r\n  @media (max-width:768px){\r\n    .alh-contract-guide{\r\n      padding:18px;\r\n      border-radius:16px;\r\n    }\r\n    .alh-contract-card{\r\n      padding:14px 14px 12px;\r\n    }\r\n    .alh-contract-guide h2{\r\n      font-size:1.3rem;\r\n    }\r\n  }\r\n<\/style><\/p>\r\n<section class=\"alh-contract-guide\">\r\n<div class=\"alh-badge\">\ud83d\udcd0 Contract &#038; Trades Calculator Guide<\/div>\r\n<h2>How to Use the Contract &#038; Trades Calculator<\/h2>\r\n<div class=\"alh-subtitle\">\r\nThis calculator helps you determine the appropriate position size and estimate the expected profit and loss for each trade before entering it, based on your capital, risk percentage, entry price, stop-loss, and exit price.\r\n<\/div>\r\n<div class=\"alh-contract-sections\">\r\n<!-- General idea -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\ud83d\udca1<\/div>\r\n<h3>First: Overview of the calculator<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Overview<\/div>\r\n<\/div>\r\n<ol>\r\n<li>The calculator relies on your <strong>capital<\/strong> and <strong>risk percentage<\/strong> to determine the safe <strong>quantity (position size)<\/strong> for each trade.<\/li>\r\n<li>By entering the <strong>entry price<\/strong> and <strong>stop-loss price<\/strong>, the calculator calculates the potential loss and ensures it does not exceed the defined risk.<\/li>\r\n<li>After entering the <strong>exit price (target)<\/strong>, the calculator shows the expected profit value and its percentage relative to your capital.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-note\">\r\nThe goal of using this calculator is for every trade to be calculated and balanced before you execute it on the trading platform, not just a random decision.\r\n<\/div>\r\n<\/article>\r\n<!-- Currency and symbols settings -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\ud83d\udcb1<\/div>\r\n<h3>Second: Setting the currency and symbols from the settings window<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Calculator setup<\/div>\r\n<\/div>\r\n<ol>\r\n<li>From the <strong>Settings<\/strong> button, you can choose the <strong>main currency<\/strong> for the calculator such as: USD, SAR, USDT.<\/li>\r\n<li><strong>Currency:<\/strong> Written as a short code (for example: <strong>SAR<\/strong> or <strong>USDT<\/strong>) and it is the base for all amounts shown in the calculator.<\/li>\r\n<li><strong>Asset symbol (Pair):<\/strong> \u2013 You can enter a list of symbols such as <strong>BTCUSDT, ETHUSDT, XRPUSDT<\/strong>, \u2013 or choose a single symbol from a dropdown list depending on the plugin settings.<\/li>\r\n<li>Make sure to write the symbols <strong>without spaces<\/strong>, and separate each symbol with a comma ( , ) if the field allows multiple symbols.<\/li>\r\n<li>After editing, click <strong>Save settings<\/strong> so the lists inside the calculator get updated.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-note\">\r\nChoosing the correct currency and symbol helps you read the numbers clearly and prevents confusion between forex, stocks, or cryptocurrencies.\r\n<\/div>\r\n<\/article>\r\n<!-- Risk management: percentage or amount -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\u26a0\ufe0f<\/div>\r\n<h3>Third: Setting the risk percentage from your capital<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Capital management<\/div>\r\n<\/div>\r\n<ol>\r\n<li><strong>Capital:<\/strong> Enter the capital amount you want your calculations to be based on (example: 10,000).<\/li>\r\n<li><strong>Risk percentage %:<\/strong> \u2013 Enter the percentage you accept to lose in a single trade (such as 1% or 2%). \u2013 The calculator automatically converts this into a <strong>risk amount<\/strong>.<\/li>\r\n<li><strong>Risk by amount:<\/strong> \u2013 Instead of the percentage, you can directly type the risk amount (such as 100 or 250). \u2013 In this case, the calculator treats this as the maximum loss allowed for the trade.<\/li>\r\n<li><strong>Very important:<\/strong> \u2013 You must enter <strong>either the risk percentage % or the risk amount<\/strong> only. \u2013 Do not enter both; one field should be filled and the other left empty so the result is correct.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-note\">\r\nIf you enter the percentage, the amount is calculated automatically; if you enter the amount, the percentage is ignored. So choose the method you prefer and do not use both at the same time.\r\n<\/div>\r\n<\/article>\r\n<!-- Trade data input -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\ud83d\udcdd<\/div>\r\n<h3>Fourth: Entering trade data (entry, stop-loss, and exit)<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Trade calculation<\/div>\r\n<\/div>\r\n<ol>\r\n<li><strong>Entry price:<\/strong> Type the price at which you plan to execute the trade (buy or sell price).<\/li>\r\n<li><strong>Stop-loss price:<\/strong> \u2013 The price at which the trade will be closed if the market moves against you. \u2013 The calculator uses the difference between the entry price and the stop-loss to calculate the loss per unit (per contract\/share\/coin).<\/li>\r\n<li><strong>Exit price (target):<\/strong> \u2013 Can be entered to calculate the expected profit if the price reaches your target. \u2013 If left empty, only the risk and potential loss are calculated.<\/li>\r\n<li><strong>Buy percentage from capital or buy amount:<\/strong> \u2013 Some setups allow you to enter a <strong>buy percentage %<\/strong> from your capital or a <strong>buy amount<\/strong> directly. \u2013 You must use <strong>only one<\/strong> of these two fields and not both together.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-note\">\r\nEntering the entry and stop-loss prices accurately is an essential condition, because the calculator relies on them to determine the position size that matches the predefined risk.\r\n<\/div>\r\n<\/article>\r\n<!-- Input cells vs result cells -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\ud83d\udcca<\/div>\r\n<h3>Fifth: Input cells you fill vs. result cells calculated automatically<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Reading the table<\/div>\r\n<\/div>\r\n<ol>\r\n<li><strong>Input cells (you type in):<\/strong> <br \/>\u2013 Capital <br \/>\u2013 Risk percentage % or risk amount <br \/>\u2013 Buy percentage % or buy amount (depending on your setup) <br \/>\u2013 Entry price <br \/>\u2013 Stop-loss price <br \/>\u2013 Exit price (target) \u2013 optional<\/li>\r\n<li><strong>Result cells (displayed automatically):<\/strong> <br \/>\u2013 <strong>Quantity \/ position size<\/strong> suitable based on the risk and the distance between entry and stop-loss. <br \/>\u2013 <strong>Total trade value<\/strong> (quantity \u00d7 entry price). <br \/>\u2013 <strong>Potential loss<\/strong> if the stop-loss is hit (as an amount and as a percentage of capital). <br \/>\u2013 <strong>Expected profit<\/strong> when the exit price is reached (as an amount and as a percentage of capital). <br \/>\u2013 <strong>Commission \/ fees<\/strong> if the calculator contains a fees field that is calculated automatically.<\/li>\r\n<li>Once you change any of the input cells, all results in the automatic cells are updated immediately without the need for a Calculate button.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-note\">\r\nIf you notice that the numbers are not changing, make sure the required fields are filled (especially capital, risk, entry price, and stop-loss).\r\n<\/div>\r\n<\/article>\r\n<!-- Saving data and clearing the table -->\r\n<article class=\"alh-contract-card\">\r\n<div class=\"alh-contract-card-header\">\r\n<div class=\"alh-contract-card-title\">\r\n<div class=\"alh-contract-card-icon\">\ud83d\udcbe<\/div>\r\n<h3>Sixth: Saving data and clearing the table<\/h3>\r\n<\/div>\r\n<div class=\"alh-contract-step-tag\">Managing rows<\/div>\r\n<\/div>\r\n<ol>\r\n<li><strong>Save data:<\/strong> \u2013 After entering a trade and confirming its numbers, click the <strong>Save<\/strong> button (if available) to store the row in the database or in the calculator table. \u2013 This data can later be used in reports or when reopening the page without losing your last calculations.<\/li>\r\n<li><strong>Add new row:<\/strong> \u2013 Use the <strong>Add row<\/strong> button to create a new row for another trade with the same general settings.<\/li>\r\n<li><strong>Clear rows\/table:<\/strong> \u2013 The <strong>Clear table<\/strong> button erases all trades from the table and resets the values to the default state. \u2013 Use it carefully, because it removes previous numbers and cannot be undone from inside the calculator.<\/li>\r\n<li><strong>Delete a specific row (if available):<\/strong> \u2013 Select the desired row from the <strong>Select<\/strong> column or click the <strong>Delete<\/strong> button next to it to remove only that row without affecting the others.<\/li>\r\n<\/ol>\r\n<div class=\"alh-contract-pills\">\r\nCalculate the risk first \u2013 Enter the entry and stop-loss prices accurately \u2013 Use either a percentage or a fixed amount only \u2013 Save the trade before clearing the table\r\n<\/div>\r\n<div class=\"alh-contract-note\">\r\nWith these steps, the calculator becomes an essential part of your routine before every trade, ensuring that your decisions are based on clear numbers and aligned with your capital management plan.\r\n<\/div>\r\n<\/article>\r\n<\/div>\r\n<\/section>\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udcd0 Contract &#038; Trades Calculator Guide How to Use the Contract &#038; Trades Calculator This calculator helps you determine the appropriate position size and estimate the expected profit and loss for each trade before entering it, based on your capital, risk percentage, entry price, stop-loss, and exit price. \ud83d\udca1 First: Overview of the calculator Overview [&hellip;]<\/p>\n","protected":false},"featured_media":531,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[15],"product_tag":[],"class_list":{"0":"post-530","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-uncategorized","8":"first","9":"instock","10":"virtual","11":"taxable","12":"purchasable","13":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/product\/530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/comments?post=530"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/media\/531"}],"wp:attachment":[{"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/media?parent=530"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/product_brand?post=530"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/product_cat?post=530"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/alhasubat.com\/en\/wp-json\/wp\/v2\/product_tag?post=530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}