ProEA Lab · MT5, TradingView and trading research · Evidence standards
Systems

The Hit Rate Was Thirty Percent. The Exit Was the Problem.

A commenter wanted three scripts folded into one that says what is missing before a signal fires. We built it, saw a thirty-percent hit rate on the dashboard, and measured why: the textbook exit was closing trades early. Every number, on three charts, including the one where nothing paid.

PL · 11 min read
Ink sketch on ivory paper: a stochastic line crossing up through its band while price rides above a rising average, a checklist of four ticks beside it, and the statement: thirty percent won, the exit was the problem.

A commenter on our thread listed three scripts.

An EMA 200 with its smoothing line. The Stochastic Pop with an EMA on the line. An analysis table.

Could they be one script, and could it say what is still missing before a signal fires?

So we built it. A four-step checklist on the chart, a Co-Pilot that explains it in words, and a strategy twin to measure it.

Then we looked at the dashboard and saw a hit rate of thirty percent.

The obvious question is whether that is a problem. It is the wrong question, and answering the right one changed the default exit of the tool.

The hit rate barely moved in any configuration we tried. The money moved a lot, and it moved with the exit.

That is the article. Three charts, every switch, the seven-word answer to "is thirty percent bad", and the chart where nothing paid.

Two requests before we start:

  1. Save this before you judge your next system by its win rate.
  2. Send it to the friend whose momentum indicator exits on the same signal that got them in.
The ledger: the same entry rule under two exits on three charts, costs on, in-sample. Bitcoin one hour: textbook exit profit factor 1.17 on 35 trades, the ladder 1.51 on 27. Gold one hour: textbook 0.94 on 98, the ladder 1.31 on 83. Gold fifteen minute: textbook 0.83 on 50, the ladder 0.81 on 44, a tie around break-even. The profitable share sat between 27 and 35 percent in every cell.
Same entries, two exits, three charts. The profitable share stayed between 27 and 35 percent everywhere. The profit factor did not. Costs on, in-sample, one run per cell.

Skip this if you already judge systems by expectancy

The 60-second version. We built the Stochastic Pop rule as a checklist and ran its strategy twin with a 0.02% commission per order and five ticks of slippage on bitcoin 1H, gold 1H and gold 15m, in-sample, one run per cell.

The profitable share sat between 27% and 35% in every cell. With the textbook exit, closing when the stochastic crosses back through its band, bitcoin 1H paid a profit factor of 1.17 and both gold charts lost. With a plain ladder instead, a stop, a first target that moves the stop to breakeven, and a final target, bitcoin went to 1.51, gold 1H to 1.31, and gold 15m stayed around break-even at 0.81.

The ladder became the default. The band exit ships as a switch. Every other switch was measured the same way and ships off, with its number in the tooltip.

What the win rate impliesWhat we measured
Thirty percent means the entry is brokenThe entry was the same in every cell; the exit decided the money
Exit when momentum fades, like the book saysThe book's exit cut two thirds of the trades early and small
More confirmation fixes a low hit rateA stricter gate looked spectacular on two charts and lost on the third, with 23 trades
A trailing stop protects profitsIt helped on bitcoin and hurt on gold; the two markets trend differently after a pop
Faster charts, more signals, more moneyThe fast chart was around break-even under every setting we tried

I. What the comment asked for

Our own post on r/pinescript offered to build what people were missing. One reply listed three indicators: the built-in EMA 200 with its five-period smoothing line, the ChrisMoody version of Jake Bernstein's Stochastic Pop with bands at 55 and 45 "plus an EMA 4" on the line, and an analysis script that had been auto-translated into a table.

The ask underneath the list was better than the list. Which settings were missing, and what would make the three work together?

We answered with one script. The stochastic lives in its own pane and the rest draws on the price chart, so the reader gets one settings dialog instead of three. And the analysis table became a checklist that says, in words, which step of the rule is still false.

Skip §II if you have read the free page. It is the design, not the finding.

II. The rule as a checklist

The Stochastic Pop is a momentum rule. Price sits on the right side of a long average, the stochastic pops through a band, you go with it. Made mechanical it has four steps, and every one commits on the closed bar.

Trend: longs only above a rising EMA 200, shorts only below a falling one. Not stretched: the close must sit within a set number of ATR from the EMA, because a pop that starts far away is a chase. Fresh pop: the line must have visited the other band since the last signal, with a cooldown. Cross: the EMA-smoothed stochastic closes through its upper band for a pop, its lower band for a drop.

Then the plan: a structural stop at a swing or in ATR, a first target where the stop moves to breakeven, a final target, and an exit tag that says why the trade ended.

