|
16402 | 16402 | {
|
16403 | 16403 | "name": "precision",
|
16404 | 16404 | "info": "Specifies the number of digits after the floating point of the script\\`s displayed values. \nMust be a non-negative integer no greater than 16. \nIf `format` is set to [format.inherit](#var_format.inherit) and `precision` is specified, the format will instead be set to [format.price](#var_format.price). \nOptional. The default is inherited from the precision of the chart\\`s symbol.",
|
16405 |
| - "default": "syminfo.pricescale", |
| 16405 | + "default": "na", |
16406 | 16406 | "required": false,
|
16407 | 16407 | "displayType": "const int",
|
16408 | 16408 | "allowedTypeIDs": [
|
|
16452 | 16452 | {
|
16453 | 16453 | "name": "timeframe",
|
16454 | 16454 | "info": "Adds multi-timeframe functionality to simple scripts. When used, a \"Timeframe\" field will be added to the script\\`s \"Settings/Inputs\" tab. \nThe field\\`s default value will be the argument supplied, whose format must conform to [timeframe string specifications](https://www.tradingview.com/pine-script-docs/en/v5/concepts/Timeframes.html#timeframe-string-specifications). \nTo specify the chart\\`s timeframe, use an empty string or the [timeframe.period](#var_timeframe.period) variable. \nThe parameter cannot be used with scripts using Pine Script™ drawings. \nOptional. The default is [timeframe.period](#var_timeframe.period).",
|
16455 |
| - "default": "timeframe.period", |
| 16455 | + "default": "\"\"", |
16456 | 16456 | "required": false,
|
16457 | 16457 | "displayType": "const string",
|
16458 | 16458 | "allowedTypeIDs": [
|
|
16499 | 16499 | {
|
16500 | 16500 | "name": "max_lines_count",
|
16501 | 16501 | "info": "The number of last [line](#op_line) drawings displayed. \nPossible values: 1-500. \nThe count is approximate; more drawings than the specified count may be displayed. \nOptional. The default is 50.",
|
16502 |
| - "default": 50, |
| 16502 | + "default": "50", |
16503 | 16503 | "required": false,
|
16504 | 16504 | "displayType": "const int",
|
16505 | 16505 | "allowedTypeIDs": [
|
|
16515 | 16515 | {
|
16516 | 16516 | "name": "max_labels_count",
|
16517 | 16517 | "info": "The number of last [label](#op_label) drawings displayed. \nPossible values: 1-500. \nThe count is approximate; more drawings than the specified count may be displayed. \nOptional. The default is 50.",
|
16518 |
| - "default": 50, |
| 16518 | + "default": "50", |
16519 | 16519 | "required": false,
|
16520 | 16520 | "displayType": "const int",
|
16521 | 16521 | "allowedTypeIDs": [
|
|
16531 | 16531 | {
|
16532 | 16532 | "name": "max_boxes_count",
|
16533 | 16533 | "info": "The number of last [box](#op_box) drawings displayed. \nPossible values: 1-500. \nThe count is approximate; more drawings than the specified count may be displayed. \nOptional. The default is 50.",
|
16534 |
| - "default": 50, |
| 16534 | + "default": "50", |
16535 | 16535 | "required": false,
|
16536 | 16536 | "displayType": "const int",
|
16537 | 16537 | "allowedTypeIDs": [
|
|
16547 | 16547 | {
|
16548 | 16548 | "name": "max_polylines_count",
|
16549 | 16549 | "info": "The number of last [polyline](#op_polyline) drawings displayed. \nPossible values: 1-100. The count is approximate; more drawings than the specified count may be displayed. Optional. The default is 50.",
|
16550 |
| - "default": 50, |
| 16550 | + "default": "50", |
16551 | 16551 | "required": false,
|
16552 | 16552 | "displayType": "const int",
|
16553 | 16553 | "allowedTypeIDs": [
|
|
21612 | 21612 | {
|
21613 | 21613 | "name": "max",
|
21614 | 21614 | "info": "The upper bound of the range of random values. The value is not included in the range. \nThe default is 1.",
|
21615 |
| - "default": 1, |
| 21615 | + "default": "1", |
21616 | 21616 | "required": false,
|
21617 | 21617 | "displayType": "series int|float",
|
21618 | 21618 | "allowedTypeIDs": [
|
|
27704 | 27704 | {
|
27705 | 27705 | "name": "default_qty_value",
|
27706 | 27706 | "info": "The default quantity to trade, in units determined by the argument used with the `default_qty_type` parameter. \nThis setting can also be changed in the strategy\\`s \"Settings/Properties\" tab. \nOptional. The default is 1.",
|
27707 |
| - "default": 1, |
| 27707 | + "default": "1", |
27708 | 27708 | "required": false,
|
27709 | 27709 | "displayType": "const int|float",
|
27710 | 27710 | "allowedTypeIDs": [
|
|
27873 | 27873 | {
|
27874 | 27874 | "name": "max_lines_count",
|
27875 | 27875 | "info": "The number of last [line](#op_line) drawings displayed. \nPossible values: 1-500. \nOptional. The default is 50.",
|
27876 |
| - "default": 50, |
| 27876 | + "default": "50", |
27877 | 27877 | "required": false,
|
27878 | 27878 | "displayType": "const int",
|
27879 | 27879 | "allowedTypeIDs": [
|
|
27889 | 27889 | {
|
27890 | 27890 | "name": "max_labels_count",
|
27891 | 27891 | "info": "The number of last [label](#op_label) drawings displayed. \nPossible values: 1-500. \nOptional. The default is 50.",
|
27892 |
| - "default": 50, |
| 27892 | + "default": "50", |
27893 | 27893 | "required": false,
|
27894 | 27894 | "displayType": "const int",
|
27895 | 27895 | "allowedTypeIDs": [
|
|
27905 | 27905 | {
|
27906 | 27906 | "name": "max_boxes_count",
|
27907 | 27907 | "info": "The number of last [box](#op_box) drawings displayed. \nPossible values: 1-500. \nOptional. The default is 50.",
|
27908 |
| - "default": 50, |
| 27908 | + "default": "50", |
27909 | 27909 | "required": false,
|
27910 | 27910 | "displayType": "const int",
|
27911 | 27911 | "allowedTypeIDs": [
|
|
27921 | 27921 | {
|
27922 | 27922 | "name": "risk_free_rate",
|
27923 | 27923 | "info": "The risk-free rate of return is the annual percentage change in the value of an investment with minimal or zero risk. \nIt is used to calculate the [Sharpe and Sortino ratios](https://www.tradingview.com/chart/?solution=43000561856). \nOptional. The default is 2.",
|
27924 |
| - "default": 2, |
| 27924 | + "default": "2", |
27925 | 27925 | "required": false,
|
27926 | 27926 | "displayType": "const int|float",
|
27927 | 27927 | "allowedTypeIDs": [
|
|
27957 | 27957 | {
|
27958 | 27958 | "name": "max_polylines_count",
|
27959 | 27959 | "info": "The number of last [polyline](#op_polyline) drawings displayed. \nPossible values: 1-100. The count is approximate; more drawings than the specified count may be displayed. Optional. The default is 50.",
|
27960 |
| - "default": 50, |
| 27960 | + "default": "50", |
27961 | 27961 | "required": false,
|
27962 | 27962 | "displayType": "const int",
|
27963 | 27963 | "allowedTypeIDs": [
|
|
28038 | 28038 | {
|
28039 | 28039 | "name": "limit",
|
28040 | 28040 | "info": "An optional parameter. Limit price of the order. If it is specified, the order type is either 'limit', or 'stop-limit'. 'NaN' should be specified for any other order type.",
|
28041 |
| - "default": 1, |
| 28041 | + "default": "1", |
28042 | 28042 | "required": false,
|
28043 | 28043 | "displayType": "series int|float",
|
28044 | 28044 | "allowedTypeIDs": [
|
|
28195 | 28195 | {
|
28196 | 28196 | "name": "qty",
|
28197 | 28197 | "info": "An optional parameter. Number of contracts/shares/lots/units to trade. The default value is 'NaN'.",
|
28198 |
| - "default": 1, |
| 28198 | + "default": "1", |
28199 | 28199 | "required": false,
|
28200 | 28200 | "displayType": "series int|float",
|
28201 | 28201 | "allowedTypeIDs": [
|
|
28388 | 28388 | {
|
28389 | 28389 | "name": "qty_percent",
|
28390 | 28390 | "info": "Defines the percentage of (0-100) the position to close. Its priority is lower than that of the 'qty' parameter. \nOptional. The default is 100.",
|
28391 |
| - "default": 100, |
| 28391 | + "default": "100", |
28392 | 28392 | "required": false,
|
28393 | 28393 | "displayType": "series int|float",
|
28394 | 28394 | "allowedTypeIDs": [
|
|
29549 | 29549 | {
|
29550 | 29550 | "name": "border_width",
|
29551 | 29551 | "info": "Width of the four borders, in pixels. Optional. The default is 1 pixel.",
|
29552 |
| - "default": 1, |
| 29552 | + "default": "1", |
29553 | 29553 | "required": false,
|
29554 | 29554 | "displayType": "series int",
|
29555 | 29555 | "allowedTypeIDs": [
|
|
30992 | 30992 | {
|
30993 | 30993 | "name": "width",
|
30994 | 30994 | "info": "Line width in pixels.",
|
30995 |
| - "default": 1, |
| 30995 | + "default": "1", |
30996 | 30996 | "required": false,
|
30997 | 30997 | "displayType": "series int",
|
30998 | 30998 | "allowedTypeIDs": [
|
|
0 commit comments