Atr Stop Loss For Double Sma V6 at a glance
| Kind of rule | Breakout |
|---|---|
| Buys or sells | It can buy, and it can bet on falling prices. |
| Built on | ATR, SMA, bars since, value when |
| Where it was published | TradingView, by its author, as a Pine Script strategy |
| Tested on | 65 cells: 13 coins, October 2021 to June 2026, no fee |
| Cells that placed a trade | 56 of 65 |
| Middle result before fees | −0.0% |
| Cells above zero | 0 of 56 |
| Middle drawdown before fees | 4.1% |
| Page updated | 2026-11-08 |
Atr Stop Loss For Double Sma V6 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.
How Atr Stop Loss For Double Sma V6 works
Rules in this group usually work like this. It buys when price pokes above a recent high, and it bets on a fall when price pokes under a recent low. It is wrong often. It pays for those false starts with the few times price keeps going. How far back it looks decides how many pokes it takes. 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 buys when the 15-period SMA of the close crosses above the 45-period SMA of the close. It can also enter the other way. That condition is in the list below. It gets out when another set of checks agrees. That line is in the list below too.
Each trade uses a fixed size of InitPosition__global__. It can stack up to InitPyramidMax__global__ trades in the same direction.
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 the 15-period SMA of the close crosses above the 45-period SMA of the close.
- Enters short when the 15-period SMA of the close crosses below the 45-period SMA of the close.
- Closes the position when Use stop Loss (on) and the bars since enter short is above the bars since enter long and the low crosses below the previous long stop price.
- Closes the position when Use stop Loss (on) and the bars since enter short is below the bars since enter long and the high crosses above the previous short stop price.
| Buys or sells | It can buy, and it can bet on falling prices. |
|---|---|
| Tools it calculates | ATR, SMA, bars since, value when |
| A second chart speed | No. It uses one chart speed only. |
| Only at certain hours | No. |
| Adding to a trade | It can stack up to InitPyramidMax__global__ trades in the same direction. |
| How much it trades | Each trade uses a fixed size of InitPosition__global__. |
| Cost the author assumed | The author assumed a trading cost of InitCommission__global__ percent per side. |
Default settings
The test used the defaults in the middle column. Nothing was turned to help a coin.
| Setting | Default | Group |
|---|---|---|
| Fast SMA | 15 | |
| Slow SMA | 45 | |
| Use stop Loss | on | |
| ATR Length | 14 | |
| ATR Multiple | 2 |
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 65 cells. It placed a trade on 56 of them. 0 of the cells that traded finished above zero (0.0%).
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 tried | 65 |
|---|---|
| Cells that placed a trade | 56 |
| Finished above zero | 0 (0.0% of the cells that traded) |
| Middle result, before fees | −0.0% |
| Strongest cell, the top of the range | TRX daily: −0.0% |
| Weakest cell, the bottom of the range | ETH 15-minute: −54.9% |
| Middle drawdown, before fees | 4.1% |
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 4.1%.
What this does not show
The useful question is what the false starts cost. Count the trades, not the one that kept going.
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 Atr Stop Loss For Double Sma V6
What is Atr Stop Loss For Double Sma V6?
Atr Stop Loss For Double Sma V6 is a breakout trading strategy published on TradingView as a Pine Script. It can buy, and it can bet on falling prices. It is built on ATR, SMA, bars since, value when. This page reads the rules from the code and reports what they did on old crypto prices.
How does Atr Stop Loss For Double Sma V6 work?
It can buy, and it can bet on falling prices. It buys when the 15-period SMA of the close crosses above the 45-period SMA of the close. It can also enter the other way. That condition is in the list below. It gets out when another set of checks agrees. That line is in the list below too.
Is Atr Stop Loss For Double Sma V6 profitable in a backtest?
Before any fee, 0 of 56 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 Atr Stop Loss For Double Sma V6 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 Atr Stop Loss For Double Sma V6 uses
Each has its own page: what it measures, how it is read, where it misleads.
- ATR (average true range): the volatility number behind most stops
- Simple moving average (SMA): the plainest average, and why it still runs half the strategies
"Atr Stop Loss For Double Sma V6" 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.