Internal bar strength measures where the close sits inside the bar's range. When it is in the bottom 10%, the system buys, and it sells once a close finishes above the previous bar's high. It is long only.
Best run of 11. Nasdaq 100, Daily, spread 3, from run pf:2026-09-24-NAS100-D.tsv:6.
| Period | Up to 2026-09-25 |
| Instrument | Nasdaq 100, Daily |
| Spread | 3 points |
| Contracts | 1 |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-09-25 |
| positionSize Contracts per trade | 1 |
| ibsEntryLevel Buy when the close is in the bottom 10% of the bar | 10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 2.00 | 905 | 61.55 | 21,381 EUR | -2,532 |
| S&P 500 | Daily | 1.74 | 926 | 67.06 | 4,953 EUR | -674 |
| FTSE 100 | Daily | 1.40 | 934 | 67.88 | 9,385 EUR | -1,440 |
| USD/JPY | 4 hours | n/a | 1,983 | 66.67 | 486,000 JPY | -144,380 |
| EUR/USD | 1 hour | n/a | 11,120 | 64.29 | 53,326 USD | -30,500 |
| Nikkei 225 | Daily | n/a | 873 | 65.29 | 42,111 USD | -13,245 |
| Dow Jones | Daily | n/a | 794 | 69.14 | 29,537 EUR | -9,314 |
| Nikkei 225 | 4 hours | n/a | 1,584 | 63.38 | 12,639 USD | -9,447 |
| DAX 40 | Daily | n/a | 762 | 64.96 | 9,624 EUR | -2,966 |
| Silver | Daily | n/a | 755 | 57.88 | 8,949 USD | -7,840 |
| Gold | 4 hours | n/a | 1,804 | 65.85 | 1,168 EUR | -984 |
Charts
Top 10 of 11 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================ // Internal Bar Strength // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: Daily // ============================================================ // --- Settings --- DEFPARAM CumulateOrders = false // --- Parameters --- positionSize = 1 // contracts per trade ibsEntryLevel = 10 // buy when the close is in the bottom 10% of the bar // --- Indicators --- // Where the close sits in the bar's range, 0 to 100 (a bar with high = low divides by zero, as tested) ibsValue = (close - low) / (high - low) * 100
14 more lines: the entry and exit rules.
Setup
Questions
Yes. It is a short piece of ProOrder code. It has been rewritten and not yet compile-checked, and the stats are from the earlier code.
Nasdaq 100 Daily made EUR 21,381.10 over 905 trades with a profit factor of 2.0. S&P 500 Daily had 1.74 and FTSE 100 Daily 1.4, and every row tested was profitable.
Nasdaq 100 Daily reached a max drawdown of EUR 2,532.40. S&P 500 Daily was EUR 674.45.
The idea is that a weak close often rebounds the next day. The three runs with a recorded profit factor are all on Daily bars.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.