Skip to content

Commit 0faae12

Browse files
authored
Merge pull request #46 from QuantForgeOrg/dev
v0.7.3 - Plot Functions & PineScript Types Enhancement
2 parents 6c6f70a + 75fe753 commit 0faae12

File tree

20 files changed

+490
-241
lines changed

20 files changed

+490
-241
lines changed

.github/badges/api-coverage.svg

Lines changed: 5 additions & 5 deletions
Loading

.github/badges/api-plots.svg

Lines changed: 5 additions & 5 deletions
Loading

.github/badges/api-types.svg

Lines changed: 5 additions & 5 deletions
Loading

.github/badges/coverage.svg

Lines changed: 8 additions & 8 deletions
Loading

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Change Log
22

3-
## [0.7.2] - 2025-12-22 - Pine Script Parser & Build System Modernization
3+
## [0.7.3] - 2025-12-24 - Plot Functions & PineScript Types Enhancement
4+
5+
### Added
6+
7+
- **Plot Functions**: Added support for `plotshape` and `plotarrow` functions
8+
- **PineScript Type Constants**: Full implementation of PineScript type namespaces:
9+
- `format.*` - Number format types
10+
- `plot.*` - Plot style types
11+
- `location.*` - Location constants for shapes
12+
- `size.*` - Size constants for shapes
13+
- `shape.*` - Shape style constants
14+
- `display.*` - Display mode constants
15+
16+
## [0.7.2] - 2025-12-22 - Binance Provider Hotfix
417

518
- Hotfix : Binance provider failing for USA users, implemented a fallback logic to use the default binance url and fallback to US local url if the first one fails.
619

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"Plots": {
33
"plot()": true,
4-
"plotarrow()": false,
4+
"plotarrow()": true,
55
"plotbar()": false,
66
"plotcandle()": false,
77
"plotchar()": true,
8-
"plotshape()": false,
8+
"plotshape()": true,
99
"barcolor()": false,
10-
"bgcolor()": false
10+
"bgcolor()": true
1111
}
1212
}

docs/api-coverage/pinescript-v6/types.json

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@
104104
"dayofweek.wednesday": true
105105
},
106106
"display": {
107-
"display.all": false,
108-
"display.data_window": false,
109-
"display.none": false,
110-
"display.pane": false,
111-
"display.pine_screener": false,
112-
"display.price_scale": false,
113-
"display.status_line": false
107+
"display.all": true,
108+
"display.data_window": true,
109+
"display.none": true,
110+
"display.pane": true,
111+
"display.pine_screener": true,
112+
"display.price_scale": true,
113+
"display.status_line": true
114114
},
115115
"extend": {
116116
"extend.both": false,
@@ -123,43 +123,43 @@
123123
"font.family_monospace": false
124124
},
125125
"format": {
126-
"format.inherit": false,
127-
"format.mintick": false,
128-
"format.percent": false,
129-
"format.price": false,
130-
"format.volume": false
126+
"format.inherit": true,
127+
"format.mintick": true,
128+
"format.percent": true,
129+
"format.price": true,
130+
"format.volume": true
131131
},
132132
"hline": {
133133
"hline.style_dashed": true,
134134
"hline.style_dotted": true,
135135
"hline.style_solid": true
136136
},
137137
"location": {
138-
"location.abovebar": false,
139-
"location.absolute": false,
140-
"location.belowbar": false,
141-
"location.bottom": false,
142-
"location.top": false
138+
"location.abovebar": true,
139+
"location.absolute": true,
140+
"location.belowbar": true,
141+
"location.bottom": true,
142+
"location.top": true
143143
},
144144
"order": {
145145
"order.ascending": true,
146146
"order.descending": true
147147
},
148148
"plot": {
149-
"plot.linestyle_dashed": false,
150-
"plot.linestyle_dotted": false,
151-
"plot.linestyle_solid": false,
152-
"plot.style_area": false,
153-
"plot.style_areabr": false,
154-
"plot.style_circles": false,
155-
"plot.style_columns": false,
156-
"plot.style_cross": false,
157-
"plot.style_histogram": false,
158-
"plot.style_line": false,
159-
"plot.style_linebr": false,
160-
"plot.style_stepline": false,
161-
"plot.style_stepline_diamond": false,
162-
"plot.style_steplinebr": false
149+
"plot.linestyle_dashed": true,
150+
"plot.linestyle_dotted": true,
151+
"plot.linestyle_solid": true,
152+
"plot.style_area": true,
153+
"plot.style_areabr": true,
154+
"plot.style_circles": true,
155+
"plot.style_columns": true,
156+
"plot.style_cross": true,
157+
"plot.style_histogram": true,
158+
"plot.style_line": true,
159+
"plot.style_linebr": true,
160+
"plot.style_stepline": true,
161+
"plot.style_stepline_diamond": true,
162+
"plot.style_steplinebr": true
163163
},
164164
"position": {
165165
"position.bottom_center": false,
@@ -183,26 +183,26 @@
183183
"settlement_as_close.on": false
184184
},
185185
"shape": {
186-
"shape.arrowdown": false,
187-
"shape.arrowup": false,
188-
"shape.circle": false,
189-
"shape.cross": false,
190-
"shape.diamond": false,
191-
"shape.flag": false,
192-
"shape.labeldown": false,
193-
"shape.labelup": false,
194-
"shape.square": false,
195-
"shape.triangledown": false,
196-
"shape.triangleup": false,
197-
"shape.xcross": false
186+
"shape.arrowdown": true,
187+
"shape.arrowup": true,
188+
"shape.circle": true,
189+
"shape.cross": true,
190+
"shape.diamond": true,
191+
"shape.flag": true,
192+
"shape.labeldown": true,
193+
"shape.labelup": true,
194+
"shape.square": true,
195+
"shape.triangledown": true,
196+
"shape.triangleup": true,
197+
"shape.xcross": true
198198
},
199199
"size": {
200-
"size.auto": false,
201-
"size.huge": false,
202-
"size.large": false,
203-
"size.normal": false,
204-
"size.small": false,
205-
"size.tiny": false
200+
"size.auto": true,
201+
"size.huge": true,
202+
"size.large": true,
203+
"size.normal": true,
204+
"size.small": true,
205+
"size.tiny": true
206206
},
207207
"splits": {
208208
"splits.denominator": false,

docs/api-coverage/plots.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ parent: API Coverage
1010
| -------------- | ------ | ---------------------- |
1111
| `plot()` || Plot a series |
1212
| `plotchar()` || Plot character markers |
13-
| `plotarrow()` | | Plot arrow markers |
13+
| `plotarrow()` | | Plot arrow markers |
1414
| `plotbar()` | | Plot bar chart |
1515
| `plotcandle()` | | Plot candlestick chart |
16-
| `plotshape()` | | Plot shape markers |
16+
| `plotshape()` | | Plot shape markers |
1717
| `barcolor()` | | Set bar color |
18-
| `bgcolor()` | | Set background color |
18+
| `bgcolor()` | | Set background color |

0 commit comments

Comments
 (0)