Skip to content

Prompt Builder and Build Plans

Prompt Builder helps when a new strategy or indicator request is too ambiguous to build reliably. Before the request is sent, Xen checks whether a missing decision could materially change the result. If so, Prompt Review lets you clarify with Xen, continue with the original wording or return to the composer and edit it yourself.

A focused change to established source, such as adding one break-even rule, normally continues without reopening the builder. The review is intended to resolve genuine ambiguity rather than slow down every request.

Clarification questions

Choose Clarify with Xen when the missing information affects trading behaviour. Xen asks only relevant questions, and you can leave an answer empty when a configurable baseline is acceptable. Suggest baseline answers fills unanswered fields with practical starting points for review; these suggestions are not trading advice and do not imply profitability.

After the answers are submitted, Xen prepares a structured request that remains visible before generation. Review signal timing, order assumptions, risk rules and requested visuals carefully because these decisions shape the script.

Staged Build Plans

For a larger project, Prompt Builder can create an ordered sequence of prompts. The first stage establishes a minimal working strategy or indicator, while later stages add controlled features. Each prompt is loaded into the composer rather than submitted automatically, allowing you to inspect it before using credit.

After Xen returns complete Pine source for a stage, copy it into Pine Editor and confirm that it compiles and behaves as expected before loading the next prompt. Finish plan closes a completed plan while retaining the latest project source, and Exit plan leaves the plan without deleting the saved conversation.

When not to use the builder

A standard indicator, familiar crossover strategy or precise existing-code change normally does not need a Build Plan. Staging is most useful when several interacting features would be difficult to compile and test if introduced together. Prompt Builder improves the specification; it does not validate the trading idea or guarantee correct code.