> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/strategies/amibroker/bollinger-band-trailing-stop-loss.md).

# Bollinger Band Trailing Stop Loss

**Sample AFL Code - Bollinger Band Trailing Stop Loss**

BBand TSL or Bollinger Band-based Trailing stop loss trading is once again a mechanical trend trading system for lower timeframes. The trailing stop-loss method is completely built using bollinger bands and completely fits for stop and reverse strategy.\
\
**Indications**\
1\) The green line indicates a trailing stop for long\
2\) The Red line indicates a trailing stop for shorts\
3\) The Green Arrow indicates long\
4\) The Red Arrow indicates shorts<br>

&#x20;<mark style="color:blue;">Download Sample Code</mark>

{% file src="/files/9aRAVJrg95XjZmYMUVEM" %}
