OrderSend() metod Unserstanding

22 May 2015, 20:39
ngoyal184
2
76

Hi,


I am trying to Understand working of OrderSend method .


Following is my understanding . Can any expert in mql4 and verify and correct em if i am wrong.


·         Priced Specified in OrderSend() method of mt4 EA  will be Useful in case of Limit Order(OP_SELLLIMIT/OP_BUYLIMIT). in market order stopploss and takeProdit order it will not be useful.

·         If Stoppless or TakeProfit value  is specified then with the entry order one more order of opposite direction will be placed in market  and that order will be StopLoss or takeprofit Order. In total two order will be placed one for entry and one for exit in case Stoppless/ TakeProfit is specified .

·         if both stoppless and takeprofit are not specified(both value is 0) then only single order for entry will be placed in market according to command(Buy/Sell/Limit Sell/Limit Buy) passed.


AA  Any help would be really appreciated!!!