求牛版写个总盈利点数平掉所有单子,包括挂单
求牛版写个总盈利点数平掉所有单子,帮我添加进这个源码]//---- input parameters ---------------------------------------------+ extern int INCREMENT=35; extern double LOTS=0.1; extern int LEVELS=3; extern double MAX_LOTS=99; extern int MAGIC=1803; extern bool ConTINUE=true; extern bool MONEY_MANAGEMENT=false; extern int RISK_RATIO=2; extern bool UseEntryTime=true; extern int StartHour=8; extern int EndHour=19; //+------------------------------------------------------------------+ extern bool UseProfitTarget=false; extern bool UsePartialProfitTarget=false; extern int Target_Increment = 50; extern int First_Target = 20; //+------------------------------------------------------------------+ bool Enter=true; int nextTP; int init() { //+------------------------------------------------------------------+ nextTP = First_Target; //+------------------------------------------------------------------+ return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { int ticket, cpt, profit, total=0, BuyGoalProfit, SellGoalProfit, PipsLot; double ProfitTarget=INCREMENT*1, BuyGoal=0, SellGoal=0, spread=(Ask-Bid)/Point, InitialPrice=0; //---- if(INCREMENT |
打赏
最新创建圈子
- 新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1