Bitcoin Forum

Economy => Trading Discussion => Topic started by: nikonik79 on September 23, 2018, 01:37:02 PM



Title: Which prices do I need to calculate the RSI indicator for each price change
Post by: nikonik79 on September 23, 2018, 01:37:02 PM
Hi, all!

I develop for my own a small cryptocurrency trading bot, which should as first calculate in the right way the indicators. My first indecator is the RSI. I am using binance as trading plattform.

My question now is, which data should I get to calculate the indicator? For example when in each second the rate between ADA and BTC changes, then I need to have the indicator to make some decision.

1. Should I get the data for the last 14 prices (rates) or
2. Should I get the closing prices for the last 13 days of ADA to BTC and the actual rate in this second?

I am using as programming language PHP.

Thanks!