顺水外汇EA交易网MT4

标题: 哪位大师帮忙修改下这个统计EA [打印本页]

作者: yixin1928    时间: 2017-6-4 00:06
标题: 哪位大师帮忙修改下这个统计EA
麻烦哪位大师帮忙修改下这个统计EA
void commentTitle(){
TotProfit();
   CreateLabel("转头对冲", Comment8 , 1, 5,10, 1, 文字颜色, "Arial");   CreateLabel("buyCnt", "多单总数:" + BuyCnt, 1, 5,10, 2, 文字颜色, "Arial");   CreateLabel("buyLots", "多单手数:" + DoubleToStr(BuyLots,2) , 1, 5,10, 3, 文字颜色, "Arial");   CreateLabel("buyProfit", "多单利润:" + DoubleToStr(BuyProfit,2), 1, 5,10, 4, 文字颜色, "Arial");   CreateLabel("line3", "=======================", 1, 5,10, 5, 文字颜色, "Arial");   CreateLabel("SellCnt", "空单总数:" + SellCnt, 1, 5,10, 6, 文字颜色, "Arial");   CreateLabel("SellLots", "空单手数:" + DoubleToStr(SellLots,2) , 1, 5,10, 7, 文字颜色, "Arial");   CreateLabel("SellProfit", "空单利润:" + DoubleToStr(SellProfit,2), 1, 5,10, 8, 文字颜色, "Arial");   CreateLabel("line4", "=======================", 1, 5,10, 9, 文字颜色, "Arial");   CreateLabel("profit", "总体利润:" + DoubleToStr(Profit,2), 1, 5,10, 10, 文字颜色, "Arial");   if(Profit Profit)MaxLose = Profit;    CreateLabel("maxLose", "最大浮亏:" + DoubleToStr(MaxLose,2), 1, 5,10, 11, 文字颜色, "Arial");   if(Profit> 0&& MaxLose2 < Profit) MaxLose2 = Profit;   CreateLabel("maxLose1", "最大盈利:" + DoubleToStr(MaxLose2,2), 1, 5,10, 12, 文字颜色, "Arial");   if((MaxLose1-保护值)<0)  aa=0;   else  aa=(MaxLose1-保护值);   CreateLabel("myProfit", "预期利润:" + DoubleToStr(aa,2), 1, 5,10, 13, 文字颜色, "Arial");}

作者: cst05001    时间: 2017-6-4 07:06
楼主好棒~
作者: ferrari0078    时间: 2017-6-4 07:43
楼主好棒~




欢迎光临 顺水外汇EA交易网MT4 (http://waterforex.com/) Powered by Discuz! X3.2