Moons Bottom
Spots washed-out bottoms. A green BUY prints when price is stretched far below its average and selling is exhausted.
What it does
- Plots a gray 20 EMA as the "mean" price and a red lower boundary below it.
- Prints a green BUY triangle under a candle when price closes below the red line and short-term RSI is deeply oversold.
- Only looks for bottoms. It gives no sell or exit signal.
How it works
The red line is a Keltner lower band: the 20 EMA minus 2 times the ATR (average true range, a measure of how far price normally moves). A close below it means price is stretched further under its average than normal volatility explains.
The second filter is a fast RSI (7 periods, smoothed with a 3-period EMA) dropping under 25, which means the recent selling has been relentless.
A BUY prints only when both are true on the same candle. Requiring both matters. Price below the band alone happens in any downtrend, and low RSI alone can sit low for a long time. Together they describe a washout: a fast drop that is stretched and out of steam, which is when buyers tend to step in and price snaps back toward the mean.
Why weekly
This is built for the weekly chart. A weekly candle is a full week of buying and selling, so one bad day or a wick doesn't trigger it. A weekly close below the red line is a much bigger stretch than a daily one, and a 7-period RSI on weekly covers seven weeks of momentum. The result is far fewer signals and far less noise.
- Weekly: fewer, cleaner signals. This is where it's most accurate.
- Markets: it works on crypto, stocks and commodities when used on weekly.
- Lower timeframes: daily and below still work, but you get many more signals and more false ones, so expect to filter them yourself.
How to read it
- A green BUY triangle means the stretch and oversold conditions were both true when that candle closed.
- The gray line is the mean price often drifts back toward. The red line is where the stretch begins.
- On the current (unfinished) candle the triangle can appear and disappear. Wait for the candle to close, especially on weekly.
- A BUY is not always the exact low. Signals can stack for a few weeks and price can still push lower. See "Can it still make new lows?" below.
Can it still make new lows?
Yes. Moons Bottom flags an exhausted, stretched move. It does not call the exact low. Price can print a BUY, bounce a little, then push to a lower low and print more BUYs. That's why you often see signals stacked in a row on the charts above. On the Bitcoin chart, the BUYs in mid-2022 came before price made a lower low later that year.
When that lower low happens it normally comes with a weekly bullish divergence.
- What it is: price makes a lower low, but RSI makes a higher low. Price is falling harder than the momentum behind it, so the sellers are running out of strength.
- Why it matters: the red line and RSI tell you the move is stretched. The divergence tells you the new low is being made on weaker selling, which is the kind of low that tends to hold.
- How to check: add TradingView's built-in RSI on the weekly chart. Compare the RSI low at the first BUY with the RSI low at the new price low. If price is lower and RSI is higher, that's the bull div.
- What to expect: a new low after a BUY is normal, not a failed signal. Moons Bottom doesn't draw divergence itself, and a divergence doesn't guarantee a bottom either.
Settings
| Baseline EMA | Average price is measured from. Default 20. |
| ATR Length | Candles used to measure normal volatility. Default 10. |
| Keltner Multiplier | ATRs below the EMA for the red line. Higher means fewer, more extreme signals. Default 2.0. |
| RSI Length | Speed of the momentum reading. Default 7. |
| RSI Oversold | Level the smoothed RSI must fall below. Default 25. |
Get the code
- Press Copy code.
- On tradingview.com, open a chart and click Pine Editor at the bottom.
- Delete what's there, paste, click Save, then Add to chart.
- Switch the chart to the 1W timeframe.











