Skip to main content
Version: v25

Featuresets

Feature or featureset is a string literal that can be used to change the functionality of the chart. There are simple (atomic) and complex (composite) features. Composite feature consists of simple features. Disabling composite feature disables all of its simple parts as well. Supported features are listed below.

caution

Please note that the leading - characters are not part of the featureset name in the table below.

Visibility of controls and other visual elements

IDDefault StateLibrary VersionDescription
header_widgeton
- header_widget_dom_nodeonDisabling this feature hides the header widget DOM element
- header_symbol_searchon
- symbol_search_hot_keyon1.9Symbol search by pressing any key
- header_resolutionson
- - header_interval_dialog_buttonon
- - - show_interval_dialog_on_key_presson
- header_chart_typeon
- header_settingsonRelates to Chart Properties button
- header_indicatorson
- header_compareon
- header_undo_redoon
- header_quick_searchon
- header_screenshoton
- header_fullscreen_buttonon
border_around_the_charton
header_saveloadonHides save/load buttons (the feature is not part of header_widget featureset)
left_toolbaron
control_baronRelates to the navigation buttons at the bottom of the chart
timeframes_toolbaron
legend_widgeton1.15Disabling this feature hides the legend widget
display_legend_on_all_chartsoff18Display legend on all diagrams regardless of crosshair synchronization
object_tree_legend_modeon18Display object tree button in the legend at a small width
edit_buttons_in_legendon
- show_hide_button_in_legendon1.7
- format_button_in_legendon1.7
- delete_button_in_legendon1.7
context_menuson
- pane_context_menuon
- scales_context_menuon
- legend_context_menuon
main_series_scale_menuon1.7Displays the settings button in the bottom right corner of the chart
chart_crosshair_menuon (terminal)1.7Enables the "plus" button on the price scale for quick trading
display_market_statuson
remove_library_container_borderon
property_pageson1.11Disables all property pages
show_chart_property_pageon1.6Turning this feature off disables Properties
chart_property_page_scaleson
chart_property_page_tradingonThis feature is for the Trading Terminal only
chart_property_page_right_margin_editoron1.15Shows the right margin editor in the setting dialog
countdownon1.4Displays a countdown label on a price scale
dont_show_boolean_study_argumentsoff1.4Hides true/false study arguments
hide_last_na_study_outputoff1.4Hides last n/a study output data
symbol_infoon1.5Enables the symbol info dialog
timezone_menuon1.5Disables timezone context menu
snapshot_trading_drawingsoff1.6Includes orders/positions/executions in the screenshot
source_selection_markerson1.11Disables selection markers for series and indicators
go_to_dateon1.11Allows you to jump to a particular bar using 'Go to' dialog
adaptive_logoon1.11Allows you to hide 'charts by TradingView' text on small-screen devices
show_dom_first_timeoff1.12Shows DOM panel when a user opens the Chart for the first time
hide_left_toolbar_by_defaultoff1.12Hides left toolbar when a user opens the Chart for the first time
chart_style_hilooff1.15Adds Hi-Lo option to chart style controls
chart_style_hilo_last_priceoff24Enables last price line and price axis label on High-low chart style
pricescale_currencyoff16Displays the currency in which the instrument is traded on the price axes
pricescale_unitoff19Displays the unit in which the instrument is traded on the price axes
scales_date_formaton17Displays Date Format selector in Chart Settings
popup_hintson17Displays popup hints about possible mouse/shortcuts/UI actions
save_shortcuton18Enables the save shortcut
show_right_widgets_panel_by_defaulton18Opens right widget toolbar on first launch
show_object_treeon18Shows the object tree button in the left or right panel depending on the product and configuration
show_spread_operatorsoff20Shows the spread operators in the Symbol Search dialog
hide_exponentiation_spread_operatoroff20Hide exponentiation spread operator (^) in the Symbol Search dialog
hide_reciprocal_spread_operatoroff20Hide reciprocal spread operator (1/x) in the Symbol Search dialog
compare_symbol_search_spread_operatorsoff20Shows the spread operators in the Compare Search dialog - needs to be used in conjunction to show_spread_operators
studies_symbol_search_spread_operatorsoff20Shows the spread operators for Studies - needs to be used in conjunction to show_spread_operators
hide_resolution_in_legendoff20Hide the interval (D, 2D, W, M, etc.) in the chart legend and the data window
hide_unresolved_symbols_in_legendoff21Hide unresolved symbols in the chart legend and the data window
show_zoom_and_move_buttons_on_touchoff21On touch device show the zoom and move buttons at the bottom of the chart
hide_main_series_symbol_from_indicator_legendon22Hide the optional symbol input value from the indicator's legend if 'Main chart symbol' option is selected
hide_price_scale_global_last_bar_valueoff23Hide the global last price label on price scale if last bar is outside of visible range
show_average_close_price_line_and_labeloff23Hide the visibility settings of the label and the average close price line
hide_image_invalid_symboloff23Hide image shown to illustrate symbol is invalid
hide_object_tree_and_price_scale_exchange_labeloff23Show/Hide the exchange label from the displayed label
scales_time_hours_formaton24Displays Time Format selector in Chart Settings
use_na_string_for_not_available_valuesoff24Show a literal "n/a" for not available values instead of "∅".
pre_post_market_sessionsoff24Enable pre and post market session support.
show_percent_option_for_right_marginoff24.1Show the option to specify the default right margin in percentage within chart settings dialog.
symbol_info_long_descriptionoff24.1Enable long symbol descriptions to be shown in the main series and compare studies legends, if provided in the symbol info data.
symbol_info_price_sourceoff24.1Enable symbol price source to be shown in the main series and compare studies legends, if provided in the symbol info data.
clear_price_scale_on_error_or_empty_barson24Clear pane price scales when the main series has an error or has no bars.
show_symbol_logosoff25Display logos for the symbols within the symbol search dialog, and the watchlist widget
show_exchange_logosoff25Display logos for the exchanges within the symbol search dialog
always_show_legend_values_on_mobileoff26Display legend values when on mobile
studies_extend_time_scaleoff26Enable studies to extend the time scale, if enabled in the study metainfo

