binance-exchange/node-binance-api

Custom indicators with websockets

e20916 opened this issue · 0 comments

Hi, i want to use futures websockets with my custom indicator but i cannot write. Simply put, i want to take last 800 bars of close then multiply with some alpha coefficient and take moving average of these. I want to decide if i buy or sell according to this situation. Can you give an example code about custom indicators?