Convert Pine (Tradingview) indicator into MQL4 expert

MQL4 EA 전환

작업 종료됨

실행 시간 3 일
고객의 피드백
He works very responsibly, very well.

명시

I have a Tradingview's pine script that I would like to be translated into an expert advisor for MT4.

I want it to be translated to an expert to be used as a robot.

- i want to be able to control all the inputs

- i want to be able to control the lot size

- i want to be able to control the risks

//@version=3
///////////////////////////IMPROVED///////////////////////////////////////
// a very simple but very reliable strategy, works best on Heiken Ashi charts
//Heiken Ashi Candle close crossing over 20 period SMA
//Added more safety. 
//Continuation trades added
//////////////////////////////////////////////////////////////////////////

strategy("Heiken_Ashi_SMA20_Close_Crossover", overlay=true)



longCondition = crossover(close, sma(close, 20))  or (crossover(close,close[1]) and close>sma(close, 20))
if (longCondition)
    strategy.entry("Long", strategy.long)
strategy.close("Long",when=crossunder(close,close[1]) and low<sma(close, 20) )

shortCondition = crossunder(close, sma(close, 20)) or (crossunder(close,close[1]) and close<sma(close, 20))
if (shortCondition)
    strategy.entry("Short",strategy.short)
strategy.close("Short",when=crossover(close,close[1]) and high>sma(close, 20) )


응답함

1
개발자 1
등급
(119)
프로젝트
127
41%
중재
3
33% / 67%
기한 초과
0
무료
2
개발자 2
등급
(589)
프로젝트
1070
50%
중재
39
28% / 41%
기한 초과
49
5%
무료
게재됨: 1 기고글, 8 코드
3
개발자 3
등급
(564)
프로젝트
845
73%
중재
15
53% / 13%
기한 초과
193
23%
무료
4
개발자 4
등급
(1125)
프로젝트
1813
61%
중재
14
64% / 7%
기한 초과
84
5%
무료
5
개발자 5
등급
(88)
프로젝트
143
39%
중재
21
19% / 48%
기한 초과
30
21%
무료
6
개발자 6
등급
(54)
프로젝트
53
17%
중재
7
0% / 100%
기한 초과
5
9%
무료

프로젝트 정보

예산
30 - 40 USD
기한
에서 1 로 3 일