Multiple Symbol EA

MQL5 Experts

Job finished

Execution time 9 days
Feedback from customer
Nuru is a very good programmer

Specification

 **** 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

 

Responded

1
Developer 1
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
2
Developer 2
Rating
(4)
Projects
12
42%
Arbitration
0
Overdue
0
Free

Project information

Budget
10 - 30 USD
Deadline
from 2 to 4 day(s)