Author

Topic: Which prices do I need to calculate the RSI indicator for each price change (Read 80 times)

newbie
Activity: 1
Merit: 0
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!
Jump to: