Learn how to build trading scripts with AI — no coding needed.
Script Studio is a tool that writes trading scripts for you using AI. You describe what you want in plain English, and the AI builds the code. Then you copy that code into thinkorswim or TradingView and it works right away.
You don’t need to know how to code. Just describe what you want, review the AI’s work, and click Copy.
Script Studio can build:
1 Go to stpmarketpulse.com/login.html
2 Click “Create Account” and enter your email and a password (8 or more characters).
3 You’ll go to the Subscribe page. Click the green button to start your subscription through Stripe.
4 After payment, you’re taken to Script Studio. You’re ready to build!
Not ready to subscribe? Try the free demo first. You can test the AI builder and see how scripts are generated. No account needed.
When you open Script Studio, you see three big buttons:
At the top of the screen, you’ll also see a platform selector. Pick your platform before you start:
After you click Create, you pick what kind of script to build:
After you pick a script type, the AI builder walks you through 4 steps:
1 Type what you want your script to do in plain English. For example:
“Show a buy arrow when price bounces off VWAP and EMA 9 is above EMA 20”
“Build a scanner for stocks with RSI below 30 and volume above 1 million”
2 You can also click one of the example buttons to start with a preset idea.
3 Click Next when you’re done typing.
If the AI needs more information, it will ask you one follow-up question. Pick an answer from the buttons or type your own. This only happens when your description could mean more than one thing.
1 The AI shows you what it understood. Each condition has a badge:
Exact Match — The AI found a pattern that matches exactly what you asked for.
Needs Your Confirmation — The AI made its best guess. Check that it got it right.
2 If something looks wrong, click Back and rephrase your description.
3 If it looks good, click Next.
1 You see checkboxes for each condition. Check the ones you want to keep.
2 Uncheck any that the AI got wrong or that you don’t want.
3 Click Generate.
1 Your finished code appears in a code box. The language (ThinkScript or Pine Script) is shown at the top.
2 Click the Copy button to copy the code to your clipboard.
3 You can also save the script to your library (see section 12).
4 Click New Script to start over with a fresh idea.
After your script is generated, a chart preview appears above the code. This shows what your script would look like on a sample chart with simulated price data.
The preview calculates real indicator values from the sample data:
You can change how your script looks by clicking on chart elements in the preview.
1 Click on an arrow, line, or marker in the chart preview.
2 A style popup appears with these options:
Color — Pick from 16 colors (Green, Red, Blue, Cyan, Yellow, Magenta, etc.)
Weight — Choose thickness from 1 (thin) to 5 (thick)
Line Style — Solid, short dash, long dash, or dots
Marker Shape — Arrow up, arrow down, triangle, square, circle, or boolean dot
3 Click Apply to save your changes. The code updates automatically.
4 Click Cancel to go back without changing anything.
You can add horizontal price lines to your chart. These are useful for marking support levels, resistance levels, or target prices.
1 Click the + Add Element button in the edit toolbar above the chart.
2 A panel appears. Enter a price level (for example, 150.00).
3 Click Add Line.
4 The line appears on the chart and the code updates to include it.
Click the X next to the line in the edit toolbar to remove it. The code updates automatically.
Sometimes you want to keep a signal in your code but hide it from the chart. For example, you might want to hide the sell arrow and only show buy arrows.
1 Find the marker you want to hide in the edit toolbar.
2 Click the eye icon to hide it. The marker disappears from the chart.
3 Click the eye icon again to show it.
You can hide and show these marker types:
The code changes too — hidden markers are set to Double.NaN (invisible) in the generated script.
Made a mistake? You can undo and redo any style change, marker hide, or reference line edit.
Script Studio remembers your last 20 changes. If you undo several steps and then make a new change, the redo history is cleared.
1 Click the Copy button at the top of the code box.
2 You’ll see “Copied!” for 2 seconds to confirm it worked.
3 Go to thinkorswim or TradingView and paste the code (Ctrl+V or Cmd+V).
You can also collapse the code box by clicking the arrow icon. This hides the code so you can focus on the chart preview.
Sometimes the AI generates a different script type than what you picked. For example, you picked “Scan” but the AI built a “Study.” When this happens:
1 After your code is generated, type a project name in the save box (or use the auto-generated name).
2 Click Save.
3 Your script is saved to your account. You can find it later in your Script Library.
1 Click My Script Library on the home screen.
2 You’ll see a list of all your saved scripts.
3 Click Open on any script to load it.
4 If some conditions have changed since you saved, you’ll see warnings. Review them and confirm.
Click the Delete button next to any saved script to remove it permanently.
If you loaded a saved script and made changes, click Update (instead of Save) to overwrite the old version.
Have code that isn’t working? Script Studio can try to fix it for you.
1 Click Fix My Script on the home screen.
2 Paste your broken code into the text box.
3 Describe the problem (for example, “I get an error on line 12” or “the arrows don’t show up”).
4 Click Fix and the AI will try to repair the code.
Script Studio generates code in two languages:
Pick your platform at the top of the screen before you start building. The AI will generate code in the right language.
1 In thinkorswim, click Studies (the beaker icon) on your chart.
2 Click Edit Studies.
3 Click Create in the bottom-left corner.
4 Delete any code already in the box, then paste your generated code (Ctrl+V).
5 Click OK, then Apply.
1 Go to Scan tab → Stock Hacker.
2 Click Add Study Filter.
3 Click the pencil icon and choose Custom.
4 Paste the code. Set the condition to “is true.”
5 Click Scan.
1 Right-click any column header in your watchlist.
2 Choose Customize.
3 Click Create Custom Column and paste the code.
4 Click OK and Apply.
1 In thinkorswim, click Studies (the beaker icon) on your chart.
2 Click Edit Studies.
3 Click Strategies tab, then Create.
4 Paste the code and click OK, then Apply.
5 You’ll see buy/sell markers on your chart and a P/L summary at the bottom.
1 Open a chart on TradingView.
2 Click Pine Editor at the bottom of the screen.
3 Delete any code in the editor and paste your generated code.
4 Click Add to Chart.
Go to stpmarketpulse.com/account. Enter your current password and your new password (must be 8 or more characters). Click Update Password.
On the login page, click “Forgot Password?” and enter your email. You’ll get an email with a reset link. The link works for 1 hour.
Go to stpmarketpulse.com/account and click “Manage Subscription.” This opens Stripe’s billing portal where you can cancel. You keep access until the end of your current billing period. There are no cancellation fees.
Email support at stpmarketpulse.com for help.
Try rephrasing your description. Use specific trading terms like “EMA 9 crosses above EMA 20” instead of vague phrases like “moving average signal.” You can also try one of the example buttons to start with a known-good description.
This means the AI made its best guess but isn’t 100% sure. Read the condition carefully. If it looks right, keep it checked. If not, go back and describe that part more clearly.
Sometimes the AI generates a different type than you selected. A yellow banner will explain the mismatch. Click “Use anyway” if the code looks good, or “Go back” to try again with a clearer description.
This means the code is regenerating after a style change. Wait a moment. The Copy button will turn back on when it’s done. If it gets stuck, click New Script and start over.
This means some conditions in your saved script have changed since you saved it. The ones marked “Needs Your Confirmation” should be reviewed. Conditions that no longer exist will be listed as unsupported.
You have TradingView selected as your platform. Switch to thinkorswim at the top of the screen to use these script types.
No. The AI writes all the code for you. You just describe what you want in plain English.
No. Script Studio builds scripts that look for patterns. It does not tell you what to buy or sell. You still need to make your own trading decisions.
Yes. Click on any element in the chart preview to open the style editor. You can change colors, line thickness, dash style, and marker shapes. The code updates automatically.
Use the Copy button (don’t select text manually). Make sure you’re pasting into the right platform. See the Troubleshooting section above for more help.
Yes. After generating, type a name and click Save. Open your Script Library anytime to load, update, or delete saved scripts.
No. It only simulates trades on past data. It does not connect to your broker.
Volume-based lower studies share the same output pane as other lower studies. This can cause display conflicts if you have multiple lower studies on the same chart. It still works — just be aware of this limitation.
Script Studio is updated regularly. When you open it, you always get the latest version.
Script Studio works in a mobile browser, but it’s easier to use on a computer because of the code copying and chart preview.