-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path4K Notepad++ UDL Add-on for Pine Script v4.0.xml
115 lines (106 loc) · 16 KB
/
4K Notepad++ UDL Add-on for Pine Script v4.0.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<NotepadPlus>
<UserLang name="4K UDL - Pine Script v4.0" ext="pine" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="yes" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="yes" />
</Settings>
<KeywordLists>
<Keywords name="Comments">0001 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">=> == <= != < > ? : ( ) [ ] , + - / = ^ * %</Keywords>
<Keywords name="Operators2">and or not float bool int string color label line array</Keywords>
<Keywords name="Folders in code1, open"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">abs
acos
alertcondition
alma
asin
atan
atr
avg
barcolor
barssince
bb
bbw
bgcolor
bool
cci
ceil
change
cmo
cog
color
correlation
cos
cross
crossover
crossunder
cum
dev
dmi
ema
exp
falling
fill
fixnan
float
floor
heikinashi
highest
highestbars
hline
hma
iff
input
int
kagi
kc
kcw
label
line
linebreak
linreg
log
log10
lowest
lowestbars
macd
max
max_bars_back
mfi
min
mom
nz
offset
percentile_linear_interpolation
percentile_nearest_rank
percentrank
pivothigh
pivotlow
plot
plotarrow
plotbar
plotcandle
plotchar
plotshape
pointfigure
pow
renko
rising
rma
roc
round
rsi
sar
security
sign
sin
sma
sqrt
stdev
stoch
strategy
string
study
sum
supertrend
swma
tan
tickerid
timestamp
tostring
tsi
valuewhen
variance
vwma
wma
wpr</Keywords>
<Keywords name="Keywords2">order.

adjustment.
barmerge.
barstate.
display.
format.
input.
line.style_
label.style_
location.
plot.
scale.
session.
shape.
size.
strategy.
syminfo.
timeframe.
xloc.
yloc.</Keywords>
<Keywords name="Keywords3">array.

color.new
line.
label.
str.</Keywords>
<Keywords name="Keywords4">accdist
bar_index
close
dayofmonth
dayofweek
high
hl2
hlc3
hour
iii
low
minute
month
nvi
obv
ohlc4
open
pvi
pvt
second
time
time_close
timenow
tr
volume
vwap
weekofyear
wvad
year
</Keywords>
<Keywords name="Keywords5">var
na

else
'else if'
if

for
break
continue
to
by</Keywords>
<Keywords name="Keywords6">true
false</Keywords>
<Keywords name="Keywords7">adjustment
backtest_fill_limits_assumption
base
bordercolor
calc_on_every_tick
calc_on_order_fills
char
close_entries_rule
colorup
colordown
comment
commission_type
commission_value
condition
confirm
contracts
count
currency
day
default_qty_type
default_qty_value
defval
display
editable
exponent
expression
extend
fastlen
format
from_entry
gaps
handle_na
histbase
hour
id
inc
join
label
leftbars
length
limit
linestyle
linewidth
linktoseries
location
long
long_length
loss
lookahead
max
max_bars_back
maxheight
maxval
minheight
minute
minval
month
num
oca_name
oca_type
offset
options
overlay
param
percentage
precision
prefix
process_orders_on_close
profit
pyramiding
qty
qty_percent
replacement
resolution
reversal
rightbars
scale
second
series
session
short_length
shorttitle
show_last
siglen
size
slippage
slowlen
source
start
step
stop
style
symbol
target
text
textalign
textcolor
then
ticker
time
timezone
title
trackprice
trail_offset
trail_points
trail_price
transp
type
value
when
wickcolor
width
x
x1
x2
xloc
y
y1
y2
year
yloc</Keywords>
<Keywords name="Keywords8">#
color.

</Keywords>
<Keywords name="Delimiters">00 01 02 03" 04\ 05" 06 07 08 09' 10\ 11' 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="E0E0E0" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="909090" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FF9000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="6080FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF3030" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="6080FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="FF3030" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="FF60FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="40E040" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="90A000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF8080" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="00FFFF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="E0E000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="65536" />
<WordsStyle name="DELIMITERS4" fgColor="E0E000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="11" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
<!-- XML comments here on this line or below are not required in the XML file -->
<!-- ################### Notepad++ UDL INSTALLATION INSTRUCTIONS ##################### -->
<!-- -->
<!-- ** The most recent version of Notepad++ should be previously install ** -->
<!-- ==== Current version as of this UDL release 7.8.2 ==== -->
<!-- -->
<!-- **** You will most likely require a restart of Notepad++ after importation **** -->
<!-- -->
<!-- #1 - Strip all preceding XML with [CTRL] + [/]... -->
<!-- after selecting all text in Pine Editor... -->
<!-- then copy ALL XML above to SomeFileName.xml and save it -->
<!-- #2 - Open up Notepad++, if it is not already in use -->
<!-- #3 - Where you see File, Edit, Search, View... up top in Notepad++ -> -->
<!-- SELECT [ Language ] -> -->
<!-- Hover over "User Defined Language" -->
<!-- Then SELECT "Define your language..." -->
<!-- #5 - You should see [ Import... ] [ Export... ] -->
<!-- #6 - SELECT [ Import... ] -->
<!-- #7 - Locate SomeFileName.xml in file explorer where it's saved, and [ Open ] it -->
<!-- #8 - The "Import successful." prompt should notify you of correct importation -->
<!-- #9 - Close and restart Notepad++ to assign *.pine files to this UDL -->
<!-- ####################### MANUAL ASSIGNMENT OF A "NEW" FILE ####################### -->
<!-- Where you see File, Edit, Search, View... up top in Notepad++ -> -->
<!-- SELECT [ Language ] -> -->
<!-- SELECT "4K UDL - Pine Script v4.0" -->
<!-- ########################### CHANGING BACKGROUND COLOR ########################### -->
<!-- -->
<!-- #1 - Where you see File, Edit, Search, View... SELECT [ Settings ] -->
<!-- #2 - SELECT "Style COnfigurator..." -->
<!-- #3 - In the Select theme -> -->
<!-- Language : Global Styles -> -->
<!-- Style : Global override -> -->
<!-- Colour Style -> -->
<!-- SELECT Background colour -> -->
<!-- More Coulors... -> -->
<!-- Red = [ 19 ] -->
<!-- Green = [ 23 ] -->
<!-- Blue = [ 34 ] -->
<!-- Red, Green, Blue values above will match the Pine Editor background color -->
<!-- You may select other background colors at this time -->
<!-- #4 - SELECT [ OK ] -->
<!-- #5 - SELECT [ Save & Close ] -->