Pine version 5 script to MT5 indicator for RSI cross with RSI SMA

MQL5 指标 转化中

工作已完成

执行时间13 天
员工反馈
The employer is very professional. I was very glad to work with him.

指定

This is a Pine script for creating a binary options trading strategy with RSI and its moving averages.

Next, the script defines two input variables, rsiLengthInput  and rsiSourceInput , using the input function. These variables are used to specify the length and source of the RSI calculation, respectively. The maLengthInput variable is also defined using the input function, which is used to specify the length of the moving average.

The script then calculates the RSI using the rsi variable, which is calculated using the RSI formula in the Pine script. The up and down variables are used to calculate the RSI, and the rsiMA variable calculates the simple moving average of the RSI.

The is_call and is_put variables are used to determine whether to buy a call option or a put option, respectively. is_call is set to true when the RSI crosses above its moving average ( ta.crossover(rsi,rsiMA) ) and the RSI is between 30 and 70. is_put is set to true when the RSI crosses below its moving average ( ta.crossunder(rsi,rsiMA) ) and the RSI is between 30 and 70.

Finally, the script plots the buy and sell signals on the chart using plotshape , which plots arrows above or below the bars. It also sets up alerts to notify the user when a buy or sell signal occurs using the alertcondition function.


Convert this to MT5 indicator for doing the same thing

附加的文件:

TXT
binary.txt
1.1 Kb

反馈

1
开发者 1
等级
(851)
项目
1460
72%
仲裁
122
29% / 48%
逾期
356
24%
工作中
发布者: 3 文章
2
开发者 2
等级
(10)
项目
10
0%
仲裁
4
0% / 100%
逾期
2
20%
空闲
3
开发者 3
等级
(322)
项目
499
67%
仲裁
5
40% / 0%
逾期
4
1%
空闲
发布者: 8 代码

项目信息

预算
30 - 40 USD
截止日期
 1  2 天