Simple script of stop loss trail depending on MA

MQL4 스크립트

작업 종료됨

실행 시간 1 일

명시

Hi, I need a stop loss trail script.

When I do a buy order, if both of open price and close price of the first candle under MA, for example, MA100, then close the order; When I do a sell order, if both of open price and close price of the first candle above MA100, then close the order.



Ps: the property of MA can be input and changeable, it can be 100 or any other number.






파일:

PNG
exaple_2.png
14.6 Kb

응답함

1
개발자 1
등급
(885)
프로젝트
1410
67%
중재
123
32% / 41%
기한 초과
218
15%
무료
게재됨: 1 코드
2
개발자 2
등급
(624)
프로젝트
981
47%
중재
32
38% / 34%
기한 초과
96
10%
작업중
게재됨: 6 코드
3
개발자 3
등급
(2296)
프로젝트
2891
63%
중재
122
44% / 25%
기한 초과
429
15%
작업중
4
개발자 4
등급
(452)
프로젝트
565
26%
중재
24
42% / 38%
기한 초과
85
15%
무료
게재됨: 6 코드
5
개발자 5
등급
(618)
프로젝트
1428
59%
중재
31
81% / 0%
기한 초과
10
1%
무료
6
개발자 6
등급
(2630)
프로젝트
3345
67%
중재
77
48% / 14%
기한 초과
342
10%
무료
게재됨: 1 코드
7
개발자 7
등급
(257)
프로젝트
341
58%
중재
7
14% / 71%
기한 초과
9
3%
무료
8
개발자 8
등급
(7)
프로젝트
25
44%
중재
4
25% / 50%
기한 초과
18
72%
무료
게재됨: 2 기고글
9
개발자 9
등급
(339)
프로젝트
809
73%
중재
30
33% / 37%
기한 초과
194
24%
무료
10
개발자 10
등급
(10)
프로젝트
17
53%
중재
11
27% / 55%
기한 초과
4
24%
무료

프로젝트 정보

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