Transform pinescript (tradingview) code to python code.
Budget: €8 – €30 EUR
Hello good afternoon to everyone. I am interested in converting code from the pinescript programming language (tradingview) to python. I don't want any graphics or plot, so it would be 25 lines of code in the original script.
The indicator is the following Relative Strength Index (RSI)
I want it to be defined as follows:
def RSI_calculator(rsi_length, ema_length, [list_values])
return rsi_calculates, ema_calculated.
Neither do I need a connection to apis, nor scraping, web connection, nor graphical interface, only the function.
If they require test data, I can send it as a list: list = [close_price1, close_price2...close_n]
Or you can try with the values you want.
Attached image (values in red rectangle). I insist on no graphs, only values.
The indicator is the following Relative Strength Index (RSI)
I want it to be defined as follows:
def RSI_calculator(rsi_length, ema_length, [list_values])
return rsi_calculates, ema_calculated.
Neither do I need a connection to apis, nor scraping, web connection, nor graphical interface, only the function.
If they require test data, I can send it as a list: list = [close_price1, close_price2...close_n]
Or you can try with the values you want.
Attached image (values in red rectangle). I insist on no graphs, only values.