{"id":13071,"date":"2026-05-28T14:18:38","date_gmt":"2026-05-28T14:18:38","guid":{"rendered":"https:\/\/bjftradinggroup.com\/?p=13071"},"modified":"2026-05-28T15:59:30","modified_gmt":"2026-05-28T15:59:30","slug":"sharptrader-pairs-trading-direction-modes","status":"publish","type":"post","link":"https:\/\/bjftradinggroup.com\/pt\/sharptrader-pairs-trading-direction-modes\/","title":{"rendered":"SharpTrader Pairs Trading: Direction parameter explained \u2014 all 8 modes"},"content":{"rendered":"<p><\/p>\n<div class=\"ptdm-page\">\n<p>BJF TRADING GROUP \u00a0\u00b7\u00a0 PRODUCT REFERENCE<\/p>\n<div class=\"ptdm-hero\">\n<h2>SharpTrader Pairs Trading: the <span class=\"ptdm-gold\">Direction<\/span> Parameter Explained \u2014 All 8 Modes<\/h2>\n<p class=\"ptdm-hero-sub\">Direction controls which side of the pair gets the <strong>buy<\/strong> and which gets the <strong>sell<\/strong> once the Zindex threshold fires. The eight modes split into two strategic camps \u2014 <strong>fade the divergence<\/strong> (mean-reversion) and <strong>ride the divergence<\/strong> (momentum) \u2014 with one outlier, <strong>Inversed<\/strong>, that flips the trigger condition itself. This page is the practical reference: what each mode does, when it triggers, and which mode to pick for the setup you actually trade.<\/p>\n<div class=\"ptdm-hero-row\"><a class=\"ptdm-hero-cta\" href=\"https:\/\/sharptrader.arbitragesoftware.net\/Pairs_Trading_Strategy\">Open the wiki \u2192<\/a><br \/>\n<a class=\"ptdm-hero-link\" href=\"\/product\/sharptrader-forex-crypto-arbitrage\/\">SharpTrader Pro product page<\/a><\/div>\n<div class=\"ptdm-hero-meta\"><strong>8<\/strong> modes covered<br \/>\n<strong>5<\/strong> fade \u00b7 <strong>3<\/strong> ride<br \/>\n<strong>1<\/strong> matrix diagram<br \/>\n<strong>Updated<\/strong> May 2026<\/div>\n<\/div>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #1 \u2014 Refresher --><br \/>\n<!-- ============================================================ --><\/p>\n<h2>A quick refresher: Current Zindex and Zindex Open<\/h2>\n<div class=\"ptdm-answer\">\n<p><strong>Current Zindex<\/strong> is the live z-score of the spread between the two paired instruments \u2014 how many standard deviations the spread currently sits from its historical mean. <strong>Zindex Open<\/strong> is the magnitude threshold the trader configures: once the absolute value of the current z-score crosses it, the strategy is allowed to open a position. The <strong>Direction<\/strong> parameter then decides which leg becomes the buy and which becomes the sell.<\/p>\n<\/div>\n<p>For the full conceptual background \u2014 what cointegration is, why the spread mean-reverts, and how the z-score is computed \u2014 see our pillar on <a href=\"\/forex-pairs-trading-statistical-arbitrage\/\">forex pairs trading and statistical arbitrage<\/a>. This page focuses specifically on the Direction parameter and the eight values it can take.<\/p>\n<div class=\"ptdm-callout\">\n<h3>One clarification that resolves most confusion<\/h3>\n<p>The wiki phrases the trigger as &#8220;Current Zindex is greater than the value of Zindex Open.&#8221; Read literally, that would fail when the current Z-index is negative. In practice, the test is a <strong>magnitude comparison<\/strong>: <code>|Current Zindex| &gt; Zindex Open<\/code>. Zindex Open is the threshold expressed as a positive number (e.g. 2.0); the strategy fires when the spread has stretched at least that far from the mean, in either direction. The Current Zindex sign then determines which side gets long and which gets short.<\/p>\n<\/div>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #2 \u2014 Two camps --><br \/>\n<!-- ============================================================ --><\/p>\n<h2>The two strategic camps \u2014 and one outlier<\/h2>\n<p>Every Direction mode encodes two decisions: <strong>when<\/strong> to open (the trigger condition) and <strong>which way<\/strong> to open (the leg assignment). Looking at all eight together, three patterns emerge:<\/p>\n<ul class=\"ptdm-list\">\n<li><strong>Fade the divergence<\/strong> (mean-reversion bet). The spread has stretched; the trade bets it returns to the mean. <strong>5 modes:<\/strong> ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign.<\/li>\n<li><strong>Ride the divergence<\/strong> (momentum bet). The spread has stretched; the trade bets it will continue to stretch further. <strong>2 modes:<\/strong> Reversed, ZIndexSignInv.<\/li>\n<li><strong>The outlier<\/strong> \u2014 Inversed. The trigger is <em>flipped<\/em>: instead of waiting for the spread to stretch beyond the threshold, the trade opens while the spread is still <strong>inside<\/strong> the band, betting it will stretch outward. This is the only mode that fires near the mean rather than at the extremes.<\/li>\n<\/ul>\n<p><!-- Figure: upload sharptrader-direction-modes-matrix.png to WP Media Library; adjust src if path differs --><\/p>\n<div class=\"ptdm-fig\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13073\" src=\"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-1024x643.png\" alt=\"Matrix of all 8 SharpTrader pairs trading Direction modes: 5 fade modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign) in the mean-reversion camp, 3 ride modes (Reversed, ZIndexSignInv, Inversed) in the momentum camp, with each card showing trigger condition and action\" width=\"1024\" height=\"643\" srcset=\"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-1024x643.png 1024w, https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-300x188.png 300w, https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-768x482.png 768w, https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-1536x964.png 1536w, https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix-680x427.png 680w, https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/sharptrader-direction-modes-matrix.png 1720w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p class=\"ptdm-figcap\">Figure 1 \u2014 All 8 Direction modes at a glance. Gold border = fade-the-divergence (mean-reversion). Red border = ride-the-divergence (momentum). The Inversed card carries a &#8220;trigger flipped&#8221; marker because it enters while the spread is still inside the threshold band.<\/p>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #3 \u2014 Mode by mode --><br \/>\n<!-- ============================================================ --><\/p>\n<h2>Mode-by-mode reference<\/h2>\n<p>Each mode below lists its trigger condition (when it fires), its leg-assignment rule (which side becomes the buy and which the sell), a concrete numeric example, and the kind of setup it is designed for.<\/p>\n<h3>ZIndexBased <span class=\"ptdm-tag ptdm-fade\">FADE<\/span><\/h3>\n<div class=\"ptdm-mode\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; Zindex Open<\/code><\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Zindex \u2265 0 \u2192 <strong>sell<\/strong> left side, <strong>buy<\/strong> right side. If Current Zindex &lt; 0 \u2192 <strong>buy<\/strong> left side, <strong>sell<\/strong> right side.<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = +2.3. The mode sells the left leg and buys the right leg, betting the spread reverts toward zero.<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> the default fade mode. Use when you trust the z-score sign as a clean directional signal and want symmetric behavior on both extremes of the spread. This is the most common starting configuration.<\/p>\n<\/div>\n<h3>PriceBased <span class=\"ptdm-tag ptdm-fade\">FADE<\/span><\/h3>\n<div class=\"ptdm-mode\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; Zindex Open<\/code><\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Ask on the left side &gt; Current Ask on the right side \u2192 <strong>sell<\/strong> left, <strong>buy<\/strong> right. Otherwise \u2192 <strong>buy<\/strong> left, <strong>sell<\/strong> right.<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = +2.3. Left Ask = 1.0850, Right Ask = 1.2640. Since the right Ask is higher, the mode buys left and sells right.<\/p>\n<p>When to use: When the \u03b2 (cointegration coefficient) is asymmetric enough that the raw Ask comparison is a more reliable direction signal than the z-score sign. Some traders prefer PriceBased on pairs where the two instruments trade at very different absolute price scales.<\/p>\n<\/div>\n<h3>Buy1Sell2 <span class=\"ptdm-tag ptdm-fade\">FADE<\/span> <span class=\"ptdm-tag ptdm-flip\">ONE-SIDED<\/span><\/h3>\n<div class=\"ptdm-mode\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; Zindex Open<\/code> <strong>AND<\/strong> <code>Current Zindex &lt; 0<\/code><\/p>\n<p><span class=\"ptdm-label\">Action<\/span> <strong>Buy<\/strong> left side, <strong>sell<\/strong> right side. (Fixed direction; the mode does not enter when Current Zindex \u2265 0.)<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = \u22122.4. The mode buys left and sells right. If the current Z-index were +2.4, nothing opens.<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> When you only want to trade the negative-Zindex side of the spread. Practical reasons: directional regime view, broker margin asymmetry, or one-sided pair behaviour where only the lower-Zindex setups have historically been profitable.<\/p>\n<\/div>\n<h3>Sell1Buy2 <span class=\"ptdm-tag ptdm-fade\">FADE<\/span> <span class=\"ptdm-tag ptdm-flip\">ONE-SIDED<\/span><\/h3>\n<div class=\"ptdm-mode\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; Zindex Open<\/code> <strong>AND<\/strong> <code>Current Zindex \u2265 0<\/code><\/p>\n<p><span class=\"ptdm-label\">Action<\/span> <strong>Sell<\/strong> left side, <strong>buy<\/strong> right side. (Fixed direction; the mode does not enter when Current Zindex &lt; 0.)<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = +2.4. The market sells on the left and buys on the right. If the current Z-index were \u22122.4, nothing opens.<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> The mirror image of Buy1Sell2 \u2014 when you only want positive-Zindex setups. Often paired with Buy1Sell2 on two separate strategy instances to run each side independently with different sizing.<\/p>\n<\/div>\n<h3>ZIndexSign <span class=\"ptdm-tag ptdm-fade\">FADE<\/span><\/h3>\n<div class=\"ptdm-mode\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; |Zindex Open|<\/code> <strong>AND<\/strong> Current Zindex and Zindex Open share the same sign<\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Zindex \u2265 0 \u2192 <strong>sell<\/strong> left, <strong>buy<\/strong> right. If Current Zindex &lt; 0 \u2192 <strong>buy<\/strong> left, <strong>sell<\/strong> right.<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open is set to +2.0 (with explicit sign). Current Zindex = +2.4 \u2192 same sign \u2192 sells left, buys right. Current Zindex = \u22122.4 \u2192 opposite sign \u2192 <em>nothing opens<\/em>.<\/p>\n<p>When to use a stricter version of ZIndexBased? Use when you want the strategy to only trade in the direction the threshold was originally set for \u2014 useful for staged or directional pair entries where you don&#8217;t want the strategy to fire on the opposite extreme.<\/p>\n<\/div>\n<h3>Reversed <span class=\"ptdm-tag ptdm-ride\">RIDE<\/span><\/h3>\n<div class=\"ptdm-mode ptdm-mode-ride\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; Zindex Open<\/code><\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Zindex \u2265 0 \u2192 <strong>buy<\/strong> left, <strong>sell<\/strong> right. If Current Zindex &lt; 0 \u2192 <strong>sell<\/strong> left, <strong>buy<\/strong> right. (Opposite leg assignment to ZIndexBased.)<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = +2.3. The mode buys left and sells right, betting the spread continues to stretch further from the mean.<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> A momentum bet on the spread \u2014 the inverse of mean-reversion. Appropriate when the pair is going through a regime where divergences widen further before reverting (e.g. one currency in a sharp trend). Higher risk than fade modes because correlation breaks tend to fail in this direction first.<\/p>\n<\/div>\n<h3>ZIndexSignInv <span class=\"ptdm-tag ptdm-ride\">RIDE<\/span><\/h3>\n<div class=\"ptdm-mode ptdm-mode-ride\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &gt; |Zindex Open|<\/code> <strong>AND<\/strong> Current Zindex and Zindex Open share the same sign<\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Zindex \u2265 0 \u2192 <strong>buy<\/strong> left, <strong>sell<\/strong> right. If Current Zindex &lt; 0 \u2192 <strong>sell<\/strong> left, <strong>buy<\/strong> right.<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = +2.0, Current Zindex = +2.4. Same sign and magnitude exceeded \u2192 buys left, sells right (ride the move).<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> Stricter version of Reversed \u2014 momentum bet, but only when the spread has stretched further in the originally-configured direction. The same-sign requirement filters out spurious opposite-extreme triggers.<\/p>\n<\/div>\n<h3>Inversed <span class=\"ptdm-tag ptdm-ride\">RIDE<\/span> <span class=\"ptdm-tag ptdm-flip\">TRIGGER FLIPPED<\/span><\/h3>\n<div class=\"ptdm-mode ptdm-mode-ride\">\n<p><span class=\"ptdm-label\">Trigger<\/span> <code>|Current Zindex| &lt; Zindex Open<\/code> \u2014 <strong>note the inequality is flipped<\/strong>. The mode enters while the spread is <em>inside<\/em> the threshold band, not beyond it.<\/p>\n<p><span class=\"ptdm-label\">Action<\/span> If Current Zindex \u2265 0 \u2192 <strong>buy<\/strong> left, <strong>sell<\/strong> right. If Current Zindex &lt; 0 \u2192 <strong>sell<\/strong> left, <strong>buy<\/strong> right.<\/p>\n<p><span class=\"ptdm-label\">Example<\/span> Zindex Open = 2.0, Current Zindex = +0.6. Magnitude is inside the band \u2192 buys left, sells right, betting the spread will stretch outward.<\/p>\n<p><span class=\"ptdm-label\">When to use<\/span> Specialized momentum setup: you believe the spread is in a regime where small deviations expand into large ones rather than reverting. Effectively the opposite philosophy from every other mode \u2014 instead of waiting for an extreme, the mode enters early and rides the stretch. Used sparingly, in pairs with strong observed divergence-continuation behavior.<\/p>\n<\/div>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #4 \u2014 Comparison table --><br \/>\n<!-- ============================================================ --><\/p>\n<h2>Side-by-side comparison of all 8 modes<\/h2>\n<table class=\"ptdm-tbl\">\n<thead>\n<tr>\n<th>Mode<\/th>\n<th>Trigger condition<\/th>\n<th>When Z \u2265 0<\/th>\n<th>When Z &lt; 0<\/th>\n<th>Camp<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"ptdm-row-fade\">\n<td class=\"ptdm-cell-feat\">ZIndexBased<\/td>\n<td><code>|Z| &gt; Open<\/code><\/td>\n<td>Sell L, Buy R<\/td>\n<td>Buy L, Sell R<\/td>\n<td>Fade<\/td>\n<\/tr>\n<tr class=\"ptdm-row-fade\">\n<td class=\"ptdm-cell-feat\">PriceBased<\/td>\n<td><code>|Z| &gt; Open<\/code><\/td>\n<td colspan=\"2\">By raw Ask: higher Ask \u2192 sell, lower Ask \u2192 buy<\/td>\n<td>Fade<\/td>\n<\/tr>\n<tr class=\"ptdm-row-fade\">\n<td class=\"ptdm-cell-feat\">Buy1Sell2<\/td>\n<td><code>|Z| &gt; Open<\/code> AND <code>Z &lt; 0<\/code><\/td>\n<td><em>no entry<\/em><\/td>\n<td>Buy L, Sell R<\/td>\n<td>Fade<\/td>\n<\/tr>\n<tr class=\"ptdm-row-fade\">\n<td class=\"ptdm-cell-feat\">Sell1Buy2<\/td>\n<td><code>|Z| &gt; Open<\/code> AND <code>Z \u2265 0<\/code><\/td>\n<td>Sell L, Buy R<\/td>\n<td><em>no entry<\/em><\/td>\n<td>Fade<\/td>\n<\/tr>\n<tr class=\"ptdm-row-fade\">\n<td class=\"ptdm-cell-feat\">ZIndexSign<\/td>\n<td><code>|Z| &gt; |Open|<\/code> AND same sign<\/td>\n<td>Sell L, Buy R<\/td>\n<td>Buy L, Sell R<\/td>\n<td>Fade<\/td>\n<\/tr>\n<tr class=\"ptdm-row-ride\">\n<td class=\"ptdm-cell-feat\">Reversed<\/td>\n<td><code>|Z| &gt; Open<\/code><\/td>\n<td>Buy L, Sell R<\/td>\n<td>Sell L, Buy R<\/td>\n<td>Ride<\/td>\n<\/tr>\n<tr class=\"ptdm-row-ride\">\n<td class=\"ptdm-cell-feat\">ZIndexSignInv<\/td>\n<td><code>|Z| &gt; |Open|<\/code> AND same sign<\/td>\n<td>Buy L, Sell R<\/td>\n<td>Sell L, Buy R<\/td>\n<td>Ride<\/td>\n<\/tr>\n<tr class=\"ptdm-row-ride\">\n<td class=\"ptdm-cell-feat\">Inversed<\/td>\n<td><code>|Z| &lt; Open<\/code> \u00a0(flipped)<\/td>\n<td>Buy L, Sell R<\/td>\n<td>Sell L, Buy R<\/td>\n<td>Ride<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #5 \u2014 Which to use --><br \/>\n<!-- ============================================================ --><\/p>\n<h2>Which mode should you pick?<\/h2>\n<p>There is no single &#8220;correct&#8221; mode \u2014 the choice depends on what you believe about the pair&#8217;s behavior and what you want the strategy to do at each extreme. As a practical guide:<\/p>\n<ul class=\"ptdm-list\">\n<li><strong>Starting from zero on a new pair?<\/strong> Use <strong>ZIndexBased<\/strong>. It is the cleanest default fade and gives you symmetric entries on both sides of the spread.<\/li>\n<li><strong>Pair where the two instruments have very different price scales (different orders of magnitude)?<\/strong> Try <strong>PriceBased<\/strong>. It uses raw Ask comparison instead of z-score sign, which can be more reliable when \u03b2 is far from 1.0.<\/li>\n<li><strong>Want to run two independently-sized strategies, one per spread side?<\/strong> Run <strong>Buy1Sell2<\/strong> on one instance (negative side only) and <strong>Sell1Buy2<\/strong> on another (positive side only). This lets you size and stop each side independently.<\/li>\n<li><strong>Worried about false triggers when the spread crosses zero rapidly?<\/strong> Use <strong>ZIndexSign<\/strong>. It only fires when Current and Open share the same sign, filtering out opposite-side noise.<\/li>\n<li><strong>Trading a pair in a regime where divergences continue rather than revert?<\/strong> <strong>Reversed<\/strong> (or <strong>ZIndexSignInv<\/strong> for the stricter version). This is the momentum bet \u2014 higher variance, and you should size accordingly.<\/li>\n<li><strong>Specialized setups where you want to enter near the mean and ride outward?<\/strong> <strong>Inversed<\/strong> is the only mode that does this. Use sparingly and only with strong evidence the pair behaves this way.<\/li>\n<\/ul>\n<div class=\"ptdm-take\">\n<h3>Three practical rules<\/h3>\n<ul>\n<li><strong>Backtest the mode you are about to deploy.<\/strong> The Direction parameter is not interchangeable \u2014 the same pair can produce wildly different P&amp;L curves under ZIndexBased vs Reversed. Re-run the optimization for whichever mode you intend to run live.<\/li>\n<li><strong>Match mode to the strategic thesis, not the historical P&amp;L.<\/strong> If you cannot explain <em>why<\/em> a mode should work on a given pair, don&#8217;t deploy it just because the backtest looked good. Mode selection should follow a thesis about the pair&#8217;s regime.<\/li>\n<li><strong>Don&#8217;t flip mode mid-session.<\/strong> Switching Direction while positions are open will leave you with positions opened under one rule set and an exit logic expecting another. Close everything cleanly before changing mode.<\/li>\n<\/ul>\n<\/div>\n<p><!-- ============================================================ --><br \/>\n<!-- H2 #6 \u2014 FAQ --><br \/>\n<!-- ============================================================ --><\/p>\n<h2 id=\"ptdm-faq\">Frequently asked questions<\/h2>\n<div class=\"ptdm-faq\">\n<div class=\"ptdm-faq-q\">What does \u201cCurrent Zindex &gt; Zindex Open\u201d in the wiki actually mean?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>It means <code>|Current Zindex| &gt; Zindex Open<\/code> \u2014 a magnitude comparison. Zindex Open is the threshold expressed as a positive number (e.g. 2.0), and the strategy fires when the spread has stretched at least that far from the mean, in either direction. The Current Zindex sign then determines which leg is the buy and which is the sell, depending on the selected Direction mode.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">What is the difference between ZIndexBased and PriceBased?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Both share the same trigger (<code>|Z| &gt; Open<\/code>) and both are fade modes. The difference is in how they decide the leg assignment. <strong>ZIndexBased<\/strong> uses the sign of the z-score: Z \u2265 0 means sell left \/ buy right, Z &lt; 0 means the opposite. <strong>PriceBased<\/strong> ignores the z-score sign and compares raw Ask prices: the higher-priced side is sold, the lower-priced side is bought. Price-based is most useful when the two pair instruments have very different absolute price levels.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">When should I use Inversed?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Inversed is the only mode whose trigger is flipped \u2014 it enters while the spread is <em>inside<\/em> the band (<code>|Z| &lt; Open<\/code>), not beyond it. Use it when you have strong evidence that the pair is in a regime where small spread deviations expand into large ones rather than reverting. This is an unusual setup; the default behavior of most pairs is mean-reversion, so Inversed should be reserved for specific regimes you have explicitly observed and tested.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">What is the difference between ZIndexBased and ZIndexSign?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Both are fade modes with identical leg assignment by Z-sign. The difference is in the trigger: <strong>ZIndexBased<\/strong> fires whenever the magnitude exceeds the threshold, regardless of sign. <strong>ZIndexSign<\/strong> additionally requires Current Zindex and Zindex Open to share the same sign \u2014 meaning the spread has stretched further in the direction the threshold was originally configured for. ZIndexSign filters out opposite-extreme triggers; ZIndexBased fires on both extremes symmetrically.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">Which Direction mode is the default for a new pair?<\/div>\n<div class=\"ptdm-faq-a\">\n<p><strong>ZIndexBased<\/strong> is the practical default. It implements the canonical fade-the-divergence pairs trade with symmetric behavior on both sides of the spread. Start there, backtest under realistic execution conditions, and only move to one of the other modes when you have a specific reason (regime view, asymmetric sizing, sign confirmation, or momentum thesis).<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">Can I run Buy1Sell2 and Sell1Buy2 simultaneously?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Yes \u2014 that is one of the main reasons those one-sided modes exist. Running two strategy instances on the same pair, one with Buy1Sell2 (negative Zindex side only) and one with Sell1Buy2 (positive Zindex side only), is equivalent to ZIndexBased, except you can size, stop, and parameterize each side independently. Useful when one side has historically been more profitable or you want different sizing per direction.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">Can I change Direction mid-session while positions are open?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Technically, you can, but you should not. Positions opened under one mode were entered against an implicit thesis about which side should win \u2014 the exit logic, take-profit, and stop-loss rules behave consistently with that thesis. Switching mode mid-position leaves you with open trades that the new ruleset was never designed to manage. Close all positions cleanly, then change Direction before the next session.<\/p>\n<\/div>\n<div class=\"ptdm-faq-q\">How does Direction interact with the rest of the SharpTrader pairs trading parameters?<\/div>\n<div class=\"ptdm-faq-a\">\n<p>Direction is the leg-assignment rule; the rest of the parameters \u2014 Zindex Open, Zindex Close, ATR filters, lot sizing, take-profit, stop-loss \u2014 decide when to exit and how to size. The Direction mode does not change those rules, but it can change which Zindex Close logic makes sense (a fade mode targets reversion to zero; a ride mode targets a wider divergence). Re-tune the exit parameters whenever you change Direction. The wiki has the full parameter reference: <a href=\"https:\/\/sharptrader.arbitragesoftware.net\/Pairs_Trading_Strategy\">sharptrader.arbitragesoftware.net\/Pairs_Trading_Strategy<\/a>.<\/p>\n<\/div>\n<\/div>\n<p><!-- ============================================================ --><br \/>\n<!-- CTA --><br \/>\n<!-- ============================================================ --><\/p>\n<div class=\"ptdm-cta\">\n<h2>Run pairs trading in SharpTrader<\/h2>\n<p>The Direction parameter is one of several controls that decide whether a pairs strategy survives in production. The others \u2014 broker execution quality, realistic backtest assumptions, and walk-forward validation \u2014 are covered in our pillar guide and the BEQI broker audit toolkit.<\/p>\n<p><a class=\"ptdm-cta-btn\" href=\"\/product\/sharptrader-forex-crypto-arbitrage\/\">SharpTrader Pro product page<\/a><br \/>\n<a class=\"ptdm-cta-btn ptdm-cta-btn-out\" href=\"\/forex-pairs-trading-statistical-arbitrage\/\">Pairs trading pillar guide<\/a><\/p>\n<\/div>\n<\/div>\n<p><!-- ====================================================================== --><br \/>\n<!-- END BODY --><br \/>\n<!-- ====================================================================== --><\/p>\n<p><!-- ====================================================================== --><br \/>\n<!-- JSON-LD --><br \/>\n<!-- ====================================================================== --><br \/>\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@graph\": [\n    {\n      \"@type\": \"TechArticle\",\n      \"@id\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#article\",\n      \"headline\": \"SharpTrader Pairs Trading: the Direction Parameter Explained (All 8 Modes)\",\n      \"description\": \"Practical reference for the Direction parameter in the SharpTrader pairs trading strategy. Covers all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed): trigger condition, leg assignment, concrete examples, and guidance on which mode to pick for a given setup.\",\n      \"image\": \"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/sharptrader-direction-modes-matrix.png\",\n      \"datePublished\": \"2026-05-28T10:00:00-04:00\",\n      \"dateModified\": \"2026-05-28T10:00:00-04:00\",\n      \"author\": {\n        \"@type\": \"Person\",\n        \"@id\": \"https:\/\/bjftradinggroup.com\/about-boris-fesenko\/#person\",\n        \"name\": \"Boris Fesenko\",\n        \"url\": \"https:\/\/bjftradinggroup.com\/about-boris-fesenko\/\"\n      },\n      \"publisher\": {\n        \"@type\": \"Organization\",\n        \"@id\": \"https:\/\/bjftradinggroup.com\/#organization\",\n        \"name\": \"BJF Trading Group Inc.\",\n        \"url\": \"https:\/\/bjftradinggroup.com\/\",\n        \"logo\": { \"@type\": \"ImageObject\", \"url\": \"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/bjf-logo.png\" }\n      },\n      \"mainEntityOfPage\": {\n        \"@type\": \"WebPage\",\n        \"@id\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/\",\n        \"speakable\": {\n          \"@type\": \"SpeakableSpecification\",\n          \"cssSelector\": [\".ptdm-answer\", \".ptdm-faq-a\", \".ptdm-mode\"]\n        }\n      },\n      \"wordCount\": 2700,\n      \"articleSection\": \"Product reference\",\n      \"keywords\": \"SharpTrader pairs trading, Direction parameter, ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed, Zindex Open, Current Zindex, pairs trading software, statistical arbitrage\",\n      \"about\": [\n        {\"@type\": \"Thing\", \"name\": \"Pairs trading strategy\"},\n        {\"@type\": \"Thing\", \"name\": \"SharpTrader Direction parameter\"},\n        {\"@type\": \"Thing\", \"name\": \"Z-score trading rules\"},\n        {\"@type\": \"Thing\", \"name\": \"Statistical arbitrage\"}\n      ],\n      \"citation\": {\n        \"@type\": \"WebPage\",\n        \"name\": \"SharpTrader Pairs Trading Strategy Wiki\",\n        \"url\": \"https:\/\/sharptrader.arbitragesoftware.net\/Pairs_Trading_Strategy\"\n      }\n    },\n    {\n      \"@type\": \"DefinedTermSet\",\n      \"@id\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#direction-modes\",\n      \"name\": \"SharpTrader Direction modes\",\n      \"hasDefinedTerm\": [\n        {\n          \"@type\": \"DefinedTerm\",\n          \"name\": \"ZIndexBased\",\n          \"description\": \"Default fade-the-divergence mode. Trigger: |Current Zindex| > Zindex Open. Action: if Current Zindex >= 0, sell left side and buy right side; if Current Zindex < 0, buy left side and sell right side.\" }, { \"@type\": \"DefinedTerm\", \"name\": \"PriceBased\", \"description\": \"Fade mode where leg assignment is decided by raw Ask price comparison rather than Zindex sign. Trigger: |Current Zindex| > Zindex Open. Action: higher-Ask side is sold, lower-Ask side is bought.\"\n        },\n        {\n          \"@type\": \"DefinedTerm\",\n          \"name\": \"Buy1Sell2\",\n          \"description\": \"One-sided fade mode that only enters when Current Zindex is negative. Trigger: |Current Zindex| > Zindex Open AND Current Zindex < 0. Action: buy left side, sell right side.\" }, { \"@type\": \"DefinedTerm\", \"name\": \"Sell1Buy2\", \"description\": \"One-sided fade mode that only enters when Current Zindex is non-negative. Trigger: |Current Zindex| > Zindex Open AND Current Zindex >= 0. Action: sell left side, buy right side.\"\n        },\n        {\n          \"@type\": \"DefinedTerm\",\n          \"name\": \"ZIndexSign\",\n          \"description\": \"Stricter fade mode that requires Current Zindex and Zindex Open to share the same sign. Trigger: |Current Zindex| > |Zindex Open| AND same sign. Action: same leg assignment as ZIndexBased.\"\n        },\n        {\n          \"@type\": \"DefinedTerm\",\n          \"name\": \"Reversed\",\n          \"description\": \"Momentum mode. Trigger: |Current Zindex| > Zindex Open. Action: opposite leg assignment to ZIndexBased - if Current Zindex >= 0, buy left and sell right; if Current Zindex < 0, sell left and buy right.\" }, { \"@type\": \"DefinedTerm\", \"name\": \"ZIndexSignInv\", \"description\": \"Stricter momentum mode. Trigger: |Current Zindex| > |Zindex Open| AND same sign. Action: opposite leg assignment to ZIndexSign - bets on continued divergence rather than reversion.\"\n        },\n        {\n          \"@type\": \"DefinedTerm\",\n          \"name\": \"Inversed\",\n          \"description\": \"Momentum mode with flipped trigger. Trigger: |Current Zindex| < Zindex Open - enters while the spread is inside the threshold band. Action: if Current Zindex >= 0, buy left and sell right; if Current Zindex < 0, sell left and buy right.\" } ] }, { \"@type\": \"BreadcrumbList\", \"@id\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#breadcrumb\", \"itemListElement\": [ {\"@type\": \"ListItem\", \"position\": 1, \"name\": \"Home\", \"item\": \"https:\/\/bjftradinggroup.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Pairs Trading &#038; Statistical Arbitrage\", \"item\": \"https:\/\/bjftradinggroup.com\/forex-pairs-trading-statistical-arbitrage\/\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"SharpTrader Direction Modes\", \"item\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/\"} ] }, { \"@type\": \"FAQPage\", \"@id\": \"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#faq\", \"mainEntity\": [ { \"@type\": \"Question\", \"name\": \"What does 'Current Zindex > Zindex Open' in the SharpTrader wiki actually mean?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"It means |Current Zindex| > Zindex Open - a magnitude comparison. Zindex Open is the threshold expressed as a positive number (for example 2.0), and the strategy fires when the spread has stretched at least that far from the mean, in either direction. The sign of Current Zindex then decides which leg is the buy and which is the sell, according to whichever Direction mode is selected.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"What is the difference between ZIndexBased and PriceBased Direction modes?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Both share the same trigger and both are fade modes. The difference is how they decide the leg assignment. ZIndexBased uses the sign of the z-score: Z >= 0 means sell left and buy right, Z < 0 means the opposite. PriceBased ignores the z-score sign and compares raw Ask prices: the higher-priced side is sold, the lower-priced side is bought. PriceBased is most useful when the two pair instruments have very different absolute price levels.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"When should I use the Inversed Direction mode?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Inversed is the only mode whose trigger is flipped - it enters while the spread is inside the band (|Z| < Open), not beyond it. Use it when you have strong evidence that the pair is in a regime where small spread deviations expand into large ones rather than reverting. This is an unusual setup; the default behaviour of most pairs is mean-reversion, so Inversed should be reserved for specific regimes you have explicitly observed and tested.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"What is the difference between ZIndexBased and ZIndexSign?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Both are fade modes with identical leg assignment by Z-sign. The difference is in the trigger: ZIndexBased fires whenever the magnitude exceeds the threshold, regardless of sign. ZIndexSign additionally requires Current Zindex and Zindex Open to share the same sign - meaning the spread has stretched further in the direction the threshold was originally configured for. ZIndexSign filters out opposite-extreme triggers; ZIndexBased fires on both extremes symmetrically.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"Which Direction mode is the default for a new pair?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"ZIndexBased is the practical default. It implements the canonical fade-the-divergence pairs trade with symmetric behaviour on both sides of the spread. Start there, backtest under realistic execution conditions, and only move to one of the other modes when you have a specific reason - regime view, asymmetric sizing, sign confirmation, or momentum thesis.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"Can I run Buy1Sell2 and Sell1Buy2 at the same time?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Yes, that is one of the main reasons those one-sided modes exist. Running two strategy instances on the same pair - one with Buy1Sell2 for the negative Zindex side and one with Sell1Buy2 for the positive Zindex side - is equivalent to ZIndexBased except you can size, stop, and parameterise each side independently. Useful when one side has historically been more profitable or you want different sizing per direction.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"Can I change the Direction parameter mid-session while positions are open?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Technically you can, but you should not. Positions opened under one mode were entered against an implicit thesis about which side should win, and the exit logic, take-profit, and stop-loss rules behave consistently with that thesis. Switching mode mid-position leaves you with open trades that the new rule set was never designed to manage. Close all positions cleanly, then change Direction before the next session.\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"How does the Direction parameter interact with the rest of the SharpTrader pairs trading parameters?\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"Direction is the leg-assignment rule; the rest of the parameters - Zindex Open, Zindex Close, ATR filters, lot sizing, take-profit, stop-loss - decide when to exit and how to size. The Direction mode does not change those rules, but it can change which Zindex Close logic makes sense: a fade mode targets reversion to zero, a ride mode targets a wider divergence. Re-tune the exit parameters whenever you change Direction.\"\n          }\n        }\n      ]\n    }\n  ]\n}\n<\/script><\/p>","protected":false},"excerpt":{"rendered":"<p>BJF TRADING GROUP \u00a0\u00b7\u00a0 PRODUCT REFERENCE SharpTrader Pairs Trading: the Direction Parameter Explained \u2014 All 8 Modes Direction controls which side of the pair gets the buy and which gets the sell once the Zindex threshold fires. The eight modes split into two strategic camps \u2014 fade the divergence (mean-reversion) and ride the divergence (momentum) \u2014 with one outlier, Inversed, that flips the trigger condition itself. This page is the practical reference: what each mode&hellip;<\/p>\n","protected":false},"author":1,"featured_media":13075,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[53],"tags":[292,296,249,336],"class_list":["post-13071","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arbitrage-software","tag-pair-trading","tag-pairs-trading","tag-statistical-arbitrage","tag-z-index"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)<\/title>\n<meta name=\"description\" content=\"How the Direction parameter works in SharpTrader&#039;s pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)\" \/>\n<meta property=\"og:description\" content=\"How the Direction parameter works in SharpTrader&#039;s pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/\" \/>\n<meta property=\"og:site_name\" content=\"Forex &amp; Cryptocurrencies Arbitrage Software | BJF Trading Group Inc.\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/bjftradinggroup\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-28T14:18:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-28T15:59:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Boris Fesenko\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Boris Fesenko\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/\"},\"author\":{\"name\":\"Boris Fesenko\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#\\\/schema\\\/person\\\/293df6ddb1f30db046ca9cd8928138a9\"},\"headline\":\"SharpTrader Pairs Trading: Direction parameter explained \u2014 all 8 modes\",\"datePublished\":\"2026-05-28T14:18:38+00:00\",\"dateModified\":\"2026-05-28T15:59:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/\"},\"wordCount\":2338,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bjftradinggroup.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/article-cover-sharptrader-direction-modes-1200x630-1.png\",\"keywords\":[\"pair trading\",\"pairs trading\",\"statistical arbitrage\",\"z-index\"],\"articleSection\":[\"Arbitrage Software\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#respond\"]}],\"publisher\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/\",\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/\",\"name\":\"SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bjftradinggroup.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/article-cover-sharptrader-direction-modes-1200x630-1.png\",\"datePublished\":\"2026-05-28T14:18:38+00:00\",\"dateModified\":\"2026-05-28T15:59:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#\\\/schema\\\/person\\\/293df6ddb1f30db046ca9cd8928138a9\"},\"description\":\"How the Direction parameter works in SharpTrader's pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/article-cover-sharptrader-direction-modes-1200x630-1.png\",\"contentUrl\":\"https:\\\/\\\/bjftradinggroup.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/article-cover-sharptrader-direction-modes-1200x630-1.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/sharptrader-pairs-trading-direction-modes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bjftradinggroup.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SharpTrader Pairs Trading: Direction parameter explained \u2014 all 8 modes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#website\",\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/\",\"name\":\"Forex &amp; Cryptocurrencies Arbitrage Software | BJF Trading Group Inc.\",\"description\":\"FX Software pioneer since 2000\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bjftradinggroup.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#\\\/schema\\\/person\\\/293df6ddb1f30db046ca9cd8928138a9\",\"name\":\"Boris Fesenko\",\"pronouns\":\"He\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g\",\"caption\":\"Boris Fesenko\"},\"description\":\"Born in 1971 in Ukraine, I graduated from East Ukrainian State University and later completed postgraduate studies at the same university, where I also wrote my PhD dissertation. In 2006, I moved to Canada. I am the founder of BJF Trading Group and specialize in the development and implementation of advanced arbitrage trading systems for the Forex and cryptocurrency markets, as well as other trading solutions.\",\"sameAs\":[\"https:\\\/\\\/bjftradinggroup.com\\\/about-boris-fesenko\",\"https:\\\/\\\/www.facebook.com\\\/bjftradinggroup\",\"https:\\\/\\\/www.instagram.com\\\/bjftradinggroup\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/bjftradinggroup\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCapi2ct0Iv7axHJ93wN_bsQ\"],\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/pt\\\/author\\\/boris\\\/\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/#organization\",\"name\":\"BJF Trading Group Inc.\",\"legalName\":\"BJF Trading Group Inc.\",\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bjftradinggroup.com\\\/wp-content\\\/uploads\\\/logo.png\",\"width\":512,\"height\":512},\"foundingDate\":\"2000\",\"founder\":{\"@id\":\"https:\\\/\\\/bjftradinggroup.com\\\/about-boris-fesenko\\\/#person\"},\"address\":{\"@type\":\"PostalAddress\",\"addressRegion\":\"Ontario\",\"addressCountry\":\"CA\"},\"contactPoint\":[{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"support@bjftradinggroup.com\",\"availableLanguage\":[\"English\",\"German\",\"Japanese\",\"Korean\",\"Spanish\",\"Portuguese\",\"Arabic\",\"Indonesian\",\"Vietnamese\"]}],\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/bjftradinggroup\",\"https:\\\/\\\/twitter.com\\\/BjfGroup\",\"https:\\\/\\\/www.youtube.com\\\/@bjftradinggroup\",\"https:\\\/\\\/t.me\\\/bjftradinggroup\",\"https:\\\/\\\/instagram.com\\\/bjftradinggroup\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/bjf-trading-group\\\/\"],\"knowsAbout\":[\"Forex arbitrage\",\"Cryptocurrency arbitrage\",\"Latency arbitrage\",\"News trading\",\"FIX API trading\",\"High-frequency trading\",\"Lock arbitrage\",\"Hedge arbitrage\",\"Pair trading\",\"Algorithmic trading software\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)","description":"How the Direction parameter works in SharpTrader's pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.","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:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/","og_locale":"pt_PT","og_type":"article","og_title":"SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)","og_description":"How the Direction parameter works in SharpTrader's pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.","og_url":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/","og_site_name":"Forex &amp; Cryptocurrencies Arbitrage Software | BJF Trading Group Inc.","article_author":"https:\/\/www.facebook.com\/bjftradinggroup","article_published_time":"2026-05-28T14:18:38+00:00","article_modified_time":"2026-05-28T15:59:30+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png","type":"image\/png"}],"author":"Boris Fesenko","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Boris Fesenko","Tempo estimado de leitura":"11 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#article","isPartOf":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/"},"author":{"name":"Boris Fesenko","@id":"https:\/\/bjftradinggroup.com\/#\/schema\/person\/293df6ddb1f30db046ca9cd8928138a9"},"headline":"SharpTrader Pairs Trading: Direction parameter explained \u2014 all 8 modes","datePublished":"2026-05-28T14:18:38+00:00","dateModified":"2026-05-28T15:59:30+00:00","mainEntityOfPage":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/"},"wordCount":2338,"commentCount":0,"image":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#primaryimage"},"thumbnailUrl":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png","keywords":["pair trading","pairs trading","statistical arbitrage","z-index"],"articleSection":["Arbitrage Software"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#respond"]}],"publisher":{"@id":"https:\/\/bjftradinggroup.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/","url":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/","name":"SharpTrader Pairs Trading: Direction Parameter Explained (All 8 Modes)","isPartOf":{"@id":"https:\/\/bjftradinggroup.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#primaryimage"},"image":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#primaryimage"},"thumbnailUrl":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png","datePublished":"2026-05-28T14:18:38+00:00","dateModified":"2026-05-28T15:59:30+00:00","author":{"@id":"https:\/\/bjftradinggroup.com\/#\/schema\/person\/293df6ddb1f30db046ca9cd8928138a9"},"description":"How the Direction parameter works in SharpTrader's pairs trading strategy: all 8 modes (ZIndexBased, PriceBased, Buy1Sell2, Sell1Buy2, ZIndexSign, Reversed, ZIndexSignInv, Inversed) \u2014 when each triggers and which legs it opens.","breadcrumb":{"@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#primaryimage","url":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png","contentUrl":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/2026\/05\/article-cover-sharptrader-direction-modes-1200x630-1.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/bjftradinggroup.com\/sharptrader-pairs-trading-direction-modes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bjftradinggroup.com\/"},{"@type":"ListItem","position":2,"name":"SharpTrader Pairs Trading: Direction parameter explained \u2014 all 8 modes"}]},{"@type":"WebSite","@id":"https:\/\/bjftradinggroup.com\/#website","url":"https:\/\/bjftradinggroup.com\/","name":"Forex &amp; Cryptocurrencies Arbitrage Software | BJF Trading Group Inc.","description":"FX Software pioneer since 2000","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bjftradinggroup.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/bjftradinggroup.com\/#\/schema\/person\/293df6ddb1f30db046ca9cd8928138a9","name":"Boris Fesenko","pronouns":"He","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/007a433de26ad3eca139ef7f314d6081bf1b619eceb1e5d1f590b8e06f95f05c?s=96&r=g","caption":"Boris Fesenko"},"description":"Born in 1971 in Ukraine, I graduated from East Ukrainian State University and later completed postgraduate studies at the same university, where I also wrote my PhD dissertation. In 2006, I moved to Canada. I am the founder of BJF Trading Group and specialize in the development and implementation of advanced arbitrage trading systems for the Forex and cryptocurrency markets, as well as other trading solutions.","sameAs":["https:\/\/bjftradinggroup.com\/about-boris-fesenko","https:\/\/www.facebook.com\/bjftradinggroup","https:\/\/www.instagram.com\/bjftradinggroup\/","https:\/\/www.linkedin.com\/in\/bjftradinggroup\/","https:\/\/www.youtube.com\/channel\/UCapi2ct0Iv7axHJ93wN_bsQ"],"url":"https:\/\/bjftradinggroup.com\/pt\/author\/boris\/"},{"@type":"Organization","@id":"https:\/\/bjftradinggroup.com\/#organization","name":"BJF Trading Group Inc.","legalName":"BJF Trading Group Inc.","url":"https:\/\/bjftradinggroup.com\/","logo":{"@type":"ImageObject","url":"https:\/\/bjftradinggroup.com\/wp-content\/uploads\/logo.png","width":512,"height":512},"foundingDate":"2000","founder":{"@id":"https:\/\/bjftradinggroup.com\/about-boris-fesenko\/#person"},"address":{"@type":"PostalAddress","addressRegion":"Ontario","addressCountry":"CA"},"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"support@bjftradinggroup.com","availableLanguage":["English","German","Japanese","Korean","Spanish","Portuguese","Arabic","Indonesian","Vietnamese"]}],"sameAs":["https:\/\/www.facebook.com\/bjftradinggroup","https:\/\/twitter.com\/BjfGroup","https:\/\/www.youtube.com\/@bjftradinggroup","https:\/\/t.me\/bjftradinggroup","https:\/\/instagram.com\/bjftradinggroup","https:\/\/www.linkedin.com\/company\/bjf-trading-group\/"],"knowsAbout":["Forex arbitrage","Cryptocurrency arbitrage","Latency arbitrage","News trading","FIX API trading","High-frequency trading","Lock arbitrage","Hedge arbitrage","Pair trading","Algorithmic trading software"]}]}},"_links":{"self":[{"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/posts\/13071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/comments?post=13071"}],"version-history":[{"count":2,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/posts\/13071\/revisions"}],"predecessor-version":[{"id":13074,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/posts\/13071\/revisions\/13074"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/media\/13075"}],"wp:attachment":[{"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/media?parent=13071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/categories?post=13071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bjftradinggroup.com\/pt\/wp-json\/wp\/v2\/tags?post=13071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}