How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.
The prompt is the most important part of a strategy. These guidelines make the AI’s decisions match your intent.
Be specific
Give every rule a threshold and a direction:
“Buy when RSI(14) crosses above 30”, not “buy when it’s oversold”.
“Exit when the price closes below the 50 EMA”, not “exit when the trend ends”.
Prompts can be up to 5,000 characters. Clear and unambiguous beats long.
Cover entry, exit and holding
Write when the strategy should:
enter,
exit: the AI can close positions on conditions you describe,
hold rather than trade.
A strategy with detailed entries and vague exits makes inconsistent exits.
Set the risk in numbers
A stop-loss and take-profit, as percentages.
A maximum position size, for example “Maximum position size: $3,000”. The AI respects position limits you provide.
Or a target position size, which the AI maintains as the market moves.
The Max Trade Quantity setting caps each order separately. Start with a low value.
Use data the AI can see
The AI can only use the data in Supported Data. It can’t see news, social media, company fundamentals, whale or exchange flows, Ethereum gas, or forecasts for economic releases, and it can’t analyse chart images.
Moving averages are available with 9, 20 and 50 periods.
Indicators show the 5 most recent values by default.
The AI uses UTC for time.
Extra data sources must be added to the strategy’s input data, and send their latest value only.
When you mention an extra data source in a prompt, the prompt check flags it and Add puts it in the strategy’s input data for you.
Language
You can write prompts in any commonly used language; English generally gives the best results. To get the AI’s reasoning in your own language, say so in the prompt.
Test before you scale
Run a Fast Estimate first, start with a low order quantity, and read the strategy’s events before increasing size.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Everstrike Docs","description":"Guides to Everstrike: trade perpetual futures, perpetual options and spot on a decentralized exchange, and let AI run strategies you describe in plain English. Deposits, funding, margin, AI credits and the API.","colors":{"primary":"#000000","light":"#F0C45C","dark":"#000000"},"logo":{"light":"https://mintcdn.com/everstrike-50e7a7f9/QhQ9gk9u7LDXqY4_/images/logo-light-plain.png?fit=max\u0026auto=format\u0026n=QhQ9gk9u7LDXqY4_\u0026q=85\u0026s=99cbca32845bfb129c6684b1b25d31d2","dark":"https://mintcdn.com/everstrike-50e7a7f9/QhQ9gk9u7LDXqY4_/images/logo-dark-plain.png?fit=max\u0026auto=format\u0026n=QhQ9gk9u7LDXqY4_\u0026q=85\u0026s=6363368941d57d46bc15c1ec2d81c87e","href":"https://everstrike.io"},"favicon":{"light":"https://mintcdn.com/everstrike-50e7a7f9/9ipj5xNpGE9geH-g/images/favicon.svg?fit=max\u0026auto=format\u0026n=9ipj5xNpGE9geH-g\u0026q=85\u0026s=a54624fcd3d4cacca8dfb9c66ef4b866","dark":"https://mintcdn.com/everstrike-50e7a7f9/9ipj5xNpGE9geH-g/images/favicon.svg?fit=max\u0026auto=format\u0026n=9ipj5xNpGE9geH-g\u0026q=85\u0026s=a54624fcd3d4cacca8dfb9c66ef4b866"},"appearance":{"default":"dark"},"background":{"color":{"light":"#FFFFFF","dark":"#0F0E0B"}},"navbar":{"links":[{"href":"https://everstrike.io/app/support","label":"Support"}],"primary":{"type":"button","label":"Terminal","href":"https://everstrike.io/app/trade-simple"}},"footer":{"socials":{"x":"https://x.com/everstrike_dex","telegram":"https://t.me/everstrike_dex"}},"fonts":{"heading":{"family":"WF Visual Sans","weight":800,"source":"https://cointaki.com/fonts/WFVisualSansVF.woff2","format":"woff2"},"body":{"family":"WF Visual Sans","weight":400,"source":"https://cointaki.com/fonts/WFVisualSansVF.woff2","format":"woff2"}},"styling":{"eyebrows":"section","codeblocks":"dark","latex":true},"contextual":{"options":["assistant"],"display":"header"},"thumbnails":{"appearance":"light"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"everstrike-50e7a7f9","hasAudioNarration":false,"actualSubdomain":"everstrike-50e7a7f9","customDomains":["docs.everstrike.io"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-everstrike-50e7a7f9-5fc8ffe2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aeb8d372c1bbfeaed9a2661","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":105},{"language":"default","tag":"Account","count":28},{"language":"default","tag":"Trading","count":26},{"language":"default","tag":"AI Trading","count":23},{"language":"default","tag":"Tools","count":11},{"language":"default","tag":"Architecture","count":5},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Products","count":4},{"language":"default","tag":"Legal","count":3},{"language":"default","tag":"API","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@everstrike.io"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"ai/writing-prompts","slug":"/ai/writing-prompts","pageMetadata":{"title":"Writing Strategy Prompts: Rules the AI Can Follow","sidebarTitle":"Writing Prompts","description":"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.","href":"/ai/writing-prompts"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The prompt is the most important part of a strategy. These guidelines make the AI’s decisions match your intent.`}),`\n`,_jsx(Heading,{level:`2`,id:`be-specific`,children:`Be specific`}),`\n`,_jsx(_components.p,{children:`Give every rule a threshold and a direction:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“Buy when RSI(14) crosses above 30”, not “buy when it’s oversold”.`}),`\n`,_jsx(_components.li,{children:`“Exit when the price closes below the 50 EMA”, not “exit when the trend ends”.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Prompts can be up to `,_jsx(_components.strong,{children:`5,000 characters`}),`. Clear and unambiguous beats long.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cover-entry-exit-and-holding`,children:`Cover entry, exit and holding`}),`\n`,_jsx(_components.p,{children:`Write when the strategy should:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`enter`}),`,`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`exit`}),`: the AI can close positions on conditions you describe,`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`hold`}),` rather than trade.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`A strategy with detailed entries and vague exits makes inconsistent exits.`}),`\n`,_jsx(Heading,{level:`2`,id:`set-the-risk-in-numbers`,children:`Set the risk in numbers`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`stop-loss`}),` and `,_jsx(_components.strong,{children:`take-profit`}),`, as percentages.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`maximum position size`}),`, for example “Maximum position size: $3,000”. The AI respects position limits you provide.`]}),`\n`,_jsxs(_components.li,{children:[`Or a `,_jsx(_components.strong,{children:`target position size`}),`, which the AI maintains as the market moves.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Max Trade Quantity`}),` setting caps each order separately. Start with a low value.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-data-the-ai-can-see`,children:`Use data the AI can see`}),`\n`,_jsxs(_components.p,{children:[`The AI can only use the data in `,_jsx(_components.a,{href:`/ai/supported-data`,children:`Supported Data`}),`. It can’t see news, social media, company fundamentals, whale or exchange flows, Ethereum gas, or forecasts for economic releases, and it can’t analyse chart images.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Moving averages are available with 9, 20 and 50 periods.`}),`\n`,_jsx(_components.li,{children:`Indicators show the 5 most recent values by default.`}),`\n`,_jsxs(_components.li,{children:[`The AI uses `,_jsx(_components.strong,{children:`UTC`}),` for time.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/ai/supported-data#extra-data-sources`,children:`Extra data sources`}),` must be added to the strategy’s input data, and send their latest value only.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`When you mention an extra data source in a prompt, the prompt check flags it and `,_jsx(_components.strong,{children:`Add`}),` puts it in the strategy’s input data for you.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`language`,children:`Language`}),`\n`,_jsx(_components.p,{children:`You can write prompts in any commonly used language; English generally gives the best results. To get the AI’s reasoning in your own language, say so in the prompt.`}),`\n`,_jsx(Heading,{level:`2`,id:`test-before-you-scale`,children:`Test before you scale`}),`\n`,_jsxs(_components.p,{children:[`Run a `,_jsx(_components.a,{href:`/ai/fast-estimates`,children:`Fast Estimate`}),` first, start with a low order quantity, and read the strategy’s `,_jsx(_components.a,{href:`/ai/events`,children:`events`}),` before increasing size.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Writing Strategy Prompts: Rules the AI Can Follow","sidebarTitle":"Writing Prompts","description":"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.","href":"/ai/writing-prompts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Be specific","slug":"be-specific","depth":2,"children":[]},{"title":"Cover entry, exit and holding","slug":"cover-entry-exit-and-holding","depth":2,"children":[]},{"title":"Set the risk in numbers","slug":"set-the-risk-in-numbers","depth":2,"children":[]},{"title":"Use data the AI can see","slug":"use-data-the-ai-can-see","depth":2,"children":[]},{"title":"Language","slug":"language","depth":2,"children":[]},{"title":"Test before you scale","slug":"test-before-you-scale","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"everstrike-50e7a7f9","siteName":"Everstrike Docs","title":"Writing Strategy Prompts: Rules the AI Can Follow - Everstrike Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T10:40:21.554Z","originalFileLocation":"ai/writing-prompts.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Everstrike Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Writing Strategy Prompts: Rules the AI Can Follow - Everstrike Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Everstrike Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.everstrike.io/ai/writing-prompts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://everstrike-50e7a7f9.mintlify.site/_mintlify/api/og/v2?division=AI+Trading\u0026amp;title=Writing+Strategy+Prompts%3A+Rules+the+AI+Can+Follow\u0026amp;description=How+to+write+an+AI+strategy+prompt+that+works%3A+specific+entry%2C+exit+and+risk+rules%2C+data+the+AI+can+see%2C+sizing+limits%2C+and+language.\u0026amp;theme=5a76439938e2feade91b48a2\u0026amp;signature=17bf73a2ae17335b3ca91a02b35b08517178068cd7d29b41e99c2b8b34771bb3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Writing Strategy Prompts: Rules the AI Can Follow - Everstrike Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://everstrike-50e7a7f9.mintlify.site/_mintlify/api/og/v2?division=AI+Trading\u0026amp;title=Writing+Strategy+Prompts%3A+Rules+the+AI+Can+Follow\u0026amp;description=How+to+write+an+AI+strategy+prompt+that+works%3A+specific+entry%2C+exit+and+risk+rules%2C+data+the+AI+can+see%2C+sizing+limits%2C+and+language.\u0026amp;theme=5a76439938e2feade91b48a2\u0026amp;signature=17bf73a2ae17335b3ca91a02b35b08517178068cd7d29b41e99c2b8b34771bb3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/everstrike-50e7a7f9/PNnFdZT45y0Dc2E3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Everstrike Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.everstrike.io/ai/writing-prompts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai/writing-prompts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.everstrike.io/#organization\",\"name\":\"Everstrike Docs\",\"url\":\"https://docs.everstrike.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/everstrike-50e7a7f9/QhQ9gk9u7LDXqY4_/images/logo-light-plain.png?fit=max\u0026auto=format\u0026n=QhQ9gk9u7LDXqY4_\u0026q=85\u0026s=99cbca32845bfb129c6684b1b25d31d2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.everstrike.io#website\",\"name\":\"Everstrike Docs\",\"url\":\"https://docs.everstrike.io\",\"publisher\":{\"@id\":\"https://docs.everstrike.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.everstrike.io/ai/writing-prompts#webpage\",\"url\":\"https://docs.everstrike.io/ai/writing-prompts\",\"name\":\"Writing Strategy Prompts: Rules the AI Can Follow\",\"description\":\"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\",\"dateModified\":\"2026-10-16T10:40:21.554Z\",\"isPartOf\":{\"@id\":\"https://docs.everstrike.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.everstrike.io/ai/writing-prompts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.everstrike.io/ai/writing-prompts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Trading\",\"item\":\"https://docs.everstrike.io/ai/strategies\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Writing Strategy Prompts: Rules the AI Can Follow\",\"item\":\"https://docs.everstrike.io/ai/writing-prompts\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.everstrike.io/ai/writing-prompts#article\",\"headline\":\"Writing Strategy Prompts: Rules the AI Can Follow\",\"name\":\"Writing Strategy Prompts: Rules the AI Can Follow\",\"description\":\"How to write an AI strategy prompt that works: specific entry, exit and risk rules, data the AI can see, sizing limits, and language.\",\"url\":\"https://docs.everstrike.io/ai/writing-prompts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.everstrike.io/ai/writing-prompts#webpage\"},\"dateModified\":\"2026-10-16T10:40:21.554Z\",\"publisher\":{\"@id\":\"https://docs.everstrike.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.everstrike.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Everstrike Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Everstrike Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ai/writing-prompts.md","siteName":"Everstrike Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Everstrike: AI-Powered Decentralized Derivatives Exchange","sidebarTitle":"Introduction","mode":"wide","href":"/introduction"},{"title":"Start Trading on Everstrike: Complete 5-Step Guide","sidebarTitle":"Start Trading","href":"/trading/how-to-start-trading-on-everstrike"},{"title":"How to Deposit, Withdraw, and Stake on Everstrike","sidebarTitle":"Deposit, Withdraw \u0026 Stake","href":"/account/how-to-deposit-withdraw-and-stake-on-everstrike"},{"title":"DEX Mode vs. CEX Mode: Choosing Your Custody Approach","sidebarTitle":"DEX vs CEX Mode","href":"/account/dex-mode-vs-cex-mode"}]},{"group":"Products","pages":[{"title":"Perpetual Futures: No-Expiry Exposure on Everstrike","sidebarTitle":"Perpetual Futures","href":"/products/perpetual-futures"},{"title":"Perpetual Options: Dynamic-Strike Options Without Expiry","sidebarTitle":"Perpetual Options","href":"/products/perpetual-options"},{"title":"PVIX-BTC: Perpetual BTC Volatility Index on Everstrike","sidebarTitle":"Volatility Indices","href":"/products/perpetual-volatility-indices"},{"title":"PVAR-BTC: Perpetual BTC Variance Swap on Everstrike","sidebarTitle":"Variance Swaps","href":"/products/perpetual-variance-swaps"}]},{"group":"Trading","pages":[{"title":"Trading Fees on Everstrike: Fee Schedule and Rate Caps","sidebarTitle":"Trading Fees","href":"/trading/trading-fees"},{"title":"Margin Requirements for Everstrike Derivatives Contracts","sidebarTitle":"Margin Requirements","href":"/trading/margin-requirements"},{"title":"Funding Rates: How Hourly Payments Work on Everstrike","sidebarTitle":"Funding","href":"/trading/funding"},{"title":"Mark Price: Manipulation-Resistant Reference Price","sidebarTitle":"Mark Price","href":"/trading/mark-price"},{"title":"Index Price: How Everstrike Calculates Reference Prices","sidebarTitle":"Index Price","href":"/trading/index-price"},{"title":"Liquidation: Incremental Position Reduction on Everstrike","sidebarTitle":"Liquidation","href":"/trading/liquidation"},{"title":"Risk Limits: Leverage Caps for Large Isolated Positions","sidebarTitle":"Risk Limits","href":"/trading/risk-limits"},{"title":"Deleverage Events: Last Resort for Bankrupt Positions","sidebarTitle":"Deleverage Events","href":"/trading/deleverage-events"},{"title":"Liquidity Providers: Backstop for Failed Liquidations","sidebarTitle":"Liquidity Providers","href":"/trading/liquidity-providers"},{"title":"Perpetual Vault: Earn Monthly Rewards by Holding evUSD","sidebarTitle":"Perpetual Vault","href":"/trading/perpetual-vault"},{"title":"Drift: How Moving Strike Prices Affect Perpetual Options","sidebarTitle":"Drift","href":"/trading/drift"},{"title":"Self-Trading Prevention and Mark Price Trading Range Rules","sidebarTitle":"Self-Trading","href":"/trading/self-trading"},{"title":"Mark Price Compensation: Extra Margin for Off-Market Fills","sidebarTitle":"Mark Price Compensation","href":"/trading/mark-price-compensation"},{"title":"Order Types: Market, Limit and Trigger Orders on Everstrike","sidebarTitle":"Order Types","href":"/trading/order-types"},{"title":"Time in Force: GTC, IOC and FOK Orders on Everstrike","sidebarTitle":"Time in Force","href":"/trading/time-in-force"},{"title":"Advanced Order Options: Post Only, Reduce Only, Hidden, Iceberg and OCO","sidebarTitle":"Advanced Order Options","href":"/trading/advanced-order-options"},{"title":"Stop Loss and Take Profit: Protecting a Position on Everstrike","sidebarTitle":"Stop Loss \u0026 Take Profit","href":"/trading/stop-loss-and-take-profit"},{"title":"Order Preview: See an Order's Effect Before You Submit","sidebarTitle":"Order Preview","href":"/trading/order-preview"},{"title":"Order Status: What Happens After You Submit an Order","sidebarTitle":"Order Status","href":"/trading/order-status"},{"title":"Managing a Position: P/L, Margin, Funding and Closing","sidebarTitle":"Managing a Position","href":"/trading/managing-a-position"},{"title":"Open Positions: Live P/L Across Every Market","sidebarTitle":"Open Positions","href":"/trading/open-positions"},{"title":"Order History: Track, Filter and Cancel Your Orders","sidebarTitle":"Order History","href":"/trading/order-history"},{"title":"Trade History: Every Fill, Including Liquidations and ADL","sidebarTitle":"Trade History","href":"/trading/trade-history"},{"title":"Closed Positions and Realized P/L on Everstrike","sidebarTitle":"Closed Positions \u0026 P/L","href":"/trading/closed-positions"},{"title":"Triggers: Your Pending Stop, Take-Profit and Trigger Orders","sidebarTitle":"Triggers","href":"/trading/triggers"},{"title":"Funding History: Market Rates and Your Funding Payments","sidebarTitle":"Funding History","href":"/trading/funding-history"}]},{"group":"AI Trading","pages":[{"title":"AI Strategies: Automate Your Trading with Natural Language","sidebarTitle":"Strategies","href":"/ai/strategies"},{"title":"Strategy Events: Review AI Decisions and Track Performance","sidebarTitle":"Events","href":"/ai/events"},{"title":"Supported Data for AI Strategy Prompts on Everstrike","sidebarTitle":"Supported Data","href":"/ai/supported-data"},{"title":"AI Models for Strategy Evaluation: Speed and Cost Guide","sidebarTitle":"Models","href":"/ai/models"},{"title":"AI Credits: How to Manage Strategy Evaluation Costs","sidebarTitle":"Credits","href":"/ai/credits"},{"title":"Everstrike Assistant: Build Strategies with AI Guidance","sidebarTitle":"Assistant","href":"/ai/assistant"},{"title":"Everstrike MCP Server: Live Market Data for AI Clients","sidebarTitle":"MCP Server","href":"/ai/mcp"},{"title":"AI Privacy: How Everstrike Handles Your Strategy Data","sidebarTitle":"Privacy","href":"/ai/privacy"},{"title":"Everstrike AI Roadmap: Upcoming Features and Improvements","sidebarTitle":"Roadmap","href":"/ai/roadmap"},{"title":"AI Trading FAQ: Strategies, Costs, and Limits Explained","sidebarTitle":"FAQ","href":"/ai/faq"},{"title":"Strategy Builder: Build a Strategy From Blocks, With a Live Backtest","sidebarTitle":"Strategy Builder","href":"/ai/strategy-builder"},{"title":"Strategy Lab: Turn an Idea Into Tested Prompt Logic","sidebarTitle":"Strategy Lab","href":"/ai/strategy-lab"},{"title":"Fast Estimates: Backtest a Strategy Prompt on Historical Candles","sidebarTitle":"Fast Estimates","href":"/ai/fast-estimates"},{"title":"Reading a Fast Estimate: Coverage, Metrics and Trades","sidebarTitle":"Reading a Fast Estimate","href":"/ai/reading-fast-estimates"},{"title":"Comparing Fast Estimates: Baseline vs Current","sidebarTitle":"Comparing Fast Estimates","description":"Compare two saved Fast Estimates side by side, swap baseline and current, and share or export a result.","href":"/ai/comparing-fast-estimates"},{"title":"Writing Strategy Prompts: Rules the AI Can Follow","sidebarTitle":"Writing Prompts","href":"/ai/writing-prompts"},{"title":"Prompt Library: Ready-Made Strategy Prompts","sidebarTitle":"Prompt Library","description":"Browse ready-made strategy prompts, run one directly or adapt it with the Assistant, and find the prompts you have used before.","href":"/ai/prompt-library"},{"title":"AI Strategy Dashboard: Monitor Strategies and Their Events","sidebarTitle":"AI Dashboard","href":"/ai/ai-dashboard"},{"title":"AI Activity: Search and Inspect Every Strategy Event","sidebarTitle":"AI Activity","href":"/ai/ai-activity"},{"title":"Strategy Statistics: P/L, Decisions, Confidence and Uptime","sidebarTitle":"Strategy Statistics","href":"/ai/strategy-statistics"},{"title":"Evaluate Now: Run a Strategy Check on Demand","sidebarTitle":"Evaluate Now","href":"/ai/evaluate-now"},{"title":"Managing Strategies: Pause, Resume, Edit and Delete","sidebarTitle":"Managing Strategies","href":"/ai/managing-strategies"},{"title":"Troubleshooting AI Strategies: No Events, No Trades, High Costs","sidebarTitle":"Troubleshooting","href":"/ai/troubleshooting-strategies"}]},{"group":"Account","pages":[{"title":"Everstrike Supported Networks and Stablecoins Guide","sidebarTitle":"Supported Networks","href":"/account/supported-networks-and-stablecoins"},{"title":"evUSD: The Native Stablecoin and Collateral of Everstrike","sidebarTitle":"evUSD","href":"/account/evusd"},{"title":"EVS Token: Earn Everstrike's Native Token Through XP","sidebarTitle":"EVS Token","href":"/account/evs"},{"title":"Register Your Primary Wallet on Everstrike DEX Mode","sidebarTitle":"Primary Wallet","href":"/account/primary-wallet"},{"title":"Spending Cap: ERC-20 Allowance for Everstrike Deposits","sidebarTitle":"Spending Cap","href":"/account/spending-cap"},{"title":"Minting evUSD: Convert Staked USDC to Trading Collateral","sidebarTitle":"Minting","href":"/account/minting"},{"title":"Redeeming evUSD: Convert Trading Collateral Back to USDC","sidebarTitle":"Redeeming","href":"/account/redeeming"},{"title":"Deposit and Withdrawal Limits for Everstrike CEX Mode","sidebarTitle":"Limits","href":"/account/limits"},{"title":"Withdrawal Fees for Everstrike CEX Mode by Network","sidebarTitle":"Withdrawal Fees","href":"/account/withdrawal-fees"},{"title":"Blockchain Confirmations Required for Everstrike Deposits","sidebarTitle":"Confirmations","href":"/account/required-number-of-blockchain-confirmations"},{"title":"CEX Mode: Everstrike's Custodial Account Option Explained","sidebarTitle":"CEX Mode","href":"/account/cex-mode"},{"title":"Trading Bonus: Try Everstrike Mainnet Without Depositing","sidebarTitle":"Trading Bonus","href":"/account/trading-bonus"},{"title":"Get Testnet ETH and Stablecoins for Everstrike Testnet","sidebarTitle":"Testnet ETH","href":"/account/testnet-eth"},{"title":"Missing Emails from Everstrike: Troubleshooting Guide","sidebarTitle":"Missing Emails","href":"/account/missing-emails"},{"title":"Contact Everstrike Support: Email, Telegram, and Discord","sidebarTitle":"Contact Support","href":"/account/contact-support"},{"title":"Account Settings: Profile, Security and Trading Preferences","sidebarTitle":"Account Settings","href":"/account/account-settings"},{"title":"Email Verification: Why and How to Verify Your Email","sidebarTitle":"Email Verification","href":"/account/email-verification"},{"title":"Two-Factor Authentication (2FA): Protect Your Login and Withdrawals","sidebarTitle":"Two-Factor Authentication","href":"/account/two-factor-authentication"},{"title":"Changing or Resetting Your Password","sidebarTitle":"Password","href":"/account/password"},{"title":"Security Centre: Every Protection on Your Account in One Place","sidebarTitle":"Security Centre","href":"/account/security-centre"},{"title":"API Keys: Create Keys, Scopes and Whitelists","sidebarTitle":"API Keys","href":"/account/api-keys"},{"title":"Reduce Motion and Haptics","sidebarTitle":"Reduce Motion \u0026 Haptics","href":"/account/reduce-motion-and-haptics"},{"title":"Getting Started Checklist: Set Up Your Account Step by Step","sidebarTitle":"Getting Started Checklist","href":"/account/getting-started-checklist"},{"title":"Deposit and Withdrawal History","sidebarTitle":"Deposit \u0026 Withdrawal History","href":"/account/deposit-and-withdrawal-history"},{"title":"Referrals: Invite Traders and Earn From Their Trading","sidebarTitle":"Referrals","href":"/account/referrals"},{"title":"Leaderboard: Top Traders by Realised Performance","sidebarTitle":"Leaderboard","href":"/account/leaderboard"},{"title":"Trading Competitions: Battles, Rules and Prizes","sidebarTitle":"Trading Competitions","href":"/account/trading-competitions"},{"title":"Everstrike Status: Check Components and Incidents","sidebarTitle":"Status Page","href":"/account/status-page"}]},{"group":"Tools","pages":[{"title":"Markets Board: Browse, Sort and Filter Every Everstrike Market","sidebarTitle":"Markets Board","href":"/tools/markets"},{"title":"Screener and Watchlists: Filter Markets and Save Screens","sidebarTitle":"Screener \u0026 Watchlists","href":"/tools/screener"},{"title":"Price Alerts: Get Told When a Market Crosses a Price or Funding Flips","sidebarTitle":"Price Alerts","href":"/tools/price-alerts"},{"title":"Notifications: Activity, Delivery Settings and Sounds","sidebarTitle":"Notifications","href":"/tools/notifications"},{"title":"Breakouts Today: Markets Breaking Out on 15m to 24h Candles","sidebarTitle":"Breakouts","href":"/tools/breakouts"},{"title":"Oracle Page: Watch the Index Price Being Built, Live","sidebarTitle":"Index Price Page","href":"/tools/oracle"},{"title":"Options Explorer: Learn and Simulate Perpetual Options","sidebarTitle":"Options Explorer","href":"/tools/options-explorer"},{"title":"Macro Dashboard: Rates, Yields, Inflation and Markets in One View","sidebarTitle":"Macro Dashboard","href":"/tools/macro"},{"title":"Daily Digest: Your Account and the Market in One Page","sidebarTitle":"Daily Digest","href":"/tools/daily-digest"},{"title":"Contract Specifications: Every Market's Terms in One Table","sidebarTitle":"Contract Specifications","href":"/tools/contract-specifications"},{"title":"Trading Calculators: Liquidation, Funding, Position Size and More","sidebarTitle":"Calculators","href":"/tools/calculators"}]},{"group":"API","pages":[{"title":"Everstrike API Usage Examples: REST and WebSockets","sidebarTitle":"Usage Examples","href":"/api/usage-examples"}]},{"group":"Architecture","pages":[{"title":"Everstrike: Hybrid On-Chain and Off-Chain Architecture","sidebarTitle":"Overview","href":"/technical-architecture/technical-architecture"},{"title":"On-Chain Settlement, Custody, and Gas Fees on Everstrike","sidebarTitle":"On-Chain Custody","href":"/technical-architecture/on-chain-settlement-custody"},{"title":"Off-Chain Order Matching and Risk Engine on Everstrike","sidebarTitle":"Off-Chain Matching","href":"/technical-architecture/off-chain-matching"},{"title":"Off-Chain State Channels: Your Balance and Position Record","sidebarTitle":"State Channel","href":"/technical-architecture/off-chain-state-channel"},{"title":"Trustless Withdrawal: Withdraw Without Operator Cooperation","sidebarTitle":"Trustless Withdrawal","href":"/technical-architecture/trustless-withdrawal"}]},{"group":"Legal","pages":[{"title":"Everstrike Terms of Service: Exchange User Agreement","sidebarTitle":"Terms of Service","href":"/legal/terms-of-service"},{"title":"Everstrike Privacy Policy: Your Data and Your Rights","sidebarTitle":"Privacy Policy","href":"/legal/privacy-policy"},{"title":"Restricted Jurisdictions and Territories on Everstrike","sidebarTitle":"Restricted Regions","href":"/legal/restricted-jurisdictions-and-territories"}]}]}]},"basePath":"","title":"Writing Strategy Prompts: Rules the AI Can Follow - Everstrike Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}