Elements placement

IDDefault StateLibrary VersionDescription
move_logo_to_main_paneoffPlaces the logo on the main series pane instead of the bottom pane

Behavior

IDDefault StateLibrary VersionDescription
use_localstorage_for_settingsonAllows storing all properties (including favorites) to the localstorage
- items_favoritingonDisabling this feature hides "Favorite this item" icon for Chart Types, Drawings, Indicators, and Intervals.
- save_chart_properties_to_local_storageonCan be disabled to forbid storing chart properties to the localstorage while allowing to save other properties. The other properties are favorites in Advanced Charts, and Watchlist symbols and some panels states in the Trading Terminal.
create_volume_indicator_by_defaulton
create_volume_indicator_by_default_onceon
volume_force_overlayonPlaces Volume indicator on the same pane with the main series
right_bar_stays_on_scrollonDetermines the behavior of Zoom feature: bar under the mouse cursor stays in the same place if this feature is disabled
constraint_dialogs_movementonKeeps the dialogs within the chart
charting_library_debug_modeoffEnables logs
side_toolbar_in_fullscreen_modeoffThis enables Drawings Toolbar in the fullscreen mode
header_in_fullscreen_modeoff16Enables header widget DOM element in the fullscreen mode
disable_resolution_rebuildoffShows bar time exactly as provided by the data feed with no adjustments.
chart_scrollon1.10Allows chart scrolling
chart_zoomon1.10Allows chart zooming
horz_touch_drag_scrollon16If enabled, the chart handles horizontal pointer movements on touch screens. In this case the webpage is not scrolled. If disabled, the webpage is scrolled instead. Keep in mind that if the user starts scrolling the chart vertically or horizontally, scrolling is continued in any direction until the user releases the finger.
vert_touch_drag_scrollon16If enabled, the chart handles vertical pointer movements on touch screens. In this case the webpage is not scrolled. If disabled, the webpage is scrolled instead. Keep in mind that if the user starts scrolling the chart vertically or horizontally, scrolling is continued in any direction until the user releases the finger.
mouse_wheel_scrollon16If enabled, chart scrolling with horizontal mouse wheel is enabled.
pressed_mouse_move_scrollon16If enabled, chart scrolling with left mouse button pressed is allowed.
mouse_wheel_scaleon16If enabled, series scaling with a mouse wheel is enabled.
pinch_scaleon16If enabled, series scaling with pinch/zoom gestures (this option is supported on touch devices) is enabled.
axis_pressed_mouse_move_scaleon16If enabled, axis scaling with left mouse button pressed is allowed.
low_density_barsoff1.15Allows zooming in to show up to one bar in the viewport
uppercase_instrument_nameson1.12Disabling this feature allows a user to enter case-sensitive symbols
no_min_chart_widthoff1.14Disables minimum chart width limitation
fix_left_edgeoff1.14Prevents scrolling to the left of the first historical bar
lock_visible_time_range_on_resizeoff1.14Prevents changing visible time area on chart resizing
shift_visible_range_on_new_baron1.15If disabled, adding a new bar zooms out the chart preserving the first visible point. Otherwise the chart is scrolled one point to the left when a new bar comes.
custom_resolutionsoff1.15If enabled, there is a possibility to add custom resolutions
end_of_period_timescale_marksoff16Toggles the timeline marks to display the bar's end time
cropped_tick_markson16If disabled, partially visible price labels on price axis will be hidden
study_overlay_compare_legend_optionoff20Applies symbol display mode (ticker/description) to overlay/compare studies in the status line
study_symbol_ticker_descriptionoff20Applies symbol display mode (ticker/description) to indicator inputs in the status line
auto_enable_symbol_labelson20Displays Symbol Name Label when comparing Symbols
insert_indicator_dialog_shortcuton21Enables insert indicator dialog shortcut (/)
two_character_bar_marks_labelsoff22Display at most two characters in bar marks. The default behavior is to only display one character.
confirm_overwrite_if_chart_layout_with_name_existsoff23By default many chart layouts can be saved with the same name. If this feature is enabled then the library will prompt to confirm overwriting chart layouts with the same name when saving, renaming, or cloning ("Save as").
determine_first_data_request_size_using_visible_rangeoff23By default the chart will request a small (fixed) number of bars for the initial data request when the chart is first created. If this feature is enabled then the library will rather calculate the request size based on the amount of bars which will be visible on the chart.
iframe_loading_compatibility_modeoff24Alternative loading mode for the library, which can be used to support older browsers and a few non-standard browsers.
use_last_visible_bar_value_in_legendoff25By default the legend will show the most recent "global" bar value. When this feature is enabled the rightmost bar in the visible range is used instead.
chart_template_storageoff25Enable saving/loading of chart templates. The corresponding methods must be implemented in the save/load adapter.
request_only_visible_range_on_resetoff25When chart data is reset, then re-request data for just the visible range (instead of the entire range of the existing data loaded).
hide_price_scale_if_all_sources_hiddenoff25When enabled price scales will be hidden when all sources attached to the price scale are hidden.

