Trades

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Strategy Workspace > Open Trade > Add condition >

Trades

clip0419

 

There are several functions in the Trades tab:

 

•# Open Trades – the number of open trades (positions) at the current time

 

For example, to prevent opening multiple trades, you can check whether or not any positions are open.

 

clip0113

 

However, there is a faster way to accomplish the same thing – just check the Maximum Open Trades checkbox in the Common tab.

 

•# Long Trades – the number of open long positions at the current time

•# Short Trades – the number of open short positions at the current time

•Open Trade Size – the total lot size of currently open positions; a useful example is Partial Close

•Last Open Trade Price – if there is an open position, it returns the entry price of the last order, otherwise it returns 0; a useful example is Partial Close

•Last Open Trade Price (Long) – if there is an open long position, it returns the entry price of the last buy order, otherwise it returns 0

•Last Open Trade Price (Short) – if there is an open short position, it returns the entry price of the last sell order, otherwise it returns 0

•Last Pending Order Price – if there is a pending order, it returns the price of the last pending order, otherwise it returns 0

•Last Pending Order Price (Long) – if there is a pending buy order, it returns the price of the last pending buy order, otherwise it returns 0

•Last Pending Order Price (Short) – if there is a pending sell order, it returns the price of the last pending sell order, otherwise it returns 0

•Last Historical Profit – profit / loss of the last closed trade

•Last Historical Trade Direction – returns 1 if the last closed trade is long, -1 if short, and 0 if no closed trade is found

 

For example, to send a buy order only if the last closed trade was a sell order, add condition:

 

clip0420

 

•Total Open Profit  – profit / loss of all open trades at the current time (value is in USD or account currency)

•# Pending Orders – the number of pending orders at the current time

•# Pending Buy Orders – the number of pending buy orders at the current time

•# Pending Sell Orders – the number of pending sell orders at the current time

•Profit / Loss Today – total profit / loss of all closed trades on the same day

•# Entries Today – the number of entries on the same day (the positions may be open or closed)

•Account Balance – balance value of the current account (the amount of money on the account)

•Account Equity – equity value of the current account