Skip to main content

Custom Indicator now working?

Issue:

I downloaded this Indicator Skeleton with one buffer and parameter.zip sample custom indicator just to try if I can make one someday, but it’s now showing anything on the chart.

Reproduce:
Download the file Indicator Skeleton with one buffer and parameter.zip
Compile it, npm install and npm run build

Upload the indicator and put it on the chart

Expected:

It should draw something in the chart?

Actual:

It doesn’t do anything. I think there’s an error sign just beside the indicator name on the indicator tile but there’s no error message that I can see.

I tried to upload the compiled js file but it’s not allowed so just rename it to .js

my-indicator-project.txt

17.5 KB• Text

.

‘

How does this impact your experience?
5 comments

Comments5

  • Diana Zhoshko

    Team•

    May 6

    The file you’re using is just a framework — it doesn’t contain any logic for displaying data.

    The Calculate function is currently empty and doesn’t write anything to the buffer, which is why nothing appears on the chart.

    The main logic of the indicator should be implemented inside the Calculate function. Without that, the indicator won’t draw or show any values.

    I’d recommend checking our documentation too:

    ‍https://fto-2.gitbook.io/fto-indicators-docs

    • Carl D

      •

      May 6

      Hi @Diana Zhoshko

      My bad. Yes, I try to put some logs on Calculate and I can see it.

      • Diana Zhoshko

        Team•

        May 6

        No worries, I was glad to assist you)

  • Diana Zhoshko

    Team•

    May 6

    Hi @Carl D,

    I’ve already passed your issue along to our development team for further investigation.

    As soon as I receive any updates or a proposed solution, I’ll follow up with you right away.

  • Carl D

    •

    May 6

    For some reason, I can’t edit the post. There’s an error.

    The title should be Custom Indicator not working?