External Indicators
Your subscription comes with forty indicators built to work with Strategy Lab. Most of them measure one thing, momentum, trend, volatility, volume or price action.
The code is open. Nothing is hidden or locked, so you can read every line, change the lengths, and adapt one to the way you trade. What each of them is written to do is hand a signal to Strategy Lab, so an indicator sitting on a chart by itself will stay quiet, and the tester is what reads it and acts.
Getting one onto your chart takes a paste and a save in TradingView’s Pine Editor, about a minute each, and it then lives in your own library ready for any chart you open.
What is included
Adding one to TradingView
All forty go on the same way, so this is the whole process, once.
Open the Pine Editor
Down the right edge of any chart is a narrow column of icons, and one of them is a pine tree. Click it and the editor opens along the bottom of the screen. Resting the cursor on an icon makes TradingView name it, so the pine is easy enough to find the first time.
Clear what is already there
TradingView starts you off with a few lines of its own. Click inside the editor, select all of it, and delete it. The script you paste has to be the only thing in the window.
Paste the code
Paste the indicator’s code into the empty editor. Every one of ours opens the same way:
// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © candle_effect
//@version=5
This is just an exampleThe two lines at the top are the licence header TradingView puts on a script, and they can stay exactly as they are. Underneath them, //@version=5 tells TradingView which version of Pine to read the rest with. All forty of ours are written for version five, so leave that line exactly as it arrives.
Save it
Press Save. TradingView asks for a name, and whatever you type is what you will be hunting for later, so give it the indicator’s own name. Saving is also what puts the script in your library, there is no separate step for that.
Add it to the chart
Press Add to chart. It appears in its own pane under the price, with the inputs you declared sitting in its settings where you can change them.
Where it lives now
Open the Indicators dialog and go to My scripts. Everything you have saved is in there, ready to drop onto any chart you open, and you never have to paste that script again.
Repeat the five steps for each indicator you want. There is no need to add all forty, most people work with a handful and come back for more when a strategy calls for something else.
One thing worth knowing
Saving a script never changes anything about your account, your charts or any position you have open. It sits in your library until you add it to a chart, and adding it to a chart draws lines and nothing more.