Problem with market orders - page 2

 

Is the code really this ...

OrderSend(Symbol(),OP_BUY,0.10,Ask,20,1.3034,0,"My order #2",1,0,Green);

as you said in your first post?

How can the stoploss be a fixed absolute value? People normally make it relative to the Ask price by using

Ask + stoploss * Point

for example.

 
aficionado:

Es el código realmente esto ...

como usted ha dicho en su primer post?

¿Cómo puede el stoploss ser un valor absoluto y fijo? Normalmente, las personas hacen en relación con el Ask precios mediante el uso de

Pregunte + stoploss * Punto

por ejemplo.


Thank you all for your responses.

Fixed with RefreshRates () before each line of market order
Reason: