Nils Version at a glance

Kind of ruleTime of day (session and opening range)
Buys or sellsIt can buy, and it can bet on falling prices.
Built onADX / DMI, ATR, EMA, RSI, SMA, VWAP
Where it was publishedTradingView, by its author, as a Pine Script strategy
Tested on67 cells: 15 coins, October 2021 to June 2026, no fee
Cells that placed a trade26 of 67
Middle result before fees−0.0%
Cells above zero11 of 26
Middle drawdown before fees0.0%
Page updated2026-11-08

Nils Version backtest results, every cell

Every cell is in the picture, not only the strongest. To the right of the black line is above zero. The orange line, when you see one, is the middle.

Every cell, one dotEach dot is one cell, lined up by chart speed. Dots to the right of the black line finished above zero. The orange line is the middle.15-minute30-minute−0.07+0.97
Each dot is one cell, lined up by chart speed. Dots to the right of the black line finished above zero. The orange line is the middle.
The middle result for each coinEach bar is the middle result for that coin, across its chart speeds. The black line is zero.BCH (2)−0.00LTC (2)−0.00XRP (2)−0.00ADA (2)−0.00XLM (2)−0.00DOGE (2)−0.00TRX (2)+0.00AAVE (2)+0.00AVAX (2)+0.00BNB (2)+0.00SOL (2)+0.00ETH (2)+0.01BTC (2)+0.61−0.05+0.75
Each bar is the middle result for that coin, across its chart speeds. The black line is zero.

How Nils Version works

Rules in this group usually work like this. It only acts during set hours, such as the London or New York morning. Crypto never closes, so those hours are a choice, not a fact of the market. The question is whether those hours behave the same way on more than one coin. The next paragraph is this particular rule, which can be narrower than the group.

It can buy, and it can bet on falling prices. It acts only when several checks agree at once. It leans on ATR, DMI, EMA, RSI; those names are explained on their own pages, further down. The exact line is in the list below, in the author's names, and you can skip that list. When it enters, it also sets a stop or a target, so a trade can close without a new signal.

Each trade uses a fixed size of 2. It holds one trade at a time.

The exact condition, from the code

