Skip to content

Chart Plugins

Chart plugins are custom indicators, strategies, and overlays that extend your charts with additional analysis. Stratosfi ships with 40 built-in plugins and lets you create your own using AI.

[screenshot: plugin-browser]

What Are Plugins?

A plugin is a small calculation that runs on your chart's price data (open, high, low, close, volume) and draws the result as lines, bands, histograms, markers, or on-chart tables. Plugins come in five categories:

CategoryWhat It DoesExample
OverlaysDrawn directly on the price chartMoving averages, Bollinger Bands, Ichimoku Cloud
OscillatorsDisplayed in a separate panel below the chartRSI, MACD, Stochastic
VolumeVolume-based analysis in a separate panel or overlayOBV, Volume Profile, A/D Line
StrategiesBuy/Sell signals overlaid on the price chartSMA Crossover, RSI + Bollinger
SpecialUnique analysis tools (multi-timeframe, earnings)Earnings Markers, Multi-TF Dashboard

Overlays and strategies appear on the main price chart. Oscillators and volume plugins appear in their own panels below the chart — you can have up to 4 panels open simultaneously.

How to Use Plugins

Adding a Plugin to Your Chart

  1. Open any stock chart.
  2. Click the Plugins button in the chart toolbar.
  3. Browse plugins by category or search by name.
  4. Click a plugin to add it to your chart.
  5. The plugin appears immediately with default settings.

[screenshot: plugin-add]

Configuring Plugin Parameters

Each plugin has configurable inputs (period length, colors, thresholds, etc.):

  1. Click the gear icon next to an active plugin in the chart toolbar.
  2. Adjust the parameters in the configuration panel.
  3. Changes apply in real time — the chart updates as you modify values.

Removing a Plugin

Click the x button next to the plugin name in the chart toolbar, or right-click the plugin on the chart and select Remove.

Built-in Plugins

Overlays (13)

These plugins draw directly on the price chart alongside candlesticks.

Simple Moving Average (SMA)

Average of closing prices over a fixed number of periods. The most widely used trend indicator.

  • Inputs: Period (default: 20), Color

Exponential Moving Average (EMA)

Weighted moving average that gives more weight to recent prices, making it more responsive to new data than SMA.

  • Inputs: Period (default: 20), Color

Bollinger Bands

Volatility bands plotted above and below a moving average. Bands widen when volatility increases and narrow when it decreases.

  • Inputs: Period (default: 20), Standard Deviations (default: 2), Color

VWAP

Volume-Weighted Average Price — the institutional benchmark for intraday trading. Shows the average price weighted by volume throughout the day.

  • Inputs: Color

VWAP Bands

VWAP with standard deviation bands at +1, +2, -1, and -2 sigma levels. Includes an optional on-chart table showing current VWAP and band values. The bands help identify how far price has deviated from the volume-weighted mean.

  • Inputs: Show Table (default: on)

Ichimoku Cloud

Ichimoku Kinko Hyo — a comprehensive indicator showing trend direction, momentum, and support/resistance levels all at once. The "cloud" area between Span A and Span B highlights potential support and resistance zones.

  • Inputs: Conversion Period (default: 9), Base Period (default: 26), Span Period (default: 52), Displacement (default: 26)

SuperTrend

A trend-following indicator that changes color on trend reversals. Green when the trend is up, red when the trend is down. Uses ATR (Average True Range) for volatility-adjusted trailing stops.

  • Inputs: ATR Period (default: 10), Multiplier (default: 3)

Parabolic SAR

Stop and Reverse — dots above or below the price indicating trend direction. Dots below price = uptrend. Dots above price = downtrend. Often used for trailing stop placement.

  • Inputs: Start AF (default: 0.02), Increment (default: 0.02), Max AF (default: 0.2)

Moving Average Envelope

Upper and lower bands at a fixed percentage distance from a moving average. Simpler than Bollinger Bands — useful for identifying when price is stretched too far from its average.

  • Inputs: Period (default: 20), Percentage (default: 2.5%), Color

Support/Resistance Levels

Automatically detects support and resistance levels from pivot highs and lows. Draws horizontal lines at the most significant price levels where the market has previously reversed.

  • Inputs: Pivot Lookback (default: 5), Max Levels (default: 5)

Pivot Points

Calculates support and resistance levels from the previous period's OHLC data. Supports three calculation methods: Standard, Fibonacci, and Woodie. Displays the pivot point (P), two support levels (S1, S2), and two resistance levels (R1, R2).

  • Inputs: Method (default: Standard; options: Standard, Fibonacci, Woodie)

