Visual & Bridge Examples
Shapes, text, fills, tables, zones, ATK bridge payloads, candles, profiles, and chart.point-driven object examples.
Visual and ATK Bridge Examples#
Most examples here use either row-oriented visual_* columns or static frame.attrs bundles for object-like visuals.
| File | What it demonstrates | Payload style | Download |
|---|---|---|---|
pynescript_bbands_fill_indicator.py | Plots plus linefill.new. | Static plot declarations. | Download |
pynescript_atk_plot_fill_bridge.py | ctx.atk.plot_line with ctx.atk.fill_between. | Context visuals. | Download |
pynescript_plot_shape_above.py | Conditional plotshape above bar. | Row-oriented. | Download |
pynescript_plot_shape_below.py | Conditional plotshape below bar. | Row-oriented. | Download |
pynescript_color_text.py | Styled text overlays with color, size, font, weight, position. | visual_* columns. | Download |
pynescript_color_line_text.py | Line-text bundles with ATK bridge. | visual_* columns. | Download |
pynescript_color_arrow.py | Directional arrows with per-row direction and color. | visual_* columns. | Download |
pynescript_atk_table_bridge.py | Dashboard table using ctx.atk.table. | Static frame.attrs. | Download |
pynescript_atk_shape_zone_bridge.py | Shape text, polyline, rectangles, rectangle ray. | Static frame.attrs. | Download |
pynescript_visual_settings_lifecycle_demo.py | Object creation and mutation lifecycle across line, box, and fill visuals. | Module-level declarations and lifecycle updates. | Download |
pynescript_chart_point_showcase.py | chart.point, line, label, box, polyline APIs. | Object lifecycle. | Download |
Candles, Profile, and Volume Structure#
Structured price visuals — full candle structure or horizontal distribution logic like value area and profile bars.
| File | What it demonstrates | Best use | Download |
|---|---|---|---|
pynescript_candlestick.py | Simple plotcandle declaration. | Native candle declaration intro. | Download |
pynescript_color_candlestick.py | Color-per-bar candle rendering. | ATK bridge candle colors. | Download |
pynescript_atk_profile_candle_bridge.py | Composite visuals with candles and horizontal profile bars. | Complex bridge object bundle. | Download |
pynescript_volume_profile_fixed_range.py | Volume profile payload and value-area rendering. | Canonical volume profile example. | Download |
pynescript_volume_profile_fixed_range_with_rectangle.py | Alternative profile flavor with rectangle integration. | Profile variant. | Download |
MTF and Request Examples#
| File | What it demonstrates | Best use | Download |
|---|---|---|---|
pynescript_mtf_confirmation_strategy.py | request.security with lambda expression and HTF trend confirmation. | Canonical MTF example. | Download |