Same rule, translated from the code, in the author's names. You can skip this list if the paragraph above was enough.

  • Enters long when range set and no position is open and trades count is below Max Trades per Day (2) and (the close is above undefined and the previous close is at or below undefined when Close Confirmation (candle must CLOSE beyond range) (on), else the close crosses above undefined) and (not (Volume Filter (> 20 SMA) (on)) or volume is above the 20-period SMA of volume) and (not (ADX Trend Filter (min strength) (on)) or ADX is ….
  • Enters short when range set and no position is open and trades count is below Max Trades per Day (2) and (the close is below undefined and the previous close is at or above undefined when Close Confirmation (candle must CLOSE beyond range) (on), else the close crosses below undefined) and (not (Volume Filter (> 20 SMA) (on)) or volume is above the 20-period SMA of volume) and (not (ADX Trend Filter (min strength) (on)) or ADX is ….
  • On entry, places a stop at (the close × 0.995), a target at (the close + ((the close × 0.005) × Risk/Reward Ratio (2))), a trailing stop.
  • On entry, places a stop at (the close × 0.995), a target at (the close + ((the close × 0.005) × Risk/Reward Ratio (2))).
  • On entry, places a stop at (the close × 1.005), a target at (the close − ((the close × 0.005) × Risk/Reward Ratio (2))), a trailing stop.
  • On entry, places a stop at (the close × 1.005), a target at (the close − ((the close × 0.005) × Risk/Reward Ratio (2))).
Buys or sellsIt can buy, and it can bet on falling prices.
Tools it calculatesADX / DMI, ATR, EMA, RSI, SMA, VWAP
A second chart speedNo. It uses one chart speed only.
Only at certain hoursYes. It only acts during set hours.
Adding to a tradeIt holds one trade at a time.
How much it tradesEach trade uses a fixed size of 2.
Cost the author assumedThe author assumed no trading cost.

Default settings

The test used the defaults in the middle column. Nothing was turned to help a coin.

SettingDefaultGroup
Opening Range (min)15
Trade Window0930-1100
Session Exit1100-1105
TimezoneAmerica/New_York
Risk/Reward Ratio2
Stop Loss PlacementMid Range
Close Confirmation (candle must CLOSE beyond range)on
ADX Trend Filter (min strength)on
ADX Threshold20
Require Rising ADXoff
ADX Length14
RSI Filter (Avoid Overextended)on
EMA 200 Trend Filteron
EMA 50 Micro Trend Filteron
Volume Filter (> 20 SMA)on
VWAP Bias Filteroff
Enable Trailing Stopon
Activate after R:1
Trail distance (× ATR)1.5
ATR Length14
Enable Re-Entryon
Max Trades per Day2
Show Opening Range Boxon
Show 200 EMAon

and 3 more settings, left at the author's defaults.

How the backtest was run

Every strategy was tried the same way, on the settings the author published.

The years are October 2021 to June 2026. The prices are from Bybit, for 13 widely traded coins, mostly on hourly, 4-hour and daily charts, with some faster charts. That was 47,242 tries. The window stored in the files is 2021-09..2026-06.

599 rules produced a finished try. A rule that finished above zero on at least 12 cells, before any fee, was tried again with a fee of 0.12 percent per side. Only buys are counted in that second try. 273 rules got it.

The method, the aggregate results and a downloadable table are on the study page. What the desk does with the results beyond these pages is its own.

Before any fee, it was tried on 67 cells. It placed a trade on 26 of them. 11 of the cells that traded finished above zero (42.3%).

It was not run a second time with a fee. That second pass happens only when at least 12 cells finished above zero before fees. 273 rules got that pass.

Cells tried67
Cells that placed a trade26
Finished above zero11 (42.3% of the cells that traded)
Middle result, before fees−0.0%
Strongest cell, the top of the rangeBTC 15-minute: +0.9%
Weakest cell, the bottom of the rangeETH 15-minute: −0.0%
Middle drawdown, before fees0.0%

Label: backtest · old prices, zero commission · Oct 2021 – Jun 2026. Hypothetical results; see the risk disclosure.

How to read the result

How to read the number

The median of every cell that traded is the result. No fee has been taken off, so the number is a ceiling. A fee comes off each trade, and this page does not guess that cost, because this rule did not get the second pass where the fee is applied. The weakest and the strongest cells are not a result on their own.

The middle drawdown, on the cells that traded, was 0.0%.

What this does not show

The useful question is whether the same hours work on other coins. Crypto has no closing bell, so the hour is a choice.

Nothing on this page was fit to the cell that finished highest. One coin, one chart speed, or one strong stretch is a single row. It is not the rule. Other years, another exchange, or another fee would be a different measurement.

Questions about Nils Version

What is Nils Version?

Nils Version is a session and opening range trading strategy published on TradingView as a Pine Script. In plain terms it is a rule of the kind this site calls time of day. It can buy, and it can bet on falling prices. It is built on ADX / DMI, ATR, EMA, RSI, SMA, VWAP. This page reads the rules from the code and reports what they did on old crypto prices.

How does Nils Version work?

It can buy, and it can bet on falling prices. It acts only when several checks agree at once. It leans on ATR, DMI, EMA, RSI; those names are explained on their own pages, further down. The exact line is in the list below, in the author's names, and you can skip that list. When it enters, it also sets a stop or a target, so a trade can close without a new signal.

Is Nils Version profitable in a backtest?

Before any fee, 11 of 26 cells that traded finished above zero, and the median of those cells was −0.0%. No fee has been taken off, so that number is a ceiling. The rule did not reach the second pass where a fee is charged on every trade.

Where can I find the Nils Version script?

It is published on TradingView by its author. Search TradingView for the title to find the original script. This page is an independent reading and is not affiliated with the author.

What does backtest mean on this page?

Backtest means the rule was replayed on old prices from Bybit. No real money moved. Every number on this page carries that label, and old prices do not promise anything about new ones.

Words used on this page

Backtest
The rule was tried on old prices. No real money moved.
Cell
One coin on one chart speed. Bitcoin every 4 hours is one cell. Bitcoin once a day is another.
Chart speed
How often a new price bar is drawn. 15m means every 15 minutes, 1h means hourly, 4h means every 4 hours, 1D means once a day.
Fee, per side
A cost taken each time the rule trades. Per side means once on the way in and once on the way out.
Median
Line the cells up from the biggest loss to the biggest gain. The median is the middle one. Half the cells did better and half did worse.
Drawdown
The deepest fall from a high point along the way, as a percent of the account at that high.
Above zero
The account finished with more than it started.

The indicators Nils Version uses

Each has its own page: what it measures, how it is read, where it misleads.

"Nils Version" was published on TradingView by its author, under the author's own license. This page is an independent reading of those rules and of what they did on these old prices. It is not written with the author, and it is not a recommendation. Not every detail survives the translation onto this page, so read the original before you rely on it.