Important features

IDDefault StateLibrary VersionDescription
study_templatesoff
datasource_copypasteonEnables copying of drawings and studies
seconds_resolutionoff1.4Enables the support of resolutions that start from 1 second
tick_resolutionoff18Enables the support of tick resolution
secondary_series_extend_time_scaleoff20Enables a feature to allow an additional series to extend the time scale

Trading Terminal

info

These featuresets are only available in Trading Terminal.

IDDefault StateTerminal VersionDescription
support_multichartsonEnables context menu actions (Clone, Sync) related to Multiple Chart Layout
header_layouttoggleonShows the Select Layout button in the header
add_to_watchliston1.9Enables "Add symbol to Watchlist" item in the menu
open_account_manageron1.11Keeps the Account Manager opened by default
trading_notificationson1.11Shows trading notifications on the chart
multiple_watchlistson1.12Enables creating of multiple watchlists
show_trading_notifications_historyon1.13Enables the Notifications Log tab in the bottom panel
always_pass_called_order_to_modifyoff1.15If a bracket order is modified, the terminal passes its parent order to modifyOrder. The featureset disables this behavior.
drawing_templateson17Enables Drawing Templates on Drawing toolbar
trading_account_manageron17Shows the Account Manager Widget
right_toolbaron17Shows the right buttons toolbar
order_panelon17Shows the Order Panel
order_infoon17Shows the Order info section in the Order dialog
buy_sell_buttonson18Shows the Buy/Sell Buttons in Legend
- broker_buttonon19Shows the Broker Button in Legend
show_order_panel_on_startoff17Order Panel is visible when the chart opens
order_panel_close_buttonon17Shows close Order Panel button
order_panel_undockon17Shows the Undock button in the Order Panel Settings
chart_hide_close_position_buttonoff22Hide the close button for position
chart_hide_close_order_buttonoff22Hide the close button for order
watchlist_import_exportonEnables watchlist export and import
dom_widgetoff22Enables DOM widget visibility
keep_object_tree_widget_in_right_toolbaroff23Keeps Object Tree widget in the right toolbar. If the right toolbar is not enabled this feature will have no effect.
show_last_price_and_change_only_in_series_legendoff23Show only the last price and change values in the main series legend.
show_context_menu_in_crosshair_if_only_one_itemoff23Show a context menu on clicking the crosshair menu even when there's only 1 item to show.
watchlist_context_menuon24.2Enable context menu support in the watchlist.
hide_right_toolbaroff24.3Hide the right_toolbar when initialising the chart. This is to gain space when loading the chart. Toolbar can be shown/hidden afterwards using the WidgetBar API.
hide_right_toolbar_tabsoff24.3Hide the tabs within the right toolbar