D_Rock's MA Strategy at a glance

Kind of ruleTrading activity (volume-based)
Buys or sellsIt can buy, and it can bet on falling prices.
Built onATR, EMA, MACD, SMA, VWAP, WMA, bars since
Where it was publishedTradingView, by its author, as a Pine Script strategy
Tested on65 cells: 13 coins on 5 chart speeds (15m, 30m, 1h, 4h, 1D), October 2021 to June 2026
Fee in the test0.12 percent per side, buys only
Middle result after fees, every cell−14.8%
Cells above zero14 of 65
Cells that cleared the quality check9 of 65
Middle drawdown, every cell17.4%
Page updated2026-11-08

D_Rock's MA Strategy 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.

The middle result for each coinEach bar is the middle result for that coin, across its chart speeds. The black line is zero.DOGE (5)−29XRP (5)−27XLM (5)−26BCH (5)−26LTC (5)−23ADA (5)−22BNB (5)−22BTC (5)−22ETH (5)−20AAVE (5)−19AVAX (5)−18TRX (5)−16SOL (5)−14−320+7.0
Each bar is the middle result for that coin, across its chart speeds. The black line is zero.
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-minutedailyhourly30-minute4-hour−790+19
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.

How D_Rock's MA Strategy works

Rules in this group usually work like this. It acts when a lot of the coin is changing hands, or when price is on one side of the average price paid (often called VWAP). The idea is that a move with heavy trading behind it is more likely to continue. Crypto volume differs by exchange, so the filter inherits that. 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, EMA, SMA, WMA; 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 the whole account. 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 block result crosses above block result and slow confirm long and MACD long signal and Enable Long (on).
  • Enters short when block result crosses below block result and slow confirm shrt and MACD short signal and Enable Short (off).
  • Closes the position when Enable Long (on) and a long position is open and Enable MA Cross Exit equals on and block result crosses below block result.
  • Closes the position when Enable Long (on) and a long position is open and not (Enable MA Cross Exit equals on and block result crosses below block result) and Max Bars in Trades: equals on and the bars since long cross and longcombo1 is at or above maximum bars in trade.
  • Places a stop at (the average entry price − (entry ATR × ATR Multiplier for Stop Loss (1.4))), a target at (the average entry price + (entry ATR × ATR Multiplier for Take Profit (3.2))) when Enable Long (on) and a long position is open and not (Enable MA Cross Exit equals on and block result crosses below block result) and not (Max Bars in Trades: equals on and the bars since long cross and longcombo1 is at or above maximum bars in trade).
  • Closes the position when Enable Short (off) and a short position is open and Enable MA Cross Exit equals on and block result crosses above block result.
Buys or sellsIt can buy, and it can bet on falling prices.
Tools it calculatesATR, EMA, MACD, SMA, VWAP, WMA, bars since
A second chart speedNo. It uses one chart speed only.
Only at certain hoursNo.
Adding to a tradeIt holds one trade at a time.
How much it tradesEach trade uses the whole account.
Cost the author assumedThe author assumed a trading cost of 0.1 per contract.

Default settings

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

SettingDefaultGroup
Enable LongonRisk & Trade Management
Enable ShortoffRisk & Trade Management
Max Risk % per Trade1Risk & Trade Management
Equity Percentage for Position Sizing25Risk & Trade Management
ATR Multiplier for Stop Loss1.4Risk & Trade Management
ATR Multiplier for Take Profit3.2Risk & Trade Management
ATR Length14Risk & Trade Management
Show Cloud-1onMoving Averages Settings
MA 1a5Moving Averages Settings
MA 1b10Moving Averages Settings
Show Cloud-2onMoving Averages Settings
MA 2a5Moving Averages Settings
MA 2b20Moving Averages Settings
Show Cloud-3offMoving Averages Settings
MA 3a50Moving Averages Settings
MA 3b50Moving Averages Settings
Show Cloud-4offMoving Averages Settings
MA 4a100Moving Averages Settings
MA 4b200Moving Averages Settings
Show Cloud-5offMoving Averages Settings
MA 5a500Moving Averages Settings
MA 5b1000Moving Averages Settings
TypeEMAMoving Averages Settings
TypeEMAMoving Averages Settings

