# Supertrend Strategy

Supertrend is a simple ATR-based trend-following strategy that identifies the current trend and mages the risk dynamically with ATR-based trailing stop-loss. In this blog, we will learn how to implement the Supertrend Algomojo trading strategy using Algomojo and yfinance python library.

<mark style="color:blue;">Download here</mark>

{% file src="/files/rWT9QNEwoqv5k5ohWjbG" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algomojo.com/algomojo/strategies/python/supertrend-strategy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
