# Rule examples

Obside allows you to create strategies suited to **two approaches** : **trading and investing**. To help you write your rules more effectively and leverage the full potential of our AI, we have grouped **concrete examples** into two dedicated sections.

Choose the section that matches your approach and explore concrete examples.

* **Rule examples for trading —** Dynamic strategies with precise entry and exit rules.

{% content-ref url="rule-examples/trading" %}
[trading](https://docs.obside.com/algo-strategies/create-a-trading-algo/rule-examples/trading)
{% endcontent-ref %}

* **Rule examples for investing —** Medium- and long-term approaches, including DCA, rebalancing and progressive capital management.

{% content-ref url="rule-examples/investment" %}
[investment](https://docs.obside.com/algo-strategies/create-a-trading-algo/rule-examples/investment)
{% endcontent-ref %}

{% hint style="success" %}
A good way to write clear rules is to ask yourself this question:&#x20;

**“If I were teaching my strategy to someone else using only these rules, would they understand everything or would they have questions about unclear aspects?”**

This approach will help you maximize the precision of your rules.

If the answer is **YES**, your rules are clear and you can backtest your strategy.\
If the answer is **NO**, you must clarify them to avoid any ambiguity.
{% endhint %}

To better understand how to write and use rules with Obside, here are some concrete entry and exit examples.
