How I am using the All Time High (ATH) Drawdown indicator

We released this one recently, and I think it would be good to share how I am using it. Perhaps you can get some ideas for how to use it in your own strategies.

The ATH Drawdown indicator, as the name suggests, measures the drawdown from the highest price in the lookback (it is important to mention the lookback because if the real ATH happened a long time ago, you would need to increase the lookback to measure from that point).

I use this indicator to filter out deals. For a long bot, I wouldn’t want to start a deal within 10% of the ATH. There is a high risk of reversal at this point, as many traders will be taking profits within that area putting a lot of sell pressure.

Please, don’t be this guy:

The other use case is for profiting with short bots on my long-term bags. I have been accumulating BTC and ETH for a while and would like to sell when the price is high. The advantage is that if the price goes up and dips back down, I would have made a profit in base for free. If the price doesn’t come down enough to buy everything, that is also ok. I would have sold at a higher average price than trying to time the peak. So, I added the ATH filter to start selling near the ATH (within 20%) for this kind of short bot.

In both cases, I use it as a filter to start new deals. The other use case would be to turn off the bot automatically and close any opened deals; in that case, you could use the indicator in the bot controller instead.

I am using this one on the strategy I posted earlier: Accumulation/Distribution Combo Strategy. But I think it could also be a good addition to @Rossano’s S-series for those who want to manage risk further.

Note: If you plan to backtest adding this indicator in your strategies, keep in mind that the backtester currently works without any funds limitations. So, for example, if you were to backtest a short bot on your 1 ETH, the result is likely higher without the ATH filter. But when your funds are limited, it may be another story. We will introduce limiting funds in the backtester later on.


Very interesting :ok_hand: - I’m actually testing some signals base strategies and I’m sure this will be a great addition even only to check the max drawdown on a specific pair before starting the bot.

@aressanch thanks for the mention - for those who are interested these are the links to the S-Series:

Strategies Series by @Rossano
(S-1) - INTRO + (S-1) Accumulation Bot
(S-2) - (S-2) ZERO Movements
(S-3) - (S-3) Reduced position size
(S-4) - (S-4) Dynamic grid UP + DOWN
(S-6) - (S-6) Mix Bot - Standard + 0 Movs
(S-10) - (S-10) DCA by Simultaneous Deals

Backtests by @Perez
(Strategy Series) - S Strategies Backtest


This approach will fit well with a concept I have been thinking for a while - instead of looking at the price ranges, we can make the price ranges dynamic by looking the overall chart avg price.

Avg price seems to be more dynamic, as even if we follow the price using ASAP we still need to move slower on the way back and faster on the way up (and vice versa). So my idea is to follow the price while dancing around a ‘relative’ avg price for each deal.

Beautiful! Thanks mate. This ATH filter would have saved my bots from the big red bags I now have. I was doing this manually on 3C. But couldn’t update it due to 3C freezing before a new deal.


Does this tell the bot not to buy if the current price is X% from the ATH?

1 Like

Yes that’s the purpose.

Exactly what it does! Isn’t that super useful?