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

MQL5 指标 专家 统计和数学 PHP

指定

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
等级
(195)
项目
317
35%
仲裁
64
13% / 56%
逾期
82
26%
空闲
2
开发者 2
等级
(119)
项目
127
41%
仲裁
3
33% / 67%
逾期
0
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
Hi! I would like an expert MT4 developer to create an EA based only on MACD. I will give more details about the timeframe, lot size, parameters of MACD, and trade conditions in private. Thank You
i want an EA that enters based on the form of a candle if the lower wick is bigger then the rest of the candle i want buy and if the upperwick is bigger then the rest of the candle i want a sell single, i want it to enter with the sl 1 tick lower or higher then the lower or upperwick depening on buy or sell trade. then the stoploos needs to move when the trade goes to 0,5% sl too break even, when trad eis on 1% sl to
I want to build an indicator or EA that calculates the statistics on an instrument, and show the statistical distribution of the calculated sample statistics. The statistics will be based on Open high low close of a candle. I want the right to the EA and the source code I want to be able to change to different timeframes and get the statistics on those time frame. When i apply the indicator to intraday timeframe, i
Pvi 30 - 200 USD
pips volume indicator between 1 to 10k counting indicator. on only specified periods of open close low hi with selected time period m1 m5 m15 etc etc with level can customize by users. changes color after each 25 percent of pips count means u set 1000 pips it must first change its color after 25 percent than 50 than 75 first the final color should be the signal of buy sell user can select the levels colors. i want to
Hi, Would it be possible to get a developer for my trading system based on the attached specification? EA DETAILS Indicators to use (1) Better RSI () (2) Dynamic Linear Regression Channel (DLRC) by Iravan on Tradingview.com () (3) Range filter Buy and Sell 5 min – guikroth version on Tradingview.com () (With Dynamic Linear Regression, the period/length is automatically adjusted making it much faster to trade
Hello I am looking for a developer to help me backtest my custom ninjatrader 8 strategy andake it work perfectly your expertise is highly need for this project kindly reach out to me and let proceed
Hello please I need a developer to help me fix errors on my Ninjatrader 8 strategy I and make it work perfectly your expertise is need for this project kindly reach out to me and let's proceed
Ea-Reynerie 30 - 200 USD
The ocean gets dry and you can be fate and you are my type and the one who texting first is to be hundred I would live in the world to get your matric results
Hi, i need a Expert Advisor, that can pass prop firm Challenges like FTMO / E8 / 1OF1FUNDING Profit 10% Max Drawdown (DD) 10% Max Daily Loss 4% All trades with SL NO trades during and after high impact news NO trades during Weekend Profitable backtest from 2010 to 2024 Trades Forex (If you already have a finished EA, send me the backtest) PLease contact me asap

项目信息

预算
30+ USD
开发人员
27 USD