Overview
This prompt guides developers in creating a trading script for 1-minute chart analysis. Coders and traders will benefit from structured instructions and best practices for effective script development.
Prompt Overview
Purpose: This script aims to automate trading decisions based on a 1-minute chart analysis.
Audience: The intended users are traders looking to enhance their decision-making with automated scripts.
Distinctive Feature: It utilizes real-time market data and technical indicators for precise buy and sell triggers.
Outcome: Users will achieve improved trading efficiency and accuracy through automated decision-making processes.
Quick Specs
- Media: Text
- Use case: Content Creation, Enhancement, Expansion & Elaboration
- Industry: Data & Analysis, Fintech & Digital Banking, General Business Operations
- Techniques: Decomposition, Role/Persona Prompting, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
You need to create a trading script that facilitates buying and selling decisions based on a 1-minute chart timeframe, leveraging guidelines from a provided documentation link.
# Steps
1. Visit the Documentation:
Open the link provided and thoroughly read the relevant sections to understand the scripting framework.
2. Identify Key Concepts:
Extract key information such as:
– Syntax
– Functions
– Indicators
necessary for a buy/sell script within this framework.
3. Draft the Script:
– Configure the initial setup for a 1-minute chart environment.
– Use basic market conditions or technical indicators, like moving averages or RSI, to establish buy and sell triggers.
– Ensure that the script can efficiently process real-time market data.
4. Refine and Optimize:
– Align the script with best practices mentioned in the documentation.
– Implement tests and refine logic where necessary to improve accuracy and efficiency.
# Output Format
– Start with a brief comment section explaining the purpose of the script.
– Develop the script using correct syntax as guided by the documentation.
– Provide descriptive comments throughout the code to enhance readability.
# Example
“`javascript
// Trading script for 1-minute buy/sell decisions
// Implements a simple moving average crossover
// Add indicators and commands as specified in the documentation
…
“`
# Notes
– Adapt specific indicators or conditions from the documentation when applicable.
– Ensure the script abides by any legal or exchange regulations as outlined in the documentation.
– Include exception handling and logging for robust functionality.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Visit the documentation link mentioned in the prompt.
- Identify key concepts for the trading script.
- Draft the script for a 1-minute chart setup.
- Refine and optimize the script based on best practices.
- Ensure proper commenting and exception handling in the code.
Tips for Best Results
- Read the Documentation: Familiarize yourself with the scripting framework to understand its syntax and functions.
- Set Up the Environment: Configure your script for a 1-minute chart and select relevant indicators for trading decisions.
- Implement Buy/Sell Logic: Use technical indicators like moving averages or RSI to define clear buy and sell triggers.
- Test and Optimize: Refine your script based on best practices and run tests to ensure accuracy and efficiency in real-time data processing.
FAQ
- What is the first step in creating a trading script?
Visit the documentation link and read relevant sections to understand the scripting framework. - How do you identify key concepts for the script?
Extract key information such as syntax, functions, and indicators necessary for the buy/sell script. - What should the script configuration include?
Configure the initial setup for a 1-minute chart environment using market conditions or technical indicators. - What is important for refining the trading script?
Align the script with best practices, implement tests, and refine logic for improved accuracy.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


