Moving average logic

MQL5 전문가

작업 종료됨

실행 시간 2 일
고객의 피드백
This guy made everything I asked him to. I truly recommend him.

명시

Hello guys!

 I want to send this orders automatically in accordance with my time to start and to close them all with time to stop. 

Let me write you the trading logic I want to set, firstly inputs:

 

Financial per position: That will convert 5000 usd into shares always rounded by 100

Symbol: I want this EA to do this same logic for a list of symbols as well. And this trade should only occurs ONCE A DAY my time frame desired is Daily

NO STOP PROFIT OR LOSS just closing when time to stop is reached. 

Time to start

Time to stop

% between limit orders

Rules :

fuzzy = 0; 

 if yesterday close > ema[3]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25 

if yesterday close > ema[5]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25 

if yesterday close > ema[10]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25

if yesterday close > ema[15]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25

if yesterday close > ema[20]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25  

 

if yesterday close RSI  >  65 fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25  

 

if fuzzy > 1.50

send 1 buy market order at startTime

send 3 buy limit orders at  yesterday close 

 1) yesterday close - (atr(14)/2)

 1) yesterday close - (atr(14)/1.5) 

 1) yesterday close - (atr(14)) 

 

if fuzzy < 1.50

send 1 short market order at startTime

send 3 sell limit orders at  yesterday close 

 1) yesterday close + (atr(14)/2)

 1) yesterday close + (atr(14)/1.5) 

 1) yesterday close + (atr(14))  

응답함

1
개발자 1
등급
(414)
프로젝트
670
33%
중재
60
17% / 32%
기한 초과
113
17%
작업중

프로젝트 정보

예산
10 - 30 USD
기한
에서 1  2 일