✦Best Coloring ideas Insights

Mastering ThinkOrSwim: Custom Support & Resistance Study

By

In the dynamic world of online trading, identifying support and resistance levels is a crucial factor for making informed decisions. Thinkorswim, a powerful tradedecision software, offers a custom study feature that allows traders to create and apply studies tailored to their trading styles. In this guide, we'll delve into the process of creating a support and resistance custom study in Thinkorswim.

Before we dive into the creation process, let's quickly understand why studying support and resistance levels is essential. Support levels are the price points where demand is high, causing the price to stop falling or bounce back up. Conversely, resistance levels represent price points where supply is high, causing the price to stop rising or fall back down. By recognizing these key levels, traders can anticipate price movements and strategize accordingly.

Setting Up the Custom Study

To create your custom support and resistance study in Thinkorswim, navigate to the 'ThinkScript' tab in the platform. Here, you'll find the 'Edit' button, which will open the ThinkScript Editor. Delete any existing code and start with a new study by adding the following lines:

SUPPORT AND RESISTANCE
SUPPORT AND RESISTANCE
Support & Resistance Trading Explained | How to Mark Levels in Charts
Support & Resistance Trading Explained | How to Mark Levels in Charts
Support and resistance
Support and resistance

`study("Support and Resistance", title="S&R Levels", resolution="", overlay="true");`

Defining Support Levels

For defining support levels, we'll use the 'Long Lower Shadow' indicator. This indicator marks the bottom wicks of candlesticks, which can often represent support levels. Here's how you can include this in your study:

Best Support and Resistance Indicator
Best Support and Resistance Indicator
Support and Resistance Explained | Beginner Price Action Guide
Support and Resistance Explained | Beginner Price Action Guide
support and resitance
support and resitance

`addLowerShadowLine(s Perrp = ta.low(), color = color.green);`

Defining Resistance Levels

Similarly, for resistance levels, we'll use the 'Short Upper Shadow' indicator. This indicator marks the top wicks of candlesticks, which can often represent resistance levels. Here's how you can include this in your study:

`addUpperShadowLine(s Perrp = ta.high(), color = color.red);`

How to Spot Key Support & Resistance (The 3-Step Squint Test)
How to Spot Key Support & Resistance (The 3-Step Squint Test)
SUPPORT & RESISTANCE 📊💹
SUPPORT & RESISTANCE 📊💹
Support and Resistance Trading Strategy
Support and Resistance Trading Strategy
the support and resistance chart is shown in blue, with an arrow pointing up to it
the support and resistance chart is shown in blue, with an arrow pointing up to it
5 Indicator Combos That Actually Work for Trading
5 Indicator Combos That Actually Work for Trading
Support and Resistance Trading
Support and Resistance Trading

Customizing the Study

While the above code will provide basic support and resistance levels, you might want to customize the study further to suit your trading strategy. For instance, you can change the color of the lines, their width, or even add conditions for when these levels should appear.

To change the color and width of the lines, you can modify the arguments in the `addLowerShadowLine` and `addUpperShadowLine` functions. For example, to make the support lines thicker and resistance lines thinner, you could adjust the code like so:

`addLowerShadowLine(s Perrp = ta.low(), width = 2, color = color.green);`

Support and Resistance Explained for Beginners | Trading Education
Support and Resistance Explained for Beginners | Trading Education
the words rest signal are displayed above an image of a stock market chart with candles on it
the words rest signal are displayed above an image of a stock market chart with candles on it
How to Understand Support and Resistance
How to Understand Support and Resistance
How to identify support & resistance levels?
How to identify support & resistance levels?

`addUpperShadowLine(s Perrp = ta.high(), width = 1, color = color.red);`

Adding Conditions

You can also add conditions to make the lines appear only when certain criteria are met. For example, you might want the lines to appear only when the slope of the moving average changes or when the price crosses a certain level. Here's how you can add a condition to make the lines appear only when the price crosses the 50-period moving average:

`if (ta.crossover(ta.average(close, 50), close))`

`plot(s Perrp = ta.low(), color = color.green);`

`plot(s Perrp = ta.high(), color = color.red);`

Finalizing the Study

Once you've customized your study to your liking, don't forget to test and optimize it. Remember, no study is perfect, and it might take some tweaks and adjustments to get it right.

In conclusion, creating a custom support and resistance study in Thinkorswim can greatly enhance your trading experience by providing a tailored view of the market. It's a great way to leverage the platform's capabilities and align your trading tools with your unique strategy. So go ahead, start experimenting, and watch your trading confidence grow.