返回列表 发布新帖

请教问题

6394 0
怎样的世界1 发表于 2009-12-27 12:11 | 查看全部 阅读模式
https://www.y2cn.com
哥们,请教一个问题,我的 止损是,上涨一点,止损位上移两点,我编了程序,但运行怎么也不对,请高手指点一下,谢谢了!拜托,来内蒙草原我一定请你做客。
if(TrailingStop>0)  
              {                 
               if(Bid-OrderOpenPrice()>Point*TrailingStop)
                 {
                  if(ml<Bid-Point*TrailingStop)
                    {
                     OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop+2*point,OrderTakeProfit(),0,Green);
                    ml=Bid-Point*TrailingStop;
                     return(0);
                    }

回复

本版积分规则

图文热点
关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表