Custom indicators (JS scripting)

On TrendSpider, one can code their own custom indicators, using a popular programming language named JavaScript. Unlike other platforms, on TrendSpider you can write your scripts in your favorite code editor, debug your script usign your browser's dev tools, write logs and more.

Read the TrendSpider custom JS scripting documentation to see examples and learn more.

Generating Custom indicators code using AI

We have integrated a large language model so it could assist you in writing indicators. Think of it as of ChatGPT which is also aware of our Custom JS documentation and which has seen quite some code examples. It is not perfect and it can't solve some really complex tasks. But simpler things, like maybe code an RSI which has Bollinger bands applied to it work well.

You can leverage AI for the purpose of either generating/fixing or explaining code. AI knows what portion of the code you have selected prior to giving it instructions. It won't be limited to the highlighted section only, but that way it will better understand your intention.

You can expect this AI being aware of how fairly widespread indicators work. In order to get Vortex implemented, you can simply request implement the vortex indicator. For the more niche requests, consider giving more detailed instructions.

This functionality is built into the Custom Indicator editor on TrendSpider. Just click on the AI button, or hit Ctrl+K in the code editor.

Jan 1, 2025

Contact Us

Not finding what you're looking for? Contact Us Directly