STP Script Studio — User Guide

Learn how to build trading scripts with AI — no coding needed.

What’s in This Guide

  1. What Is Script Studio?
  2. Getting Started
  3. The Home Screen
  4. The 6 Script Types
  5. Building a Script with AI
  6. Chart Preview
  7. Changing Colors and Styles
  8. Adding Reference Lines
  9. Hiding and Showing Markers
  10. Undo and Redo
  11. Copying Your Code
  12. Saving and Loading Scripts
  13. Fix My Script
  14. ThinkScript vs. Pine Script
  15. Platform Limitations
  16. Installing Code in thinkorswim
  17. Installing Code in TradingView
  18. Managing Your Account
  19. Troubleshooting
  20. Common Questions

1. What Is Script Studio?

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:

2. Getting Started

Create an Account

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!

Try the Free Demo

Not ready to subscribe? Try the free demo first. You can test the AI builder and see how scripts are generated. No account needed.

3. The Home Screen

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:

Always pick your platform first. Some script types are only available on thinkorswim.

4. The 6 Script Types

After you click Create, you pick what kind of script to build:

📈
Study (Upper)
Shows arrows, lines, and signals right on your price chart. The most popular choice. Works on both platforms.
📊
Study (Lower)
Creates a panel below your chart, like a momentum histogram or oscillator. Works on both platforms.
📋
Study (Volume)
A special lower study for volume-based indicators. Has some limitations — see the “Limited” badge. Works on both platforms.
⚙
Strategy
Tests your rules on past data. Shows simulated buys, sells, and profit/loss. Does NOT place real orders. Works on both platforms.
🔎
Scan
Finds stocks matching your rules right now. Use in thinkorswim’s Stock Hacker. thinkorswim only.
📋
Watchlist Column
Adds a custom column to your watchlist. Cells turn green, yellow, or red based on your rules. thinkorswim only.
If you picked TradingView as your platform, Scan and Watchlist Column will be grayed out. These only work with thinkorswim.

5. Building a Script with AI

After you pick a script type, the AI builder walks you through 4 steps:

Step 1: Describe Your Idea

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.

You have 500 characters. Keep it simple. The AI understands trading terms like “EMA cross,” “VWAP bounce,” “RSI oversold,” and “squeeze release.”

Step 1b: Clarification (Sometimes)

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.

Step 2: Review the Interpretation

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.

Step 3: Confirm Your Rules

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.

Step 4: Your Code Is Ready

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.

6. Chart Preview

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:

The preview uses sample data, not live market data. It shows you how the script looks and where signals appear, but these are not real trading signals.

7. Changing Colors and Styles

You can change how your script looks by clicking on chart elements in the preview.

How to Change a Style

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.

When you change a style, the code regenerates automatically. You’ll see an “Updating...” message while it works. The Copy button is disabled during this time.

8. Adding Reference Lines

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.

Removing a Reference Line

Click the X next to the line in the edit toolbar to remove it. The code updates automatically.

9. Hiding and Showing Markers

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.

10. Undo and Redo

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.

11. Copying Your Code

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.

Output Type Mismatch

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:

12. Saving and Loading Scripts

Saving a Script

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.

Loading a Saved Script

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.

Deleting a Script

Click the Delete button next to any saved script to remove it permanently.

Updating a Script

If you loaded a saved script and made changes, click Update (instead of Save) to overwrite the old version.

13. Fix My Script

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.

14. ThinkScript vs. Pine Script

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.

15. Platform Limitations

TradingView (Pine Script)

thinkorswim (ThinkScript)

When you pick TradingView, the Scan and Watchlist Column buttons are grayed out with a tooltip explaining why. You cannot select them.

16. Installing Code in thinkorswim

Chart Study (Upper or Lower)

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.

Stock Scanner

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.

Watchlist Column

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.

Strategy / Backtest

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.

Strategy / Backtest only simulates trades on past data. It does NOT place real orders or connect to your broker.

17. Installing Code in TradingView

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.

18. Managing Your Account

Change Your Password

Go to stpmarketpulse.com/account. Enter your current password and your new password (must be 8 or more characters). Click Update Password.

Forgot Your 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.

Cancel Your Subscription

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.

Contact Support

Email support at stpmarketpulse.com for help.

19. Troubleshooting

The AI didn’t understand what I wanted

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.

I see “Needs Your Confirmation” on a condition

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.

The code doesn’t work when I paste it

The output type doesn’t match what I picked

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.

I see “Updating...” and can’t copy

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.

My saved script shows warnings when I load it

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.

Scan or Watchlist Column is grayed out

You have TradingView selected as your platform. Switch to thinkorswim at the top of the screen to use these script types.

20. Common Questions

Do I need to know how to code?

No. The AI writes all the code for you. You just describe what you want in plain English.

Will this tell me what to buy?

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.

Can I change the colors after generating?

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.

What if the code doesn’t work when I paste it?

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.

Can I save my scripts?

Yes. After generating, type a name and click Save. Open your Script Library anytime to load, update, or delete saved scripts.

Does the Strategy / Backtest place real trades?

No. It only simulates trades on past data. It does not connect to your broker.

What is the Volume Study “Limited” badge?

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.

How often are new features added?

Script Studio is updated regularly. When you open it, you always get the latest version.

Can I use this on my phone?

Script Studio works in a mobile browser, but it’s easier to use on a computer because of the code copying and chart preview.

↑