How to get profit / loss of 0.01

 

I am trying to place an order through which i can get profit / loss of 0.01 by the following code:

OrderSend( Symbol(), OP_BUY, lots, Ask, 10, Ask- 3*Point, Ask+ 3*Point );


But it did not executed. If I increase my profit / loss to 0.06 it accepts my order.

Why is it so ? Please help me out.

 
With SL & TP delta of 0.01 it is too close to the entry . . . read, digest and understand this and you will know why: Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
 
shezi628:
OrderSend( Symbol(), OP_BUY, lots, Ask, 10, Ask- 3*Point, Ask+ 3*Point );
  1. You open a buy at the ASK, your TP/SL is relative to the BID
  2. On a 5 digit broker 3*point is not 3 pips. You must adjust tp, sl, AND slippage.
  3. On a ECN broker you must open first and then set stops
  4. You can not place stops closer than MarketInfo(chart.symbol, MODE_STOPLEVEL)*Point
Reason: