Update EA

MQL5 전문가

작업 종료됨

실행 시간 2 일
피고용인의 피드백
Good job !

명시

Make some changes to the EA's decision mode:

 - Change the EA's decision mode of entry in buy or sell:

1)  Add  ALMA moving average inclined or declined in process of decision:

Ex:
ma20 = alma(close, 45, 0.85, 6)
ma20i = ma20> ma20[1] (inclined)
ma20d = ma20<ma20[1] (Declined)

2) Add new decision mode:

buy = delta>0 and ma20i
sell = delta<0 and ma20d

"--------- delta is defined here----- (its ready in EA)

macd = ema(close, rapida) - ema(close, lenta)

sinal = ema(macd, ref)

delta = macd - sinal 

"-----------

3)
a) When the market indicates buy,  the EA must place a order  limit of "long"  at the value specified by ALMA in closed previous.

b) The value of order limit "long" must be updated at the close of the candle, due to ALMA also changing, while the market no take this order.

 c) When the market no indicates buy, it stops updating the limit order value, but it keeps active order.

d) When the market reverses the hand, and indicate sell, the EA must cancel the "long" order and place the order "short" in the correct hand and continue updating the value according ALMA at each candle closing.




응답함

1
개발자 1
등급
(332)
프로젝트
485
40%
중재
82
11% / 63%
기한 초과
77
16%
무료
게재됨: 1 코드
2
개발자 2
등급
(186)
프로젝트
205
26%
중재
12
25% / 58%
기한 초과
39
19%
무료

프로젝트 정보

예산
30+ USD
기한
에서 1  4 일