and 27 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.

This is the second pass. A fee of 0.12 percent per side is taken on the buy and again on the sell. Only buys are counted. If the rule also bets on falling prices, those trades are not in these numbers.

After fees, 14 of 65 cells finished above zero (21.5%). The median of every cell was −14.8%.

9 of the cells cleared a quality check: at least 50 trades, gains that are not one lucky trade, and a drawdown that is real without taking the whole account.

Finished above zero by chart speed: 15-minute chart, 15m 0 of 13; daily chart, 1D 5 of 13; hourly chart, 1h 0 of 13; 30-minute chart, 30m 0 of 13; 4-hour chart, 4h 9 of 13.

Cells tried after the fee65
Finished above zero14 (21.5%)
Middle result, the median of every cell−14.8%
Middle drawdown, every cell17.4%
Cells that cleared the quality check9
Middle result, over the cells that cleared the quality check+3.8%
Extra, Calmar on the checked rows. Result divided by the deepest fall0.52
Extra, Sharpe on the checked rows. Result divided by how bumpy the path was0.07
Middle drawdown, the checked rows6.6%
Deepest fall, the checked rows8.7%
Middle number of trades, the checked rows91

Label: backtest · old prices, buys only, a fee of 0.12 percent per side, every cell · 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 is the result of the rule. The author's settings were not changed to help any coin. The weakest and the strongest cells are not a result on their own.

What the number leaves out

The table also shows +3.8%, taken only over the cells that cleared the quality check. Cells that finished down are left out of that figure, which is why it stands away from the median of every cell. It describes those rows only.

9 of 65 cells cleared a quality check: at least 50 trades, a profit factor that is not one lucky trade, and a drawdown that is real without taking the whole account. Profit factor means the gains divided by the losses. Clearing the check describes this sample. It says nothing about the next set of years.

The count above is also split by chart speed. A speed that finished higher, in these years, is one slice of the same rule. It is not a separate strategy.

What this does not show

The useful question is which exchange the volume came from. The amount traded is not the same number everywhere.

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 D_Rock's MA Strategy

What is D_Rock's MA Strategy?

D_Rock's MA Strategy is a volume-based trading strategy published on TradingView as a Pine Script. In plain terms it is a rule of the kind this site calls trading activity. It can buy, and it can bet on falling prices. It is built on ATR, EMA, MACD, SMA, VWAP, WMA, bars since. This page reads the rules from the code and reports what they did on old crypto prices.

How does D_Rock's MA Strategy work?

It can buy, and it can bet on falling prices. It acts only when several checks agree at once. It leans on ATR, EMA, SMA, WMA; 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 D_Rock's MA Strategy profitable in a backtest?

In this backtest, more cells lost than gained. After a fee of 0.12 percent per side, 14 of 65 cells finished above zero and the median of every cell was −14.8%. A backtest is a replay on old prices, so it describes these coins and these years, not a future result.

What was the drawdown of D_Rock's MA Strategy?

The median drawdown across every cell was 17.4%, and the deepest fall in any cell was 74.1%. Drawdown is the deepest fall from a high point along the way, as a percent of the account at that high.

Which timeframe suited D_Rock's MA Strategy?

Counted by cells above zero: 15-minute (15m) 0 of 13; 30-minute (30m) 0 of 13; hourly (1h) 0 of 13; 4-hour (4h) 9 of 13; daily (1D) 5 of 13. The 4-hour chart had the largest share above zero in these years. A chart speed that did better here is one slice of the same rule, not a separate strategy.

Where can I find the D_Rock's MA Strategy 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 D_Rock's MA Strategy uses

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

"D_Rock's MA Strategy" 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.