The rule as a checklist: four steps in order, trend, not stretched, fresh pop, cross; then the Missing row that names the one step still false, and the plan of a structural stop, a first target that moves the stop to breakeven, and a final target.
The panel walks the four steps and names the one that is still false. The Missing row is the comment's question, answered on every bar.

Run it yourself. Stochastic Pop Desk is free and open-source, no signup, MIT, and the strategy twin we measured with is the second file in the same download. Get it on the free page →

III. Is thirty percent a problem?

Answer first: no. A momentum-pop rule normally wins under 40% of the time and pays with the size of its winners. The number that mattered was not the hit rate but the exit breakdown, and on gold 15m it said that 33 of 50 paper trades had ended on the band cross back.

That exit is the textbook rule. The stochastic crosses back through its band, momentum is gone, the trade closes. It sounds disciplined. On a five-minute or fifteen-minute chart it also closes most trades before they reach a target, because the line crosses back on the first pause.

Two thirds of the trades were being cut early and small. The hit rate was never the problem; the exit was.

We checked the extreme case too. With the band exit alone and no stop at all, bitcoin 1H produced a profit factor of 0.75 and a net of minus 3,878 on 35 trades, from the same entries that paid 1.51 with a ladder.

The exit breakdown: on gold fifteen minute, 33 of 50 paper trades ended on the band cross back and 17 on the stop or a target. And the band cross back alone, with no stop, on bitcoin one hour: profit factor 0.75, net minus 3,878 on 35 trades.
How the trades ended, and what the book's exit does on its own. Same entries as the run that paid 1.51 with the ladder.

IV. Which exit pays

Answer first: dropping the band exit was the one change that helped on every chart where anything helped. Bitcoin 1H went from 1.17 to 1.51, gold 1H from 0.94 to 1.31, and gold 15m tied at 0.83 against 0.81, around break-even either way.

The trade counts moved less than you would expect: 35 to 27 on bitcoin, 98 to 83 on gold 1H, 50 to 44 on gold 15m. The profitable share stayed in the same band throughout, 27% to 35%. What changed was how far the winners were allowed to run before something closed them.

The ladder is not clever. A stop where the setup is wrong, the stop to breakeven at one R, out at two R. It ships as the default because it measured best on two of the three charts and tied on the third. The band exit stays as a switch, and a third option runs both, because some readers will want the book.

Skip §V if you never plan to touch the settings. It is the part where most of the good ideas lost.

V. Every switch, one at a time

Answer first: of seven switches, one improved the profit factor on every chart it was tried on. Three helped on bitcoin and hurt on gold. One hurt everywhere. All seven ship off, with these numbers in their tooltips.

The gates first. Requiring a majority of the context agreements, the MA stack, the EMA 8 and 21, RSI, volume, took bitcoin 1H to 1.69 on 23 trades and left gold 1H at 1.12. Requiring all of them looked spectacular, 3.28 on bitcoin and 2.08 on gold 15m, and lost on gold 1H at 0.88 with 23 trades. Fourteen, seventeen and twenty-three trades are sample-size stories, not rules, so the default gate stays the classic one: trend and pop only.

Every switch one at a time on top of the shipped default, profit factor per chart. Default 1.51, 1.31, 0.81. Higher-timeframe agreement 1.89, 1.41, 0.98. Trailing stop after the first target 1.58 and 1.10. Opposite-signal exit 1.68 and 1.02. Time stop 1.33 and 1.23. Session filter four trades on bitcoin, 1.23 on gold one hour. The trend trail as the stop from entry 1.81, 0.96, 0.55. Skip signals in a sideways regime 1.90, 2.55, 0.50.
One switch on top of the default. The higher-timeframe agreement is the only row above the default on every chart it ran on.

The higher-timeframe agreement, price on the same side of the EMA on the four-hour chart, was the only switch that improved the profit factor everywhere: 1.89 on bitcoin, 1.41 on gold 1H, and 0.98 from 0.81 on gold 15m, with fewer trades each time. A trailing stop after the first target and an opposite-signal exit both helped bitcoin and hurt gold; the two markets trend differently after a pop. The time stop hurt on both charts it ran on. The session filter produced four trades on a market that never closes, and is for session markets only.

The trend trail is the most visible object on the chart, and the reference chart we were sent uses exactly such a line as the stop. So it was wired as one and measured. From entry, it paid 1.81 on bitcoin and lost on both gold charts, 0.96 and 0.55. Our first version of the trail flipped on every close across the EMA and zig-zagged through ranges; the shipped one flips only when price closes through it and ratchets with the extreme since the flip, which is why gold 1H went from 0.62 to 0.96 between versions. It pays where trends run and costs where price chops around the average, which is the definition of a switch.

The last switch came from the second complaint we had while building: the system did not know it was sideways.

