List Pending Orders

From Boolean Trader
Jump to: navigation, search

Description

The List Pending Orders function will automatically list and update all your pending orders. This function can be called directly from the BT menu.

Syntax



Inputs

eaid
The EA ID of your Expert Advisor.

Outputs

This function will return the following outputs in a 1048576x13 square:

Symbol
Corresponding pair
Profit
Profit
Ticket
Ticket number
Lots
Size of the order
Type
Order type: buy or sell
OpenTime
Time at which the pending order was placed
OpenPrice
Price at which the pending order was placed
StopLoss
Stop Loss used
TakeProfit
Take Profit used
Swap
Swap fees in account currency
Commission
Commission fees in account currency
Comment
Comment used
Magic
Magic number used

Example Calculations

eaid RESULT
"tester" It will return all pending orders for the tester EA.