Skip to content
  • Home
  • Code Reference
    • Functions
    • Constants
    • Declarations
  • ThinkorSwim Indicators
  • Tutorials
  • About

thinkScript101

  • Home
  • Code Reference
    • Functions
    • Constants
    • Declarations
  • ThinkorSwim Indicators
  • Tutorials
  • About
thinkScript101

How to Get Current Date and Time in thinkScript (Examples)

February 6, 2023February 6, 2023

In this article, you will learn to get the current date and time in thinkScript. The following functions will be utilized throughout the post. Furthermore, because of thinkScript’s versatility, you …

Read more

I Asked ChatGPT To Write a ThinkorSwim Indicator (Result)

February 3, 2023February 3, 2023

Recently, there has been a lot of hype around ChatGPT, especially within the ThinkorSwim and thinkScript community. Despite its promising potential, the AI tool still requires a lot of refinements. …

Read more

How to Use thinkScript BarNumber() Function

January 22, 2023January 22, 2023

In thinkScript, the BarNumber() function retrieves the current bar number. BarNumber Code Examples 1. List of bars. The chart below has 252 bars. This code will start the count from …

Read more

Pre-Market Gap Scanners for ThinkorSwim (FREE)

January 22, 2023January 22, 2023

ThinkorSwim pre-market gap scanners are used to find stocks that have gapped up or down in the pre-market session. Premarket gappers are often stocks that may be trading on news …

Read more

How to Use SetPaintingStrategy in ThinkorSwim (20 Styles)

January 9, 2023January 9, 2023

Depending on the indicator you’re using in ThinkorSwim, you can customize the look and feel of it. Using SetPaintingStrategy in thinkScript, the plot can be changed from a line to …

Read more

How to Use thinkScript declare lower (With Examples)

December 27, 2022December 27, 2022

Have you ever wondered why some ThinkorSwim indicators are displayed below the chart rather than directly on it? It’s not to save space. That’s a good guess, though. Some indicators, …

Read more

Posts pagination

« 1 2 3 4 5 6 7 8 … 13 »

thinkScript Functions

  • Plot
  • BarNumber
  • Fold
  • Date and Time
  • AddLabel
  • AddChartBubble
  • GetAveragePrice
  • Colors

Getting Started

  • Fix Installing Updates Error
  • Fix OnDemand Not Working
  • Reset Paper Money
  • How to Speed Up ThinkorSwim
  • ThinkorSwim Web vs. Desktop
  • Day Trades Counter
  • Option Buying Power
  • Margin to Cash Account

Service

  • Convert TradingView Indicators to ThinkorSwim
Copyright © 2025 thinkScript101 — powered by ☕ — This site is not associated with TD Ameritrade or the thinkorswim platform in any manner.