-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPineScript.xml
More file actions
74 lines (74 loc) · 16.3 KB
/
PineScript.xml
File metadata and controls
74 lines (74 loc) · 16.3 KB
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
<!--//
File name: PineScript.xml
Description: PineScript User Defined Language (UDL) Dark Color Scheme by RK.
Inspired by the TradingView Pine Editor Theme
Notepad++ User Defined Language
Supported version: Pine V5 - October 2021 Version
Created by: Rodrigo Felipe Silveira RK (rodrigokazuma at gmail dot com)
Released: 2021-11-08
License: MIT
//-->
<NotepadPlus>
<UserLang name="PineScript" ext="tvpine" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="2" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2">#</Keywords>
<Keywords name="Numbers, extras1">A B C D E F a b c d e f</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"></Keywords>
<Keywords name="Folders in code1, open">( alert( alertcondition( array.avg( array.clear( array.concat( array.copy( array.covariance( array.fill( array.from( array.get( array.includes( array.indexof( array.insert( array.join( array.lastindexof( array.max( array.median( array.min( array.mode( array.new_bool( array.new_box( array.new_color( array.new_float( array.new_int( array.new_label( array.new_line( array.new_string( array.new_table( array.pop( array.push( array.range( array.remove( array.reverse( array.set( array.shift( array.size( array.slice( array.sort( array.standardize( array.stdev( array.sum( array.unshift( array.variance( barcolor( bgcolor( bool( box( box.delete( box.get_bottom( box.get_left( box.get_right( box.get_top( box.new( box.set_bgcolor( box.set_border_color( box.set_border_style( box.set_border_width( box.set_bottom( box.set_extend( box.set_left( box.set_lefttop( box.set_right( box.set_rightbottom( box.set_top( color( color.b( color.from_gradient( color.g( color.new( color.r( color.rgb( color.t( dayofmonth( dayofweek( fill( fixnan( float( hline( hour( input( input.bool( input.color( input.float( input.int( input.price( input.session( input.source( input.string( input.symbol( input.time( input.timeframe( int( label( label.delete( label.get_text( label.get_x( label.get_y( label.new( label.set_color( label.set_size( label.set_style( label.set_text( label.set_textalign( label.set_textcolor( label.set_tooltip( label.set_x( label.set_xloc( label.set_xy( label.set_y( label.set_yloc( line( line.delete( line.get_price( line.get_x1( line.get_x2( line.get_y1( line.get_y2( line.new( line.set_color( line.set_extend( line.set_style( line.set_width( line.set_x1( line.set_x2( line.set_xloc( line.set_xy1( line.set_xy2( line.set_y1( line.set_y2( math.abs( math.acos( math.asin( math.atan( math.avg( math.ceil( math.cos( math.exp( math.floor( math.log( math.log10( math.max( math.min( math.pow( math.random( math.round( math.round_to_mintick( math.sign( math.sin( math.sqrt( math.sum( math.tan( math.todegrees( math.toradians( max_bars_back( minute( month( na( nz( plot( plotarrow( plotbar( plotcandle( plotchar( plotshape( request.dividends( request.earnings( request.financial( request.quandl( request.security( request.splits( runtime.error( second( str.format( str.length( str.replace_all( str.split( str.tonumber( str.tostring( strategy.cancel( strategy.cancel_all( strategy.close( strategy.close_all( strategy.closedtrades.commission( strategy.closedtrades.entry_bar_index( strategy.closedtrades.entry_price( strategy.closedtrades.entry_time( strategy.closedtrades.exit_bar_index( strategy.closedtrades.exit_price( strategy.closedtrades.exit_time( strategy.closedtrades.max_drawdown( strategy.closedtrades.max_runup( strategy.closedtrades.profit( strategy.closedtrades.size( strategy.convert_to_account( strategy.convert_to_symbol( strategy.entry( strategy.exit( strategy.opentrades.commission( strategy.opentrades.entry_bar_index( strategy.opentrades.entry_price( strategy.opentrades.entry_time( strategy.opentrades.max_drawdown( strategy.opentrades.max_runup( strategy.opentrades.profit( strategy.opentrades.size( strategy.order( strategy.risk.allow_entry_in( strategy.risk.max_cons_loss_days( strategy.risk.max_drawdown( strategy.risk.max_intraday_filled_orders( strategy.risk.max_intraday_loss( strategy.risk.max_position_size( string( ta.alma( ta.atr( ta.barssince( ta.bb( ta.bbw( ta.cci( ta.change( ta.cmo( ta.cog( ta.correlation( ta.cross( ta.crossover( ta.crossunder( ta.cum( ta.dev( ta.dmi( ta.ema( ta.falling( ta.highest( ta.highestbars( ta.hma( ta.kc( ta.kcw( ta.linreg( ta.lowest( ta.lowestbars( ta.macd( ta.median( ta.mfi( ta.mode( ta.mom( ta.percentile_linear_interpolation( ta.percentile_nearest_rank( ta.percentrank( ta.pivothigh( ta.pivotlow( ta.range( ta.rising( ta.rma( ta.roc( ta.rsi( ta.sar( ta.sma( ta.stdev( ta.stoch( ta.supertrend( ta.swma( ta.tr( ta.tsi( ta.valuewhen( ta.variance( ta.vwap( ta.vwma( ta.wma( ta.wpr( table( table.cell( table.cell_set_bgcolor( table.cell_set_height( table.cell_set_text( table.cell_set_text_color( table.cell_set_text_halign( table.cell_set_text_size( table.cell_set_text_valign( table.cell_set_width( table.clear( table.delete( table.new( table.set_bgcolor( table.set_border_color( table.set_border_width( table.set_frame_color( table.set_frame_width( table.set_position( ticker.heikinashi( ticker.kagi( ticker.linebreak( ticker.modify( ticker.new( ticker.pointfigure( ticker.renko( time( time_close( timestamp( weekofyear( year( box.set_text( box.set_text_color( box.set_text_size( box.set_text_valign( box.set_text_halign( str.contains( str.pos( str.substring( str.replace( str.lower( str.upper( str.startswith( str.endswith( str.match( array.new_linefill( linefill( linefill.delete( linefill.get_line1( linefill.get_line2( linefill.new( linefill.set_color( linefill.all(</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">and not or break continue else 'else if' if while for export import series simple switch var varip bool box color float int label line string table in </Keywords>
<Keywords name="Keywords2">@description @version @function @param @returns @ ← → ↳ ∴ ► ◄ ● ⮚ • ©</Keywords>
<Keywords name="Keywords3">ANY ATR FIFO FQ FY NaN TTM Traditional adjustment.dividends adjustment.none adjustment.splits alert.freq_all alert.freq_once_per_bar alert.freq_once_per_bar_close barmerge.gaps_off barmerge.gaps_on barmerge.lookahead_off barmerge.lookahead_on currency.AUD currency.CAD currency.CHF currency.EUR currency.GBP currency.HKD currency.JPY currency.NOK currency.NONE currency.NZD currency.RUB currency.SEK currency.SGD currency.TRY currency.USD currency.ZAR dayofweek.friday dayofweek.monday dayofweek.saturday dayofweek.sunday dayofweek.thursday dayofweek.tuesday dayofweek.wednesday display.all display.none dividends.gross dividends.net earnings.actual earnings.estimate earnings.standardized extend.both extend.left extend.none extend.right format.inherit format.mintick format.percent format.price format.volume hline.style_dashed hline.style_dotted hline.style_solid label.style_arrowdown label.style_arrowup label.style_circle label.style_cross label.style_diamond label.style_flag label.style_label_center label.style_label_down label.style_label_left label.style_label_lower_left label.style_label_lower_right label.style_label_right label.style_label_up label.style_label_upper_left label.style_label_upper_right label.style_none label.style_square label.style_triangledown label.style_triangleup label.style_xcross line.style_arrow_both line.style_arrow_left line.style_arrow_right line.style_dashed line.style_dotted line.style_solid location.abovebar location.absolute location.belowbar location.bottom location.top order.ascending order.descending plot.style_area plot.style_areabr plot.style_circles plot.style_columns plot.style_cross plot.style_histogram plot.style_line plot.style_linebr plot.style_stepline plot.style_stepline_diamond position.bottom_center position.bottom_left position.bottom_right position.middle_center position.middle_left position.middle_right position.top_center position.top_left position.top_right scale.left scale.none scale.right session.extended session.regular shape.arrowdown shape.arrowup shape.circle shape.cross shape.diamond shape.flag shape.labeldown shape.labelup shape.square shape.triangledown shape.triangleup shape.xcross size.auto size.huge size.large size.normal size.small size.tiny splits.denominator splits.numerator strategy.cash strategy.commission.cash_per_contract strategy.commission.cash_per_order strategy.commission.percent strategy.direction.all strategy.direction.long strategy.direction.short strategy.fixed strategy.long strategy.oca.cancel strategy.oca.none strategy.oca.reduce strategy.percent_of_equity strategy.short text.align_bottom text.align_center text.align_left text.align_right text.align_top xloc.bar_index xloc.bar_time yloc.abovebar yloc.belowbar yloc.price color.aqua color.black color.blue color.fuchsia color.gray color.green color.lime color.maroon color.navy color.olive color.orange color.purple color.red color.silver color.teal color.white color.yellow</Keywords>
<Keywords name="Keywords4">false true library indicator strategy study</Keywords>
<Keywords name="Keywords5">adjustment adxSmoothing alert_message angle atrPeriod backtest_fill_limits_assumption base blue border_color border_style border_width bordercolor bottom bottom_color bottom_value calc_on_every_tick calc_on_order_fills char close_entries_rule colordown colorup column columns comment commission_type commission_value condition confirm contracts count currency dateString day default_qty_type default_qty_value defval degrees diLength direction display editable end_column end_row explicit_plot_zorder exponent expression extend factor fastlen field fillgaps financial_id floor format formatString frame_color frame_width freq from_entry gaps green group handle_na height histbase hline1 hline2 id1 id2 id ignore_invalid_symbol inc index index_from index_to initial_capital initial_value inline join left leftbars length limit linestyle linewidth location long_length lookahead loss margin_long margin_short max max_boxes_count max_labels_count max_lines_count maxheight maxval message min minheight minval mult num number number_of_lines oca_name oca_type offset options order overlay param percentage period plot1 plot2 position precision prefix price process_orders_on_close profit pyramiding qty qty_percent radians red replacement reversal right rightbars row rows scale seed separator session short_length shorttitle show_last siglen sigma size slippage slowlen source1 source2 source start start_column start_row step stop style symbol table_id target text text_color text_halign text_size text_valign text_wrap textalign textcolor ticker tickerid timeframe timeframe_gaps timezone title tooltip top top_color top_value trackprice trade_num trail_offset trail_points trail_price transp type useTrueRange value when wickcolor width x1 x2 x xloc y1 y2 y yloc 
max_bars_back bgcolor str begin_pos end_pos occurrence regex</Keywords>
<Keywords name="Keywords6">catch class do ellipse is polygon range return struct throw try</Keywords>
<Keywords name="Keywords7">barstate.isconfirmed barstate.isfirst barstate.ishistory barstate.islast barstate.islastconfirmedhistory barstate.isnew barstate.isrealtime session.ismarket session.ispostmarket session.ispremarket timeframe.isdaily timeframe.isdwm timeframe.isintraday timeframe.isminutes timeframe.ismonthly timeframe.isseconds timeframe.isweekly box.all chart.bg_color chart.fg_color label.all line.all table.all</Keywords>
<Keywords name="Keywords8">bar_index hl2 hlc3 hlcc4 math.e math.phi math.pi math.rphi ohlc4 strategy.account_currency strategy.closedtrades strategy.equity strategy.eventrades strategy.grossloss strategy.grossprofit strategy.initial_capital strategy.losstrades strategy.max_contracts_held_all strategy.max_contracts_held_long strategy.max_contracts_held_short strategy.max_drawdown strategy.netprofit strategy.openprofit strategy.opentrades strategy.position_avg_price strategy.position_entry_name strategy.position_size strategy.wintrades syminfo.basecurrency syminfo.currency syminfo.description syminfo.mintick syminfo.pointvalue syminfo.prefix syminfo.root syminfo.session syminfo.ticker syminfo.tickerid syminfo.timezone syminfo.type ta.accdist ta.iii ta.nvi ta.obv ta.pvi ta.pvt ta.wad ta.wvad time_tradingday timeframe.multiplier timeframe.period timenow volume close dayofmonth dayofweek high hour low minute month na open second ta.tr ta.vwap time time_close weekofyear year last_bar_index last_bar_time</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="C5C8C6" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="8080FF" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="969896" bgColor="131722" fontStyle="0" nesting="117446656" />
<WordsStyle name="NUMBERS" fgColor="DE935F" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="8ABEB7" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="7EE787" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="CC6666" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="DE935F" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="328132" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FF374B" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="CC6666" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="CC6666" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="8ABEB7" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="81A2BE" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="FF7B72" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="8ABEB7" bgColor="131722" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FFFF80" bgColor="131722" fontStyle="0" nesting="3072" />
<WordsStyle name="DELIMITERS2" fgColor="B5BD68" bgColor="131722" fontStyle="0" nesting="3072" />
<WordsStyle name="DELIMITERS3" fgColor="8ABEB7" bgColor="131722" fontStyle="0" nesting="67108864" />
<WordsStyle name="DELIMITERS4" fgColor="C9D1D9" bgColor="FFFF80" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="C9D1D9" bgColor="80FF00" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="FFFF80" bgColor="FFFFFF" fontStyle="0" nesting="117701887" />
<WordsStyle name="DELIMITERS7" fgColor="D2A8FF" bgColor="004000" fontStyle="0" nesting="117702528" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>