Skip to main content

pSpark - Custom Indicators

Updated over a month ago

How to Build a Custom Indicator

Step 1: Describe your indicator in plain English

Tell pSpark what you want the indicator to calculate and display. Be as specific as possible about:

  • What values to plot (lines, histograms, shapes)

  • What calculations to use

  • Any parameters you want to be adjustable

Step 2: Preview on your chart

As soon as pSpark builds your indicator, it is automatically applied to your chart for an instant live preview. You can see exactly how it looks and behaves on real market data.

Step 3: Tweak and iterate

Don’t like something? Just tell pSpark what to change in the chat conversation. Continue the conversation naturally to refine your indicator:

  • “Make the line thicker”

  • “Change the overbought level to 80”

  • “Add a signal line”

  • “Make it show arrows instead of a line”

Each change updates the preview on your chart immediately.

Step 4: Save your indicator

When you’re happy with the result, save the indicator directly from the chat. It becomes available in your saved indicators for future use.


Example Prompts for Custom Indicators

What You Want

Example Prompt

Custom RSI variant

“Build an RSI indicator with a signal line that shows buy/sell arrows when RSI crosses 30 and 70”

Multi-MA overlay

“Create an indicator with 20, 50, and 200 EMA with colored zones between them”

Momentum oscillator

“Build a momentum indicator that combines RSI and MACD histogram”

Volume analysis

“Create a volume indicator that highlights bars where volume exceeds 2x the 20-period average”

Divergence detector

“Build an indicator that marks RSI divergence with arrows on the chart”

Custom bands

“Create adaptive Bollinger Bands that use ATR instead of standard deviation”

Trend strength

“Build a trend strength meter that combines ADX, SuperTrend direction, and MA alignment”

Tips for Custom Indicators

  • Start simple, then add complexity. Build one plot first, then add layers

  • Specify plot styles. “Show as a red dashed line” or “Display as a green histogram”

  • Set reasonable defaults. “RSI length 14, overbought at 70, oversold at 30”

    Ask for shapes for signals. “Show a green arrow below the bar when…” makes signals easy to spot

  • Combine indicators. “Take the average of RSI and Stochastic” creates composite indicators

Managing Saved Indicators

After saving, your custom indicators are accessible from the pSpark tab:

  • View all saved indicators in your indicator library

  • Apply to any chart by selecting from the Indicators tab

  • Edit an existing indicator - click “Edit in Chat” next to any saved indicator to open it in pSpark chat. You can then continue the conversation to modify the indicator using natural language (e.g., “change the length to 21” or “add a histogram below the line”)

  • Delete indicators you no longer need

pSpark tab showing saved custom indicators

Did this answer your question?