List Open Orders

From Boolean Trader
Jump to: navigation, search

Description

List Open Orders Function

The List Open Orders function will automatically list and update all your opened 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
Pair where the order was placed
Profit
Profit
Ticket
Ticket number
Lots
Size of the order
Type
Order type: buy or sell
OpenTime
Time at which the order was placed
OpenPrice
Price at which the 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 currently open orders for the tester EA.