ICT Order Blocks

Detects institutional order blocks — the last opposing candle before an impulse move. Bullish order blocks are marked in green (last bearish candle before a strong upward move), bearish order blocks in red (last bullish candle before a strong downward move). Used in Smart Money Concepts (SMC) and ICT trading methodology.

  • Inputs: Lookback (default: 50), Max Blocks (default: 5), Min Impulse Candles (default: 3)

Market Structure

Detects Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) — the building blocks of trend analysis. Labels swing points directly on the chart and identifies structure breaks where the pattern changes. Essential for price action traders.

  • Inputs: Lookback Period (default: 5)

Oscillators (14)

These plugins display in separate panels below the chart.

RSI (Relative Strength Index)

Momentum oscillator measuring the speed and magnitude of price changes on a 0-100 scale. Above 70 suggests overbought, below 30 suggests oversold.

  • Inputs: Period (default: 14), Overbought (default: 70), Oversold (default: 30), Color

MACD

Moving Average Convergence Divergence — shows the relationship between two EMAs. The histogram makes crossover signals easy to spot.

  • Inputs: Fast Period (default: 12), Slow Period (default: 26), Signal Period (default: 9)

Stochastic Oscillator

Compares a stock's closing price to its price range over a period. Moves between 0 and 100. Above 80 is overbought, below 20 is oversold.

  • Inputs: %K Period (default: 14), %D Period (default: 3), Smoothing (default: 3)

Stochastic RSI

Applies the Stochastic oscillator formula to RSI values instead of price, producing a more sensitive overbought/oversold indicator. Useful when standard RSI stays in a narrow range for extended periods.

  • Inputs: RSI Period (default: 14), Stoch Period (default: 14), %K Smoothing (default: 3), %D Smoothing (default: 3), Overbought (default: 80), Oversold (default: 20)

Williams %R

An inverted oscillator that measures overbought/oversold conditions on a scale from -100 to 0. Above -20 is overbought, below -80 is oversold.

  • Inputs: Period (default: 14), Color

Commodity Channel Index (CCI)

Measures how far the current price deviates from its statistical mean. High positive values suggest the price is unusually high; large negative values suggest it is unusually low.

  • Inputs: Period (default: 20), Color

Rate of Change (ROC)

Shows the percentage change in price compared to a previous period. Useful for identifying momentum shifts and divergences.

  • Inputs: Period (default: 12), Color

Money Flow Index (MFI)

A volume-weighted version of RSI that measures buying and selling pressure. Incorporates both price and volume, making it more sensitive to money flowing in or out.

  • Inputs: Period (default: 14), Color

ADX (Average Directional Index)

Measures trend strength regardless of direction. ADX above 25 indicates a strong trend; below 20 indicates a weak or sideways market. Includes +DI and -DI directional lines.

  • Inputs: Period (default: 14)

RSI Divergence

Detects bullish and bearish divergences between price and RSI. A bullish divergence occurs when price makes a lower low but RSI makes a higher low. A bearish divergence occurs when price makes a higher high but RSI makes a lower high. These disagreements between price and momentum often precede reversals.

  • Inputs: RSI Period (default: 14), Pivot Lookback (default: 5), Overbought (default: 70), Oversold (default: 30), RSI Color

Trend Strength (ADX + DI)

Enhanced ADX with +DI/-DI directional lines, trend strength classification (weak, moderate, strong, very strong), and DI crossover detection. Provides a more complete picture of trend direction and strength than ADX alone.

  • Inputs: Period (default: 14)

Bollinger Squeeze

Detects Bollinger Band squeezes — periods of unusually low volatility that often precede significant price moves. Measures band width relative to its historical range and highlights squeeze conditions. The direction of the breakout is unknown, but the squeeze signals that a big move is coming.

  • Inputs: Period (default: 20), Std Dev (default: 2), Lookback (default: 120), Squeeze Percentile (default: 20)

WaveTrend Oscillator

LazyBear's WaveTrend — a momentum oscillator that generates cross signals with clear overbought/oversold zones. Uses a channel-based smoothing approach that reduces noise compared to traditional oscillators. Crossovers between the two WT lines in extreme zones produce reliable reversal signals.

  • Inputs: Channel Length (default: 10), Average Length (default: 21), Overbought (default: 60), Oversold (default: -60)

Squeeze Momentum

