# ProBuilder AI
A small Windows desktop assistant that writes and fixes ProRealTime code (ProBuilder indicators, ProBacktest strategies, ProOrder systems) from plain-English descriptions.
## Setup (about 5 minutes)
1. Install Python from https://www.python.org/downloads/ (tick **Add python.exe to PATH**).
2. Unzip this folder anywhere and double-click run.bat.
3. On first launch, paste your Anthropic API key (create one at https://console.anthropic.com). It is stored only on your PC, in C:\Users\<you>\ProBuilderAI\config.json.
4. Optional: double-click build_exe.bat to make a standalone ProBuilderAI.exe.
No extra packages are needed.
## Using it
– **Mode**: Indicator, Strategy (ProBacktest / ProOrder), Fix my code, or Explain code.
– Type what you want and press **Ctrl+Enter**. The code appears in the editor on the right.
– The built-in **syntax checker** runs on every result. If it finds errors (for example SET STOP pPOINT, ==, Pine Script habits, unbalanced IF/ENDIF, 4-digit Time comparisons), the app automatically asks the AI to fix them before showing you the code.
– To change the code, just ask (“add a 25 point stop”, “only trade Tue/Wed”). The editor code is sent along as context.
– To fix an error from ProRealTime: paste your code into the editor, choose **Fix my code**, paste the error message in the chat box.
– **Copy code**, paste into ProRealTime’s editor, and create the variables it lists in the header in the Variables panel.
– **File > My notes** lets you teach it your setup (feed quirks, default sizes, preferences). It reads these every time.
– Every saved result goes in C:\Users\<you>\ProBuilderAI\library.
## Limits
– The syntax checker is a safety net, not the real ProRealTime compiler. Always run a ProBacktest and check the trades on the chart.
– The AI can still misread what you meant. Check entries, exits, and time zones on the first few trades.
– A backtest with few trades says little about whether a system has an edge.
– Each request uses a small amount of API credit.