Skip to content

Commit 23675b3

Browse files
committed
[pre-release] v3.4.0-beta-2
- Snippets for built-in variables, functions and constants updated to Pinescript release June 2024. - Rework of hover popup presentation. - Built-in types for hover popup added. - Popup window border become more visible in several dark themes. - Choices and default values for snippets updated. - Typo and bug fixes for snippets and hover popups.
1 parent 7b0ec1b commit 23675b3

25 files changed

+3764
-2300
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
2+
#### **3.4.0**
23

4+
*06.06.2024 **Update***
5+
- Snippets for built-in variables, functions and constants updated to Pinescript release June 2024.
6+
- Rework of hover popup presentation.
7+
- Built-in types for hover popup added.
8+
- Popup window border become more visible in several dark themes.
9+
- Choices and default values for snippets updated.
10+
- Typo and bug fixes for snippets and hover popups.
11+
12+
---
313
#### **3.3.1**
414

515
*18.04.2024 **Update***

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
## Language support for Pine Script V5 with Syntax Highlighting & Snippets
55

66
## Release Notes
7-
#### **3.3.1**
7+
#### **3.4.0**
88

9-
*18.04.2024 **Update***
10-
- Snippets for built-in variables, functions and constants updated to Pinescript release March 2024.
11-
- Hover popup descriptions for overloaded functions added.
12-
- Theme color minor fixed.
9+
*06.06.2024 **Update***
10+
- Snippets for built-in variables, functions and constants updated to Pinescript release June 2024.
11+
- Rework of hover popup presentation.
12+
- Built-in types for hover popup added.
13+
- Popup window border become more visible in several dark themes.
14+
- Choices and default values for snippets updated.
15+
- Typo and bug fixes for snippets and hover popups.
1316

1417
---
1518

@@ -18,9 +21,6 @@
1821

1922
PineScript Helper provides language support for PineScript, the scripting language used in TradingView. This extension enhances the coding experience by offering syntax highlighting, snippets, and hovers to provide reference manual information for PineScript scripts.
2023

21-
### What is PineScript?
22-
PineScript is a domain-specific scripting language developed by TradingView. It is primarily used to create custom technical indicators, strategies, and alerts within the TradingView platform. PineScript is specifically designed for financial market analysis and allows traders to create their own indicators and strategies to automate trading decisions.
23-
2424
---
2525

2626
## Features
@@ -150,4 +150,4 @@ This extension is released under the [MIT License](./LICENSE.md).
150150

151151
---
152152

153-
*Version 3.3.1*
153+
*Version 3.4.0*

SNIPPET-LIST.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*Version 3.3.1*
1+
*Version 3.4.0*
22
# Snippet's Prefix's
33

44
- [Snippet's Prefix's](#snippets-prefixs)
@@ -73,6 +73,12 @@
7373
|`session.ispostmarket` |
7474
|`session.ispremarket` |
7575
|`strategy.account_currency` |
76+
|`strategy.avg_losing_trade` _**new!**_ |
77+
|`strategy.avg_losing_trade_percent` _**new!**_ |
78+
|`strategy.avg_trade` _**new!**_ |
79+
|`strategy.avg_trade_percent` _**new!**_ |
80+
|`strategy.avg_winning_trade` _**new!**_ |
81+
|`strategy.avg_winning_trade_percent` _**new!**_ |
7682
|`strategy.closedtrades` |
7783
|`strategy.equity` |
7884
|`strategy.eventrades` |
@@ -96,7 +102,7 @@
96102
|`strategy.netprofit_percent` |
97103
|`strategy.openprofit_percent` |
98104
|`strategy.opentrades` |
99-
|`strategy.opentrades.capital_held` _**new!**_ |
105+
|`strategy.opentrades.capital_held` |
100106
|`strategy.position_avg_price` |
101107
|`strategy.position_entry_name` |
102108
|`strategy.position_size` |
@@ -107,7 +113,7 @@
107113
|`syminfo.currency` |
108114
|`syminfo.description` |
109115
|`syminfo.employees` |
110-
|`syminfo.expiration_date` _**new!**_ |
116+
|`syminfo.expiration_date` |
111117
|`syminfo.industry` |
112118
|`syminfo.minmove` |
113119
|`syminfo.mintick` |
@@ -474,14 +480,14 @@
474480
|`str.match` |
475481
|`str.pos` |
476482
|`str.replace` |
477-
|`str.repeat` _**new!**_ |
483+
|`str.repeat` |
478484
|`str.replace_all` |
479485
|`str.split` |
480486
|`str.startswith` |
481487
|`str.substring` |
482488
|`str.tonumber` |
483489
|`str.tostring` |
484-
|`str.trim` _**new!**_ |
490+
|`str.trim` |
485491
|`str.upper` |
486492
|`strategy.cancel` |
487493
|`strategy.cancel_all` |

images/highlight.png

82.3 KB
Loading

images/hover.png

29.2 KB
Loading

images/pine-themes.gif

-3.01 MB
Loading

images/snippet.png

18.4 KB
Loading

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"icon": "images/pineicon.png",
66
"publisher": "salbert11",
77
"license": "MIT",
8-
"version": "3.3.1",
8+
"version": "3.4.0-beta-2",
99
"engines": {
1010
"vscode": "^1.62.0"
1111
},

0 commit comments

Comments
 (0)