> ## Documentation Index
> Fetch the complete documentation index at: https://docs.afterhouragent.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Write a strategy from an investment idea

> Learn what to put in an idea so Afterhours drafts the strategy you meant: the market, the condition, the size, the leverage and the way out.

A strategy in Afterhours starts as an idea: a sentence or two in plain words. The clearer the idea, the closer the first draft is to what you meant.

## What to include

| Part | What to say | Example |
| - | - | - |
| What to trade | The asset, and the venue if you care which one | NVDA perps on Phoenix |
| Direction | Buy, long or short | Long |
| What has to be true | A price, an event or a data condition | If it breaks \$200 |
| How much | A dollar or token amount, and the leverage | \$500 at 2x |
| When to get out | A stop, a target or a date | 10% stop |

You can also attach a chart screenshot to your idea.

## Examples

```text Price breakout with a stop theme={null}
Long ETH 3x if it breaks $2,600 and funding stays under 0.01% an hour. 20% stop.
```

```text Buy a dip theme={null}
Buy SOL if it drops 6% in a day and liquidity stays above $50M. 10% stop.
```

```text Several markets, one condition theme={null}
Once AMD breaks $450 while its 72-hour low holds above $415, buy AMD, NVDA and SOL perps on Phoenix at 2x with 5% stops, and close everything on Dec 11.
```

```text A real-world event theme={null}
Go long Nvidia when Jensen Huang is reinstated as CEO.
```

```text Liquidity theme={null}
Add $1,000 to the SOL-USDC pool on Meteora when fees pay over 40% a year, volume stays above $20M a day, and SOL holds $140 to $160. Pull out if it leaves the range.
```

## Read the draft

Afterhours shows the draft as sentences. In the app, blue marks what the strategy watches, amber marks conditions, and green and red mark trades and results.

Read every rule before you start. The AI drafts rules from your words and can misread them. To change something, describe the change in plain words and Afterhours edits the rules.

Every strategy also passes deterministic risk checks before it can run.

## Daily drafting limits

| Who | AI drafts a day |
| - | - |
| Everyone | 20 |
| Holders, with 100,000 AFTERHOURS or more | 50 |
| Whales, with 1,000,000 AFTERHOURS or more | 100 |

See [Token and tokenomics](https://docs.afterhouragent.xyz/token/tokenomics.md) for the other holder benefits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.