Multiple Symbol EA

MQL5 전문가

작업 종료됨

실행 시간 9 일
고객의 피드백
Nuru is a very good programmer

명시

 **** PLEASE READ CAREFULLY BEFORE APPLYING **** 

Hello guys!

This is not an indicator or a chart based EA, so NO PICTURES OF any chart will help us to proceed with this, if you have problems understanding specifications without a picture to explain, please, don't apply.

Lets point out few important points for this EA:

INPUTS: 

- The logic I am describing below will be applied equally on multiple symbols, this group can be read in a text file(I can edit it 1 symbol per line) or market watch list applies too.

- Dynamic Financial per order: That will convert 5000 usd into shares always rounded by 100, the market intended for this trading uses a steplot of 100 

 - Start time:  10:00

 - Stop time: 17:00 Close all opened and pending orders for the day. 

NO STOP PROFIT OR LOSS just close when "Stop time" is reached. 

Trading logic:

 TIMEFRAME(DAILY D1) 

 

#VARIABLES

longAdjustment;

shortAdjustment;

numberOforders = 5

   

Trading logic:

If Close[1]<SMA of 3 days

longAdjustment =  longAdjustment + 2.5

else

shortAdjustment = shortAdjustment + 2.5 

If Close[1]<SMA of 5 days

longAdjustment =  longAdjustment + 2.5

else

shortAdjustment = shortAdjustment + 2.5 

If Close[1]<SMA of 10 days

longAdjustment =  longAdjustment + 2.5

else

shortAdjustment = shortAdjustment + 2.5 

If Close[1]<SMA of 20 days

longAdjustment =  longAdjustment + 2.5

else

shortAdjustment = shortAdjustment + 2.5 

  

 If RSI[1]<35

longAdjustment =  longAdjustment + 2.5

 If RSI[1]<65

shortAdjustment = shortAdjustment + 2.5 

PriceBuy = Close[1] - atr[13];

PriceSell = Close[1] - atr[13]; 

Order sending logic

Buy1 = PriceBuy;

PriceBuy = PriceBuy * (1 - (longAdjustment/1000)); 

Buy2 =  PriceBuy;

PriceBuy = PriceBuy * (1 - (longAdjustment/1000)); 

Buy3 = PriceBuy;

PriceBuy = PriceBuy * (1 - (longAdjustment/1000)); 

Buy4 = PriceBuy;

PriceBuy = PriceBuy * (1 - (longAdjustment/1000)); 

Buy5 = PriceBuy;

 

Sell1 = PriceSell;

PriceSell = PriceSell * (1 + (shortAdjustment/1000)); 

Sell2 = PriceSell;

PriceSell = PriceSell * (1 + (shortAdjustment/1000)); 

Sell3 = PriceSell;

PriceSell = PriceSell * (1 + (shortAdjustment/1000)); 

Sell4 = PriceSell;

PriceSell = PriceSell * (1 + (shortAdjustment/1000)); 

Sell5 = PriceSell;

PriceSell = PriceSell * (1 + (shortAdjustment/1000)); 

Thats all needs to do FOR ALL SYMBOLS in my list as mentioned above with the quantities divided by the financial with step lot 100 i.e:

Close[1] = 19.43 

 5000/Close[1]  = 257,33 convert to steplot => 300;

All order quantity for that symbol will be 300 for buy and sell

When stop time is up CLOSE ALL OPENED ORDERS AND DELETE ALL PENDING

 

응답함

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

프로젝트 정보

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