The sideways detector and what skipping signals inside a range did. A fixed threshold under twenty percent flagged almost every bar on gold fifteen minute and left five trades of forty-four, so the flag is relative: the choppiest quarter of the last two hundred bars, released above the fortieth mark. With the skip on, gold one hour went from 83 trades at 1.31 to 42 at 2.55 with the drawdown cut from 372 to 146; bitcoin from 27 at 1.51 to 13 at 1.90; gold fifteen minute from 44 at 0.81 to 19 at 0.50.
The detector is on for everyone, because knowing is free. Acting on it halved gold 1H's trades and nearly doubled its profit, and removed the wrong half on gold 15m.

The detector reads efficiency: the net move over twenty bars divided by the distance travelled. Our first cut used a fixed threshold and flagged almost every bar on gold 15m, leaving five trades of 44. The shipped flag is relative, sideways while efficiency sits in the choppiest quarter of the last two hundred bars, released above the fortieth mark so it does not flicker. Skipping signals while the flag is up took gold 1H from 83 trades at 1.31 to 42 at 2.55 and cut the drawdown from 372 to 146. Bitcoin went to 1.90 on thirteen trades, a small sample. Gold 15m went to 0.50: it removed the wrong half.

VI. What we shipped, and why the default is the ladder

Answer first: the free Stochastic Pop Desk enters on the four-step checklist with the classic gate, and exits on the ladder, because that combination measured best on two charts and tied on the third. Everything else is a switch with its number in the tooltip.

The panel shows the checklist with a tick or a cross per step, the reason in words, and the Missing row. The Co-Pilot says the same in three lines. The record row shows closed paper trades and how they ended, band, stop or target, so the exit breakdown that started this article is on the chart for your instrument too.

The honest ledger:

  • Good: the checklist does what the comment asked. The stop is structural. The twin runs with costs on from bar one, and it is generated from the indicator, so the two cannot drift.
  • Unproven: the edge. Three charts, one window each, in-sample, with several cells under 25 trades. Gold 15m did not pay under any setting; the method was designed for swing timeframes and the hourly charts agree.
  • Dangerous if misread: the all-agreements gate and the sideways skip. Both look brilliant on a chart or two and lose on another. Flip them with the tooltip open.

Want the trend and momentum read across timeframes and symbols at once? The MTF Confluence Matrix does that for a whole watchlist, with the same funnel-and-ledger honesty. Free first is the right path; the paid tool assumes you have run the free one.

The 20-minute audit for any momentum indicator you rent

Minutes 0–5. Find the exit rule in words. If the tool exits on the same oscillator that got you in, ask how often that happens before a target.

Minutes 5–10. Ask for the exit breakdown. How many of the last fifty trades ended on the signal, the stop, or a target? If the tool cannot say, it does not know either.

Minutes 10–15. Judge the expectancy, not the hit rate. Average winner times the winners, minus average loser times the losers. A thirty-percent system can be fine; a fifty-percent system can lose.

Minutes 15–20. Flip one switch at a time, with costs on, and write down what it did on a second chart before you believe it.

Disclosure

We build and sell indicators. This one is free because a tool that publishes the chart where it did not pay is the pitch for every tool we charge for. Nothing above is advice, and the numbers are three symbols, one window each, measured by us, not validated out of sample.

The one question to ask any momentum-signal seller: how do the trades end, and did you measure the exit you recommend?

A hit rate is a description. An exit is a decision. Only one of them was ever the problem.

Continue reading

We Built a Signal Tool. Then We Tested the Grade.

An options buyer asked for fewer, stronger calls. We built a graded signal desk, ran it with costs on, and let a model learn which factors paid. The plain count beat every clever gate. Here is the whole ledger, including what failed.

Sep 4 · ProEA Lab

Ink sketch on ivory paper: a pullback to a rising average and a strong close back above it with an orange BUY B label, five factor dots with four filled, and the question whether the letter ranked anything; the statement reads: we graded the signals, then we tested the grade.

We Built the Sweep Engine. Then We Measured Both Confirmations.

A thread said finding the liquidity is easy and the entries and exits are where the gold is. So we built the sweep sequence with a real stop and both targets, ran it with costs on gold and bitcoin, and published every number, including the ones that lose.

Sep 4 · ProEA Lab

Ink sketch on ivory paper: a resting pool of equal highs, a candle wicking through it and closing back, the gap below it inverted into an orange zone, a stop above the sweep and two targets below; the statement reads: the pools were easy, the exits were the work.

How to Add Pine Script to TradingView (.pine File Guide)

Open a .pine file, paste its code into TradingView, save and add it to your chart. Find the Pine Editor and fix common import and compile errors.

Jul 24 · ProEA Lab

A brass pneumatic-tube capsule holding a rolled paper script being slotted into a receiver panel beside a dark candlestick chart — poster titled Two Routes In.