| 
 | 
GTrade.TradeDirection()
Returns the direction (LONG / SHORT) of the last opened and open trade.
| 
                        GDirections  GTrade.TradeDirection(); | 
Parameter
symbol
[in] The symbol from which the value should be output.
Return value
Returns the GDirections direction of the last opened and open trade.
Example:
| 
                        //--- Include the Glib classes | 
See also
GTrade.TradeProfit, GTrade.TradeOpenPrice, GTrade.TradeProfitWithComment