指定
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() ..
反馈
1
等级
项目
0
0%
仲裁
0
逾期
0
空闲
2
等级
项目
103
20%
仲裁
6
0%
/
83%
逾期
3
3%
空闲
3
等级
项目
412
36%
仲裁
35
26%
/
57%
逾期
63
15%
空闲
4
等级
项目
1039
44%
仲裁
50
8%
/
50%
逾期
116
11%
空闲
项目信息
预算
30+ USD
截止日期
从 1 到 4 天