place pending orders by commands/script

 

Hi Everyone,

I just need to:

1- write a simple command to place a pending order.

2- get a list of my exiting pending orders.

I just need where I can start to dig about above, I searched a lot , maybe I am missing the correct keywords to help me here.

Regards

Ahmad

 

Place Pending Order without SL/TP :

m_trade.SellStop(lots,m_symbol.NormalizePrice(m_symbol.Bid()-100,_Symbol,0,0,0,0,"SellStop");   

                           
Reason: