-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add a tutorial on adding an indicator #180
Comments
So far, everything you've done looks directionally right: 1) add the API endpoint and 2) add the chart metadata -- is mostly all you'd need to do. Adding your own data feed adds one additional challenge around handling date ranges. The For troubleshooting, I think the next thing I'd do is:
|
The next thing in my backlog for this demo site is to add an updating data-source, so I'll be looking at this particular issue more deeply. If you want to help with those instructions to add indicators; I'd be super happy for that contribution; otherwise, I'll add it, since I do want the demo site to cover all the indicators in the library and if we can make it easier for other contributors to help (or extend on their own), that'd be a good thing to do. |
Pull Request #181 shows the code diff of how to add an indicator. One unique thing that I have to improve here is how to handle |
Dan, you okay with the above PR as an example? I’ll try to make this repo more reusable opportunistically going forward. I had really only set it up as a rough demo site initially, so there might be some aspects that don’t work well out of the box for real world scenarios. |
@DaveSkender Yeah, that looks great. Sorry for lack of response, this will be a weekend type project for me. |
I've got the charts up and running locally. I've plugged in Polygon to get real time data, however, I am unable to get a new indicator to draw on the chart.
I've added a new endpoint to the main controller:
Then I added an entry into the indicator meta:
I do have 168 results from the ZigZag output:
This is the result when I add the indicator to the chart.
Could you please provide guidance on getting this indicator to draw?
What are the steps, from a high level to make an indicator draw?
If you can guide me on how to successfully add a new indicator, I'll be happy to write the tutorial.
The text was updated successfully, but these errors were encountered: