You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: faq_and_code/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -443,7 +443,7 @@ Use [``round_to_mintick()``](round_to_mintick). If you need to round a string re
443
443
444
444
### How can I abbreviate large values?
445
445
To abbreviate large values like volume (e.g., 1,222,333.0 ► "1.222M"), you can:
446
-
1. Use `format = format.volume`parameter in `study()` or `strategy()`. This affects all values displayed by the script.
446
+
1. Use `format = format.volume` in `study()` or `strategy()`. This affects all values displayed by the script.
447
447
1. Use [``tostring(x, format.volume)``](https://www.tradingview.com/pine-script-reference/v4/#fun_tostring) to abbreviate specific values.
448
448
1. Use a function such as this `f_abbreviateValue(_v, _precision)`, which allows you to specify a custom precision, abbreviates up to trillions, and provides subtle spacing between the value and the letter denoting the magnitude:
0 commit comments