📖 User Guide
Everything you need to master AgentSC for SierraChart development.
⚡ Groq (free & fast) or 🧠 Anthropic. Paste your API key in the field. Groq is recommended — get a free key at console.groq.comDownload .cpp, then copy the file to your SierraChart ACS_Source folder. Compile in SierraChart using Analysis > Build Custom Studies.What is it?
The Study Builder generates complete SierraChart ACSIL studies (indicators) from natural language descriptions. The output is production-ready C++ code with proper sc.Subgraph[] outputs, sc.Input[] parameters, and efficient calculation.
Study Types
• Overlay: Displays on the main chart (Moving Averages, Bollinger Bands)
• Subgraph: Displays in separate panel (RSI, MACD, Oscillators)
• Both: Combines overlay markers with subgraph values
Best Practices
• Be specific about calculation methods: "SMA(20) using Close price" is better than "moving average"
• Mention visual requirements: Colors, line widths, fill areas
• Include alert conditions: When to trigger alerts
What is it?
Create automated trading systems for SierraChart with full order management, position tracking, and risk controls. These are advanced studies that can execute trades automatically.
Key Features
• Order entry via sc.BuyOrder / sc.SellOrder
• Position management and tracking
• Stop loss, take profit, trailing stops
• Multi-symbol trading support
• Time-based filters and session controls
Risk Management Options
• Fixed Quantity: Same lot size for all trades
• Percent of Account: Size based on account balance
• Volatility-Adjusted: Size based on ATR
• Kelly Criterion: Mathematical optimal sizing
What is it?
Create custom spreadsheet studies and formulas for SierraChart's spreadsheet system. Build trade logs, performance dashboards, and market scanners.
Common Use Cases
• Trade performance tracking with auto-calculated metrics
• Multi-symbol market scanners
• Risk calculators and position sizing tools
• Portfolio dashboards with real-time updates
ID1.SG1 to access study outputs. The generated formulas will include proper references.What is it?
Create market scanning systems that monitor multiple symbols and alert you when conditions are met. Scanners run in real-time across your watchlist.
Scanner Types
• Trend Scanner: Identifies trending markets using EMA, ADX, etc.
• Breakout Scanner: Detects price breaking out of ranges
• Divergence Scanner: Finds RSI/MACD divergences
• Custom Scanner: Define your own criteria
Output Options
• Ranked lists with scores
• Color-coded visual alerts
• Sound alerts and notifications
• Export to spreadsheet
How Credits Work
Each AI generation (Study, Trading System, Spreadsheet, Scanner, Debug, Review) uses 1 credit. The Enhance Prompt feature is free.
Free Plan
5 credits to try the tool. All builders + debugger.
Starter Plan — $19/month
50 credits/month. All builders + debugger.
Professional Plan — $49/month
200 credits/month. Everything including Code Review AI.
Enterprise Plan — $149/month
Unlimited credits. Everything + priority support.
Do I need my own API key?
Yes. AgentSC uses your own Groq or Anthropic API key to generate code. This gives you full control over costs and usage. Groq offers a generous free tier.
How do I compile the generated code?
1. Download the .cpp file or copy to clipboard
2. In SierraChart: Analysis > Build Custom Studies > New
3. Paste the code and click Compile
4. If no errors, the study is ready to use
Can I edit the generated code?
Absolutely. The code is standard C++ ACSIL — edit it in SierraChart's study editor or any text editor.
What's the difference between SierraChart and MetaTrader?
SierraChart uses C++ (ACSIL) while MetaTrader uses MQL4/MQL5. The languages are different, but both create custom indicators and trading systems. AgentSC specializes in SierraChart/ACSIL.
How do I get support?
Email support@agentsc.io for technical support. Enterprise users get priority response.