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 일