53 articles with this category
Structure and anatomy of a PyneCore script file
PyneCore type system — primitives, annotations, collections, and special types
User-configurable script parameters in PyneCore
PyneCore built-in library reference — functions, variables, and constants
Technical analysis indicators and functions
Mathematical functions and constants
String manipulation functions
Color functions and color constants
Dynamic array operations
Two-dimensional matrix operations
Key-value map operations
Data requests from other symbols and timeframes
Strategy order management — entry, exit, close, and order functions
Information about closed trades in a strategy
Information about open trades in a strategy
Strategy risk management rules
Chart labels — create, modify, and style text labels
Chart lines — create and modify line drawings
Chart boxes — create and modify rectangular drawings
Data tables — create and populate on-chart tables
Multi-segment line drawings
Fill areas between two lines
Symbol information — ticker, exchange, currency, session, etc.
Timeframe detection and conversion utilities
Bar state flags — first bar, last bar, new bar, etc.
Chart properties — type, colors, visible range
Trading session detection
Logging functions for debugging
Runtime error handling
Alert triggering functions
Plot functions for displaying data on charts
Horizontal line drawing functions and style constants
Bar merge constants for request.security() gaps and lookahead
Currency code constants (USD, EUR, etc.)
Day of week constants (sunday through saturday)
Plot display mode constants
Line/box extend direction constants
Font family constants
Number format constants for labels and tooltips
Plot location constants (abovebar, belowbar, etc.)
Sort order constants (ascending, descending)
Table/label position constants
Scale type constants for indicators
plotshape marker shape constants
Label and shape size constants
Text alignment and wrapping constants
Dividend adjustment constants
Dividend data field constants
Earnings data field constants
X-axis location constants for labels and lines
Y-axis location constants for labels
Pivot point calculation type constants
PyneCore type system and library reference documentation