The calculation formula of RSI is consistent with the calculation result of the exchange.

指定

The calculation formula for RSI indicator is as follows:

RSI = 100 – 100/ (1 + RS)
RS = Average Gain of n days UP  / Average Loss of n days DOWN

Please follow this URL link to learn more about the RSI indicator:


This is my PHP code: $sum_up=0.0;$sum_up_count=0; $sum_down=0.0;$sum_down_count=0; for($i=0;$i0){ $sum_up+=$ch; $sum_up_count++; }else if($ch


The RSI formula you sent out, I know, but the result is wrong. I saw in your tutorial that you have a parameter called RMA. What is the basis of this parameter? our calculation lacks this parameter. Resulting in incorrect results. What is the full name of rma, is it EMA or EWMA.Thank you


Average Gain of n days UP / Average Loss of n days DOWN


What exactly are these two parameters? are they measured by day or by number of candles?


Consult the calculation formula of the index: RSI in the exchange, and ask for consistency with the calculation result of the exchange.

応答済み

1
開発者 1
評価
(206)
プロジェクト
333
35%
仲裁
66
12% / 58%
期限切れ
87
26%
暇
2
開発者 2
評価
(119)
プロジェクト
127
41%
仲裁
3
33% / 67%
期限切れ
0
暇
3
開発者 3
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
類似した注文
Dear web developers. I want to restructure my UI to the likes of Binance Style interface. I would like to see your work before any commitments. I already have a site online, i want little twicks
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd

プロジェクト情報

予算
30+ USD