LazyBear's Squeeze Momentum indicator — detects when Bollinger Bands move inside Keltner Channels (a squeeze), signaling a period of consolidation before a breakout. The histogram shows momentum direction and strength. Green/red dots indicate squeeze on/off state.

  • Inputs: BB Length (default: 20), BB Mult (default: 2.0), KC Length (default: 20), KC Mult (default: 1.5)

Volume (5)

Volume-based analysis displayed in separate panels or as overlays.

Volume

Bar chart of trading volume colored by price direction — green for up days, red for down days. The simplest and most essential volume indicator.

  • Inputs: Up Color, Down Color

On-Balance Volume (OBV)

A cumulative volume indicator — volume is added on up days and subtracted on down days. Rising OBV confirms an uptrend; falling OBV confirms a downtrend. Divergences between OBV and price often precede reversals.

  • Inputs: Color

Accumulation/Distribution

A cumulative indicator that uses the position of the close within the day's range, weighted by volume. Helps determine whether a stock is being accumulated (bought) or distributed (sold).

  • Inputs: Color

Volume Oscillator

Shows the difference between a fast and slow volume EMA as a percentage. Positive values mean short-term volume is above average; negative values mean it is below average.

  • Inputs: Fast Period (default: 5), Slow Period (default: 10)

Volume Profile

Displays volume distribution by price level as a horizontal histogram overlay. Identifies the Point of Control (POC) — the price level with the most traded volume — and the Value Area (High/Low), where a configurable percentage of volume occurred. Essential for identifying where the market has the most agreement on price.

  • Inputs: Bins (default: 24), Value Area % (default: 70)

Strategies (3)

Strategy plugins generate buy and sell signals directly on your chart.

RSI + Bollinger Strategy

Combines RSI and Bollinger Bands for entry/exit signals. Buy when RSI drops below 30 and price is near the lower Bollinger Band. Sell when RSI rises above 70 and price is near the upper Bollinger Band.

  • Inputs: RSI Period (default: 14), BB Period (default: 20), BB StdDev (default: 2)

SMA Crossover Strategy

The classic Golden Cross / Death Cross strategy. Buy (green triangle) when the fast SMA crosses above the slow SMA. Sell (red triangle) when the fast SMA crosses below.

  • Inputs: Fast SMA (default: 10), Slow SMA (default: 20)

MACD Signal Strategy

Generates signals on MACD line / Signal line crossovers. Buy when MACD crosses above the signal line. Sell when MACD crosses below.

  • Inputs: Fast (default: 12), Slow (default: 26), Signal (default: 9)

Special (5)

Special plugins include unique analysis tools and server-side plugins that fetch external data.

Earnings Markers

Displays earnings report dates as markers directly on the chart timeline. Markers are color-coded: green for EPS beats, red for misses, and amber for inline results. Click a marker to see detailed earnings data including EPS actual vs. estimate and surprise percentage. Useful for understanding how price reacted around past earnings.

Multi-Timeframe Dashboard

Shows RSI, MACD, and trend status across three timeframes (x1, x4, x20 of the current resolution) in an on-chart table. Provides a quick overview of whether momentum and trend align across timeframes — a powerful confluence signal. No configuration needed.

Symbol Overlay

Overlay another symbol's price on your chart for visual comparison. This is a server-side plugin — it fetches the comparison symbol's OHLCV data automatically. Useful for comparing a stock vs its benchmark (SPY), a competitor, or a sector ETF.

  • Inputs: Symbol (default: QQQ), Color
  • Server-side plugin — uses ctx.fetchOHLCV to retrieve external data

Correlation Scanner

Calculates Pearson correlation between the current symbol and major indices (SPY, QQQ, DIA) plus sector ETFs over the last 30 bars. Displays results in an on-chart table showing which assets move most closely with your stock. A server-side plugin that fetches multiple symbols' data.

  • No configurable inputs

Relative Strength vs Benchmark

Plots the relative strength ratio (stock price / benchmark price) and its SMA in a separate panel. When the RS line is rising, the stock is outperforming the benchmark. When falling, it is underperforming. A server-side plugin that fetches the benchmark's data.

  • Inputs: Benchmark (default: SPY), SMA Period (default: 20)

Creating Custom Plugins with AI

You can ask the AI to create custom indicators and strategies for you.

How It Works

  1. Open AI Chat from the sidebar.
  2. Describe the indicator or strategy you want. For example:
    • "Create an indicator that shows when volume is 2x above the 20-day average"
    • "Build a strategy that buys when RSI crosses above 30 and the price is above the 50 EMA"
    • "Make an overlay that highlights gaps between the open and previous close"
  3. The AI generates the plugin code and adds it to your chart.
  4. Adjust parameters as needed from the plugin configuration panel.

