Tradient
AI Agent

How to Write Prompts

Learn the fundamentals of writing effective prompts for the AI Agent.

A good prompt tells the AI exactly what you want your strategy to do. The more specific and structured your prompt, the better the resulting strategy.

Anatomy of a Good Prompt

An effective prompt covers four areas: what triggers an entry, what triggers an exit, how to manage risk, and what market/timeframe to trade.

Structure Your Prompts

  1. 1Start with the entry condition — When should the strategy buy or sell? (e.g., "Buy when RSI drops below 30")
  2. 2Define the exit condition — When should it close the trade? (e.g., "Sell when RSI rises above 70")
  3. 3Set risk management — What's your stop loss and take profit? (e.g., "Stop loss at 2%, take profit at 4%")
  4. 4Specify the context — What instrument and timeframe? (e.g., "On the 4-hour chart for Bitcoin")

Examples

Weak prompt: "Make me a good trading strategy."

Strong prompt: "Create a mean reversion strategy for EUR/USD on the 1-hour chart. Enter long when RSI(14) drops below 25 and the price is above the 200 SMA. Exit when RSI crosses back above 50. Use a 1.5% stop loss and 3% take profit."

Vague prompts produce vague strategies. Always include specific indicators, levels, and parameters.