BLAZESCRIPT / LANGUAGE DOCUMENTATION
BlazeScript Troubleshooting
Common mistakes and documentation limits
- Check a function name, capitalization and argument list against this reference before generating code. A grouped reference entry may describe multiple names.
- Resolve missing names using the built-in variable reference or the strategy setup. Instrument names such as RELIANCE and banknifty_spot are example context, not user-defined strings.
- The source examples are inconsistent about Entry timeframe: the introductory project uses "5m", while library examples use numbers such as 5 and 15. Confirm the accepted format in your installed Cipher AI runtime; this page does not silently choose a format.
- Some snippets are partial demonstrations with inputs defined elsewhere. Do not present every snippet as a standalone program.
- The current website reference does not provide a compiler error-code catalog or a version compatibility matrix. Do not invent error codes or claim examples were executed merely because they appear here.
For AI coding agents
For code generation, read the relevant function signatures, mandatory and optional parameters, built-in variables and example context. Keep entry, exit and canvas files distinct. Do not invent missing APIs, timeframe formats, instrument bindings or results. If the reference is ambiguous, state the ambiguity and request the runtime details needed to resolve it.