GuidesNov 25, 2026 · 3 min read
Ask Claude for a trading bot and you get code. The code is the easy part. This prompt makes Claude ask what you can lose in a day and write the rules first.
TradingWizard AI4 min read
Type a symbol, pick a timeframe, copy. Paste it into Claude and answer its questions.
Help me write the rules for a trading bot on NVDA with 4-hour candles. Do not write code yet. First ask me up to five questions about my account size, the hours I can watch it and the loss I can accept in a day. Wait for my answers. Then write the rules in this order, each as one sentence a program can test: 1. When the bot may open a trade. 2. Where the stop goes, as a rule and not a feeling. 3. Where it takes the target, or how it trails. 4. Size: the share of the account one trade may risk. 5. When it must do nothing: news, low volume, a wide spread. 6. The off switch: the loss in one day that stops the bot until I restart it. 7. What it writes down for every trade so I can review it. After the rules, list three ways they can lose money. Tell me how to test them on past prices and then on a demo account before any real money. This is analysis, not financial advice.
Wiz answers the same question on the chart itself, inside TradingView, without a prompt. See Wiz in TradingView
Most people open Claude and type "write me a trading bot". Claude is polite, so it does. You get a script with a moving average cross, no stop that makes sense for your account, and nothing that says when the bot should stay out.
The code was never the hard part. The rules are. The prompt above keeps Claude away from code until the rules exist.
A bot for a small account that you check once a day is a different bot from one you watch all morning. If Claude does not know which one you are, it guesses, and it will not tell you it guessed. The questions make the guess visible.
The off switch matters most. A bot does exactly what the rules say, including on the day the rules are wrong. One line that stops it after a set loss is what lets you sleep.
When the rules look right, ask for the code:
Now write these rules as a Pine Script v6 strategy for TradingView.
One input for every number in the rules.
Comment each block with the rule it implements.
If a rule cannot be written in Pine Script, say which one and why.
Then ask Claude to argue against itself:
You are a trader who thinks these rules are bad.
Name the market conditions where they lose again and again.
For each one, say what I would see on the chart before it happens.
And after a week on a demo account:
Here are the trades the bot took this week: [paste the log].
Which rule fired on each one?
Which trades broke a rule, and which followed the rules and still lost?
Do not suggest new rules yet.
Claude does not see live prices unless you connect it to something that has them. It does not know your broker, your fees or how fast your orders fill. It writes rules and code. Whether they hold up is something only testing on past prices and then on a demo account will show, and even that says nothing certain about next month.
Wiz answers the same question on the chart itself, inside TradingView. You do not write rules or paste screenshots. Wiz draws the levels on your chart as layers and reads each row of your watchlist for the short and the long term.
Wiz is a Chrome extension by TradingWizard. Not affiliated with TradingView. It gives analysis, not financial advice, and it does not place trades.
GuidesNov 25, 2026 · 3 min read
GuidesNov 25, 2026 · 3 min read
GuidesNov 25, 2026 · 3 min read
GuidesNov 25, 2026 · 3 min read