draw
All the chart drawings, with how many points they need.
Each point is (index, price); after the points come the settings, by name, as in the drawing’s dialog. See Drawings.
Lines
draw.trend_line(p1, p2, **settings)
Trend line, with 2 (index, price) points.
draw.ray(p1, p2, **settings)
Ray, with 2 (index, price) points.
draw.info_line(p1, p2, **settings)
Info line, with 2 (index, price) points.
draw.extended_line(p1, p2, **settings)
Extended line, with 2 (index, price) points.
draw.trend_angle(p1, p2, **settings)
Trend angle, with 2 (index, price) points.
draw.horizontal_line(point, **settings)
Horizontal line, with one (index, price) point.
draw.horizontal_ray(point, **settings)
Horizontal ray, with one (index, price) point.
draw.vertical_line(point, **settings)
Vertical line, with one (index, price) point.
draw.cross_line(point, **settings)
Cross line, with one (index, price) point.
Arrows
draw.arrow_line(p1, p2, **settings)
Arrow, with 2 (index, price) points.
draw.arrow_marker(p1, p2, **settings)
Arrow marker, with 2 (index, price) points.
draw.arrow_up(point, **settings)
Arrow up, with one (index, price) point.
draw.arrow_down(point, **settings)
Arrow down, with one (index, price) point.
Channels
draw.parallel_channel(p1, p2, p3, **settings)
Parallel channel, with 3 (index, price) points.
draw.regression_trend(p1, p2, **settings)
Regression trend, with 2 (index, price) points.
Pitchforks
draw.pitchfork(p1, p2, p3, **settings)
Pitchfork, with 3 (index, price) points.
draw.inside_pitchfork(p1, p2, p3, **settings)
Inside pitchfork, with 3 (index, price) points.
Fibonacci
draw.fib_retracement(p1, p2, **settings)
Fib retracement, with 2 (index, price) points.
draw.fib_extension(p1, p2, p3, **settings)
Trend-based fib extension, with 3 (index, price) points.
draw.fib_channel(p1, p2, p3, **settings)
Fib channel, with 3 (index, price) points.
draw.fib_time_zone(p1, p2, **settings)
Fib time zone, with 2 (index, price) points.
draw.fib_speed_fan(p1, p2, **settings)
Fib speed resistance fan, with 2 (index, price) points.
draw.fib_trend_time(p1, p2, p3, **settings)
Trend-based fib time, with 3 (index, price) points.
draw.fib_circles(p1, p2, **settings)
Fib circles, with 2 (index, price) points.
draw.fib_spiral(p1, p2, **settings)
Fib spiral, with 2 (index, price) points.
draw.fib_arcs(p1, p2, **settings)
Fib speed resistance arcs, with 2 (index, price) points.
draw.fib_wedge(p1, p2, p3, **settings)
Fib wedge, with 3 (index, price) points.
draw.pitchfan(p1, p2, p3, **settings)
Pitchfan, with 3 (index, price) points.
Gann
draw.gann_box(p1, p2, **settings)
Gann box, with 2 (index, price) points.
draw.gann_fixed(p1, p2, **settings)
Gann square fixed, with 2 (index, price) points.
draw.gann_square(p1, p2, **settings)
Gann square, with 2 (index, price) points.
draw.gann_fan(p1, p2, **settings)
Gann fan, with 2 (index, price) points.
Chart patterns
draw.xabcd_pattern(p1, p2, p3, p4, p5, **settings)
XABCD pattern, with 5 (index, price) points.
draw.cypher_pattern(p1, p2, p3, p4, p5, **settings)
Cypher pattern, with 5 (index, price) points.
draw.head_and_shoulders(p1, p2, p3, p4, p5, p6, p7, **settings)
Head and shoulders, with 7 (index, price) points.
draw.abcd_pattern(p1, p2, p3, p4, **settings)
ABCD pattern, with 4 (index, price) points.
draw.triangle_pattern(p1, p2, p3, p4, **settings)
Triangle pattern, with 4 (index, price) points.
draw.three_drives(p1, p2, p3, p4, p5, p6, p7, **settings)
Three drives pattern, with 7 (index, price) points.
Elliott waves
draw.elliott_impulse(p1, p2, p3, p4, p5, p6, **settings)
Elliott impulse wave (1·2·3·4·5), with 6 (index, price) points.
draw.elliott_correction(p1, p2, p3, p4, **settings)
Elliott correction wave (A·B·C), with 4 (index, price) points.
draw.elliott_triangle(p1, p2, p3, p4, p5, p6, **settings)
Elliott triangle wave (A·B·C·D·E), with 6 (index, price) points.
draw.elliott_double_combo(p1, p2, p3, p4, **settings)
Elliott double combo wave (W·X·Y), with 4 (index, price) points.
draw.elliott_triple_combo(p1, p2, p3, p4, p5, p6, **settings)
Elliott triple combo wave (W·X·Y·X·Z), with 6 (index, price) points.
Cycles
draw.cyclic_lines(p1, p2, **settings)
Cyclic lines, with 2 (index, price) points.
draw.time_cycles(p1, p2, **settings)
Time cycles, with 2 (index, price) points.
Volume profiles
draw.fixed_range_volume_profile(p1, p2, **settings)
Fixed range volume profile, with 2 (index, price) points.
draw.anchored_volume_profile(point, **settings)
Anchored volume profile, with one (index, price) point.
TPO
draw.fixed_range_tpo(p1, p2, **settings)
Fixed range TPO, with 2 (index, price) points.
draw.anchored_tpo(point, **settings)
Anchored TPO, with one (index, price) point.
VWAP
draw.anchored_vwap(point, **settings)
Anchored VWAP, with one (index, price) point.
Brushes
draw.brush(p1, …, **settings)
Brush, with at least one (index, price) point.
draw.highlighter(p1, …, **settings)
Highlighter, with at least one (index, price) point.
Shapes
draw.rectangle(p1, p2, **settings)
Rectangle, with 2 (index, price) points.
draw.rotated_rectangle(p1, p2, p3, **settings)
Rotated rectangle, with 3 (index, price) points.
draw.path(p1, …, **settings)
Path, with at least one (index, price) point.
draw.circle(p1, p2, **settings)
Circle, with 2 (index, price) points.
draw.ellipse(p1, p2, p3, **settings)
Ellipse, with 3 (index, price) points.
draw.polyline(p1, …, **settings)
Polyline, with at least one (index, price) point.
draw.triangle(p1, p2, p3, **settings)
Triangle, with 3 (index, price) points.
draw.arc(p1, p2, p3, **settings)
Arc, with 3 (index, price) points.
draw.curve(p1, p2, p3, **settings)
Curve, with 3 (index, price) points.
draw.double_curve(p1, p2, p3, p4, **settings)
Double curve, with 4 (index, price) points.
Forecasting
draw.long_position(p1, p2, p3, p4, **settings)
Long position, with 4 (index, price) points.
draw.short_position(p1, p2, p3, p4, **settings)
Short position, with 4 (index, price) points.
draw.forecast(p1, p2, **settings)
Forecast, with 2 (index, price) points.
draw.bars_pattern(p1, p2, **settings)
Bars pattern, with 2 (index, price) points.
draw.ghost_feed(p1, p2, …, **settings)
Ghost feed, with at least 2 (index, price) points.
draw.projection(p1, p2, p3, **settings)
Projection, with 3 (index, price) points.
Measurers
draw.price_range(p1, p2, **settings)
Price range, with 2 (index, price) points.
draw.date_range(p1, p2, **settings)
Date range, with 2 (index, price) points.
draw.date_and_price_range(p1, p2, **settings)
Date and price range, with 2 (index, price) points.
Emoji
draw.emoji(point, **settings)
Emoji, with one (index, price) point.
Icons
draw.icon(point, **settings)
Icon, with one (index, price) point.
Text and notes
draw.text(point, **settings)
Text, with one (index, price) point.
draw.anchored_text(point, **settings)
Anchored text, with one (index, price) point.
draw.note(p1, p2, **settings)
Note, with 2 (index, price) points.
draw.price_note(p1, p2, **settings)
Price note, with 2 (index, price) points.
draw.pin(point, **settings)
Pin, with one (index, price) point.
draw.anchored_note(point, **settings)
Anchored note, with one (index, price) point.
draw.callout(p1, p2, **settings)
Callout, with 2 (index, price) points.
draw.comment(point, **settings)
Comment, with one (index, price) point.
Markers
draw.price_label(point, **settings)
Price label, with one (index, price) point.
draw.flag_mark(point, **settings)
Flag mark, with one (index, price) point.