OPEN-SOURCE SCRIPT

Cycle Analysis WebHook/API Integration

989
A basic script used to create an alert which can be used to trigger a web-hook on our cycle analysis API to calculate and update current cycles in the dataset/chart the alert is running on. Used to ensure a back-to-back real-time integration with server-based web-hooks between your favorite symbol/time-frame and our cycle analysis API.

1) Place this indicator on the symbol you want to apply cycle analysis.

2) Add an alert via the TradingView alert panel with following configuration:

  • Condition "WTT_DataFeed" -> data

  • Options: Once per bar close

  • Alert action Web Hook endpoint: https : //api.cycle.tools/api/Stream/SubmitStreamData?api_key=[put-your-apikey-here]

  • Expiration time: open-ended

  • Message: replace YOUR-STREAM-ID with the name for your stream to appear in the cycle analysis platform

  • Ensure enough data will be send via the webhook to allow cycle analysis (min. 100 bars/datapoints)

  • You might be able to backfill historical data with the "fill" function in your streams


3) Enjoy live monitoring the cycle analysis and cycle detection of your TradingView chart to empower your trading skills

4) You can even close your charts and the back-to-back alert/webhook logic will continue to ensure cycle analysis updates

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.