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: coding_conventions/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ plot(signal, color = color.orange)
74
74
75
75
76
76
<br>
77
+
77
78
## Naming Conventions
78
79
79
80
### Variable Names
@@ -143,6 +144,7 @@ for _i = 0 to 100
143
144
144
145
145
146
<br>
147
+
146
148
## Spacing
147
149
148
150
A space should be used on both sides of all operators, whether they be assignment, arithmetic (binary or unary) or logical. A space should also be used after commas. Example:
@@ -158,6 +160,7 @@ plot(series, color = color.red)
158
160
159
161
160
162
<br>
163
+
161
164
## Line Wrapping
162
165
163
166
When lines need to be continued on the next, use two spaces to indent each continuation line. Example:
@@ -181,6 +184,7 @@ plot(
181
184
```
182
185
183
186
<br>
187
+
184
188
## Example Scripts
185
189
186
190
Some authors use the Coding Conventions systematically:
0 commit comments