<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lulu_fx on Medium]]></title>
        <description><![CDATA[Stories by Lulu_fx on Medium]]></description>
        <link>https://medium.com/@fxakrbno777_60117?source=rss-47eedbce3807------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7ywO6Gy6BDTQrpf9FYR4ug.jpeg</url>
            <title>Stories by Lulu_fx on Medium</title>
            <link>https://medium.com/@fxakrbno777_60117?source=rss-47eedbce3807------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:11:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fxakrbno777_60117/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My live EA took 1.78x more trades than my backtest. The strategy was fine.]]></title>
            <link>https://levelup.gitconnected.com/my-live-ea-took-1-78x-more-trades-than-my-backtest-the-strategy-was-fine-b368de3de2f1?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/b368de3de2f1</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Mon, 05 Oct 2026 15:50:01 GMT</pubDate>
            <atom:updated>2026-10-05T15:50:01.598Z</atom:updated>
            <content:encoded><![CDATA[<p>I hand-wrote the same ADX in Python and MQL4 so the two would agree. They did not. A 42-bar warm-up cost me 44% of my edge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zI05SQhOhWJZASXA3ffWNg.png" /></figure><p>I had a rule: never use MetaTrader’s built-in iADX.</p><p>There was a reason for it. MT4’s built-in ADX smooths differently from Wilder’s original definition, and I learned that the expensive way.</p><p>It happened on a New York opening-range breakout system. On the Python side I had written my own ADX with pandas. On the MT4 side I was calling the built-in iADX. The backtest looked good. The live results were a different animal.</p><p>I spent days isolating the cause before I finally compared the indicator values themselves and found they simply did not match. Same name, “ADX(14)”, two different calculations underneath.</p><p>So this time I implemented ADX myself and used the identical formula in both Python and MQL4.</p><p><strong>That was the right call. It was also not enough.</strong></p><p>The live EA took <strong>1.78x</strong> the number of trades my Python backtest did. Expectancy came in <strong>44% lower</strong>. Same logic, same period, same data.</p><p>When I traced it, the strategy was not the problem. The indicator values were.</p><h3>“I wrote it myself, so it must match”</h3><p>Here is the order I found things in.</p><p>The discrepancy showed up in forward testing. Python said one trade count for the year. MT4 was clearly taking more. 1.78 times more.</p><p>My first suspect was execution. Slippage, rejected fills, session boundaries. I checked all of it. None of it explained a gap that large.</p><p>Next I suspected the logic. Differences in how the entry condition was implemented, bar-close timing, a wrong shift argument. That was clean too.</p><p><strong>What was left was the indicator.</strong></p><p>I dumped ADX from both Python and MQL4 over the same period and diffed them directly. Same formula, written by the same person, and the values did not agree.</p><p>The MQL4 side was running <strong>+2.32 points high on average</strong>.</p><h3>Wilder smoothing decays more slowly than you think</h3><p>The cause was the warm-up length.</p><p>GoldBreakEA_v1 started its indicator calculation at period × 3 = 42 bars before the first signal. For a 14-period ADX, 42 bars felt like plenty.</p><p>It was not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IPmS50jeVAdkBNBPd6edg.png" /></figure><p>Wilder smoothing is a kind of exponential moving average, but its coefficient is not the one most EMAs use.</p><p><strong>Standard EMA:</strong> α = 2 / (n + 1)<br><strong>Wilder smoothing:</strong> α = 1 / n</p><p>At 14 periods that works out to:</p><ul><li>Standard EMA: α = 2/15 = <strong>0.1333</strong></li><li>Wilder smoothing: α = 1/14 = <strong>0.0714</strong></li></ul><p><strong>Wilder’s is roughly half.</strong> A smaller weight on each new value is the same thing as saying the old values stay in the average longer — including the seed value you made up at the start.</p><p>Solve for the number of bars until the seed’s influence drops below 1% and the difference is stark:</p><ul><li>Standard EMA (α=0.1333): (1-0.1333)^k &lt; 0.01 → <strong>k ≈ 32 bars</strong></li><li>Wilder smoothing (α=0.0714): (1-0.0714)^k &lt; 0.01 → <strong>k ≈ 62 bars</strong></li></ul><p>A 14-period indicator that needs 62 bars to converge. That is <strong>period × 4.4</strong>. My 42 bars were nowhere close.</p><h3>And ADX stacks that smoothing three times</h3><p>It gets worse, because ADX is not one smoothing pass. It is three.</p><ol><li>True Range is smoothed into <strong>ATR</strong></li><li>That ATR is used to smooth <strong>+DI / -DI</strong></li><li>DX is computed from those DIs and smoothed again into <strong>ADX</strong></li></ol><p>Each stage carries part of its seed error forward, so a three-stage indicator <strong>accumulates</strong> what a one-stage indicator would have shed.</p><p>Naively, if one stage needs 62 bars, three stages would need 186 — around <strong>period × 13</strong>. In practice it is not that extreme, because the stages do not reset independently. But it is unambiguously longer than a single-stage indicator, and 42 bars left a visible pile of error by the time it reached ADX.</p><h3>How many bars it actually took</h3><p>I measured it rather than guessing. XAUUSD M5, 20,000 bars, warm-up length varied, Python values compared against MQL4 values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pAR8l1V2giY58TVniY4Gbw.png" /></figure><p><strong>period × 3 (42 bars)</strong> — mean difference <strong>+2.37</strong>, correlation 0.911, threshold pass-rate ratio <strong>1.22x</strong></p><p><strong>period × 6 (84 bars)</strong> — mean difference +0.12, correlation 0.999, pass-rate ratio 1.01x</p><p><strong>period × 10 (140 bars)</strong> — mean difference <strong>+0.00</strong>, correlation <strong>1.000</strong>, pass-rate ratio <strong>1.00x</strong></p><p>It is effectively converged at ×6 and exactly matched at ×10.</p><p>Read the first line the other way around: <strong>at ×3 the correlation was only 0.911.</strong> I had written the same formula twice, and about 9% of the variance was something else entirely.</p><h3>The error was one-directional, and that is what did the damage</h3><p>This is the part that matters most.</p><p>If ADX were simply noisy, the effect would wash out. Sometimes high, sometimes low, and over a few hundred trades the statistics even out.</p><p><strong>It was not noisy. It was biased.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rKEn4Gg-VKNtFQRIJGZkWQ.png" /></figure><p>The EA used ADX &gt; 25 as a trend filter. When an under-warmed ADX reads high, more bars clear the filter.</p><p>The pass rate went from <strong>41.1% to 50.2%</strong>. A factor of 1.22.</p><p>And when I broke down <em>which</em> bars disagreed, the split was lopsided:</p><ul><li><strong>Bars the EA passed and Python rejected: 11.9%</strong></li><li>Bars Python passed and the EA rejected: 2.8%</li></ul><p>More than four to one. The EA was systematically taking trades my backtest would have skipped.</p><p>That is where the 1.78x trade count came from. And because the extra trades were precisely the ones that did not meet the condition, they could only push expectancy down. The measured cost was <strong>44%</strong>.</p><p>Errors like this are part of building EAs, but running into one in the middle of a project is still deflating. It is also the argument for pushing your development environment as close to reality as you can — real tick data, real spreads, real swaps — before you trust any number that comes out of it.</p><h3>This applies to every Wilder-family indicator</h3><p>The problem is not specific to ADX.</p><p>Anything built on Wilder’s smoothing has the same property:</p><ul><li><strong>ATR</strong> — Wilder smoothing directly</li><li><strong>RSI</strong> — smooths average gain and average loss</li><li><strong>+DI / -DI</strong> — ADX components</li><li><strong>ADX</strong> — the three of those stacked</li></ul><p>ADX is the worst case because of the stacking. ATR and RSI are single-stage, so the same warm-up length hurts them less.</p><p>Less, not zero. If you size your stop from ATR, an under-warmed ATR is a <strong>mis-placed stop</strong>, on every trade, in the same direction.</p><h3>The reconciliation I now run after implementing anything</h3><p>Here is the procedure I standardised after this, so that “I wrote it myself, so it must match” never gets to be an assumption again.</p><h3>1. Warm up for at least period × 10</h3><p>The compute cost is nothing. A 14-period indicator reads 140 extra bars; a 20-period one reads 200. Neither memory nor runtime notices.</p><h3>2. Diff the actual numbers against your other implementation</h3><p>This is the real step. Four things get compared:</p><ul><li><strong>Mean difference</strong> — is there a systematic offset</li><li><strong>Correlation</strong> — does the shape agree</li><li><strong>Quantiles</strong> — do they diverge in the tails</li><li><strong>Threshold pass rate</strong> — under the condition you actually trade, do the two agree on the verdict</li></ul><p>The fourth is the one that counts. A correlation of 0.99 still lets the two implementations disagree right where your threshold sits, and that is the only place the EA looks. <strong>Check agreement on the decision, not agreement on the value.</strong></p><p>This is the code I use. MQL4 writes its indicator values to CSV, Python computes its own, and this compares them.</p><pre>import pandas as pd<br>import numpy as np<br> <br>def compare_indicator(py_values, mt4_values, threshold=25.0, name=&#39;ADX&#39;):<br>    &quot;&quot;&quot;<br>    Reconcile a hand-written indicator between Python and MT4.<br>    The point is agreement on the DECISION, not on the value.<br>    &quot;&quot;&quot;<br>    df = pd.DataFrame({&#39;py&#39;: py_values, &#39;mt4&#39;: mt4_values}).dropna()<br>    diff = df[&#39;mt4&#39;] - df[&#39;py&#39;]<br> <br>    print(f&#39;--- {name} ({len(df):,} bars) ---&#39;)<br>    print(f&#39;mean diff   : {diff.mean():+.4f}&#39;)<br>    print(f&#39;std dev     : {diff.std():.4f}&#39;)<br>    print(f&#39;correlation : {df[&quot;py&quot;].corr(df[&quot;mt4&quot;]):.4f}&#39;)<br> <br>    # Do they diverge in the tails of the distribution?<br>    for q in [0.01, 0.25, 0.50, 0.75, 0.99]:<br>        print(f&#39;  {int(q*100):&gt;2}th pct : py={df[&quot;py&quot;].quantile(q):7.2f}  &#39;<br>              f&#39;mt4={df[&quot;mt4&quot;].quantile(q):7.2f}&#39;)<br> <br>    # The real test: does the threshold verdict agree?<br>    py_pass = df[&#39;py&#39;] &gt; threshold<br>    mt4_pass = df[&#39;mt4&#39;] &gt; threshold<br>    both = (py_pass &amp; mt4_pass).mean()<br>    only_mt4 = (~py_pass &amp; mt4_pass).mean()   # EA passes, Python rejects<br>    only_py = (py_pass &amp; ~mt4_pass).mean()    # the reverse<br> <br>    print(f&#39;pass rate py : {py_pass.mean():.1%}&#39;)<br>    print(f&#39;pass rate mt4: {mt4_pass.mean():.1%}  &#39;<br>          f&#39;({mt4_pass.mean() / py_pass.mean():.2f}x)&#39;)<br>    print(f&#39;both pass    : {both:.1%}&#39;)<br>    print(f&#39;mt4 only     : {only_mt4:.1%}   &lt;- one-directional means trouble&#39;)<br>    print(f&#39;py only      : {only_py:.1%}&#39;)<br> <br>    # Share of bars where the verdict differs. Above 1%, distrust the build.<br>    disagree = only_mt4 + only_py<br>    print(f&#39;disagreement : {disagree:.1%}&#39;)<br>    return {&#39;mean_diff&#39;: diff.mean(), &#39;corr&#39;: df[&#39;py&#39;].corr(df[&#39;mt4&#39;]),<br>            &#39;disagree&#39;: disagree, &#39;bias&#39;: only_mt4 - only_py}</pre><p>Running that against the 42-bar build produced the numbers from earlier in this article: <strong>11.9% mt4-only, 2.8% py-only</strong>, and a final bias of +9.1%. That large positive number is what told me the error had a direction.</p><p>A bias near zero means the noise averages out, even if disagree is not small. <strong>A signed bias is the alarm.</strong></p><h3>3. Treat a trade-count gap as the first alarm, not a curiosity</h3><p>If live and backtest trade counts differ by <strong>more than 1.5x, check the indicator before you look at the P&amp;L.</strong></p><p>That is a rule now. Performance differences invite explanations — the market was different, the regime changed — and you can talk yourself into any of them. A trade count is a much harder number to rationalise, which makes it far better for isolating a cause.</p><h3>Three takeaways</h3><ol><li><strong>Writing it yourself does not guarantee agreement.</strong> The formula can be identical and the values still differ if the warm-up is short. Wilder smoothing converges slowly, and ADX stacks it three deep.</li><li><strong>Warm up for period × 10.</strong> ×3 gave correlation 0.911, ×6 gave 0.999, ×10 gave 1.000. The cost is negligible, so start there.</li><li><strong>Bias is more dangerous than noise.</strong> ADX reading +2.32 high lifted the filter pass rate 1.22x, and the disagreement was one-directional — 11.9% against 2.8%. Nothing averaged out, and 44% of the expectancy went with it.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><p>This work was done on 10 August 2026, on XAUUSD M5 over 20,000 bars.</p><p>I am going to keep building these and keep publishing what happens, including the parts that do not work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b368de3de2f1" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/my-live-ea-took-1-78x-more-trades-than-my-backtest-the-strategy-was-fine-b368de3de2f1">My live EA took 1.78x more trades than my backtest. The strategy was fine.</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built the 75% win-rate EA the market wants. It died the moment it worked.]]></title>
            <link>https://levelup.gitconnected.com/i-built-the-75-win-rate-ea-the-market-wants-it-died-the-moment-it-worked-dfb725a216b3?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfb725a216b3</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Mon, 05 Oct 2026 15:46:36 GMT</pubDate>
            <atom:updated>2026-10-05T15:46:36.611Z</atom:updated>
            <content:encoded><![CDATA[<p>674 configurations on gold. The win rate is real and reproducible. Past 75%, the median expectancy turns negative.</p><p>I once catalogued fourteen gold EAs being sold commercially. The median advertised numbers were a 74.6% win rate, a profit factor of 1.30, and a 20.7% maximum drawdown. Median price, about 30,000 yen.</p><p>The EA I was running at the time won <strong>49.2%</strong> of its trades. It lost more often than it won. Expectancy was positive and it had cleared six years of testing, but it lost more often than it won.</p><p>Putting those side by side raised an honest question. <strong>If I cannot build a 75% win-rate EA, is that a skill problem or a structural one?</strong></p><p>So I built one. Here is the conclusion from 674 configurations, up front.</p><p><strong>A 75% win rate is achievable. 51 of 512 configurations reached it. And every configuration that reached it was dead as a product.</strong></p><h3>How a high win rate is manufactured</h3><p>Raising the win rate is not technically hard.</p><p>You do not close losing positions. You add to them in the same direction. The average entry price moves toward you, so a small retracement puts the whole group in profit. Treat the positions as one basket and close the basket when the total is green. The losing trades stop appearing in the record.</p><h3>Why the losses vanish from the history</h3><p>This is the mechanism, so here it is with numbers.</p><p>Buy 10,000 units at 100.00. Price falls to 99.50. You are 50 pips underwater.</p><p>A normal design stops out here. <strong>The history gets one entry: a -1R loss.</strong></p><p>The basket approach does not stop out. It buys another 10,000 at 99.50, bringing the average to 99.75. If price falls to 99.00, it buys another, and the average is 99.50.</p><p>Price recovers to 99.60. The 30,000-unit position has an average of 99.50, so the basket is <strong>green</strong>. Close it.</p><p><strong>The history gets one entry: a win.</strong></p><p>The original 100.00 position finished 40 pips down. That fact is not recorded anywhere, because three positions were closed as one.</p><p>Repeat this and the win rate climbs. Nothing has been fixed — you have simply declined to realise the losses — but a trade log cannot tell the difference.</p><h3>Matching the commercial products’ conditions</h3><p>Almost every high win-rate EA on the market works this way, so I built mine the same way. I wanted a comparison, which meant matching the design.</p><p>Four parameters, swept:</p><ul><li><strong>Grid spacing</strong> — how far price must move against you before the next entry, tested on both an ATR basis and a fixed-pip basis</li><li><strong>Maximum number of adds</strong> — 3 through 10</li><li><strong>Lot multiplier</strong> — 1.0 (flat) through 2.0 (full martingale)</li><li><strong>Basket take-profit</strong> — how many pips from the average entry to close</li></ul><p>674 configurations in total. All on gold, with real spread, on data current as of August 2026.</p><p>My implementation has one safety device the commercial versions generally do not: <strong>a hard stop on the basket as a whole.</strong> Past a certain floating loss, everything closes.</p><p>Without it, accounts blow up. Some of the products I looked at do not publish such a line at all, and one advertises a maximum of 50 concurrent positions. That is where the blow-ups come from.</p><h3>Win rate and expectancy traded off cleanly</h3><p>Sorted into win-rate bands, the result was blunter than I expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s21G9bFJ6ZdOf0xnCAmOZw.png" /></figure><p><strong>55–65% band</strong> — 90 configurations, <strong>99% profitable</strong>. Median expectancy per trade <strong>+0.175R</strong>.</p><p><strong>65–75% band</strong> — 243 configurations, 77% profitable. Median expectancy +0.056R.</p><p><strong>75–85% band</strong> — 174 configurations, <strong>only 29% profitable</strong>. Median expectancy <strong>-0.041R</strong>. Negative.</p><p><strong>85–95% band</strong> — 5 configurations, <strong>none profitable</strong>. Median expectancy -0.138R.</p><p>Expectancy falls monotonically as the win rate rises. There is no band that breaks the pattern.</p><p>And the median crosses into negative territory in <strong>exactly the band the market asks for</strong>. The 74.6% median of the fourteen products I surveyed sits just short of that boundary.</p><p>Forcing the win rate up appears to always cost something elsewhere, and in an EA that something is the edge.</p><p>Worth noting for anyone building with an AI assistant: ask for a higher win rate and it will happily sacrifice everything else to give you one. That failure mode deserves its own test, which I intend to run.</p><h3>Positive expectancy, and the account still shrank</h3><p>Some configurations did keep a positive expectancy. What happens when you put those on an actual account is a separate question.</p><p>Simulation: 3.5M JPY starting capital, maximum drawdown capped at 20% for both, five years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTT-8vFJ-ak9QeolJdT_xg.png" /></figure><p><strong>No averaging down</strong> — 49.2% win rate, expectancy +0.229R, worst single trade -1.1R. After five years: <strong>113,060,000 JPY</strong>, +91.9% annualised.</p><p><strong>78.3% win rate version</strong> — expectancy <strong>+0.177R</strong>, positive. After five years: <strong>3,330,000 JPY</strong>, -0.9% annualised. Below the starting capital.</p><p>On win rate and on expectancy, the 78.3% version looks like the better instrument. The account disagrees.</p><p>The difference is the worst single trade. -1.1R against <strong>-12.0R</strong>.</p><p>The other survivors behaved the same way. The 75.1% version finished at 4.05M (+2.8% annualised), the 76.1% version at 3.35M (-0.8%). None of them came close to the version with no averaging down.</p><h3>Why positive expectancy is not enough</h3><p>Capital compounds at the geometric mean, not the arithmetic one.</p><p>Lose 50% and you need 100% to get back. That asymmetry means one deep drawdown stops the compounding for a long time afterwards.</p><p>Expectancy per trade can be positive while the loss tail is deep enough to drag the geometric mean below zero. <strong>Looking only at expectancy in R hides this completely.</strong></p><p>Here is the check, which takes four lines:</p><pre>import numpy as np<br> <br>def growth_check(r_multiples, risk_per_trade=0.005):<br>    &quot;&quot;&quot;Arithmetic expectancy can be positive while capital shrinks.&quot;&quot;&quot;<br>    r = np.asarray(r_multiples, dtype=float)<br>    arithmetic = r.mean()                      # expectancy in R<br>    returns = 1.0 + r * risk_per_trade         # per-trade equity factor<br>    geometric = np.exp(np.log(returns).mean()) - 1.0<br>    return {<br>        &#39;expectancy_R&#39;: arithmetic,<br>        &#39;geometric_per_trade&#39;: geometric,<br>        &#39;worst_R&#39;: r.min(),<br>        &#39;compounds&#39;: geometric &gt; 0,<br>    }</pre><p>Until I ran this study, I assumed a positive expectancy meant the account grew. It does not.</p><h3>Three mechanisms that guarantee the decay</h3><p>I wanted to rule out “you happened to draw bad configurations”. There are three identifiable paths, and all three are structural.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cDvuCZXiMFYPQiC_nco3XQ.png" /></figure><h3>Mechanism 1: the trade count collapses</h3><p>Averaging down absorbs multiple signals into one basket. Trades that would have been counted separately are merged into a single result.</p><p>Measured: <strong>916 trades fell to 280–364</strong>. A 60–70% reduction. Total R captured fell from 209.8R to 61–88R.</p><p>An edge only materialises through repetition. Cut the sample to a third and you collect a third of the profit from the same edge.</p><h3>Mechanism 2: the loss tail deepens, forcing smaller lots</h3><p>The worst trade goes from -1.1R to somewhere between -4R and -12R.</p><p>To stay inside the same 20% maximum drawdown, the lot size has to come down in proportion to that deeper tail. Smaller lots mean smaller wins too.</p><p>You shrink to survive, and because you shrank, you do not grow. There is no way out of that loop.</p><h3>Mechanism 3: the geometric mean sinks</h3><p>This follows from mechanism 2. A deep tail stops compounding. It is the “+0.177R per trade, -4.8% over five years” from the previous section.</p><h3>Shuffling the trade order 400 times did not change the ranking</h3><p>“Maybe the losses just happened to cluster” is a fair objection, so I tested it.</p><p>I shuffled the trade sequence and re-ran the equity simulation 400 times for each version. Shuffling breaks any dependence on the specific order in which results arrived, while keeping the distribution of results identical. If the ordering were the explanation, the two distributions would overlap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7scQAL4DduiSjVtcONoFiw.png" /></figure><p><strong>The ranking never moved.</strong> The no-averaging-down version had a median of 23.8M JPY. The averaging-down versions came in at 3.5M-7.0M. The two ranges do not overlap at any point.</p><p>“Bad luck” is not available as an explanation. It is the structure.</p><h3>Meanwhile, the high win-rate EAs keep selling</h3><p>After finishing my own testing, I went back and looked at the market again.</p><p>The two products with the most buyers were <strong>both losing money on the tracking accounts run by the selling platform itself</strong>.</p><p>The first had 578 buyers, a tracked profit factor of <strong>0.97</strong>, and a realised result of <strong>-3.13M JPY</strong>. The second had 271 buyers, a profit factor of <strong>0.43</strong>, and a maximum drawdown of <strong>49.75%</strong>.</p><p>I am not naming them. The point is not to attack individual products; it is the structure they all share.</p><p>Third-party work points the same way. Running 43 popular gold EAs over 11.5 years, <strong>19% blew the account</strong> (maximum drawdown 60–102%). Neither price nor review count predicted performance. A separate survey applied basic quality criteria to all 8,056 products on one marketplace and found <strong>0.55% survived</strong>.</p><p>What drives sales is not performance. It is a 70–80% win rate on the label, a smooth rising equity curve in the screenshot, an AI or brand angle, and a price-increase warning. None of those correlate with expectancy.</p><h3>Why buyers ask for a high win rate</h3><p>This is not only a seller problem. Products get built this way because buyers ask for it.</p><p>The reason is easy to understand. Running that 49.2% win-rate EA, I once took <strong>ten losses in a row</strong>. Statistically that is entirely ordinary. Expectancy was still positive. Watching the balance fall ten times in sequence is nonetheless not a pleasant experience.</p><p>At a 75% win rate, ten consecutive losses become vanishingly rare. <strong>The experience is much easier.</strong></p><p>The problem is that the price of that ease is invisible.</p><p>The 49.2% EA loses -1.1R when it loses. You can see the loss. The 78.3% EA loses -12.0R when it loses. <strong>It rarely happens, and when it does, you pay twelve times as much.</strong></p><p>Calm screens most days, and one day that takes everything. Buyers cannot see that from the outside, and the backtest equity curve looks smooth precisely because floating drawdown is never drawn on it.</p><p><strong>High win-rate EAs sell not because they are frauds, but because people cannot sit through losing streaks.</strong> That is a structural source of demand, and it is not going away.</p><p>I have never taken ten losses in a row trading discretionary — I would have stopped long before. Sitting through it was only possible because a machine was doing the trading. It also suggests the operator has some growing to do alongside the system.</p><h3>The thing this study actually taught me</h3><p>A 75% win rate is achievable. The engineering is not difficult.</p><p>The problem is that <strong>building it kills it</strong>. Raising the win rate is itself the thing that removes the edge, so by the time the number the market asks for is met, there is nothing behind it.</p><p>Anyone shopping for a high win-rate EA is, in effect, <strong>shopping in the region where expectancy is negative</strong>. They believe they are selecting on data, and the data is selecting them for the losing side.</p><p>I spent a lot of time on this. My conclusion is that I will not chase it again.</p><p>Win rate — the first number almost everyone looks at when choosing an EA or a signal service — can be manufactured to almost any level you like.</p><p>And a high win rate that also holds up over a year or more is not merely rare. On the open market, I would say it does not exist.</p><p>If you trade discretionary, that means testing and finding your own edge. If you build EAs, take these results as a starting point for your own development.</p><h3>Three takeaways</h3><ol><li><strong>Win rate and expectancy trade off.</strong> Across 674 configurations, expectancy fell monotonically as the win rate rose. There was no exception band.</li><li><strong>A positive expectancy in R does not mean the account grows.</strong> Capital compounds at the geometric mean. A deep enough loss tail stops the compounding even when expectancy is positive.</li><li><strong>High win-rate EAs are built to land in the band where expectancy is negative.</strong> If a product advertises above 75%, check the maximum concurrent positions and whether it has a stop-loss at all, before anything else.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><p>These results are current as of August 2026, on gold, from backtests that include real spread.</p><p>I am going to keep building these and keep publishing what happens, including the parts that do not work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfb725a216b3" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/i-built-the-75-win-rate-ea-the-market-wants-it-died-the-moment-it-worked-dfb725a216b3">I built the 75% win-rate EA the market wants. It died the moment it worked.</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Python backtest said the worst loss was -1.06R. Forex Tester said -14.7R.]]></title>
            <link>https://medium.com/@fxakrbno777_60117/my-python-backtest-said-the-worst-loss-was-1-06r-forex-tester-said-14-7r-9596afd4631c?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/9596afd4631c</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 13:01:04 GMT</pubDate>
            <atom:updated>2026-09-28T13:01:04.611Z</atom:updated>
            <content:encoded><![CDATA[<p>Same strategy, same period, same pair. The 14x difference was the weekend — and a bug in my own code was hiding half of it.</p><p>I was testing a New York fade on GBPUSD. Simple design: take the opposite side of the first move after the New York open.</p><p>Python liked it. Positive expectancy across fifteen years, every year green. The <strong>worst single trade was -1.06R</strong>, and there was <strong>not one loss deeper than -1.5R</strong> in the entire history. The stop was 4×ATR, so nothing could lose more than that. That was the reasoning.</p><p>Then I ran the same period in Forex Tester. There were <strong>89 trades</strong> with R &lt; -1.5, totalling <strong>-222R</strong>. Gross profit was +1,044R, so <strong>21% of the edge was gone</strong>.</p><p>The worst single day was <strong>-14.7R</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-jzWoOvCQglBe4YTt-C1nw.png" /></figure><h3>A Python backtest respects your stop too well</h3><p>The cause was not hard to find.</p><p>My backtest engine filled the stop <strong>at the stop price</strong> whenever price reached it. It treated a stop like a limit order.</p><p>On weekday price action that approximation is not badly wrong. At one-minute resolution price is close enough to continuous that you do get filled as it passes through.</p><p><strong>Weekends are not weekday price action.</strong></p><p>Between Friday’s close and Sunday’s open there is a stretch of time where no price exists. If news lands in that window, Monday opens somewhere other than where Friday finished.</p><p>Your stop can sit 15 pips below Friday’s close, and if Sunday opens 50 pips down, you are filled <strong>50 pips down</strong>. The width of your stop has nothing to do with it.</p><p>Which means that for any position held across a weekend, the loss is set by <strong>the gap, not the stop</strong>.</p><h3>How big weekend gaps actually get</h3><p>I needed numbers, not intuition.</p><p>Using Dukascopy tick data, I measured every weekend gap on GBPUSD from 2012 to 2026<strong>–753 weekends</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P9GN-XC8VoEzt6OfAxDG7w.png" /></figure><p><strong>Median |gap|: 8.2 pips</strong><br><strong>90th percentile: 28.6 pips</strong><br><strong>99th percentile: 101 pips</strong></p><p>Now put that next to the strategy’s stop, which at 4×ATR was around 15 pips.</p><p><strong>26% of weekends gapped past the stop.</strong><br><strong>8% of weekends gapped more than 2R.</strong></p><p>One weekend in four, the stop was decorative.</p><h3>The big ones are not evenly scattered</h3><p>The 101-pip tail was not random. Looking at what sits at the end of the distribution, the same categories keep appearing.</p><p><strong>Weekends with a central bank decision on the Friday or the Monday</strong> — especially after a Friday US payrolls print, or when BoJ-related news lands in Monday’s Asian session.</p><p><strong>Elections and referendums</strong> — counting runs through Sunday night into Monday morning, so price moves the moment the market opens.</p><p><strong>Geopolitical events</strong> — whatever happened over the weekend gets priced in all at once on Monday.</p><p><strong>Weekends spanning a quarter-end or fiscal year-end</strong> — flows get one-sided.</p><p>For GBPUSD specifically, the 2016 EU referendum and the September 2022 fiscal selloff are what built the tail.</p><p>The practical read: <strong>a calendar tells you in advance which weekends are dangerous</strong>, so you do not have to treat all 753 alike. But some of that tail is geopolitical and arrives unannounced, so a calendar alone is not a risk control either.</p><p>For day-trading FX, weekends are the natural enemy. Closing out the same day removes the possibility of waking up to an accident.</p><h3>Across a weekend, risk stops being per-trade</h3><p>Looking closely at the -14.7R day showed me the structure.</p><p>On 4 October 2024, <strong>four positions took the same gap at once</strong>.</p><p>This strategy can fire multiple signals in a single day. It is fading the New York open, so those signals are in the same direction at similar levels. On a weekday they resolve independently and the risk spreads out.</p><p>Across a weekend it does not spread out. <strong>One gap hits every open position simultaneously, in the same direction.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8S27DGlDih9GzHQbaRO0WQ.png" /></figure><p>Sizing at 0.5% risk per position sounds conservative, until four of them are open — that is 2%. And if the gap is 2R, the realised loss is 4%.</p><p>That changed how I size these.</p><p><strong>In any configuration that can hold across a weekend, the risk unit is the day, not the trade.</strong> Concurrent positions × risk% is your real daily loss limit.</p><h3>My first implementation of the fix was wrong</h3><p>Now the part where my own code was lying to me.</p><p>When I wrote the weekend-gap simulation, the first version applied the gap <strong>in both directions</strong>. Gap against you, fill the stop at the gap price. Gap in your favour, fill the take-profit at the gap price.</p><p>Symmetric. Fair-looking. Wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bVBhlkjgbvA4kzejUyIvEQ.png" /></figure><p><strong>A take-profit is a limit order.</strong> MT4 and Forex Tester both fill limits <strong>at the specified price</strong>. If price gaps 100 pips in your favour and your TP sits where you put it, you get filled where you put it. The gap does you no good.</p><p>A stop is different. It is treated as a market order, so it fills at the gap price.</p><p><strong>Gap repricing only ever happens against you.</strong></p><p>I had not implemented that asymmetry, so the results came out better than reality:</p><ul><li>Weekend-hold expectancy: reported <strong>+0.70R</strong>, actually <strong>+0.33R</strong></li><li>Reference configuration mo/DD: reported <strong>0.235</strong>, actually <strong>0.097</strong></li></ul><p><strong>The 0.275 mo/DD figure I had been quoting was an artefact.</strong> The real number was 0.097 — down by roughly two thirds.</p><p>That landed at a point where I thought I had finally built something good, and it was thoroughly demoralising. I did not touch development much that day.</p><p>The value of it is that the same class of accident does not happen twice.</p><h3>Forex Tester’s data was not trustworthy in the tails either</h3><p>One more problem forced a decision.</p><p>Measured on Forex Tester’s bundled data, weekend gaps came out <strong>smaller than the Dukascopy measurement</strong>.</p><p>The reason is a synthetic bar at 21:00 Sunday. A bar gets constructed in a window where nothing actually traded, which interpolates the space between Friday’s close and Sunday’s open and makes the gap look partly filled.</p><p>Two concrete cases:</p><ul><li><strong>25 September 2022</strong> — the sterling selloff weekend. Forex Tester processed it as <strong>-1.7R</strong></li><li><strong>25 February 2022</strong> — Forex Tester shows <strong>-6.5R</strong> here</li></ul><p>Same data source, two weekends, two different treatments.</p><p>So I made it explicit: <strong>tail risk is evaluated from Python on Dukascopy tick data.</strong> Forex Tester’s behaviour near the middle of the distribution is closer to a live platform, and I still use it for that. For extremes, real data wins.</p><p>The lesson was not to pick one tool. It was to decide, in advance, <strong>which tool answers which question</strong>.</p><h3>What I check now on any weekend-holding strategy</h3><p>For any configuration that can open on a Friday and carry, these three come out every time.</p><h3>1. Count and sum of R &lt; -1.5</h3><p>Not just from Python — pull the deep losses out of the Forex Tester history too. Count them, total the R, and <strong>split out how many were weekend holds</strong>.</p><p>In the example above, 61 of the 89 were weekend holds. Nearly seven in ten.</p><h3>2. Total risk per day</h3><p>Concurrent positions × per-trade risk%, treated as the maximum daily loss.</p><p>MaxConcurrent of 4 at 0.5% each is 2% a day. A 2R gap makes it 4%. I look at that number before I set the concurrency cap, not after.</p><h3>3. Verify the weekend-span count is actually zero</h3><p>If the design says no Friday signals, <strong>count it and confirm it is really zero</strong>.</p><p>This is where I got caught once. Same NY fade, different pair (GBPJPY).</p><p>I had built my bar index from <strong>bars that exist</strong>, which is to say bars where trading happened. There are no bars on Saturday and Sunday, so the bar after Friday’s last is Sunday’s first.</p><p>Write “keep this limit order alive for N bars” or “exit after N bars” against that index, and <strong>the weekend becomes invisible</strong>.</p><p>A signal fired Friday evening, the limit was supposed to live five bars, and the fifth bar was Sunday’s open. It filled there. That shape of fill happened <strong>265 times</strong>.</p><p>The design also said “exit at the Tokyo open the next morning”, so positions opened on Friday were carried to Monday. They took the gap. Worst case <strong>-10R</strong>.</p><p>The fix is simple: <strong>decide the day of week from the actual timestamp of the signal bar.</strong> Counting on a sequential bar index steps straight over the market closure.</p><p>After fixing it, I print the weekend-span count on every run and confirm it is zero before I look at anything else.</p><pre># Confirm no position actually spans a weekend<br>def count_weekend_spans(trades):<br>    &quot;&quot;&quot;Count trades whose entry and exit straddle a Saturday or Sunday.&quot;&quot;&quot;<br>    spans = 0<br>    for t in trades:<br>        # Judge on dates. A bar index steps over the market closure.<br>        days = pd.date_range(t[&#39;entry_time&#39;].date(),<br>                             t[&#39;exit_time&#39;].date(), freq=&#39;D&#39;)<br>        if any(d.weekday() &gt;= 5 for d in days):  # 5=Sat, 6=Sun<br>            spans += 1<br>    return spans<br> <br>assert count_weekend_spans(trades) == 0, &#39;a position is still spanning a weekend&#39;</pre><p>It is an assert because reading it off a report is how you miss it.</p><h3>Three ways to handle the weekend, compared</h3><p>There are three options. I ran all of them.</p><h3>Option 1: no signals on Friday</h3><p>The safest. Nothing spans a weekend, so the gap risk is gone.</p><p>The cost is opportunity. Dropping one of five trading days cuts the <strong>trade count by about 20%</strong>.</p><p>If the edge does not depend on the day of week, expectancy is unchanged and only the count falls: <strong>20% less gross profit for a large reduction in tail risk.</strong></p><h3>Option 2: half size on Fridays</h3><p>The compromise. Keep the trades, halve the damage when a gap lands.</p><p>But <strong>halving a risk is not removing it</strong>. That -14.7R day is -7.35R at half size. Against a prop firm’s daily drawdown limit, that is still a failing number.</p><h3>Option 3: carry them</h3><p>Maximum trade count. Maximum tail.</p><p>For this strategy that meant 89 trades at R &lt; -1.5 totalling -222R — <strong>21%</strong> of a +1,044R gross profit, handed to weekends.</p><h3>What I chose</h3><p><strong>Option 1.</strong></p><p>The reason is that this was built for prop firm accounts, which have a hard daily drawdown limit. Eliminating the risk of a single event ending the account was worth more than 20% of the gross.</p><p>On a personal account with a higher drawdown tolerance and a need for trade count, Option 2 is defensible. Even then, <strong>compute your maximum daily loss before you decide</strong>: concurrent positions × risk% × expected gap in R.</p><h3>Three takeaways</h3><ol><li><strong>A Python backtest does not simulate weekend gaps.</strong> Filling stops at the stop price makes losses deeper than -1.5R structurally impossible. The real history had 89 of them, totalling -222R.</li><li><strong>Gap repricing is one-directional.</strong> Take-profits are limit orders and fill at your price. Apply the gap symmetrically and expectancy more than doubles on paper. That is how I ended up quoting an mo/DD of 0.275 that did not exist.</li><li><strong>Across a weekend the risk unit becomes the day.</strong> Positions opened the same day sit in the same direction at similar levels, so one gap hits all of them. Concurrent positions × risk% is the number that matters.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><p>This work is current as of 28 August 2026, on GBPUSD, with gaps measured from Dukascopy data covering 753 weekends between 2012 and 2026.</p><p>I am going to keep building these and keep publishing what happens, including the parts that do not work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9596afd4631c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built 90 trading systems in six months. Three survived.]]></title>
            <link>https://medium.com/@fxakrbno777_60117/i-built-90-trading-systems-in-six-months-three-survived-e29ff6749743?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/e29ff6749743</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[backtesting]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Thu, 10 Sep 2026 13:01:02 GMT</pubDate>
            <atom:updated>2026-09-10T13:01:02.146Z</atom:updated>
            <content:encoded><![CDATA[<h3>What 87 failures taught me about data leakage, overfitting and the gap between a validation score and reality — in a domain that bills you for the difference the same week.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oQS1nlK0f75B0fYcf6dFdQ.png" /></figure><p>Six months ago I started building automated trading systems with Claude. I have now built more than ninety, run over 30,000 parameter configurations through the same validation pipeline, and put the output in front of real money.</p><p>Three survived. Eighty-seven did not.</p><p>I did not expect that. I thought this would be easier. I started on a fairly naive assumption — that with AI in the loop, building a system that returns five per cent a month would be reasonably straightforward.</p><p>It was not, and the way it was not turned out to feel exactly like everything else I have tried in this market.</p><p>The eighty-seven turned out to be the more valuable data set. Every one of them failed for one of five reasons, and four of those five already have ordinary machine learning names: data leakage, overfitting to a search, train-serving skew, and distribution shift.</p><p>I just paid for them in a currency that does not let you round the error down.</p><p>The one-line summary of six months: <strong>AI made me ten times faster at building these systems, so for three months I failed ten times faster than before.</strong> My first thirty were not remotely viable. What eventually changed was not the tooling. It was a short list of checks I agreed in advance never to skip.</p><h3>Ninety systems in six months</h3><p>The arithmetic first, because it is the only reason a sample size exists here.</p><p>Implementing one strategy as a Python backtest used to take me most of a week. Porting it to MetaTrader added one to two more. With in-sample and out-of-sample splits, walk-forward and quartile testing, a single system was a three to six week project.</p><p>Six months buys you about ten of those. Once Claude was writing the implementation from a specification I wrote, the same work compressed to two to four days per system.</p><p>Ninety is a throughput number, not a skill number. It bought exactly one thing: enough failures to see a pattern instead of an anecdote.</p><p>It also taught me something about the tooling in the least comfortable way available. When I asked for a system that made five per cent a month, I got one. The equity curve was beautiful.</p><p>The model had done precisely what I asked, and what I had actually asked for was a good-looking curve on historical data — which is trivially satisfiable if you are allowed to peek at the future or search hard enough.</p><p>That is specification gaming, and I wrote the specification. My prompts now describe what must never happen rather than what result I want.</p><h3>Part one: the five ways 87 systems died</h3><h4>1. The code could see the future</h4><p><strong>21 of the 87.</strong> In your vocabulary: data leakage.</p><p>The symptom is a clean rising equity curve, expectancy around +0.5R, a win rate in the sixties. The cause is that somewhere in the code, a decision used a value that would not have existed at that moment in real time.</p><p>In MetaTrader this is almost always a shift argument of zero. iMA(NULL, PERIOD_H1, 40, 0, MODE_EMA, PRICE_CLOSE, 0) reads the current bar, and the current bar has not finished forming.</p><p>Its close keeps moving until it does. Reading it is reading the future. In pandas the same bug wears different clothes: a rolling window that was never shifted, a stray df.iloc[i:], a comparison against next_bar.close.</p><p>The four versions I kept producing:</p><ul><li>Higher timeframe moving averages read at shift=0. By far the most common — it appeared in more than twenty of the ninety systems.</li><li>Ichimoku leading spans, which contain forward-projected values by construction.</li><li>Weekly highs and lows treated as settled while the week was still open.</li><li>Direct references to the next bar in pandas.</li></ul><p>One Ichimoku-based system produced a +120 per cent annual equity curve in Python. When I finally found a system with numbers like that, I was genuinely, straightforwardly excited.</p><p>I started the MetaTrader port, and partway through I checked the shift arguments and found that the cloud’s leading span — projected twenty-six bars ahead — was being read as the present. After the fix, expectancy was −0.06R.</p><p>Working out that the thing I had been excited about was an illusion the model had built, and finding myself back at the start, felt close to being betrayed by something. In hindsight it was the single most valuable event of the six months. It became the first thing I check, every time.</p><p>The lesson is not “be careful.” I was being careful. The lesson is that care does not scale to ninety systems, and that this bug is mechanically detectable, so it should be caught mechanically rather than morally.</p><h4>2. I optimised my way into noise</h4><p><strong>34 of the 87. The largest single cause.</strong></p><p>Run a parameter sweep and you will find a configuration that looks excellent. That is not evidence. That is what sweeps do.</p><p>A MACD strategy with a 3×3×3 grid: the best combination gave +0.42R with a t-statistic of 3.2 in sample. I called it real and ran 2024–2025 out of sample. Expectancy: −0.18R. Not degraded — reversed.</p><p>An RSI and Bollinger combination, seven parameters, roughly ten thousand configurations. In sample: +0.55R, with monthly return over maximum drawdown at 0.52. The same ratio out of sample was 0.03.</p><p>Three things now make me suspicious before I look at the holdout at all:</p><ul><li>A monthly-return-to-drawdown ratio above 0.5 in sample. Real edges do not look like that.</li><li>Results that jump sharply between adjacent parameter values. A real effect degrades smoothly; noise does not.</li><li>Results that disappear entirely when the instrument or timeframe changes.</li></ul><h4>3. Python and MetaTrader disagreed</h4><p><strong>15 of the 87.</strong> Train-serving skew, with a broker attached.</p><p>Identical logic, two engines, different answers. A gold strategy producing +0.55R in Python produced +0.26R after the port. Less than half.</p><p>Neither engine was wrong. The gap was everything my Python model was not simulating: spread that widens three to tenfold around news rather than sitting at its average, slippage on market orders, weekend gaps that Python treats as a continuous series, swap accruing daily including the triple charge on Wednesdays, and stops that trigger on an intrabar tick rather than at the next bar’s close.</p><p>The weekend gap was the expensive one. My Python worst case was −1.06R. The live worst case was −6.6R.</p><p><strong>You do not know whether a system works until it has run on MetaTrader against real ticks.</strong> That is the largest single lesson of the six months. Watching the balance drain is a bleak feeling, and it arrives at exactly the same moment as the urge not to give up yet.</p><p>The Python number is now a screening number and nothing else. Anything that survives it goes to a tick-level simulator with real spread data, and the rule is that it must retain at least seventy per cent of the Python expectancy. Below that I assume an implementation bug, not a market effect.</p><h4>4. The edge had already died inside my sample</h4><p><strong>12 of the 87.</strong> Distribution shift, hidden by averaging.</p><p>A MACD strategy on the Tokyo session showed +0.028R across six years, passed walk-forward, and looked like a slow honest edge. Split those six years into four chronological quarters and the sequence is <strong>+0.09R, +0.05R, −0.04R, −0.11R</strong>: a monotone slide that crosses into negative territory halfway through the sample.</p><p>That is not an edge with noise around it. That is an edge that stopped working partway through and was being carried by its own history. The full-period average was describing a market that no longer existed.</p><p>A whole-period backtest is an average over regimes. If the regimes differ, the average is fiction. Four chronological splits take about a minute to add, and it is the one test I would keep if I could only keep one.</p><h4>5. The costs ate it</h4><p><strong>5 of the 87, and all five were high-frequency systems.</strong></p><p>A gold M1 scalping strategy assumed a fixed three pip spread and produced +0.25R. The live account averaged 4.5 pips, went to 15–30 around news, and added half a pip to two pips of slippage. Live expectancy: +0.03R. The edge was real. It was simply smaller than the cost of harvesting it.</p><p>How much of an edge the costs take is decided almost entirely by holding period. M1 scalping, held five to thirty minutes, loses forty to seventy per cent of it.</p><p>M15 intraday, one to eight hours, loses fifteen to thirty. H1 swing, eight to seventy-two hours, loses five to fifteen. Hold to H4 or daily and it becomes close to negligible.</p><p>Of the twenty scalping systems I built, zero reached a live account once costs were modelled honestly. I no longer start there.</p><h4>What killed what</h4><ul><li><strong>Overfitting to a search — 34 systems, 39 per cent</strong></li><li><strong>Data leakage — 21 systems, 24 per cent</strong></li><li>Train-serving skew — 15 systems, 17 per cent</li><li>Distribution shift — 12 systems, 14 per cent</li><li>Cost underestimation — 5 systems, 6 per cent</li></ul><p>Two causes account for 63 per cent of everything, and neither requires judgement to catch.</p><h3>Part two: what the three survivors had in common</h3><p>Three systems cleared the whole pipeline: a Keltner channel strategy that only trades on Tuesdays, a Fibonacci retracement book spread across four markets, and a gold breakout with higher-timeframe gates.</p><p>On the surface they have nothing in common. Structurally they share four things, and the first is the one I did not expect.</p><h4>They were allowed to stay out</h4><p>All three decline more than half the signals their own entry logic generates. The Keltner system skips roughly eighty per cent of them on its day-of-week filter alone. The Fibonacci book skips sixty to seventy per cent. The gold breakout skips sixty-five to seventy-five.</p><p>This is selective prediction, and it behaves the way the abstention literature says it should: <strong>a model permitted to decline the cases it handles badly outperforms the same model forced to answer everything.</strong></p><p>The mechanism here is unglamorous — fewer trades means less spread paid, and fewer positions held through regimes the system was never good at — but the effect is not marginal.</p><p>It is also the cheapest change available. Adding a filter to an existing system takes half an hour. Of everything in this article, it is the thing I would do first.</p><p>The intuition it violates is that more signals means more edge. In this data the relationship ran the other way, every time.</p><h4>They required agreement from a coarser view</h4><p>None of the three decides on its entry timeframe alone. Each gates on the state of a slower one.</p><p>The gold breakout is the cleanest natural experiment I have, because I have the before and after. The M5 breakout on its own had negative expectancy, and zero of 128 configurations were viable.</p><p>Gate it on H1 and H4 EMA agreement and expectancy becomes +0.136 to +0.149R, with monthly return over max drawdown of 0.088 to 0.097.</p><p>Add a daily volatility gate and it rises to +0.137 to +0.170R and 0.116 to 0.123. The t-statistic lands between 1.9 and 2.4, with positive expectancy in five or six of six years — <strong>while firing about sixty per cent less often.</strong></p><p>Adding one coarse-grained context feature turned a dead strategy into a live one. Removing signals added edge. Both sentences describe the same change.</p><p><strong>This is the system currently running on my funded Fintokei account</strong>, which is where I find out how much of a backtest was ever real. I compare the live ticks against the simulated expectancy every week.</p><h4>They cleared a fixed statistical bar</h4><p>Every survivor met all four of these, and the thresholds were set before looking:</p><ul><li>t-statistic ≥ 2.0</li><li>n ≥ 100 trades</li><li>positive expectancy in at least five of six years</li><li>monthly return over max drawdown ≥ 0.05</li></ul><p>For scale: the Keltner system produces +0.041R expectancy, a 49.6 per cent win rate, about 45 trades a year, +18.2 per cent over six years with a maximum drawdown of 3.8 per cent — a monthly return of 0.24 per cent, t = 2.3.</p><p><strong>That is what a real, small, durable edge looks like.</strong> It looks nothing like the +0.5R systems in part one, all of which were fictional.</p><p>I let two systems through at t ≈ 1.5 because they were interesting. Both went negative on re-testing.</p><h4>They were small</h4><p>Three indicators or fewer, twenty lines of conditional logic or fewer. Every system I built with five or more indicators and fifty or more lines of conditions died, of overfitting or of a bug I could not find.</p><p>More parameters means a larger search space means a better chance the sweep finds noise that fits. This is the bias-variance tradeoff arriving with an invoice.</p><p>Ninety built, three left. Set against what I pictured when I started, that is a hard number to sit with. And the three are not settled either — whether they keep working is still an assumption rather than a result.</p><p>Somewhere in there I started genuinely wondering whether anyone actually earns a stable income from these things.</p><h3>The gate</h3><p>The change that actually moved my survival rate was taking my eyes out of the decision.</p><pre>import numpy as np<br>import pandas as pd<br><br>def validate(trades: pd.DataFrame, r_col: str = &quot;r_multiple&quot;) -&gt; None:<br>    &quot;&quot;&quot;Raise unless the backtest clears all four non-negotiable checks.&quot;&quot;&quot;<br>    r = trades[r_col].to_numpy()<br>    n = len(r)<br>    ev = r.mean()<br>    t_stat = ev / (r.std(ddof=1) / np.sqrt(n))<br>    assert n &gt;= 100, f&quot;sample too small: n={n}&quot;<br>    assert ev &gt; 0.02, f&quot;expectancy too thin: {ev:.4f}R&quot;<br>    assert t_stat &gt;= 2.0, f&quot;not significant: t={t_stat:.2f}&quot;<br>    # Chronological quarters. Split by position, never by value.<br>    quarters = np.array_split(np.arange(n), 4)<br>    q_ev = [r[idx].mean() for idx in quarters]<br>    assert all(q &gt; 0 for q in q_ev), (<br>        f&quot;expectancy not positive in every quarter: {[round(q, 3) for q in q_ev]}&quot;<br>    )</pre><p>Four lines of policy, and the reason it works has nothing to do with the statistics. <strong>An assertion fails before I have had time to become attached to a result. An equity curve does not.</strong></p><p>The full pipeline a system clears before it touches money:</p><ol><li><strong>Source audit for leakage.</strong> Every reference is to a bar that has closed.</li><li><strong>In-sample / out-of-sample split, 70/30.</strong> Out-of-sample positive, retaining at least 80 per cent of in-sample expectancy.</li><li><strong>Walk-forward.</strong> At least 80 per cent of validation windows positive.</li><li><strong>Chronological quartiles.</strong> Positive in all four.</li><li><strong>Significance.</strong> t ≥ 2.0 and n ≥ 100.</li><li><strong>Tick-level simulation.</strong> At least 70 per cent of the Python expectancy retained.</li><li><strong>One month of live ticks at minimum size.</strong> At least 70 per cent of the simulated expectancy, and no execution bugs.</li></ol><p>Three of ninety cleared all seven. Every system I pushed live <em>without</em> clearing them lost money — no exceptions, which is a small enough sample to be luck but a large enough one that I stopped testing the hypothesis.</p><p>Two honest caveats. A t-statistic of 2.0 is a convention, not a law, and it is doing a lot of work here on a single sample with <strong>no correction whatsoever for the number of configurations searched</strong> — which, at over 30,000, is not a small number.</p><p>My thresholds are deliberately strict because I would rather discard real edges than trade fictional ones, but “strict” is not the same as “correct.”</p><p>And stage one cannot be automated the way the others can. By the time you have a trade log, leakage is already baked into it. That stage stays a human reading source line by line, asking of every value: when does this become knowable?</p><h3>If you take two things</h3><p>Overfitting and data leakage killed 63 per cent of my systems. Neither needs better judgement to catch. Both need a step you decide in advance not to skip.</p><p>So: take a model you currently believe in. Audit it for any feature computed from a period that had not closed at decision time. Then split its predictions into four chronological quarters and look at each one separately.</p><p>If it survives both, you have learned something. If it does not, you have learned more, and you have learned it before it was expensive.</p><p>I am going to keep building these with Claude, and I am going to keep publishing what happens — including the ones that do not work.</p><h3>Resources</h3><p>Longer write-ups of the individual results referenced above:</p><ul><li><em>My Python backtest said 0.55R, MetaTrader said 0.26R</em> — the platform gap in detail</li><li><em>Your backtest passed. Now split it into four parts and look again.</em> — quartile testing</li><li><em>Two tiny coding bugs reversed every conclusion I’d reached about trading</em> — the leakage bugs</li><li><em>What 29,960 EA configurations told me about which edges are real</em> — the full configuration sweep</li></ul><p><em>All figures are backtest or forward-test results from my own runs. Nothing here is investment advice, and past results do not predict future returns.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e29ff6749743" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One perfect strategy, or fifteen mediocre ones? I measured both.]]></title>
            <link>https://medium.com/@fxakrbno777_60117/one-perfect-strategy-or-fifteen-mediocre-ones-i-measured-both-90fb4b68efd4?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/90fb4b68efd4</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 12:31:01 GMT</pubDate>
            <atom:updated>2026-09-08T12:31:01.178Z</atom:updated>
            <content:encoded><![CDATA[<p>Six months chasing the single system that returns 5% a month, and the portfolio math that finally worked instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o3lrq1JrwN1PdVuAbaYV9A.png" /></figure><p>“I want to build one EA that makes five per cent a month.”</p><p>That was my goal six months ago. After building more than ninety automated trading systems with Claude and running over 30,000 parameter configurations through the same validation pipeline, I am now fairly sure that goal is <strong>structurally impossible</strong> — not hard, not rare, impossible for someone in my position.</p><p>What replaced it works better. Fifteen small edges, each returning somewhere between +0.2% and +0.5% a month on their own, combined into one book that reaches a monthly-return-to-max-drawdown ratio of <strong>0.63</strong>. The best single strategy I own reaches 0.58. The average one reaches 0.20.</p><p>The interesting part is not that diversification helps. Everyone knows diversification helps. The interesting part is <strong>how much of the gain comes from the weighting scheme rather than from the strategies themselves</strong>, and that the answer is measurable.</p><h3>Why one perfect system is not available to me</h3><p>Three arguments, in increasing order of how much they cost me to learn.</p><p><strong>The Sharpe arithmetic.</strong> To hold +5% a month (roughly +80% a year) with a 20% annual drawdown, you need a Sharpe ratio above 4. To do it with a 10% drawdown you need 8. Sustained Sharpe above 4 essentially does not exist in live retail trading. When it appears in a backtest, it is look-ahead bias, an over-searched parameter grid, or a regime that happened to be kind.</p><p><strong>The edge taxonomy.</strong> In a market turning over seven trillion dollars a day, the exploitable asymmetries fall into three groups: information edges, execution edges, and statistical edges. The first two require infrastructure I do not have and cannot buy. The third is available to anyone with data and patience — and its realistic ceiling is somewhere around +0.2% to +1.0% a month. That is not a discouraging number. It is just a number, and I spent months refusing to believe it.</p><p><strong>Regime mortality.</strong> Even a system that does hit +5% will stop. 2020, 2022, 2023, 2024 each rearranged something structural. A single system’s useful life is, in my experience, eighteen to thirty-six months. A strategy you cannot replace is a strategy you are counting down.</p><p>So I stopped trying to find one system and started trying to own many.</p><h3>What correlation actually buys you</h3><p>The mechanism is not complicated, and it is worth stating precisely because the intuition people carry is usually wrong.</p><p>Blend two return streams at equal weight and the combined volatility is not the average of the two. It is the average only when they are perfectly correlated. At zero correlation the combined volatility drops to about 70% of the simple average. At negative correlation it drops further. <strong>Returns average; risk does not.</strong> That gap is the entire trade.</p><p>Extend it to fifteen streams with an average pairwise correlation of 0.2 and combined volatility falls to roughly 40% of the simple average. Same expected return, less than half the risk. That is a 2.5x improvement in the ratio that matters, produced by nothing except owning several things at once.</p><p>Here is what that looked like when I measured it rather than derived it. The average single strategy in my book runs at a monthly-return-to-drawdown ratio of 0.20. Fifteen of them at equal weight: <strong>0.51</strong>. The same fifteen with proper risk weighting: <strong>0.63</strong>. My single best strategy, the four-market Fibonacci book, reaches 0.58 — and it is beaten by a portfolio of things that are individually worse than it.</p><h3>The fifteen</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rv-8Jhjd_OQPdU9uAFNsCA.png" /></figure><p>The book runs across GOLD, EURUSD, GBPUSD, SPX500, US100 and BTCUSD, on M5, H1 and H4. The individual strategies are unremarkable, and that is the point: a Keltner channel that only fires on Tuesdays, Fibonacci retracements at the 0.618 level across four markets, supply-and-demand zone breaks on two currency pairs, a daily-range-follow with an RSI band filter, an NY-open fade on GBPUSD, a gold breakout gated on higher-timeframe agreement.</p><p>Their individual ratios run from 0.10 to 0.33. Not one of them is good enough to trade alone with conviction. The mean is 0.20.</p><p>Two are worth pulling out because they show what “uncorrelated” actually means in practice.</p><p><strong>The NY-open fade on GBPUSD</strong> returns +0.201R per trade with a ratio of 0.33, and it holds up across fifteen years of out-of-sample data, not six. GBP has a persistent tendency to reverse its first move after the New York open — plausibly a liquidity handover artifact as London winds down. Fifteen years of persistence is rare enough that it earns a larger weight on durability alone.</p><p><strong>The daily-range-follow with an RSI filter</strong> is the clearest example of a filter creating an edge rather than refining one. Raw, it returns +0.089R with a ratio of 0.15. Restricted to fire only when RSI(28) sits between 60 and 70, it returns +0.174R with a ratio of 0.24. Below 60 the trend is too weak to follow; above 70 the market is stretched enough to snap back. The band in between is where continuation actually continues.</p><h3>The correlation matrix, measured</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kebYsqu_ZgY2Actp9XL4Qg.png" /></figure><p>Across the 105 pairs in the book, measured on monthly returns:</p><p>The highest correlation is 0.42, between the gold and S&amp;P500 Fibonacci legs — both are long-biased mean-reversion in risk assets, so they sink together when risk sentiment turns. The lowest is −0.18, between the Friday MFI strategy on EURUSD and the NY-open fade on GBPUSD: different instruments, different sessions, opposite logic. The average across all pairs is <strong>0.19</strong>, and <strong>78 of the 105 pairs sit below 0.3</strong>.</p><p>An average pairwise correlation under 0.2 is where the diversification math starts paying properly. Getting there was deliberate, along four axes:</p><ul><li><strong>Instrument.</strong> Six markets, chosen so that the obvious pairs (SPX/NAS) are the exception rather than the rule.</li><li><strong>Timeframe.</strong> M5, H1 and H4. Short-horizon noise is close to independent; long-horizon trend is not.</li><li><strong>Session.</strong> Tuesday-only, Friday NY, Asian open, NY open. Strategies that fire at different times cannot lose together at the same time.</li><li><strong>Strategy type.</strong> Pullback, breakout, mean-reversion, trend-following, calendar filters. Each type has a market regime it is good at and one it is bad at, and those do not line up.</li></ul><p>The fourth axis is the one people skip, and it is the one that keeps correlations low when the first three fail — which they do, in a crisis, when everything correlates.</p><h3>Equal weight leaves a fifth of the gain on the table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JQud_IIfRcPU6JKjutvf0Q.png" /></figure><p>Three weighting schemes, same fifteen strategies, measured on the same six years.</p><p><strong>Equal weight</strong> gives every strategy 1/15 of the capital. Ratio: <strong>0.51</strong>. It requires no parameters and no estimation, which is a real virtue. Its flaw is that it hands the same capital to a strategy running at 0.10 as to one running at 0.33.</p><p><strong>Weighting proportional to each strategy’s own ratio</strong> improves this to <strong>0.57</strong>. But it concentrates capital in the strongest performers, and strong performers are strong for correlated reasons — so it quietly undoes some of the diversification it was built on top of.</p><p><strong>Equal risk contribution</strong> reaches <strong>0.63</strong>. Instead of equalising capital, it equalises each strategy’s marginal contribution to total portfolio volatility: high-volatility strategies get less capital, low-volatility ones get more, and correlated pairs get down-weighted automatically because their joint contribution is counted once.</p><p>That is a twelve-point gain over equal weight, from a change in arithmetic rather than a change in strategy. It is about thirty lines of code:</p><pre>import numpy as np<br>from scipy.optimize import minimize<br></pre><pre>def risk_contribution(w, cov):<br>    &quot;&quot;&quot;Each strategy&#39;s marginal contribution to portfolio volatility.&quot;&quot;&quot;<br>    port_vol = np.sqrt(w @ cov @ w)<br>    return w * (cov @ w) / port_vol<br></pre><pre>def erc_objective(w, cov):<br>    rc = risk_contribution(w, cov)<br>    return np.sum((rc - rc.mean()) ** 2)<br></pre><pre>def solve_erc(cov, w_min=0.01, w_max=0.30):<br>    &quot;&quot;&quot;Weights that equalise risk contribution across strategies.&quot;&quot;&quot;<br>    n = cov.shape[0]<br>    w0 = np.ones(n) / n<br>    result = minimize(<br>        erc_objective, w0, args=(cov,), method=&quot;SLSQP&quot;,<br>        bounds=[(w_min, w_max)] * n,<br>        constraints=[{&quot;type&quot;: &quot;eq&quot;, &quot;fun&quot;: lambda w: w.sum() - 1.0}],<br>    )<br>    if not result.success:<br>        raise RuntimeError(f&quot;ERC did not converge: {result.message}&quot;)<br>    return result.x</pre><p>Two things I would flag if I were reviewing this rather than writing it. The covariance matrix is estimated from six years of monthly returns — that is 72 observations for a 15×15 matrix, which is thin, and the estimate is noisy in exactly the way that makes optimisers overconfident. The 1% and 30% bounds exist to stop the solver acting on that noise. And the whole thing is fitted on the same history it is evaluated on, so 0.63 should be read as an upper bound, not a forecast.</p><h3>The book against the best single strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H-100bUgPKc9ixzHeUZ5qA.png" /></figure><p>Fifteen strategies weighted by equal risk contribution: <strong>+1.75% a month, maximum drawdown 2.78%, ratio 0.63, t-statistic 3.4, about 78 trades a month, positive in all six years.</strong></p><p>The best single strategy, the four-market Fibonacci book: <strong>+1.10% a month, maximum drawdown 1.90%, ratio 0.58, t-statistic 2.9, about 32 trades a month, also positive in all six years.</strong></p><p>The portfolio wins on the ratio, but the more useful difference is in the shape. The single strategy’s monthly returns swing between +8% and −3%. The book’s sit between +5% and −1.5%.</p><p><strong>The book is not more profitable per unit of nerve; it is more survivable per unit of month</strong>, and a strategy you keep running beats a better one you abandon in month four.</p><p>The gap is widest in 2023 — the regime-shift year, when the Bank of Japan’s stance rearranged the volatility structure I had been trading. The book returned +22.1% that year against the single strategy’s +11.4%. In 2022, a strong trending year, the single strategy actually won. That is the trade you are making: you give up some of the good years to survive the strange ones.</p><h3>Three layers of risk control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sSLzIiGPBhkeE_gIIMSLLw.png" /></figure><p>Position-level: 0.5% of capital at risk per trade for the small edges, 0.8% for the stronger ones. Any single strategy that draws down 5% in a month is switched off and re-validated before it comes back. Three consecutive losing months is also an automatic stop.</p><p>Book-level: total exposure capped at 20% of capital at any moment. When two strategies known to be correlated fire at the same time, the second one takes half size. A 10% drawdown across the whole book stops everything until the following month.</p><p>Regime-level: everything pauses for a week when VIX crosses 30, and no new orders go out within two hours of a central bank decision. Every three months I re-examine each strategy’s recent behaviour against its backtest and re-validate anything that looks like it is drifting.</p><p>Without these layers, simulated drawdown reaches 8–10% when several strategies fire into the same move. With them, the measured maximum is 2.78%. <strong>Most of what looks like edge in that number is actually risk control.</strong></p><h3>If you want to build one</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1h5WqoyieD0cIcoy7ohNMg.png" /></figure><p>Two months on infrastructure: a backtest environment, six years of clean data for your instruments, and the statistical assertions that decide pass or fail without your opinion involved.</p><p>Two months producing candidates: generate twenty to thirty, run every one through the same pipeline, expect five to ten to survive. That survival rate is normal and it is not a reflection on you.</p><p>Two months assembling: measure the correlation matrix, solve for the weights, implement the three risk layers, and run the whole thing on a demo account before any of it is real.</p><p>A ratio of 0.5 at six months is a reasonable target. 0.6 at a year is a good one. If you are starting from “one system that makes 5% a month,” the most useful thing you can do this week is take two strategies you already have, run them together, and look at the combined curve. <strong>The number that comes out of that is usually enough to change how you think about the problem.</strong></p><p>I am going to keep building these, and I am going to keep publishing what happens — including the ones that do not work.</p><h3>Resources</h3><p>Longer write-ups of the individual results referenced above:</p><ul><li><em>After two failures, I found a real edge: Fibonacci 0.618 golden pocket, 4 markets, 6 years</em></li><li><em>I asked AI for a 10%/month gold system. It showed me the ceiling instead.</em></li><li><em>I tested 33 strategy-market combinations. Six passed.</em></li><li><em>What 29,960 EA configurations told me about which edges are real</em></li></ul><p><em>All figures are backtest or forward-test results from my own runs. Nothing here is investment advice, and past results do not predict future returns.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90fb4b68efd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Verified 15 Popular Forex Indicators With Claude. All Lost Money. Here’s the Data.]]></title>
            <link>https://medium.com/@fxakrbno777_60117/i-verified-15-popular-forex-indicators-with-claude-all-lost-money-heres-the-data-2556610dfd93?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/2556610dfd93</guid>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[forex]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 14:36:01 GMT</pubDate>
            <atom:updated>2026-08-29T14:36:01.067Z</atom:updated>
            <content:encoded><![CDATA[<h4>Six months, 50,000+ configs, 15 indicators. None profitable standalone. But one reframe turned losing configs into +0.14R portfolios.</h4><p><em>After six months and 50,000+ backtest configurations across every parameter, timeframe, and instrument, not one standalone indicator produced positive long-term expected value. But reframing them as skip filters turned a losing 128-config sweep into a portfolio with +0.14R expected value. Here is exactly what I did.</em></p><p>RSI 14. MACD 12/26/9. Bollinger Bands 2σ. EMA 50/200 golden cross. Stochastic 14/3/3 with 20/80 reversal.</p><p>Every trading textbook. Every YouTube tutorial. Every paid EA product. These are the defaults everyone uses, and I spent six months verifying them the hard way — with Claude as my testing partner, six years of out-of-sample data, walk-forward validation, four-quartile robustness checks, and real cost modeling.</p><p><strong>Not one of them held positive expected value standalone.</strong> Not one. And the textbook defaults specifically — the exact numbers you were taught to use — sat systematically in the worst zone of every parameter sweep I ran.</p><p>This article is the data. Fifteen indicators, real numbers, six-year OOS validation, and — most importantly — the one structural reframe that took losing configurations and turned them into a portfolio with +0.14R per trade. That reframe is the point of this piece.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dRbWD5StTrME4jSLr9ELAg.png" /><figcaption>6 months of verification. 50,000+ configurations. Zero standalone winners.</figcaption></figure><h3>Why standalone indicators fail (three structural reasons)</h3><p>Before the data, three reasons this failure pattern is structural rather than a matter of “wrong parameters.”</p><p><strong>Lag.</strong> Every indicator computes from N past bars. By the time RSI 14 crosses 30 or MACD 12/26/9 fires a golden cross, the move that caused the signal is already halfway complete. The signal shows up at roughly the midpoint of the trend, leaving only the second half to profit from. This is a structural handicap you cannot tune away with different periods — it is baked into how the math works.</p><p><strong>Visibility.</strong> RSI 30/70, MACD zero-cross, BB 2σ touch — every algo shop and retail platform monitors these exact levels. Simultaneous, predictable order flow at these levels is precisely what institutional systems fade for a living. If everyone is buying because RSI 14 hit 28, someone institutional is on the other side of that trade.</p><p><strong>Range vs. trend regime.</strong> Trend-following indicators only work in trends, but on major forex pairs like EURUSD H1, only ~30–40% of days qualify as trending by any reasonable ATR-based measure. The other 60–70% is chop, and range noise systematically eats the trend signals.</p><p>Now the data.</p><h3>The 15 indicators</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WE1vvwPgaum4IVbBC9miHQ.png" /><figcaption>The 15 indicators tested, grouped by oscillator, trend, and volatility.</figcaption></figure><p>I tested every popular indicator across oscillator, trend, and volatility categories. Parameters swept broadly (RSI periods 5/9/14/21/28, MACD from 8/17 to 26/34, Bollinger periods 10–40 with σ 1.0–3.0), instruments included EURUSD, GOLD, GBPUSD, SPX500, and BTCUSD, and timeframes ran from M15 to Daily.</p><p>Some highlights of what got destroyed:</p><ul><li><strong>Stochastic 14/3/3 with 20/80 reversal on EURUSD H1</strong> — the classic “beginner strategy.” Expected value −0.048R per trade. Every parameter combination lost.</li><li><strong>Turtle/Donchian 20-bar breakout with 10-bar exit</strong> — the strategy that made fortunes in the 1980s. Expected value −0.061R. It does not work anymore.</li><li><strong>EMA 50/200 golden cross on EURUSD H1</strong> — the most-taught moving average setup. Expected value −0.058R. Worst-in-class among the five MA types I tested.</li><li><strong>MACD 12/26/9</strong> — expected value −0.041R across the six years.</li><li><strong>Ichimoku three-role positive on GOLD</strong> — expected value −0.056R after I fixed a subtle look-ahead bug in the cloud calculation (<a href="https://medium.com/@fxakrbno777_60117/two-tiny-coding-bugs-reversed-every-conclusion-id-reached-about-trading-003e2b4e48a7">see this earlier piece on how two coding bugs reversed every conclusion I had reached</a>).</li></ul><p>Only two indicators survived, and both required an additional filter:</p><ul><li><strong>Keltner Channel (20, 2.0 ATR) on EURUSD H1 — Tuesday only.</strong> Expected value +0.041R. <a href="https://medium.com/@fxakrbno777_60117/the-only-statistical-edge-that-survived-my-eurusd-indicator-sweep-and-it-only-works-on-tuesdays-8c18c6bf1569">Details here</a>.</li><li><strong>Fibonacci 0.618 golden pocket across four uncorrelated markets</strong> (GOLD, S&amp;P, NASDAQ, BTC). Combined mo/DD 0.58. <a href="https://medium.com/@fxakrbno777_60117/after-two-failures-i-found-a-real-edge-fibonacci-0-618-golden-pocket-4-markets-6-years-2fd719d1364a">Details here</a>.</li></ul><p>Both require an additional filter — a day-of-week gate for Keltner, and multi-market diversification for Fib. Neither works standalone.</p><h3>The meta-pattern: textbook defaults are systematically the worst</h3><p>The single most striking finding from six months of sweeping parameters: <strong>the exact numbers you find in every trading textbook are consistently the worst-performing corner of the parameter space.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GUv5CiyzG22snkeo2_pfFA.png" /><figcaption>Textbook defaults sit in the worst zone of the parameter sweep.</figcaption></figure><p>Head-to-head across five major indicators on EURUSD H1:</p><ul><li><strong>RSI</strong> — textbook 14 (30/70 reversal): −0.052R per trade. Best in sweep: RSI 28 on Daily, +0.169 mo/DD.</li><li><strong>MACD</strong> — textbook 12/26/9: −0.041R. Best in sweep: 15/30/9, −0.033R.</li><li><strong>MA</strong> — textbook EMA 50/200 cross: −0.058R. Best in sweep: EMA 20 touch, −0.032R.</li><li><strong>Stochastic</strong> — textbook 14/3/3 (20/80): −0.048R. Best in sweep: nothing positive at all.</li><li><strong>ADX</strong> — textbook 14: −0.052R. Best in sweep: ADX 17, −0.038R.</li></ul><p>RSI 14 is the worst RSI setting I tested. EMA 50/200 golden cross is the worst MA setup out of 25 combinations of five MA types and five periods. ADX 14 is worst-in-class. There is a pattern here, and it is not coincidence.</p><p>Three explanations combine:</p><p><strong>Concentration of eyes.</strong> The exact numerical thresholds in textbooks — 30/70 on RSI, 20/80 on Stochastic, the 12/26/9 MACD — are what every retail chart, alert bot, and educational course points at. Simultaneous, predictable retail order flow at these exact levels is the most profitable liquidity to fade for anyone with a speed advantage.</p><p><strong>Algorithms deliberately target them.</strong> HFT and quant funds prioritize predictable retail patterns for reversion trades. The textbook default settings are the highest-priority targets.</p><p><strong>Historical drift.</strong> RSI 14 and MACD 12/26/9 were tuned by their inventors for 1970s stock and commodity markets — different tick sizes, different execution latency, different order flow structure. Twenty-four-hour forex with modern execution has different behavior, and the old defaults have not been re-optimized for it.</p><p>The practical implication: <strong>if you are currently running any EA with textbook default parameters, just running a parameter sweep and picking a non-default value would probably improve results.</strong> Not dramatically — usually the improvement is from “worst of sweep” to “less bad” — but consistently. I have <a href="https://medium.com/@fxakrbno777_60117/the-setting-that-every-trading-chart-uses-by-default-is-the-worst-i-tested-six-indicators-1e8b6d5df33c">an extended breakdown of six indicators worth of this pattern here</a>.</p><p>But this is a small win. The bigger insight is different.</p><h3>The reframe: indicator as skip filter, not as entry signal</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eluW1VTZLVoIMeEYOYWDqQ.png" /><figcaption>Same indicator, different job: entry signal versus skip filter.</figcaption></figure><p>The reason indicators fail standalone is that we ask them to answer the wrong question. “Should I enter now?” is a positive claim — you need a genuine informational edge to make it profitably.</p><p>But “Should I <em>not</em> enter now?” is a filtering claim, and indicators are excellent at that. If you take a working entry logic (breakout, momentum, mean reversion) and use an indicator to <em>skip</em> configurations where the base rate of loss is high, you can convert losing sweeps into profitable ones.</p><p>Six months of testing revealed three specific skip-filter patterns that consistently converted losing raw strategies into winners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GYigyQzXelovBaEEeEji9A.png" /><figcaption>Three skip filter patterns by difficulty, skip rate, and EV lift.</figcaption></figure><h4>Type 1: EMA200 side-only</h4><p><strong>Rule:</strong> If price is above EMA200, allow LONG only; if price is below EMA200, allow SHORT only. Skip all counter-trend entries.</p><p><strong>Difficulty:</strong> Easy (a single conditional in your entry check).</p><p><strong>Effect on a real strategy — CCI + EMA200 filter on USDJPY H1:</strong></p><ul><li>Raw CCI(14) breakout: OOS EV +0.009R, mo/DD 0.004 (essentially flat)</li><li>With EMA200 side filter: OOS EV +0.092R, mo/DD 0.076, 5 of 6 positive years</li><li><strong>Expected value improved 10×, mo/DD improved 19×</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfVLwTAhKooXZhzR5eXGkw.png" /><figcaption>One EMA200 check reversed the strategy from flat to +0.092R.</figcaption></figure><p>When I isolated the subset of trades that would have been filtered out by the EMA200 check — the ones where the strategy entered against the 200-EMA — those trades had expected value <strong>−0.45R per trade</strong>. One conditional check eliminated an entire class of structurally losing trades.</p><p>This is the easiest possible win in EA improvement. Add three lines of code, get 10× the expected value.</p><h4>Type 2: Higher-timeframe EMA alignment</h4><p><strong>Rule:</strong> Only take signals when H1 EMA40 slope AND H4 EMA40 slope both agree with signal direction. Otherwise skip.</p><p><strong>Difficulty:</strong> Medium (requires multi-timeframe access, and you need to be careful about look-ahead bias — always use shift &gt;= 1).</p><p><strong>Effect on a real strategy — GOLD M5 breakout:</strong></p><ul><li>Raw M5 breakout alone: negative EV across 128 tested configurations (zero profitable)</li><li>With H1 + H4 EMA40 alignment gate: EV +0.136 to +0.149R, mo/DD 0.088–0.097</li><li>Add a daily ATR volatility gate: EV +0.137 to +0.170R, mo/DD 0.116–0.123, 5–6 of 6 years positive</li></ul><p>This is the pattern behind GoldBreakEA_v1, currently running live on XM. Skip rate is 60–70% of raw signals, but the surviving signals have real edge. Turning off the HTF gate on the same base logic reverts the strategy to money-losing.</p><h4>Type 3: EMA slope threshold</h4><p><strong>Rule:</strong> For a reversal-style entry, only fire when the underlying EMA slope crosses a specific threshold (e.g., EMA50 slope below −0.5 ATR-normalized for a mean-reversion long).</p><p><strong>Difficulty:</strong> Hard (very instrument-specific, high over-fit risk).</p><p><strong>Effect on a real strategy — DeMarker reversal on EURUSD H4:</strong></p><ul><li>Raw: IS +0.234R, OOS +0.039R (n=236)</li><li>With slope filter (skips 94 trades): IS +0.570R, OOS +0.073R (n=117)</li><li>Verdict: “REAL (OOS improved AND positive)”</li></ul><p>Type 3 works, but it is the highest-risk pattern because the slope threshold is where over-fitting sneaks in easily. I recommend starting with Type 1, then Type 2, and using Type 3 only after you have the discipline for walk-forward and quartile validation.</p><h3>What Claude actually contributed</h3><p>Six months and 50,000+ configurations only fit into six months because Claude wrote and modified the backtest code. My job became:</p><ol><li>Specify the strategy in words.</li><li>Paste the constraint list (“no look-ahead: every indicator lookup with shift &gt;= 1; entry and exit must not resolve in the same bar; statistical assertions required: t-stat ≥ 2.0, sample size ≥ 100, all four quartiles positive&quot;).</li><li>Read every line of generated code.</li><li>Kill anything that assertions rejected.</li></ol><p>The constraint list matters more than the strategy. Without it, Claude writes plausible-looking backtest code that quietly includes look-ahead bugs or omits realistic costs, and you get a beautiful equity curve that vanishes on Forex Tester. With it, Claude is a 10× productivity multiplier on real verification work. (<a href="https://medium.com/@fxakrbno777_60117/the-eight-things-i-was-wrong-about-when-i-asked-ai-to-build-my-first-trading-bot-1eec2f5a6eca">I wrote a deeper piece on the eight things I got wrong when I first asked AI to build a trading bot</a>.)</p><p>The single most valuable snippet I paste every time:</p><pre>- All iMA/iRSI/iMACD calls must use shift &gt;= 1 (never shift = 0)<br>- Entry and exit cannot resolve in the same bar<br>- Cost model: real spread, slippage 0.5-1.0 pips, weekend swap<br>- End with assertions: EV &gt; 0.02R, t-stat &gt; 2.0, n &gt; 100, all four quartiles positive<br>- If any assertion fails, do not report the backtest as passing</pre><p>That is the entire “doubt it until you kill it” mindset in five lines. It is the difference between 90 EAs built and 3 that survived, versus 90 EAs built and none that survived.</p><h3>Key takeaways</h3><ol><li><strong>Standalone indicator entries fail structurally, not accidentally.</strong> Lag, visibility, and range-regime dominance are baked into how indicators work. Better parameters help marginally; the structural failure remains.</li><li><strong>Textbook default settings are systematically the worst-performing corner of parameter space.</strong> RSI 14, MA 200 cross, BB 2σ, MACD 12/26/9, Stoch 14/3/3. If you are using any of them, a simple parameter sweep would probably help.</li><li><strong>Reframe indicators as skip filters, not entry signals.</strong> Three patterns work: EMA200 side-only (easy, huge effect), HTF alignment (medium, biggest lift), and EMA slope thresholds (hard, high over-fit risk).</li><li><strong>AI speed multiplies both survival and failure.</strong> Claude gives you 10× the verification throughput, but only if you paste the “no look-ahead + assertions” constraint list every time. Without it, you are just producing beautiful failing backtests faster.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I2yvNlIVlzwOSitHaYvctQ.png" /><figcaption>Four takeaways from six months of AI-verified indicator testing.</figcaption></figure><p>If you are currently running an EA and stuck at flat or slightly negative, adding the Type 1 (EMA200 side-only) filter is a 30-minute code change that in my testing produced a 10× expected value lift. Start there.</p><h4>Not investment advice</h4><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><p><em>Next in this arc: anatomy of ninety EAs I built with Claude, three that survived, and the exact five failure patterns that killed the other eighty-seven.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2556610dfd93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Warning Signs It’s Time to Kill Your Trading Bot Before It Kills Your Account]]></title>
            <link>https://medium.com/@fxakrbno777_60117/three-warning-signs-its-time-to-kill-your-trading-bot-before-it-kills-your-account-c376c85d2e62?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/c376c85d2e62</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[risk-management]]></category>
            <category><![CDATA[forex]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 13:01:01 GMT</pubDate>
            <atom:updated>2026-08-27T13:01:01.931Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Every EA eventually stops working. Knowing when to pull the plug — before it takes your account with it — is more important than knowing when to deploy. Here are the three signs I use.</em></p><p>I’ve built about 90 trading bots over the last several years. Three are running in production right now. The rest are dead — either they never made it out of testing, or they were killed after going live because they started losing money.</p><p>The killing part is what I want to write about. Most trading education is about how to build and deploy strategies. Almost nothing is written about how to shut them down.</p><p>But knowing when to kill a bot is the difference between “I ran a series of small experiments” and “one of my experiments blew up my account.” The economics of the whole enterprise depend on it.</p><p>Here are the three specific signs I’ve settled on. Each one is a boolean rule — if it triggers, the bot is disabled. No debate, no “let me give it one more week.”</p><h3>Sign 1–20% drawdown from live-peak equity</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*VbifZUkosYm7rbwGNQcy5w.png" /></figure><p>The first sign is the simplest: current equity is more than 20% below the peak equity the bot has ever reached in live trading. Not backtest peak. Live peak, from the day the bot went live to now.</p><p>This threshold is calibrated to two things. First, my personal risk tolerance — a 20% drawdown is uncomfortable but recoverable. Second, and more importantly, the drawdown depths my strategies have shown in six years of backtest data.</p><p>Almost none of my strategies had a backtest max drawdown deeper than 15%. If live is running deeper than backtest ever did, that’s a signal that something is different between the model and reality.</p><p>The rule is not “stop trading.” The rule is “disable, investigate, decide whether to re-enable.”</p><p>Usually re-enabling doesn’t happen. When it does, it’s after I’ve found and fixed a specific bug, or after enough time has passed to determine the underlying regime has stabilized.</p><p><strong>Why 20 and not 15 or 25?</strong> Below 15%, I get too many false triggers from normal strategy behavior. Above 25%, the account damage is too severe to recover from cleanly. 20% is roughly one standard deviation beyond my worst backtest, which is where I want the alarm to fire.</p><h3>Sign 2–30 trades without a profitable week</h3><p>The second sign is a losing streak signal — but expressed in a way that isn’t as trigger-happy as counting individual losing trades.</p><p>Any strategy has losing trades. Even a 60%-win-rate strategy has 4–5 consecutive losing trades regularly (a ~1.7% probability event, which happens roughly monthly if you take 50 trades a month). Counting individual losers gives you false alarms.</p><p>What’s less common — and more meaningful — is going through a stretch of 30 trades where no single week generated a profit. That represents a systematic failure mode that’s larger than normal streak variance.</p><p>I define “profitable week” as: sum of R across all trades in a calendar week is positive. So if I have 30 consecutive trades spanning (say) 6 weeks and none of those weeks summed to positive, the sign triggers.</p><p><strong>Why 30 trades and not 20 or 50?</strong> Empirically, all three of my currently-live strategies have gone through periods of 8–15 consecutive losing trades without triggering deeper concern.</p><p>But none has gone through 30 trades with zero profitable weeks. That empirical divide is where I set the line.</p><h3>Sign 3 — Regime mismatch between live and backtest</h3><p>The third sign is more qualitative but very consequential. It fires when I look at the market environment the bot has been running in and it doesn’t match the environment the bot was trained on.</p><p>Concretely, I look at three things every month for each live bot:</p><p><strong>Volatility.</strong> Is realized volatility on the traded instrument within the historical range of the backtest? If backtest was 6–14% annualized ATR-based vol and live is running at 4% or 20%, that’s a mismatch.</p><p><strong>Trend character.</strong> Is the instrument trending more or less than in backtest? I measure this with directional-index averages and price-to-moving-average distance distributions.</p><p><strong>Spread and cost environment.</strong> Is the actual spread and slippage the bot is paying meaningfully different from what I modeled? Prop firm accounts sometimes have wider spreads than the demo data I optimized on.</p><p>If any of these three is meaningfully out-of-range from backtest — I define “meaningfully” as beyond the range observed in the backtest data — the sign is triggered.</p><p><strong>Why this and not just “drawdown”?</strong> Sometimes a regime shift is visible in market data before it shows up in P&amp;L. If I can see the regime has shifted and I know my strategy is regime-dependent (which most are), I’d rather disable the bot early than wait for the drawdown to build.</p><h3>The three signs together — how often do they trigger?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*4t7mAOw0AFp7AFVg5NmGQg.png" /></figure><p>Across my history of ~15 bots that made it to production (of the 90 built, most died in testing):</p><ul><li><strong>Sign 1 (20% drawdown) triggered:</strong> 6 times</li><li><strong>Sign 2 (30 trades no profitable week) triggered:</strong> 5 times</li><li><strong>Sign 3 (regime mismatch) triggered:</strong> 4 times</li></ul><p>Some bots triggered multiple signs (Sign 3 often precedes Sign 1 by 4–6 weeks). Some bots triggered Sign 1 first without Sign 3 warning.</p><p>Of the 15 bots, 12 have been killed. The 3 that are still running have never triggered any of the three signs.</p><p>That’s ~80% mortality — which sounds bad but is roughly what you should expect for algorithmic strategies over multi-year periods. Strategies die.</p><h3>What I do when a sign triggers</h3><p>When any sign triggers, the sequence is:</p><p><strong>Immediate: disable the bot.</strong> Not “reduce size.” Not “watch it for another week.” Immediate stop. I’ve learned the hard way that “let me see if it recovers” almost always turns into more damage.</p><p><strong>Investigation: is it a bug or a regime shift?</strong> Sometimes the reason for the loss is a bug in my code, a broker-side change, or a data-quality issue. Those can be fixed. Sometimes it’s genuine strategy decay. Only the first is recoverable.</p><p><strong>Decision: re-enable, refactor, or retire.</strong> If it’s a fixable bug and the underlying edge is still sound, I fix and re-enable at half-size. If the edge itself has decayed, the strategy is retired and I move on to something else.</p><p>Of the 12 killed bots, 4 came back after a fix. All four eventually failed again and were retired for good.</p><p>The other 8 were retired on the first kill. That is a 0-for-4 revival record — sometimes the trigger really is a bug, but fixing the bug did not bring the edge back in a single case.</p><p>—</p><h3>What NOT to use as a kill signal</h3><p>Two things I explicitly do NOT use:</p><p><strong>Individual bad trades.</strong> A trade that loses more than expected (e.g., 2R instead of 1R because of slippage on stop) is not a kill signal. It’s a single event. Killing the bot after one bad trade is emotional rather than systematic.</p><p><strong>Comparison to backtest month-by-month.</strong> Backtest performance in Month X of a specific year does not predict what live performance in the “equivalent” month should be.</p><p>Markets don’t have seasons that reliable. Comparing “live December” to “backtest December” is noise-chasing.</p><p>The rule I try to follow: kill signals should be systematic and rooted in strategy behavior, not emotional reactions to volatility.</p><h3>Three takeaways</h3><ol><li><strong>Set explicit, boolean kill rules before you deploy.</strong> Doing this after you’re in drawdown is much harder emotionally. My three: 20% peak-drawdown, 30 trades without a profitable week, or regime-mismatch from backtest.</li><li><strong>The mortality rate for algorithmic strategies over multi-year periods is high — 80% or more in my experience.</strong> Plan for this. Don’t build an all-eggs-in-one-basket portfolio around a single bot.</li><li><strong>When a kill signal fires, disable immediately. Don’t hope for recovery.</strong> Four of my 12 killed bots were re-enabled after I found and fixed a specific bug. Every one of them died again. Hoping has not saved a single strategy yet.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><h3>Free PROP GUARD ($29 value) with a Fintokei signup</h3><p><em>Affiliate link — I may earn a commission if you sign up through it, at no extra cost to you.</em></p><p>If you’re running live bots and want an MT4-overlay tool that keeps drawdown and rule-compliance visible in real time (so you know when kill signals are close to firing), <strong>Fintokei</strong> (Japanese-operated, transparent rules, English support) works well:</p><ul><li><strong>30% off</strong> any plan with coupon FINYE4EV</li><li><strong>PROP GUARD HUD ($29 value) free</strong> through my signup link — the MT4 overlay that keeps your drawdown, consistency, and ceiling visible in real time</li><li><strong>Larger plans (One-Step Pearl) also get RISK GUARD</strong> ($58 value total)</li></ul><p>The UI is number-driven and easy to read; an English setup guide is included.</p><p><strong>Sign up:</strong></p><p><a href="https://www.fintokei.com/?affiliate=110">Try Prop Trading with Fintokei</a></p><p><strong>Reply here or DM me on Medium</strong> after signup — I verify and send the tools within 24 hours.</p><p><em>Final piece in this arc: my day-by-day journal of the first 30 days running a new EA live — with actual daily P&amp;L, drawdown, and every “should I intervene” decision.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c376c85d2e62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The First 30 Days of Running an EA Live: A Day-by-Day Journal]]></title>
            <link>https://medium.com/@fxakrbno777_60117/the-first-30-days-of-running-an-ea-live-a-day-by-day-journal-421bf1ada2a6?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/421bf1ada2a6</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[algorithmic-trading]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[forex]]></category>
            <category><![CDATA[psychology]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 13:01:04 GMT</pubDate>
            <atom:updated>2026-08-26T13:01:04.628Z</atom:updated>
            <content:encoded><![CDATA[<p><em>I deployed a new EA on a live prop firm account on Day 1 and kept a daily journal for 30 days. Here’s every trade, every drawdown, every “should I intervene” moment — and what actually happened.</em></p><p>Most trading content about EAs is either backtest results (“look at this beautiful equity curve”) or generic advice (“stay disciplined”). What’s missing is what actually happens in the first month of live deployment.</p><p>The specific daily emotional and operational reality of watching an algorithm trade your money for the first time.</p><p>This piece is a day-by-day summary of my most recent live deployment. The strategy: Tuesday Keltner Channel reversal on EURUSD H1, deployed on a Fintokei prop-firm account. Live P&amp;L, decisions to intervene (or not), specific trades that went badly and how I felt about them.</p><p>The strategy itself passed my usual filter set — walk-forward positive (+0.041R OOS), four-quarter test positive, six years of backtest showing +0.24% monthly at reasonable risk. Everything I could reasonably check said “deploy.” Then I actually deployed it and here’s what happened.</p><h3>Day 1–3: The uneventful start</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*39SPQKW3NT6399wgCBU1zw.png" /></figure><p>The strategy only trades Tuesdays, so Day 1 (a Monday) was a zero-trade day. This is one thing every EA deployer forgets: many days you’re just watching the account do nothing.</p><p><strong>Day 2 (Tuesday) — first live signal.</strong> Signal fired at 14:23 local. Sell entry EUR/USD 1.0642. My hands were literally shaky watching the position open. Not because it was a big position (0.5% risk) but because I’ve spent months building this thing and now it’s real. Position closed 2 hours later at breakeven +0.03R.</p><p><strong>Day 3 (Wednesday) — no trades.</strong> Watched the account. Refreshed MT4 too many times.</p><p>Reality check: the emotional intensity of Day 2 was 100% out of proportion to the size of the trade. This is the biggest thing I underestimated. Backtest emotional preparation ≠ live emotional preparation.</p><h3>Day 9: The first meaningful losses</h3><p><strong>Day 9 (Tuesday) — two losers in one session.</strong> First signal fired at 09:47. Buy entry EUR/USD 1.0721 with 40-pip stop. The strategy took the trade, price moved against me for ~90 minutes, and the stop was hit. A second signal fired in the afternoon and stopped out as well.</p><p>Actual losses: 0.9R and 0.7R (both a bit less than a full 1R because of favorable slippage on exit). Down 1.6R on the day, the account sits 0.47% below where it started.</p><p>Emotional reaction (that I did not act on): “Should I have overridden this? The market clearly wasn’t in a good state.” I did not intervene. This is the “manual override” temptation that ends most EA runs early.</p><p>I’ve committed to only intervening if a kill signal fires (see previous article in this series), and one bad Tuesday is not a kill signal.</p><p>Wrote it in the journal: “Loss taken, strategy behaved as designed, no intervention needed.”</p><h3>Day 15: Two-week checkpoint</h3><p>By end of Day 14 (two Tuesdays traded, the rest zero-trade days), the record:</p><ul><li><strong>Trades:</strong> 3</li><li><strong>Wins:</strong> 0</li><li><strong>Scratch:</strong> 1 (+0.03R Day 2)</li><li><strong>Losses:</strong> 2 (−0.9R Day 9, −0.7R Day 9)</li><li><strong>Net:</strong> −1.57R</li><li><strong>Account:</strong> −0.47% (0.3% risk per trade)</li><li><strong>Drawdown:</strong> −0.48% (peak-to-trough)</li></ul><p>Two weeks in, the account is down half a percent and has never been meaningfully green. This is completely consistent with expected variance — a strategy that averages +0.041R per trade tells you almost nothing after three trades.</p><p>But knowing that and feeling it are different things, and this is exactly the “am I actually going to make money here” low point where most people quit.</p><h3>Day 16: The first real winners</h3><p><strong>Day 16 (Tuesday) — the session that pays for the last two.</strong> Two signals, both worked. First +2.1R (ran to the profit target). Second +0.8R (closed early on the opposite band touch).</p><p>New cumulative net: +1.33R. Account: +0.40%.</p><p>Nothing about the strategy changed between Day 9 and Day 16. The only difference is which side of the variance I happened to be standing on. That is worth writing down, because the temptation after Day 9 was to conclude the edge was gone.</p><h3>Day 19: Real-world event — spread widening on NFP week</h3><p><strong>Day 19 (Friday) — not a trade day, but an operational lesson.</strong> During the NFP (Non-Farm Payrolls) release, spread on EUR/USD widened from typical 0.6 pips to 4.2 pips at the release. My strategy doesn’t trade Fridays, so no exposure, but it made me realize:</p><ul><li>I hadn’t modeled spread widening around news</li><li>If I were trading Thursdays or Fridays, this would have eaten a significant chunk of expected value</li><li>My cost assumptions in backtest were 0.8 pip average, and here I saw 4.2 pip momentary values</li></ul><p>Updated the strategy documentation: “Do not extend to trading days near NFP/FOMC without adding release-window filters to cost model.”</p><p>This is what “operational learning” looks like on live account. Backtest can’t teach you this because you don’t feel the difference between average and worst-case spread.</p><h3>Day 22: The first “should I add another edge?” temptation</h3><p><strong>Day 22.</strong> Account is +0.40% net, on 5 trades total. Finally positive — which is exactly when the bad idea shows up.</p><p>Big temptation moment: I could have deployed a second edge (my Friday MFI reversal) on the same account and increased the trade frequency. Would probably double my expected monthly return.</p><p>I did not do this. Rationale: I want to see this single-strategy deployment through the full 30 days before adding complexity. Every additional strategy adds a failure mode, and I want to understand this one first.</p><p><strong>Meta-observation:</strong> the impulse to “improve” a working system by adding more moving parts is one of the strongest anti-patterns in algo trading. I write it in the journal to remind future-me.</p><h3>Day 23: The first real drawdown</h3><p><strong>Day 23 (Tuesday) — biggest loss so far.</strong> Two signals fired in the same session — first was a stop-out at −1.0R, second was a stop-out at −0.85R.</p><p>Both were technically valid signals per the strategy definition. Nothing was broken. But two full-risk losses on the same day put me down −1.85R on the day, which was more than my previous cumulative net.</p><p>New cumulative net: −0.52R (down from +1.33R on Day 16).</p><p>Account: −0.16% net. Peak-to-trough for the month so far: −0.55%.</p><p>Emotional intensity: quite high. Not “kill the bot” high, but “am I sure this is going to work” high. This is the moment I most understood why most people can’t run algorithmic systems. The intellectual acceptance of “drawdowns happen” is easy. The emotional acceptance of “the equity curve I designed shows this happening and I need to just not touch anything” is much harder.</p><p>I did not intervene.</p><h3>Day 30: The recovery</h3><p><strong>Day 30 (Tuesday) — two winners.</strong> First signal +1.4R (took profit target). Second signal +1.9R (extended move). Both trades worked exactly as backtest suggested Tuesday setups often do.</p><p><strong>Day 30 — final tally:</strong></p><ul><li><strong>Total trades:</strong> 9 (across 5 Tuesdays)</li><li><strong>Wins:</strong> 4 (+2.1R Day 16, +0.8R Day 16, +1.4R Day 30, +1.9R Day 30)</li><li><strong>Losses:</strong> 4 (−0.9R Day 9, −0.7R Day 9, −1.0R Day 23, −0.85R Day 23)</li><li><strong>Scratch:</strong> 1 (+0.03R Day 2)</li><li><strong>Net:</strong> +2.78R</li><li><strong>Account (0.3% risk per trade):</strong> +0.83%</li><li><strong>Max drawdown during the month:</strong> −0.55% (Day 16 peak to Day 23 trough)</li><li><strong>Win rate:</strong> 50% (4 wins, 4 losses, 1 scratch)</li><li><strong>Expected value per trade:</strong> +0.31R (far above my 0.041R backtest average — happened to have positive variance)</li></ul><p>Put next to the model: the backtest expects +0.24% monthly and this month returned +0.83%, roughly 4× the expected rate. That is not skill, it is a lucky first month. Regression to the mean in future months is guaranteed.</p><h3>What I learned in 30 days that backtest didn’t teach</h3><p>Four things stand out.</p><p><strong>Emotional volatility per trade is 5–10x what you predict.</strong> Even at 0.3% risk (which is very small), the emotional reaction to individual trades is much larger than I expected. This suggests risk per trade should probably be smaller in the first few months than what you’d size to long-term.</p><p><strong>Operational surprises are common.</strong> Spread widening, broker outages, VPS lag — none of which I hit hard in this test, but I got glimpses of. Every one of these will happen eventually to a long-running EA.</p><p><strong>“Am I still trusting my backtest?” is a psychological question, not a data question.</strong> The math of the backtest doesn’t change based on 30 days of live results. But my emotional trust in the backtest fluctuates dramatically. Understanding this — and having pre-committed rules — is the only way to survive the low points.</p><p><strong>Slow strategies are psychologically harder than fast ones.</strong> With 2 trades per week average, there are 5–6 days per week where I’m watching an account do nothing. That empty time is when the brain generates doubts and second-guesses. High-frequency strategies feel more “alive” but are much harder to build. This tradeoff is real and I don’t have a clean answer.</p><h3>Three takeaways</h3><ol><li><strong>First-month live deployment is 90% psychological and 10% technical.</strong> The strategy will do what the backtest says (roughly). Your emotional reactions to it are the variable you’re testing.</li><li><strong>Pre-committed intervention rules are the only real defense against panic-modification.</strong> Without them, most retail EA deployments die from over-management, not from the strategy failing.</li><li><strong>A 30-day sample is too small to know if a strategy is working.</strong> Even the best strategies have months of drawdown. The 30-day journal is about learning your operational and emotional response, not about validating the strategy.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><h3>Free PROP GUARD ($29 value) with a Fintokei signup</h3><p><em>Affiliate link — I may earn a commission if you sign up through it, at no extra cost to you.</em></p><p>The bot in this journal ran on a <strong>Fintokei</strong> account (Japanese-operated, transparent rules, English support). If you want to do a similar first-month deployment on a demo or funded prop-firm account:</p><ul><li><strong>30% off</strong> any plan with coupon FINYE4EV</li><li><strong>PROP GUARD HUD ($29 value) free</strong> through my signup link — the MT4 overlay that keeps your drawdown, consistency, and ceiling visible in real time</li><li><strong>Larger plans (One-Step Pearl) also get RISK GUARD</strong> ($58 value total)</li></ul><p>The UI is number-driven and easy to read; an English setup guide is included.</p><p><strong>Sign up:</strong></p><p><a href="https://www.fintokei.com/?affiliate=110">Try Prop Trading with Fintokei</a></p><p><strong>Reply here or DM me on Medium</strong> after signup — I verify and send the tools within 24 hours.</p><p><em>This closes a 10-article arc on the mechanics of building, testing, and running trading systems. Next arc: single-instrument case studies — one strategy per pair, deeply examined.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=421bf1ada2a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Backtest Passed. Now Split It Into Four Parts and Look Again.]]></title>
            <link>https://medium.com/@fxakrbno777_60117/your-backtest-passed-now-split-it-into-four-parts-and-look-again-f907b7c8260a?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/f907b7c8260a</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[backtesting]]></category>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[forex]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Tue, 25 Aug 2026 13:01:02 GMT</pubDate>
            <atom:updated>2026-08-25T13:01:02.979Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Walk-forward testing is table stakes. The next filter that saved me from deploying multiple curve-fit strategies is stupidly simple: split the results into four time periods and demand every one is positive.</em></p><p>There’s a moment every strategy developer knows. You’ve been tuning a system for weeks. The backtest looks great.</p><p>The walk-forward test looks great. Expected value is comfortably positive, the equity curve slopes up, the drawdown is manageable. It’s time to deploy.</p><p>That’s the moment I’ve learned to slow down and run one more test. It takes about ten minutes to run and it has killed roughly a third of my “passed” strategies.</p><p>The test is: take your six years of walk-forward results, split them into four consecutive time periods, and demand that every one of them is positive. Not just the total. Every quarter.</p><p>Sounds trivial. Isn’t. Here’s why the four-quarter test catches curve-fits that walk-forward misses, and the specific rule I use to decide whether a strategy survives it.</p><h3>Walk-forward is necessary but not sufficient</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*AyoV22uUzzQp7nryxFMdgg.png" /></figure><p>Walk-forward testing works like this: you split your data into training and testing periods. You optimize your parameters on the training data. You evaluate them on the testing data — data the strategy has never seen.</p><p>If the strategy performs well on the out-of-sample data, that’s evidence it’s not just curve-fitted.</p><p>This is real, important, and I do it on every strategy. But walk-forward has a hidden failure mode: it can hide strategies that only worked during one specific market regime.</p><p>Here’s what I mean. Suppose your strategy earned +0.030R average per trade over six years. The walk-forward test says it’s out-of-sample positive. But what if all the profit came from one specific 12-month period (say, the trending 2022 market), and it was flat or negative in every other period?</p><p>Walk-forward doesn’t catch this because the <em>average</em> across the whole test period is positive. The failure is regime-specific, not overfitting. The strategy might genuinely have edge — but only in certain market conditions.</p><p>If you deploy it now and the market shifts to a different regime, you’ll bleed for months waiting for “your” conditions to return.</p><h3>The four-quarter test, exactly</h3><p>The test is:</p><ol><li>Take your walk-forward result set (all the trades, over the full test period).</li><li>Split by date into four equal-length consecutive periods. For six years, that’s four 18-month segments.</li><li>Compute expected value per trade in each segment.</li><li><strong>All four segments must be positive.</strong> Not “average positive.” All four.</li></ol><p>If one segment is negative, the strategy fails and I don’t deploy. If all four are positive, I proceed to the next filter (which is usually forward-testing on live-but-small money, but that’s a different article).</p><p>The reasoning is direct. Real edge should show up in most market conditions. If your strategy needs a specific regime to make money, then over any four-year window that contains a regime shift (which is roughly all of them), you’ll have long negative periods. That’s not a business you want to run.</p><h3>What happens when I apply this to my sweep results</h3><p>I ran the four-quarter test across the strategies in my walk-forward positive set (a subset of ~200 candidates that came out of my 47,000-configuration EURUSD sweep). Here’s the breakdown:</p><ul><li><strong>Started with:</strong> 47,000 candidate configurations</li><li><strong>Passed initial backtest</strong> (in-sample positive): ~2,800</li><li><strong>Passed walk-forward</strong> (out-of-sample positive): ~200</li><li><strong>Passed four-quarter test</strong> (all 4 quarters positive): ~65</li></ul><p>About <strong>two-thirds of walk-forward survivors fail the four-quarter test.</strong> That number was jarring when I first computed it. It says: for every three strategies that pass the “standard” tests you’d read in a trading book, only one actually earns money in every market regime tested.</p><h3>A specific example — the “MACD Tokyo” strategy I nearly deployed</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*S7ZuM2J2bNQ1P273iUn7Ew.png" /></figure><p>I want to show a concrete case, not just numbers.</p><p>Earlier this year I was testing a MACD-crossover strategy restricted to the Tokyo session on EURUSD. The setup: MACD(12,26,9) golden cross entry in Tokyo session, 2×ATR stop, take-profit at recent range boundary.</p><p>Walk-forward results:</p><ul><li>Total trades: 289 over 6 years</li><li>Expected value per trade: <strong>+0.028R</strong></li><li>Win rate: 51.2%</li><li>Statistical significance: t-stat ~1.9 (borderline)</li></ul><p>This looked pretty good. Marginally positive edge, plenty of trades, held up out-of-sample. I nearly wrote it into the deploy list.</p><p>Then I ran the four-quarter test:</p><ul><li><strong>Q1 (Jul 2020 — Dec 2021):</strong> +0.089R per trade (65 trades) — very positive</li><li><strong>Q2 (Jan 2022 — Jun 2023):</strong> +0.059R per trade (79 trades) — positive</li><li><strong>Q3 (Jul 2023 — Dec 2024):</strong> −0.023R per trade (82 trades) — <strong>negative</strong></li><li><strong>Q4 (Jan 2025 — Jun 2026):</strong> −0.007R per trade (63 trades) — <strong>essentially zero</strong></li></ul><p>Two of the four quarters are negative. The strategy earned all of its expected value in the first three years and had been fading progressively since.</p><p>If I’d deployed based on the walk-forward number, I’d have been sitting through 18–24 months of the negative regime while telling myself “walk-forward validated.” That’s the failure mode this test catches.</p><p>I dropped the strategy. In hindsight, MACD-Tokyo was probably a real edge for a specific FX regime that ended around 2023 (something about central bank divergence). It’s not an edge anymore, and no amount of average-based testing was going to tell me that.</p><h3>Why regime-specific edges disappear</h3><p>Three reasons FX strategies tend to be regime-dependent, and why the four-quarter test catches them.</p><p><strong>Central bank policy dominates FX at multi-year timescales.</strong> From roughly 2019–2023, EURUSD was heavily influenced by ECB-Fed divergence. From 2023 onward, that dynamic shifted.</p><p>Strategies calibrated to the divergence regime don’t work as well in the current more-synced-policy regime. This is a regime shift you can only see if you look at the results in time-buckets.</p><p><strong>Volatility regimes change.</strong> 2020’s COVID crisis was extreme volatility. 2022’s rate hikes were high but different volatility.</p><p>2024–2026 has been comparatively calm. A strategy that needs high volatility to work (say, a breakout strategy with wide stops) will only earn in the high-vol periods. Averaging across all periods hides this.</p><p><strong>Algo saturation increases over time.</strong> As more retail traders adopt the same tools, the edges available to any specific tool decay. A strategy that worked in 2020 might have been arbitraged away by 2025. Time-bucketing reveals this decay.</p><h3>What the test can’t do</h3><p>I want to be honest about the limits of this test. It’s a filter, not an oracle.</p><p><strong>Small samples in each quarter.</strong> With ~50 trades per quarter, the confidence intervals on quarterly expected value are wide. A quarter that’s marginally negative (say, −0.005R with 40 trades) could easily be noise. I only reject strategies where the negative quarter is meaningfully negative (worse than −0.02R with reasonable sample size).</p><p><strong>Four segments is arbitrary.</strong> I could have picked three, five, six. Four is a compromise between statistical power (each quarter has enough trades) and regime resolution (each quarter is short enough to catch shifts). Different choice would give different survivor counts.</p><p><strong>Doesn’t predict future regime.</strong> Passing the four-quarter test doesn’t mean the strategy will keep working. It means the strategy hasn’t obviously failed yet across the tested regimes. Future regimes could still break it.</p><p>But — and this is the important part — a strategy that fails the four-quarter test is very likely to disappoint in deployment.</p><p>The false-negative rate (real edges wrongly rejected) is real but survivable. The false-positive rate you avoid (deployed regime-dependent edges) is much more expensive.</p><h3>Three takeaways</h3><ol><li><strong>Walk-forward testing tells you if a strategy is not curve-fit. It does not tell you if the strategy needs a specific market regime to work.</strong> Those are different failure modes and you need different tests to catch them.</li><li><strong>The four-quarter test kills roughly two-thirds of my walk-forward survivors.</strong> That number is a rough approximation of how much regime-dependence is hidden in “standard” backtesting.</li><li><strong>The test is not sophisticated. It is a 10-minute check that catches the mistake I most feared making.</strong> If you can only add one thing to your testing pipeline, add this.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><h3>Free PROP GUARD ($29 value) with a Fintokei signup</h3><p><em>Affiliate link — I may earn a commission if you sign up through it, at no extra cost to you.</em></p><p>If you’re running your own multi-regime backtests and want to test survivor strategies against a prop firm ruleset with <strong>Fintokei</strong> (Japanese-operated, transparent rules, English support):</p><ul><li><strong>30% off</strong> any plan with coupon FINYE4EV</li><li><strong>PROP GUARD HUD ($29 value) free</strong> through my signup link — the MT4 overlay that keeps your drawdown, consistency, and ceiling visible in real time</li><li><strong>Larger plans (One-Step Pearl) also get RISK GUARD</strong> ($58 value total)</li></ul><p>The UI is number-driven and easy to read; an English setup guide is included.</p><p><strong>Sign up:</strong></p><p><a href="https://www.fintokei.com/?affiliate=110">Try Prop Trading with Fintokei</a></p><p><strong>Reply here or DM me on Medium</strong> after signup — I verify and send the tools within 24 hours.</p><p><em>Next in this arc: three warning signs it’s time to kill a live trading bot before it kills your account.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f907b7c8260a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a 7-Day Portfolio: One Trading Edge for Each Weekday]]></title>
            <link>https://medium.com/@fxakrbno777_60117/building-a-7-day-portfolio-one-trading-edge-for-each-weekday-97be0c816620?source=rss-47eedbce3807------2</link>
            <guid isPermaLink="false">https://medium.com/p/97be0c816620</guid>
            <category><![CDATA[quantitative-finance]]></category>
            <category><![CDATA[portfolio-management]]></category>
            <category><![CDATA[forex]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Lulu_fx]]></dc:creator>
            <pubDate>Mon, 24 Aug 2026 13:01:05 GMT</pubDate>
            <atom:updated>2026-08-24T13:01:05.548Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Instead of hunting for one perfect strategy, I’m building a portfolio of tiny edges — one for each weekday. The math heavily favors this approach over solo trading.</em></p><p>Every single-indicator strategy I’ve tested on EURUSD has come out flat-to-negative. RSI, MACD, ADX, Stochastic, Donchian, Bollinger Bands — none of them, alone, produce meaningful expected value in modern market conditions.</p><p>But something interesting happens when you slice by day of the week. The same Keltner Channel strategy that returns roughly zero across all days generates +0.041R per trade if you restrict it to Tuesdays only.</p><p>The same MFI oscillator, flat overall, produces a meaningful edge if you only trade it on Friday during the New York open. And so on.</p><p>This piece is about building a portfolio out of these tiny weekday-specific edges. The individual returns look unimpressive (+0.2% to +0.5% monthly per edge). Combined into a book with low correlation, they produce something that starts to look like a real trading system.</p><p>Here’s the design, the numbers, and why the math strongly favors this over hunting for one perfect solo strategy.</p><h3>Why individual edges are always tiny in modern FX</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ItcljHPphKEKD0Cqlh7lqA.png" /></figure><p>Before I get to the portfolio, a piece of context that motivates the whole design.</p><p>I’ve now tested 47,000 configurations across EURUSD. The single best solo strategy in my dataset — daily RSI(28) reversal — produces a monthly-return-to-drawdown ratio of about 0.169. In practical terms: for every 5% drawdown you accept, you can earn about 0.85% per month.</p><p>That’s the ceiling for what a solo strategy can do on a modern currency pair. Not because I lack imagination — because after 47,000 configurations, no solo setup exceeded it meaningfully. The math has a hard ceiling around 0.20 monthly-to-drawdown ratio for single-instrument, single-timeframe strategies.</p><p>If you want a monthly-to-drawdown ratio of, say, 1.0 (which corresponds to “5% monthly on 5% drawdown,” the target that a lot of prop firm side-income strategies aim for), you can’t get there with a solo strategy. You need diversification. And the math is unforgiving about <em>how</em> to diversify.</p><h3>The portfolio math (in plain terms)</h3><p>Portfolio theory says something simple. If you combine N independent (uncorrelated) strategies, the combined expected return per unit of drawdown scales as roughly √N.</p><p>Combine 4 uncorrelated edges of 0.15 each → combined 0.30. Combine 9 uncorrelated edges → 0.45. Combine 16 → 0.60.</p><p>The trick is the word “uncorrelated.” Two strategies that both trade RSI on the same pair on similar timeframes aren’t independent — they’ll win and lose in the same weeks. So the √N benefit collapses.</p><p>You get the benefit only if the strategies genuinely bet on different things.</p><p>This is where day-of-week slicing gets interesting. If one edge only trades Tuesdays and another only trades Fridays, they are <em>literally</em> on different days. Their trade returns are, by construction, uncorrelated. The √N math applies cleanly.</p><p>That’s the design premise. Build one edge per day of the week. Each is small. Together they scale.</p><h3>Edges I’ve found (or am hunting for) by weekday</h3><p>Here’s my current inventory. Some are running, some are in verification, some are still being sought.</p><p><strong>Monday — hunting.</strong> Monday markets are noisy from weekend news repricing. Overshoots and reversals dominate. I’m testing a mean-reversion setup that fires on Monday afternoon (Tokyo/London overlap) when the morning move has exceeded 1.5 × daily ATR. Preliminary results: promising but not yet walk-forward-verified.</p><p><strong>Tuesday — deployed.</strong> Keltner Channel period-20, ATR multiplier 2.0, band-touch reversal, EURUSD H1. Six-year OOS expected value +0.041R per trade, ~45 trades per year, monthly contribution +0.24%. Statistically significant (t-stat ~2.3), verified on walk-forward.</p><p><strong>Wednesday — hunting.</strong> Wednesday is FOMC day roughly 8x per year, which distorts averages. I’m building two separate edges: a “non-FOMC Wednesday” mean-reversion and a “FOMC-week Wednesday” volatility-breakout. Neither is finished.</p><p><strong>Thursday — hunting.</strong> Thursday is ECB day when it happens. Same structural issue as Wednesday. Testing a US-session-only strategy that fires on ADX crossovers after ECB volatility resolves.</p><p><strong>Friday — in verification.</strong> MFI(14) reversal during the New York open. Preliminary results show +0.07R expected value per trade, ~30 trades per year, monthly contribution ~+0.20%. This is my second-most-tested edge after Tuesday Keltner.</p><p><strong>Weekend — no trading.</strong> Markets closed or ultra-thin.</p><p>At full build-out I’d have 5 weekday edges, roughly monthly +0.2 to +0.5% each, target combined monthly +1.0–2.5%.</p><h3>The correlation matrix I’m targeting</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*rXSPJDsnOPJWUtPUSgxW-Q.png" /></figure><p>The key metric for the portfolio design is the average pairwise correlation across the strategies. I have a target of average correlation &lt; 0.10, and my current running edges average around +0.009 (essentially zero, because they’re literally on different days).</p><p>For comparison, “typical” retail trader portfolios — say, someone running MACD on EURUSD, GBPUSD, and USDJPY — often have average correlations of 0.5+. That doesn’t diversify anything. Adding more pairs doesn’t help when they’re all responding to the same USD flow.</p><p>The weekday portfolio starts with a structural advantage: strategies on different days <em>cannot</em> correlate on trade-level returns. Correlation only sneaks in via monthly aggregation (all edges affected by “was this a bad month?” macro effects). But that’s much weaker than same-day correlation.</p><h3>What the combined book looks like in numbers</h3><p>Assuming the full 5-weekday build-out lands with typical numbers:</p><ul><li><strong>5 strategies</strong>, each producing +0.2 to +0.5% monthly, roughly independent</li><li><strong>Combined monthly return</strong>: +1.0 to 2.5% (roughly sum of individual returns since low correlation)</li><li><strong>Combined drawdown</strong>: less than sum of individual drawdowns due to diversification (roughly √5 ≈ 2.2× the average individual)</li><li><strong>Combined monthly-to-drawdown ratio</strong>: 0.40–0.50 range</li></ul><p>That’s approaching prop-firm-side-income territory (0.5 to 1.0 range) with a book that’s honestly diversified, not just leveraged.</p><p>For context, the best solo strategy in my dataset is 0.17. The weekday book is targeting nearly 3× that with the same underlying edges.</p><h3>What’s harder than the theory</h3><p>Three things this design is not:</p><p><strong>1. Not a “buy the book and print money” system.</strong> Each individual edge requires ongoing monitoring. Anomalies disappear. Regime shifts eat some edges while opening others. Deploying and abandoning strategies is part of the operational cost.</p><p><strong>2. Not a fast build.</strong> Each edge takes weeks of testing and months of live-observation to verify. My Tuesday Keltner is my most-verified because it’s been in the book longest. My Friday MFI is second. The rest are still catching up.</p><p><strong>3. Not a substitute for verification hygiene.</strong> Every edge needs the same walk-forward tests, cost-inclusion, and same-bar-execution honesty as any other strategy. The portfolio framework doesn’t rescue a curve-fitted individual strategy.</p><h3>Why this beats “one perfect strategy” hunting</h3><p>Two structural advantages.</p><p><strong>Statistically defensible.</strong> The individual edges are small (+0.2–0.5% monthly), which is what real, un-curve-fitted edges look like. Small, defensible edges are more likely to persist than spectacular ones (which are usually overfits).</p><p><strong>Robust to single-strategy failure.</strong> If Tuesday Keltner stops working next quarter, I lose one component. The book keeps functioning. If I were running a solo strategy and it broke, I’d have zero income for the recovery period.</p><p>Prop firms and quantitative funds run this way for exactly these reasons. They don’t rely on a single alpha source. They build books of small, uncorrelated edges. This design is essentially retail-scale application of the same principle.</p><h3>Three takeaways</h3><ol><li><strong>The efficiency ceiling for solo strategies on modern EURUSD is around 0.20 monthly-to-drawdown ratio.</strong> Going beyond that requires portfolio construction, not more testing.</li><li><strong>Day-of-week slicing provides structurally uncorrelated edges.</strong> Strategies that trade on different days cannot correlate on trade-level returns, giving clean √N diversification benefit.</li><li><strong>A 5-weekday portfolio targeting +1.0–2.5% monthly at combined 0.40–0.50 ratio is more realistic than hunting for a single 1.0-ratio strategy.</strong> The individual edges are small but the math combines cleanly.</li></ol><h3>Not investment advice</h3><p>Not investment advice, financial advice, or a solicitation. Backtests and single-trader anecdotes do not guarantee future results. Trading forex, CFDs, and leveraged instruments carries a substantial risk of loss. Consult a licensed advisor. I am not registered with the SEC, CFTC, or any equivalent body.</p><h3>Free PROP GUARD ($29 value) with a Fintokei signup</h3><p><em>Affiliate link — I may earn a commission if you sign up through it, at no extra cost to you.</em></p><p>If you’re building a diversified strategy book and want to run it against a prop firm ruleset with <strong>Fintokei</strong> (Japanese-operated, transparent rules, English support):</p><ul><li><strong>30% off</strong> any plan with coupon FINYE4EV</li><li><strong>PROP GUARD HUD ($29 value) free</strong> through my signup link — the MT4 overlay that keeps your drawdown, consistency, and ceiling visible in real time</li><li><strong>Larger plans (One-Step Pearl) also get RISK GUARD</strong> ($58 value total)</li></ul><p>The UI is number-driven and easy to read; an English setup guide is included.</p><p><strong>Sign up:</strong></p><p><a href="https://www.fintokei.com/?affiliate=110">Try Prop Trading with Fintokei</a></p><p><strong>Reply here or DM me on Medium</strong> after signup — I verify and send the tools within 24 hours.</p><p><em>Next in this arc: the 4-quarter regime test that catches curve-fits your walk-forward misses.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97be0c816620" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>