> For the complete documentation index, see [llms.txt](https://docs.click.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.click.trade/spot-trading-bot/features/advanced-strategies/creating-and-saving-strategy.md).

# Creating & Saving Strategy

### How to Create and Save a Strategy

1. Access the Menu: In the bot, type /strategies or tap the "Strategies" button from the main dashboard. You'll land in a clean editor with pre-filled templates.
2. Create:
3. Trigger: What starts it? (Manual buy, Limit order).
4. Actions: Chain commands like "Set 10% stop-loss", "Add 100% take-profit".
5. Conditions: Add filters ("Only on Solana").
6. Save & Name: Give it a name like "Aggressive Exit" and save to your profile. Strategies auto-sync across devices and persist through updates.
7. Activate: Toggle it on for a token/chain via advanced strategy menu. Deactivate anytime with one click.

#### Example: Post-Buy Protection Strategy

**Name:** "Safe Gains Lock"

**Trigger:** After executing a buy order (any size).

**Actions:**

* Immediately set a 10% stop-loss below entry price (trails if price rises).
* Set a 50% take-profit target (sells half at +100%, lets the rest ride).
* Optional: Notify via Telegram alert: "Hit take-profit on $SOL—secured 50% gains!"

**In Action:** You buy 1 SOL at $150. Bot auto-adds SL at $135 and TP at $300. If SOL moons to $300, it sells 0.5 SOL, banks $150 profit, and adjusts SL to breakeven for the rest.&#x20;

Gains protected - upside unlimited.

<br>
