binance-exchange / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom indicators with websockets

e20916 opened this issue · 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?