Specification
I got a simple expert (This is the MovingAverage.mq4) provided by MT4, which can not loose more than 20% if the account.
context :
Balance is 10000 Euros / Currency Euro
pair EURUSD
Leverage 1:200
You need to write a new function which calculates how much money is engaged by a total of all trades (from a same expert ) and displays an alert
means, if the expert looses 2000 euros, the expert must stop immedialty
Important:
**** do not use those following functions as BalanceEquity or MarginFree, or MarginRequired or whatever.
Just, calculate the amount of money for each trade with OrderProfit(), OrderLots() , OrderOpenPrice() ..
Responded
1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Rating
Projects
103
20%
Arbitration
6
0%
/
83%
Overdue
3
3%
Free
3
Rating
Projects
412
36%
Arbitration
35
26%
/
57%
Overdue
63
15%
Free
4
Rating
Projects
1039
44%
Arbitration
50
8%
/
50%
Overdue
116
11%
Free
Project information
Budget
30+ USD
Deadline
from 1 to 4 day(s)