Skip to main content
ATK Pine Script®

Indicator Examples

Sub-panel oscillators, runtime surface demonstrations, and indicator pattern examples for ATK PyneScript V6.

Sub-Panel Examples#

Indicators that live below price — RSI, MACD, stochastic families, and custom volume panels. Good for studying multi-line, histogram, and mixed renderer patterns.

FileWhat it demonstratesPatternDownload
pynescript_rsi_indicator.pyRSI sub-panel with safe source fallback.Pure frame builder.Download
pynescript_histogram_sub_indicator.pyATK histogram rendering in sub-panel.Row-oriented visual data.Download
pynescript_macd_sub_indicator.pyMACD plus histogram colors.Multi-visual sub-panel.Download
pynescript_kdj.pyK, D, J oscillator with threshold lines.Multi-line oscillator.Download
pynescript_stoch.pyStochastic oscillator.Dual-line oscillator.Download
pynescript_stochrsi.pyStochRSI with source handling.Oscillator with source flexibility.Download
pynescript_volume_with_ma.pyVolume histogram plus moving average in sub-panel.Dual-render ATK bridge panel.Download
pynescript_candlestick_subchart.pyCandles in a sub-panel.ATK candlestick bridge.Download

Runtime Surface Examples#

Covers runtime surfaces that did not yet have dedicated teaching examples. Pick these when you already understand the starter scripts and need a focused reference for one specific namespace.

FileWhat it demonstratesBest useDownload
pynescript_input_interactions_indicator.pyExtended input family, confirm metadata, and time/price input pairing.Advanced input authoring.Download
pynescript_barstate_log_indicator.pybarstate.from_index(...) plus log.info/log.warning.Runtime diagnostics and per-bar lifecycle flags.Download
pynescript_plot_visual_surface_indicator.pyplotbar, plotchar, plotarrow, barcolor, and bgcolor.Plot-family migration reference.Download
pynescript_native_table_indicator.pyNative table.new, table.cell, and ctx.table.new.Managed table widgets without the ATK bridge.Download
pynescript_request_seed_runtime_indicator.pyrequest.seed(...) with inline structured seeded data.Seed-backed auxiliary data flows.Download
pynescript_map_runtime_indicator.pymap.new, map.put, map.get, map.keys, and map.size.Keyed runtime bundle reference.Download
pynescript_matrix_runtime_indicator.pymatrix.new, row/col reads, and simple 2D aggregation.Matrix runtime reference.Download
pynescript_library_enum_utils.py + pynescript_library_enum_import_indicator.pyVersioned library publishing, enum exports, and selective import binding.Library authoring and reuse.Download
pynescript_strategy_intent_surface.pySupported strategy.entry/order/exit/close/cancel* payload helpers alongside canonical mapped execution.Intent-helper reference.Download
pynescript_alert_strategy.py + pynescript_strategy_alert_template_strategy.pyAlert calls, strategy template alerts, mapped tags, and alert-friendly trade metadata.Alert authoring and payload design.Download