[screenshot: ai-plugin-create]

Tips for AI Plugin Creation

  • Be specific about your logic: "Buy when RSI < 30 AND price is below the lower Bollinger Band" is better than "buy at oversold levels."
  • Specify display preferences: Tell the AI whether you want an overlay (on the chart), a panel (below the chart), or markers (signals on candles).
  • Iterate: After the AI creates a plugin, ask it to adjust — "make the period shorter" or "add a color change when the signal flips."
  • Use tables for dashboards: Ask for on-chart tables to show multi-indicator summaries, current values, or status dashboards right on the chart.

Saving and Sharing Plugins

Custom plugins you create are saved to your account automatically. You can:

  • Rename a custom plugin from the plugin browser.
  • Share a plugin with other Stratosfi users.
  • Export plugin configurations for backup.

Plugin API Reference

For developers and advanced users who want to understand how plugins work under the hood — including the calculate() function, the ta.* library, input types, and return format — see the Plugin API Reference.

Why Use This

Technical indicators are the language of trading. While every charting platform includes the basics (RSI, MACD, moving averages), real edge comes from combining indicators in ways specific to your strategy and risk tolerance. The plugin system gives you 40 professional-grade indicators out of the box, plus the ability to create custom ones in seconds using natural language. Instead of learning a scripting language like Pine Script, you describe what you want and the AI builds it for you. Strategy plugins go one step further — they mark buy and sell signals directly on your chart, so you can visually backtest ideas against historical price action before risking real money.

How to Get Started

  1. Add your first plugin — open any chart, click Plugins, and add RSI and SMA. These two give you momentum and trend context immediately.
  2. Try a strategy — add the SMA Crossover Strategy to a daily chart and scroll back through history. Notice how the Golden Cross and Death Cross signals align with major trend changes.
  3. Explore advanced plugins — add Market Structure to see HH/HL/LH/LL labels, or Volume Profile to understand where the most volume traded at each price level.
  4. Create a custom plugin — open AI Chat and type "Create an indicator that highlights when the current volume bar is more than 2x the 20-day average volume." Watch the AI generate it and apply it to your chart in seconds.

Pro Tips

  • Layer strategically: Combine one trend plugin (SMA or EMA), one momentum plugin (RSI or MACD), and one volatility plugin (Bollinger Bands or SuperTrend). Three different perspectives on the same price action reduce false signals.
  • Use Ichimoku for comprehensive analysis: Ichimoku Cloud alone provides trend direction, momentum, support/resistance, and future projections. It replaces 3-4 separate indicators for traders who take the time to learn it.
  • Volume Profile reveals institutional levels: The Point of Control (POC) is where the most volume traded — institutions defend these levels. Value Area boundaries act as support and resistance.
  • Market Structure before indicators: Price action traders read Market Structure (HH/HL/LH/LL) first, then use indicators for confirmation. A structure break from HH/HL to LH/LL is one of the most reliable trend change signals.
  • Multi-Timeframe Dashboard for confluence: The Multi-TF Dashboard shows whether RSI and MACD agree across timeframes. When all three timeframes show the same signal, the probability of a successful trade increases significantly.
  • Order Blocks for smart money entries: ICT Order Blocks highlight where institutions likely placed large orders. These zones often act as strong support or resistance on retests.
  • Strategy plugins are starting points, not gospel: The SMA Crossover Strategy will show you every Golden Cross and Death Cross, but not all of them lead to profitable trades. Use the signals as starting points, then confirm with volume and other context before acting.
  • Earnings Markers reveal patterns: Add the Earnings Markers plugin to see how a stock typically reacts to earnings. If NFLX gaps up 80% of the time after reporting, that pattern is visible at a glance.
  • Stack up to 4 panels: You can run RSI, MACD, OBV, and Volume Oscillator simultaneously in separate panels. This gives you a multi-dimensional view of momentum, trend, and volume without cluttering the price chart.
  • Charts & Indicators — drawing tools, time frames, and chart configuration
  • Plugin API Reference — technical reference for plugin development
  • AI Analysis — ask the AI to explain what a plugin is telling you, or create new custom plugins
  • Stock Screener — find stocks that match specific indicator conditions
  • Trading — use plugin signals to inform your paper trading decisions

STRATOSFI — Smart Trading Platform