Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
14
lexers/testdata/tradingview.actual
vendored
Normal file
14
lexers/testdata/tradingview.actual
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
//@version=3
|
||||
study(title="Chroma example script", overlay=true, precision=3)
|
||||
|
||||
emaLen = input(title="EMA Length", type=integer, defval=10)
|
||||
emaVal = ema(close, emaLen)
|
||||
|
||||
plot(series=emaVal, style=circles, offset=2, linewidth=3)
|
||||
|
||||
// Colour background
|
||||
bgcolor(color=close > open ? orange :
|
||||
close != high[1] ? purple :
|
||||
na, transp=80)
|
||||
|
||||
// Comment as last line should be recognised properly
|
Loading…
Add table
Add a link
Reference in a new issue