Spec of order_send on python_metatrader5

 

I'm trying to make an order via order_send function of python metatrader5

In the following specification of order_send, I can see an example code and how to use tp(take profit) and sl(stop loss).

https://www.mql5.com/en/docs/integration/python_metatrader5/mt5ordersend_py


QUESTION1:

Can i use tp/sl option when the execution type is SYMBOL_TRADE_EXECUTION_MARKET?

QUESTION2:

 If QUESTION1 is yes, can I specify  relative PIP range to tp/sl  from future contract value

Because I don't know the position price when I send order.

Documentation on MQL5: Integration / MetaTrader for Python / order_send
Documentation on MQL5: Integration / MetaTrader for Python / order_send
  • www.mql5.com
order_send - MetaTrader for Python - Integration - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5