关于止盈止损的疑问(有图)

 

是这样的,我做多的时候移动止损是当卖价大于开仓价250点就把止损价格提到开单价+200点,卖单同样道理,但打到移动止损后(就是100/200点的整数,附有图片),买单和卖单的利润为什么不是整数呢?应该不是点差问题吧?因为买进去用Ask已经考虑了点差,卖出去同样道理。我想知道是什么原因呢?

这是MT4,但MT5也出现一样情况,而且MT4板块好似不太活跃所以只能发这里了,请版主谅解。希望大家解答一下,谢谢啦

bool DR1=OrderSend(Symbol(),OP_BUY,Lots,Ask,10,L41-MathMax((H41-L41)*40,500)*Point,C41+10000*Point,"多2",202,0,Red);          (买单)


bool DQ1=OrderSend(Symbol(),OP_SELL,Lots,Close[0],10,H41+MathMax((H41-L41)*40,500)*Point,C41-10000*Point,"空2",192,0,Green); (卖单)


for(int B=0;B<OrdersTotal();B++)   
         {
            if(OrderSelect(B,SELECT_BY_POS,MODE_TRADES)==true)
              {
                if(OrderType()==0 && OrderSymbol()==Symbol() && (OrderMagicNumber()==201 || OrderMagicNumber()==202)  )
                  {
                     if(Bid-OrderOpenPrice() >=Point*250  &&
                     
                      OrderStopLoss()<OrderOpenPrice()+150*Point  )
                      {
                         bool B1=OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()+200*Point,OrderTakeProfit(),0,DarkOrange); (买单移动止损)
                      }      
                  }
               
                if(OrderType()==1 && OrderSymbol()==Symbol() && (OrderMagicNumber()==191 || OrderMagicNumber()==192) )
                  {
                    if(OrderOpenPrice()-Ask>=Point*250  &&
                    
                     OrderStopLoss()>OrderOpenPrice()-150*Point )
                      {
                       bool B2=OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-200*Point ,OrderTakeProfit(),0,Yellow); (卖单移动止损)
                      }
                  }
               
              }
         }


原因: