{"id":108,"date":"2026-07-26T07:09:26","date_gmt":"2026-07-26T07:09:26","guid":{"rendered":"https:\/\/kriptos.my\/?p=108"},"modified":"2026-07-26T07:09:27","modified_gmt":"2026-07-26T07:09:27","slug":"new-script-strategy-market-structure-breakout-msb","status":"publish","type":"post","link":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/","title":{"rendered":"New Script Strategy: Market Structure Breakout (MSB)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This strategy is basically a conversion from the this <a href=\"https:\/\/kriptos.my\/index.php\/2026\/05\/31\/new-pine-script-indicator-market-strcture-breakout-signal\/\"><strong>MSB indicator<\/strong><\/a>. It is yet the most intensive and longest tested before being published. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"659\" src=\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png 1024w, https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-300x193.png 300w, https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-768x494.png 768w, https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png 1471w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below are the pine script:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/This Pine script strategy was inspired and modified from MSB-OB by EmreKb. Credit goes to EmreKb.\n\n\/\/@version=5\nstrategy(\"MSB strategy&#91;kriptos.my]\", overlay=true, max_lines_count=500, max_bars_back=4900, max_boxes_count=500, initial_capital=100, default_qty_type=strategy.percent_of_equity, default_qty_value=99, pyramiding=1, commission_type=strategy.commission.percent, commission_value=0.12)\n\n\/\/The setting below is example for NEARUSDT TF30min on Kucoin exchanger.\n\/\/In general, recommended TF are 15min\/30min\/1hour\n\n\/\/ --- STRATEGY SETTINGS ---\nstrat_group = \"Strategy Settings\"\nzigzag_len = input.int(14, \"ZigZag Length &#91;Recommended 3-14]\", group=strat_group)\nfib_factor = input.float(0.99, \"Fib Factor &#91;Recommended 0.3-0.99]\", 0, 1, 0.01, group=strat_group)\ntp_perc = input.float(9.0, title=\"Take Profit % &#91;Recommended 4-14%]\", step=0.1, group=strat_group)\nrr_ratio = input.float(1.5, title=\"Reward\/Risk Ratio &#91;Recommended 1.0-3.0]\", step=0.1, group=strat_group)\nsl_perc = tp_perc \/ rr_ratio \/\/ Auto-calculates SL based on RR\n\ntime_group = \"Time Filter &#91;DO NOT FORGET to SET A DAY AFTER]\"\nstart_time = input.time(timestamp(\"2025-01-01 00:00\"), title=\"Start Time\", group=time_group)\nend_time = input.time(timestamp(\"2027-12-31 23:59\"), title=\"End Time\", group=time_group)\nin_time_frame = time >= start_time and time &lt;= end_time\n\n\/\/ --- ORIGINAL INDICATOR SETTINGS ---\nsettings = \"Settings\"\nshow_zigzag = input.bool(true, \"Show Zigzag\", group=settings)\ntext_size = input.string(size.tiny, \"Text Size\", &#91;size.tiny, size.small, size.normal, size.large, size.huge], group=settings)\ndelete_boxes = input.bool(false, \"Delete Old\/Broken Boxes\", group=settings)\n\nbu_ob_inline_color = \"Bu-OB Colors\"\nbe_ob_inline_color = \"Be-OB Colors\"\nbu_bb_inline_color = \"Bu-BB Colors\"\nbe_bb_inline_color = \"Be-BB Colors\"\n\nbu_ob_display_settings = \"Bu-OB Display Settings\"\nbu_ob_color = input.color(color.new(color.green, 70), \"Color\", group=bu_ob_display_settings, inline=bu_ob_inline_color)\nbu_ob_border_color = input.color(color.green, \"Border Color\", group=bu_ob_display_settings, inline=bu_ob_inline_color)\nbu_ob_text_color = input.color(color.green, \"Text Color\", group=bu_ob_display_settings, inline=bu_ob_inline_color)\n\nbe_ob_display_settings = \"Be-OB Display Settings\"\nbe_ob_color = input.color(color.new(color.red, 70), \"Color\", group=be_ob_display_settings, inline=be_ob_inline_color)\nbe_ob_border_color = input.color(color.red, \"Border Color\", group=be_ob_display_settings, inline=be_ob_inline_color)\nbe_ob_text_color = input.color(color.red, \"Text Color\", group=be_ob_display_settings, inline=be_ob_inline_color)\n\nbu_bb_display_settings = \"Bu-BB &amp; Bu-MB Display Settings\"\nbu_bb_color = input.color(color.new(color.green, 70), \"Color\", group=bu_bb_display_settings, inline=bu_bb_inline_color)\nbu_bb_border_color = input.color(color.green, \"Border Color\", group=bu_bb_display_settings, inline=bu_bb_inline_color)\nbu_bb_text_color = input.color(color.green, \"Text Color\", group=bu_bb_display_settings, inline=bu_bb_inline_color)\n\nbe_bb_display_settings = \"Be-BB &amp; Be-MB Display Settings\"\nbe_bb_color = input.color(color.new(color.red, 70), \"Color\", group=be_bb_display_settings, inline=be_bb_inline_color)\nbe_bb_border_color = input.color(color.red, \"Border Color\", group=be_bb_display_settings, inline=be_bb_inline_color)\nbe_bb_text_color = input.color(color.red, \"Text Color\", group=be_bb_display_settings, inline=be_bb_inline_color)\n\nvar float&#91;] high_points_arr = array.new_float(5)\nvar int&#91;] high_index_arr = array.new_int(5)\nvar float&#91;] low_points_arr = array.new_float(5)\nvar int&#91;] low_index_arr = array.new_int(5)\n\nvar box&#91;] bu_ob_boxes = array.new_box(5)\nvar box&#91;] be_ob_boxes = array.new_box(5)\nvar box&#91;] bu_bb_boxes = array.new_box(5)\nvar box&#91;] be_bb_boxes = array.new_box(5)\nvar box&#91;] bu_mb_boxes = array.new_box(5) \nvar box&#91;] be_mb_boxes = array.new_box(5) \n\nto_up = high >= ta.highest(zigzag_len)\nto_down = low &lt;= ta.lowest(zigzag_len)\n\ntrend = 1\ntrend := nz(trend&#91;1], 1)\ntrend := trend == 1 and to_down ? -1 : trend == -1 and to_up ? 1 : trend\n\nlast_trend_up_since = ta.barssince(to_up&#91;1])\nlow_val = ta.lowest(nz(last_trend_up_since > 0 ? last_trend_up_since : 1, 1))\nlow_index = bar_index - ta.barssince(low_val == low)\n\nlast_trend_down_since = ta.barssince(to_down&#91;1])\nhigh_val = ta.highest(nz(last_trend_down_since > 0 ? last_trend_down_since : 1, 1))\nhigh_index = bar_index - ta.barssince(high_val == high)\n\nif ta.change(trend) != 0\n    if trend == 1\n        array.push(low_points_arr, low_val)\n        array.push(low_index_arr, low_index)\n    if trend == -1\n        array.push(high_points_arr, high_val)\n        array.push(high_index_arr, high_index)\n\nf_get_high(ind) =>\n    &#91;array.get(high_points_arr, array.size(high_points_arr) - 1 - ind), array.get(high_index_arr, array.size(high_index_arr) - 1 - ind)]\n\nf_get_low(ind) =>\n    &#91;array.get(low_points_arr, array.size(low_points_arr) - 1 - ind), array.get(low_index_arr, array.size(low_index_arr) - 1 - ind)]\n\nf_delete_box(box_arr) =>\n    if delete_boxes\n        box.delete(array.shift(box_arr))\n    else\n        array.shift(box_arr)\n    0\n\n&#91;h0, h0i] = f_get_high(0)\n&#91;h1, h1i] = f_get_high(1)\n\n&#91;l0, l0i] = f_get_low(0)\n&#91;l1, l1i] = f_get_low(1)\n\nif ta.change(trend) != 0 and show_zigzag\n    if trend == 1\n        line.new(h0i, h0, l0i, l0)\n    if trend == -1\n        line.new(l0i, l0, h0i, h0)\n\nmarket = 1\nmarket := nz(market&#91;1], 1)\nmarket := market == 1 and close &lt; l0 and low &lt; l0 - math.abs(h0 - l0) * fib_factor ? -1 : market == -1 and close > h0 and high > h0 + math.abs(h0 - l0) * fib_factor ? 1 : market\nlast_l0 = ta.valuewhen(ta.change(market) != 0, l0, 0)\nlast_h0 = ta.valuewhen(ta.change(market) != 0, h0, 0)\nmarket := last_l0 == l0 or last_h0 == h0 ? market : market == 1 and l0 &lt; l1 and l0 &lt; l1 - math.abs(h0 - l1) * fib_factor ? -1 : market == -1 and h0 > h1 and h0 > h1 + math.abs(h1 - l0) * fib_factor ? 1 : market\n\nbu_ob_index = bar_index\nbu_ob_index := nz(bu_ob_index&#91;1], bar_index)\nfor i=h1i to l0i&#91;zigzag_len]\n    index = bar_index - i \n    if open&#91;index] > close&#91;index]\n        bu_ob_index := bar_index&#91;index]\n\nbu_ob_since = bar_index - bu_ob_index\n\nbe_ob_index = bar_index\nbe_ob_index := nz(be_ob_index&#91;1], bar_index)\nfor i=l1i to h0i&#91;zigzag_len]\n    index = bar_index - i \n    if open&#91;index] &lt; close&#91;index]\n        be_ob_index := bar_index&#91;index]\n\nbe_ob_since = bar_index - be_ob_index\n\nbe_bb_index = bar_index\nbe_bb_index := nz(be_bb_index&#91;1], bar_index)\nfor i=h1i - zigzag_len to l1i\n    index = bar_index - i\n    if open&#91;index] > close&#91;index]\n        be_bb_index := bar_index&#91;index]\n\nbe_bb_since = bar_index - be_bb_index\n\nbu_bb_index = bar_index\nbu_bb_index := nz(bu_bb_index&#91;1], bar_index)\nfor i=l1i - zigzag_len to h1i\n    index = bar_index - i\n    if open&#91;index] &lt; close&#91;index]\n        bu_bb_index := bar_index&#91;index]\n\nbu_bb_since = bar_index - bu_bb_index\n\nif ta.change(market) != 0\n    if market == 1\n        line.new(h1i, h1, h0i, h1, color=color.green, width=2)\n        label.new(int(math.avg(h1i, l0i)), h1, \"MSB\", color=color.new(color.black, 100), style=label.style_label_down, textcolor=color.green, size=size.small)\n        bu_ob = box.new(bu_ob_index, high&#91;bu_ob_since], bar_index + 10, low&#91;bu_ob_since], bgcolor=bu_ob_color, border_color=bu_ob_border_color, text=\"Bu-OB\", text_color=bu_ob_text_color, text_halign=text.align_right, text_size=text_size)\n        array.push(bu_ob_boxes, bu_ob)\n        \n        is_bu_bb = l0 &lt; l1\n        bu_bb = box.new(bu_bb_index, high&#91;bu_bb_since], bar_index + 10, low&#91;bu_bb_since], bgcolor=bu_bb_color, border_color=bu_bb_border_color, text=is_bu_bb ? \"Bu-BB\" : \"Bu-MB\", text_color=bu_bb_text_color, text_halign=text.align_right, text_size=text_size)\n        \n        if is_bu_bb\n            array.push(bu_bb_boxes, bu_bb)\n        else\n            array.push(bu_mb_boxes, bu_bb)\n\n    if market == -1\n        line.new(l1i, l1, l0i, l1, color=color.red, width=2)\n        label.new(int(math.avg(l1i, h0i)), l1, \"MSB\", color=color.new(color.black, 100), style=label.style_label_up, textcolor=color.red, size=size.small)\n        be_ob = box.new(be_ob_index, high&#91;be_ob_since], bar_index + 10, low&#91;be_ob_since], bgcolor=be_ob_color, border_color=be_ob_border_color, text=\"Be-OB\", text_color=be_ob_text_color, text_halign=text.align_right, text_size=text_size)\n        array.push(be_ob_boxes, be_ob)\n        \n        is_be_bb = h0 > h1\n        be_bb = box.new(be_bb_index, high&#91;be_bb_since], bar_index + 10, low&#91;be_bb_since], bgcolor=be_bb_color, border_color=be_bb_border_color, text=is_be_bb ? \"Be-BB\" : \"Be-MB\", text_color=be_bb_text_color, text_halign=text.align_right, text_size=text_size)\n        \n        if is_be_bb\n            array.push(be_bb_boxes, be_bb)\n        else\n            array.push(be_mb_boxes, be_bb)\n\n\/\/ --- MODIFIED ALERTS, BOX EXTENSION LOOPS &amp; STRATEGY TRIGGER ---\nlong_signal = false\n\nfor bull_ob in bu_ob_boxes\n    if not na(bull_ob)\n        bottom = box.get_bottom(bull_ob)\n        top = box.get_top(bull_ob)\n        if close &lt; bottom\n            f_delete_box(bu_ob_boxes)\n        else if close &lt; top\n            continue \/\/ Stops box extension while inside the zone\n        else\n            box.set_right(bull_ob, bar_index + 10)\n            if close&#91;1] &lt;= top and barstate.isconfirmed\n                alert(\"Price closed above BU-OB green box\")\n                long_signal := true\n    \nfor bull_bb in bu_bb_boxes\n    if not na(bull_bb)\n        bottom = box.get_bottom(bull_bb)\n        top = box.get_top(bull_bb)\n        if close &lt; bottom\n            f_delete_box(bu_bb_boxes)\n        else if close &lt; top\n            continue \n        else\n            box.set_right(bull_bb, bar_index + 10)\n            if close&#91;1] &lt;= top and barstate.isconfirmed\n                alert(\"Price closed above Bu-BB green box\")\n                long_signal := true\n\nfor bull_mb in bu_mb_boxes\n    if not na(bull_mb)\n        bottom = box.get_bottom(bull_mb)\n        top = box.get_top(bull_mb)\n        if close &lt; bottom\n            f_delete_box(bu_mb_boxes)\n        else if close &lt; top\n            continue\n        else\n            box.set_right(bull_mb, bar_index + 10)\n\nfor bear_ob in be_ob_boxes\n    if not na(bear_ob)\n        top = box.get_top(bear_ob)\n        bottom = box.get_bottom(bear_ob)\n        if close > top\n            f_delete_box(be_ob_boxes)\n        else if close > bottom\n            continue \/\/ Stops box extension while inside the zone\n        else\n            box.set_right(bear_ob, bar_index + 10)\n            if close&#91;1] >= bottom and barstate.isconfirmed\n                alert(\"Price closed below BE-OB red box\")\n        \nfor bear_bb in be_bb_boxes\n    if not na(bear_bb)\n        top = box.get_top(bear_bb)\n        bottom = box.get_bottom(bear_bb)\n        if close > top\n            f_delete_box(be_bb_boxes)\n        else if close > bottom\n            continue\n        else\n            box.set_right(bear_bb, bar_index + 10)\n            if close&#91;1] >= bottom and barstate.isconfirmed\n                alert(\"Price closed below Be-BB red box\")\n\nfor bear_mb in be_mb_boxes\n    if not na(bear_mb)\n        top = box.get_top(bear_mb)\n        bottom = box.get_bottom(bear_mb)\n        if close > top\n            f_delete_box(be_mb_boxes)\n        else if close > bottom\n            continue\n        else\n            box.set_right(bear_mb, bar_index + 10)\n\nalertcondition(ta.change(market) != 0, \"MSB\", \"MSB\")\n\n\/\/ --- STRATEGY EXECUTION ---\nif long_signal and in_time_frame\n    strategy.entry(\"Long\", strategy.long)\n\nif strategy.position_size > 0\n    limit_price = strategy.position_avg_price * (1 + (tp_perc \/ 100))\n    stop_price = strategy.position_avg_price * (1 - (sl_perc \/ 100))\n    strategy.exit(\"Exit Long\", \"Long\", limit=limit_price, stop=stop_price)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Examples of  Recommeded settings:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Pair: <strong>NEARUSDT<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exchanger: <strong>Kucoin<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TF: <strong>30min<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zigzag Length: <strong>14<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fib Factor for breakout confirmation: <strong>0.99<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Take Profit %: <strong>9.0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RR ratio: <strong>1.5<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em> P\/S Please do not forget to set the <strong>time filter<\/strong> to start trading on next following day. This is to ensure the first Buy Order will follow your initial capital USDT. <\/em> <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"811\" height=\"872\" src=\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/NEAR-USDT-MSB-setting.png\" alt=\"\" class=\"wp-image-110\" srcset=\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/NEAR-USDT-MSB-setting.png 811w, https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/NEAR-USDT-MSB-setting-279x300.png 279w, https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/NEAR-USDT-MSB-setting-768x826.png 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">*code262<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This strategy is basically a conversion from the this MSB indicator. It is yet the most intensive and longest tested before being published. Below are the pine script: Examples of<\/p>\n<p><a href=\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\" class=\"btn btn-skin btn-radius\">Continue Reading<span class=\"screen-reader-text\">New Script Strategy: Market Structure Breakout (MSB)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-pine-script-strategy"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>New Script Strategy: Market Structure Breakout (MSB) - kriptos.my<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New Script Strategy: Market Structure Breakout (MSB) - kriptos.my\" \/>\n<meta property=\"og:description\" content=\"This strategy is basically a conversion from the this MSB indicator. It is yet the most intensive and longest tested before being published. Below are the pine script: Examples ofContinue ReadingNew Script Strategy: Market Structure Breakout (MSB)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\" \/>\n<meta property=\"og:site_name\" content=\"kriptos.my\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-26T07:09:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-26T07:09:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1471\" \/>\n\t<meta property=\"og:image:height\" content=\"946\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/kriptos.my\/#\/schema\/person\/e7d9ab723a328727c8755e36e3abe80e\"},\"headline\":\"New Script Strategy: Market Structure Breakout (MSB)\",\"datePublished\":\"2026-07-26T07:09:26+00:00\",\"dateModified\":\"2026-07-26T07:09:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\"},\"wordCount\":89,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/kriptos.my\/#organization\"},\"image\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png\",\"articleSection\":[\"Pine Script Strategy\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\",\"url\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\",\"name\":\"New Script Strategy: Market Structure Breakout (MSB) - kriptos.my\",\"isPartOf\":{\"@id\":\"https:\/\/kriptos.my\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png\",\"datePublished\":\"2026-07-26T07:09:26+00:00\",\"dateModified\":\"2026-07-26T07:09:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage\",\"url\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png\",\"contentUrl\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png\",\"width\":1471,\"height\":946},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kriptos.my\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New Script Strategy: Market Structure Breakout (MSB)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kriptos.my\/#website\",\"url\":\"https:\/\/kriptos.my\/\",\"name\":\"kriptos.my\",\"description\":\"Trading Bot Enthusiast\",\"publisher\":{\"@id\":\"https:\/\/kriptos.my\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kriptos.my\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kriptos.my\/#organization\",\"name\":\"kriptos.my\",\"url\":\"https:\/\/kriptos.my\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kriptos.my\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2025\/06\/cropped-kriptosmy-perkataan.png\",\"contentUrl\":\"https:\/\/kriptos.my\/wp-content\/uploads\/2025\/06\/cropped-kriptosmy-perkataan.png\",\"width\":872,\"height\":199,\"caption\":\"kriptos.my\"},\"image\":{\"@id\":\"https:\/\/kriptos.my\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kriptos.my\/#\/schema\/person\/e7d9ab723a328727c8755e36e3abe80e\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kriptos.my\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72a50d9cc55ed45eb9ef06fffd6dfe994a9582cdb5833fbfaeb73562d06e4ae8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/72a50d9cc55ed45eb9ef06fffd6dfe994a9582cdb5833fbfaeb73562d06e4ae8?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"description\":\"Founder and Writer\",\"sameAs\":[\"https:\/\/kriptos.my\"],\"url\":\"https:\/\/kriptos.my\/index.php\/author\/kriptos\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New Script Strategy: Market Structure Breakout (MSB) - kriptos.my","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:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/","og_locale":"en_US","og_type":"article","og_title":"New Script Strategy: Market Structure Breakout (MSB) - kriptos.my","og_description":"This strategy is basically a conversion from the this MSB indicator. It is yet the most intensive and longest tested before being published. Below are the pine script: Examples ofContinue ReadingNew Script Strategy: Market Structure Breakout (MSB)","og_url":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/","og_site_name":"kriptos.my","article_published_time":"2026-07-26T07:09:26+00:00","article_modified_time":"2026-07-26T07:09:27+00:00","og_image":[{"width":1471,"height":946,"url":"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#article","isPartOf":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/"},"author":{"name":"admin","@id":"https:\/\/kriptos.my\/#\/schema\/person\/e7d9ab723a328727c8755e36e3abe80e"},"headline":"New Script Strategy: Market Structure Breakout (MSB)","datePublished":"2026-07-26T07:09:26+00:00","dateModified":"2026-07-26T07:09:27+00:00","mainEntityOfPage":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/"},"wordCount":89,"commentCount":1,"publisher":{"@id":"https:\/\/kriptos.my\/#organization"},"image":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage"},"thumbnailUrl":"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png","articleSection":["Pine Script Strategy"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/","url":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/","name":"New Script Strategy: Market Structure Breakout (MSB) - kriptos.my","isPartOf":{"@id":"https:\/\/kriptos.my\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage"},"image":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage"},"thumbnailUrl":"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT-1024x659.png","datePublished":"2026-07-26T07:09:26+00:00","dateModified":"2026-07-26T07:09:27+00:00","breadcrumb":{"@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#primaryimage","url":"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png","contentUrl":"https:\/\/kriptos.my\/wp-content\/uploads\/2026\/07\/MSB-pine-script-strategy-NEARUSDT.png","width":1471,"height":946},{"@type":"BreadcrumbList","@id":"https:\/\/kriptos.my\/index.php\/2026\/07\/26\/new-script-strategy-market-structure-breakout-msb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kriptos.my\/"},{"@type":"ListItem","position":2,"name":"New Script Strategy: Market Structure Breakout (MSB)"}]},{"@type":"WebSite","@id":"https:\/\/kriptos.my\/#website","url":"https:\/\/kriptos.my\/","name":"kriptos.my","description":"Trading Bot Enthusiast","publisher":{"@id":"https:\/\/kriptos.my\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kriptos.my\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kriptos.my\/#organization","name":"kriptos.my","url":"https:\/\/kriptos.my\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kriptos.my\/#\/schema\/logo\/image\/","url":"https:\/\/kriptos.my\/wp-content\/uploads\/2025\/06\/cropped-kriptosmy-perkataan.png","contentUrl":"https:\/\/kriptos.my\/wp-content\/uploads\/2025\/06\/cropped-kriptosmy-perkataan.png","width":872,"height":199,"caption":"kriptos.my"},"image":{"@id":"https:\/\/kriptos.my\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kriptos.my\/#\/schema\/person\/e7d9ab723a328727c8755e36e3abe80e","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kriptos.my\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72a50d9cc55ed45eb9ef06fffd6dfe994a9582cdb5833fbfaeb73562d06e4ae8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72a50d9cc55ed45eb9ef06fffd6dfe994a9582cdb5833fbfaeb73562d06e4ae8?s=96&d=mm&r=g","caption":"admin"},"description":"Founder and Writer","sameAs":["https:\/\/kriptos.my"],"url":"https:\/\/kriptos.my\/index.php\/author\/kriptos\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/posts\/108\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kriptos.my\/index.php\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}