{"id":1540,"date":"2025-02-17T09:25:55","date_gmt":"2025-02-17T09:25:55","guid":{"rendered":"https:\/\/algomojo.com\/blog\/?p=1540"},"modified":"2025-02-18T05:31:40","modified_gmt":"2025-02-18T05:31:40","slug":"understanding-target-stop-loss-and-trailing-stop-loss-tsl-in-algomojo-strategy-creation","status":"publish","type":"post","link":"https:\/\/algomojo.com\/blog\/understanding-target-stop-loss-and-trailing-stop-loss-tsl-in-algomojo-strategy-creation\/","title":{"rendered":"Understanding Target, Stop Loss, and Trailing Stop Loss (TSL) in Algomojo Strategy Creation"},"content":{"rendered":"\n<h2><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>In algorithmic trading, setting proper exit conditions is crucial for optimizing profits and minimizing risk. <strong>Algomojo<\/strong> offers three key trade exit mechanisms:<\/p>\n\n\n\n<ul><li><strong>Target<\/strong> (Profit Booking)<\/li><li><strong>Stop Loss (SL)<\/strong> (Fixed Risk Management)<\/li><li><strong>Trailing Stop Loss (TSL)<\/strong> (Dynamic Stop Adjustment)<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image alignwide size-large is-style-default\"><img loading=\"lazy\" width=\"1178\" height=\"203\" src=\"https:\/\/algomojo.com\/blog\/wp-content\/uploads\/2025\/02\/image-110.png\" alt=\"\" class=\"wp-image-1543\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This guide explains these concepts with <strong>both Points and Percentage (%) examples<\/strong>, ensuring you understand how to configure them correctly in <strong>Algomojo<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>1. Target Type and Target Value<\/strong><\/h2>\n\n\n\n<p>A <strong>Target<\/strong> is the pre-set level where a trade is exited for a profit.<\/p>\n\n\n\n<h3><strong>Target Type Options:<\/strong><\/h3>\n\n\n\n<p>\u2705 <strong>Percentage (%)<\/strong> \u2013 Target is based on a percentage increase from the entry price.<br>\u2705 <strong>Points<\/strong> \u2013 Target is based on a fixed number of points above the entry price.<\/p>\n\n\n\n<h3><strong>Example 1: Using Percentage (%)<\/strong><\/h3>\n\n\n\n<ul><li><strong>Target Type:<\/strong> %<\/li><li><strong>Target Value:<\/strong> 2%<\/li><li><strong>Entry Price:<\/strong> \u20b9100<\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Calculation:<\/strong><\/p>\n\n\n\n<ul><li>Target price = <strong>Entry Price + (Target Value % of Entry Price)<\/strong><\/li><li>Target price = <strong>\u20b9100 + (2% of \u20b9100) = \u20b9102<\/strong><\/li><li>If the stock price <strong>hits \u20b9102<\/strong>, the position is squared off for a <strong>2% profit<\/strong>.<\/li><\/ul>\n\n\n\n<h3><strong>Example 2: Using Points<\/strong><\/h3>\n\n\n\n<ul><li><strong>Target Type:<\/strong> Points<\/li><li><strong>Target Value:<\/strong> 5 Points<\/li><li><strong>Entry Price:<\/strong> \u20b9100<\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Calculation:<\/strong><\/p>\n\n\n\n<ul><li>Target price = <strong>Entry Price + Target Value (Points)<\/strong><\/li><li>Target price = <strong>\u20b9100 + 5 = \u20b9105<\/strong><\/li><li>If the stock price <strong>reaches \u20b9105<\/strong>, the position is squared off for a <strong>5-point profit<\/strong>.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>2. Stop Loss (SL) Type and SL Value<\/strong><\/h2>\n\n\n\n<p>A <strong>Stop Loss<\/strong> ensures that a trade is exited if the price moves against you, preventing excessive losses.<\/p>\n\n\n\n<h3><strong>SL Type Options:<\/strong><\/h3>\n\n\n\n<p>\u2705 <strong>Percentage (%)<\/strong> \u2013 SL is based on a percentage decrease from the entry price.<br>\u2705 <strong>Points<\/strong> \u2013 SL is based on a fixed number of points below the entry price.<\/p>\n\n\n\n<h3><strong>Example 1: Using Percentage (%)<\/strong><\/h3>\n\n\n\n<ul><li><strong>SL Type:<\/strong> %<\/li><li><strong>SL Value:<\/strong> 1%<\/li><li><strong>Entry Price:<\/strong> \u20b9100<\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Calculation:<\/strong><\/p>\n\n\n\n<ul><li>Stop-loss price = <strong>Entry Price &#8211; (SL Value % of Entry Price)<\/strong><\/li><li>Stop-loss price = <strong>\u20b9100 &#8211; (1% of \u20b9100) = \u20b999<\/strong><\/li><li>If the stock price <strong>falls to \u20b999<\/strong>, the position is exited with a <strong>1% loss<\/strong>.<\/li><\/ul>\n\n\n\n<h3><strong>Example 2: Using Points<\/strong><\/h3>\n\n\n\n<ul><li><strong>SL Type:<\/strong> Points<\/li><li><strong>SL Value:<\/strong> 3 Points<\/li><li><strong>Entry Price:<\/strong> \u20b9100<\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Calculation:<\/strong><\/p>\n\n\n\n<ul><li>Stop-loss price = <strong>Entry Price &#8211; SL Value (Points)<\/strong><\/li><li>Stop-loss price = <strong>\u20b9100 &#8211; 3 = \u20b997<\/strong><\/li><li>If the stock price <strong>drops to \u20b997<\/strong>, the position is squared off with a <strong>3-point loss<\/strong>.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>3. Trailing Stop Loss (TSL) \u2013 Dynamic Stop Adjustment<\/strong><\/h2>\n\n\n\n<p>A <strong>Trailing Stop Loss (TSL)<\/strong> <strong>moves the stop-loss level dynamically<\/strong> when the trade moves in the favorable direction.<\/p>\n\n\n\n<h3><strong>TSL Parameters in Algomojo<\/strong><\/h3>\n\n\n\n<ol><li><strong>TSL Type:<\/strong> Percentage (%) or Points<\/li><li><strong>Every Price Move (X):<\/strong> Defines how much the price must move before SL is adjusted.<\/li><li><strong>TSL Value (Y):<\/strong> Defines how much the Stop Loss moves when the price moves by X points.<\/li><li><strong>Initial SL:<\/strong> The fixed Stop Loss set before the TSL starts adjusting.<\/li><\/ol>\n\n\n\n<h3><strong>Example 1: Using Percentage (%)<\/strong><\/h3>\n\n\n\n<ul><li><strong>Entry Price:<\/strong> \u20b9100<\/li><li><strong>TSL Type:<\/strong> %<\/li><li><strong>Initial SL:<\/strong> <strong>98 (2% below Entry Price)<\/strong><\/li><li><strong>Every Price Move (X):<\/strong> <strong>2%<\/strong><\/li><li><strong>TSL Value (Y):<\/strong> <strong>1%<\/strong><\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Scenario:<\/strong><\/p>\n\n\n\n<ol><li><strong>At \u20b9100 (Entry Price)<\/strong><ul><li><strong>Initial SL = \u20b998<\/strong><\/li><\/ul><\/li><li><strong>When price reaches \u20b9102 (+2%)<\/strong><ul><li>SL moves from <strong>\u20b998 \u2192 \u20b999<\/strong><\/li><\/ul><\/li><li><strong>When price reaches \u20b9104 (+4%)<\/strong><ul><li>SL moves from <strong>\u20b999 \u2192 \u20b9100<\/strong><\/li><\/ul><\/li><li><strong>If the price falls back to \u20b9100<\/strong>, the Stop Loss is hit, and the trade <strong>exits automatically<\/strong>.<\/li><\/ol>\n\n\n\n<h3><strong>Example 2: Using Points<\/strong><\/h3>\n\n\n\n<ul><li><strong>Entry Price:<\/strong> \u20b9100<\/li><li><strong>TSL Type:<\/strong> Points<\/li><li><strong>Initial SL:<\/strong> <strong>97 (3 points below Entry Price)<\/strong><\/li><li><strong>Every Price Move (X):<\/strong> <strong>2 Points<\/strong><\/li><li><strong>TSL Value (Y):<\/strong> <strong>1 Point<\/strong><\/li><\/ul>\n\n\n\n<p>\ud83d\udd39 <strong>Scenario:<\/strong><\/p>\n\n\n\n<ol><li><strong>At \u20b9100 (Entry Price)<\/strong><ul><li><strong>Initial SL = \u20b997<\/strong><\/li><\/ul><\/li><li><strong>When price reaches \u20b9102 (+2 Points)<\/strong><ul><li>SL moves from <strong>\u20b997 \u2192 \u20b998<\/strong><\/li><\/ul><\/li><li><strong>When price reaches \u20b9104 (+4 Points)<\/strong><ul><li>SL moves from <strong>\u20b998 \u2192 \u20b999<\/strong><\/li><\/ul><\/li><li><strong>When price reaches \u20b9106 (+6 Points)<\/strong><ul><li>SL moves from <strong>\u20b999 \u2192 \u20b9100<\/strong><\/li><\/ul><\/li><li><strong>If the price falls back to \u20b9100<\/strong>, the Stop Loss is hit, and the trade <strong>exits automatically<\/strong>.<\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>4. How Algomojo Executes Target, SL, and TSL Together<\/strong><\/h2>\n\n\n\n<p>Algomojo evaluates all three exit conditions for every trade:<\/p>\n\n\n\n<ol><li><strong>If the price reaches the Target<\/strong>, the trade is <strong>exited with a profit<\/strong>.<\/li><li><strong>If the price hits the Stop Loss<\/strong>, the trade is <strong>exited to prevent further loss<\/strong>.<\/li><li><strong>If Trailing Stop Loss is active<\/strong>, it <strong>adjusts dynamically<\/strong> and exits when hit.<\/li><\/ol>\n\n\n\n<p>\ud83d\ude80 This ensures <strong>profits are secured, losses are controlled, and trends are followed efficiently<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>5. Best Practices for Using Target, SL, and TSL<\/strong><\/h2>\n\n\n\n<p>\u2705 <strong>Avoid Setting SL or TSL Too Close:<\/strong><\/p>\n\n\n\n<ul><li>If SL is too close, normal price fluctuations may trigger early exits.<br>\u2705 <strong>Use TSL for Trend-Following Trades:<\/strong><\/li><li>Allows profits to grow while protecting gains.<br>\u2705 <strong>Maintain a Proper Risk-Reward Ratio:<\/strong><\/li><li>Example: <strong>1:2 Ratio<\/strong> (Risk \u20b95 to gain \u20b910).<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Algomojo&#8217;s <strong>Target, Stop Loss, and Trailing Stop Loss (TSL)<\/strong> settings provide traders full control over trade exits. By understanding and using these parameters effectively, you can <strong>minimize losses, maximize gains, and automate risk management efficiently<\/strong>.<\/p>\n\n\n\n<p>\ud83d\udca1 <strong>Test different settings in Algomojo to optimize your trading strategy!<\/strong><\/p>\n\n\n\n<p>\ud83d\udce2 <strong>Have questions? Drop them in the comments below!<\/strong> \ud83d\ude80<\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/algomojo.com\/login-to-broker\/\">Login To Broker<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/algomojo.com\/open-an-account\/\">Open An Account<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In algorithmic trading, setting proper exit conditions is crucial for optimizing profits and minimizing risk. Algomojo offers three key trade exit mechanisms: Target (Profit Booking) Stop Loss (SL) (Fixed Risk Management) Trailing Stop Loss (TSL) (Dynamic Stop Adjustment) This guide explains these concepts with both Points and Percentage (%) examples, ensuring you understand how &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/algomojo.com\/blog\/understanding-target-stop-loss-and-trailing-stop-loss-tsl-in-algomojo-strategy-creation\/\"> <span class=\"screen-reader-text\">Understanding Target, Stop Loss, and Trailing Stop Loss (TSL) in Algomojo Strategy Creation<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":true,"template":"elementor_theme","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[309],"tags":[149,311,310,313],"_links":{"self":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/1540"}],"collection":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/comments?post=1540"}],"version-history":[{"count":4,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":1568,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/1540\/revisions\/1568"}],"wp:attachment":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/media?parent=1540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/categories?post=1540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/tags?post=1540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}