TradingView indicator settings

How to change indicator settings on TradingView

Hover over an indicator title on your TradingView chart and click Settings, or double-click the title. Use Inputs for the controls exposed by the script, Style for its available appearance options, and Visibility for the chart intervals on which it appears. After changing inputs, save the chart or an indicator template. Existing script alerts keep their original settings; recreate them if they should use the new inputs.

See the decision guide

Open the settings for the right indicator

On the web or desktop chart, move the pointer over the indicator title and choose Settings. You can also double-click its name or right-click the name and select Settings. If the Settings button is missing, check that indicator titles are enabled in the chart status line.

  • Check the indicator name and pane before editing. Two instances can have different parameters even if their titles match.
  • Write down the current values, change one control, and inspect the result before saving the setup.
  • Use the named controls that actually appear in your script. Built-in and community indicators need not expose identical settings.
TabWhat to changeWhat to check
InputsAuthor-provided controls such as length, source, or a display toggleChanging inputs re-executes the script over available chart data. A control may affect calculations, visuals, or both.
StyleAvailable plot colors, line widths, and plot visibilityThe script determines which options can be edited. A missing control may need an input or a source-code change.
VisibilityChart intervals on which the indicator is displayedA hidden plot does not mean its calculation timeframe has changed.

Check display settings before changing the formula

If an indicator disappears after you switch chart intervals, first check its Visibility tab and whether the indicator or individual plot is hidden. Do not change a lookback length just to make an invisible plot appear.

  • In Visibility, enable the interval you are viewing, or use the indicator context menu and Intervals visibility for a quick adjustment.
  • A Timeframe input is different: some indicators can calculate on an interval other than the chart interval. Preserve that value when comparing two setups.
  • With a higher calculation timeframe and waiting for that timeframe to close, some indicators return no value on intervening bars. Visibility settings do not fill those gaps.
  • For a compressed or misplaced plot, inspect its pane and scale assignment through the indicator menu. These are separate chart placement controls, not a universal Style-tab feature.

Save a template without confusing it with an alert

An indicator template saves a group of indicators with their current settings for reuse. After configuring the chart, open Indicator templates in the top toolbar and select Save indicator template. Use a name that identifies the setup, then check the restored settings on a spare chart.

  • Before applying a template, save any chart setup you need to retain. Drawings in replaced indicator panes can be removed.
  • A saved default or template is a convenience for configuration, not a record of every research assumption. Keep a separate settings log.
  • To make an existing script alert use changed inputs or code, delete it and create a new alert from the intended chart context. Check its condition, frequency, message, and notification settings.
Saved objectPurposeBoundary
Chart layoutReturn to your chart arrangement and its indicatorsSave the layout deliberately if autosave is disabled.
Indicator templateApply a saved set of indicators and settings to another chartApplying a template replaces the current indicators. It does not preserve drawings in indicator panes.
Running script alertEvaluate the script with its creation-time context on TradingView serversIt retains a snapshot of the script, inputs, symbol, and timeframe. Later chart edits do not update it.

Keep a repeatable settings record

The following is a suggested recording method, not a reported performance test. Start with a baseline, duplicate it for each trial, and change one parameter at a time. A more attractive historical plot alone does not establish a better trading rule.

  • For a simple exercise, record an SMA using length 20 and close, then try length 30 while holding the other fields fixed. These are demonstration values, not recommended trading parameters.
  • Compare values at the same closed-bar timestamps. Restore the baseline and confirm you can reproduce the original observation.
  • If evaluating performance, first define strategy entry and exit rules, fees, and slippage. Test selected parameters on a separate period; an indicator template by itself is not a backtest.
RecordWhy it matters
Script name, author, version or saved sourceAn updated calculation can produce different results with the same inputs.
Exchange-qualified symbol, chart type, interval, and sessionDifferent data contexts change the bars supplied to the indicator.
Every input, including source and calculation timeframeA length value alone does not describe the setup.
Visible date range, data availability, and observation timeReloaded history and an unfinished live bar can differ from an earlier observation.
Template name, Style, and Visibility choicesThese help reproduce what was visible when you inspected the chart.
Alert creation context, if usedThe running alert must be compared with its own snapshot.

Add adjustable inputs to a script you can edit

This complete Pine Script v6 example exposes an SMA length and source. The group and inline arguments organize its controls; the minimum length prevents a zero or negative lookback. It draws an indicator and does not place trades or measure returns.

  • Add the script to a chart, open Inputs, and change Length. Style controls the available appearance options for the SMA plot.
  • A hardcoded value can be reproduced from saved source, but it cannot be changed through Inputs. Expose a value only when users need to adjust it.
A single indicator with editable inputs; 20 is an example defaultpinescript
//@version=6
indicator("Settings practice SMA", overlay=true)
lengthInput = input.int(20, "Length", minval=1, group="Average", inline="ma")
sourceInput = input.source(close, "Source", group="Average", inline="ma")
average = ta.sma(sourceInput, lengthInput)
plot(average, "SMA", color=color.teal, linewidth=2)

Understand the limits of protected scripts

Open-source publications let you inspect the code and make your own editable copy. Protected publications hide their source; invite-only publications also require the author to grant access. Neither a template nor Pineify grants access to concealed code.

  • For a protected or authorized invite-only indicator, adjust only the available settings. If an internal threshold has no control, ask the author to expose it.
  • No Inputs tab can mean the script exposes no inputs. An indicator declaration can also generate certain settings, so the tab is not solely determined by explicit input calls.
  • Source access helps you review how an indicator works, but does not by itself prove the code is correct or that it never repaints.
Where Pineify fits

Visual Pine Script Editor

Build your own indicator or strategy in Pineify, then inspect its generated script and settings in TradingView. For changes to editable source, the Pine Script AI Coding Agent provides a code-focused workflow.

Also useful: TradingView Strategy Optimizer. For a strategy with supported inputs, compare parameter combinations against backtest results. Keep the test context fixed and validate selected settings on a separate period; optimization does not prevent overfitting.

Explore the visual editor

Frequently asked questions

Educational information, not investment advice. The example demonstrates settings and has not been evaluated as a trading system. Saved settings and historical tests do not guarantee future results.

Sources and verification

Published by Pineify. Pineify is an independent product and is not affiliated with TradingView. Sources support the technical explanations; examples do not establish trading performance.