Class MetaTrader4TradeWrapperConstants.Position

java.lang.Object
com.bluebell.greenhouse.sol.constants.wrapper.MetaTrader4TradeWrapperConstants.Position
Enclosing class:
MetaTrader4TradeWrapperConstants

public static final class MetaTrader4TradeWrapperConstants.Position extends Object
Trade-specific trade constants. *
Version:
2.0.3
Author:
Stephen Prizio
  • Field Details

    • POSITION_DATA_SIZE

      public static final int POSITION_DATA_SIZE
      Total number of columns expected in a detailed MT4 trade row.
      See Also:
    • POSITION_DATA_TICKET_NUMBER_INDEX

      public static final int POSITION_DATA_TICKET_NUMBER_INDEX
      Column index of the MT4 ticket/order number within a trade row.
      See Also:
    • POSITION_DATA_OPEN_TIME_INDEX

      public static final int POSITION_DATA_OPEN_TIME_INDEX
      Column index of the trade open time within a trade row.
      See Also:
    • POSITION_DATA_TYPE_INDEX

      public static final int POSITION_DATA_TYPE_INDEX
      Column index of the trade type (e.g., BUY/SELL) within a trade row.
      See Also:
    • POSITION_DATA_SIZE_INDEX

      public static final int POSITION_DATA_SIZE_INDEX
      Column index of the position size (e.g., lots) within a trade row.
      See Also:
    • POSITION_DATA_SYMBOL_INDEX

      public static final int POSITION_DATA_SYMBOL_INDEX
      Column index of the instrument/symbol within a trade row.
      See Also:
    • POSITION_DATA_OPEN_PRICE_INDEX

      public static final int POSITION_DATA_OPEN_PRICE_INDEX
      Column index of the open price within a trade row.
      See Also:
    • POSITION_DATA_STOP_LOSS_INDEX

      public static final int POSITION_DATA_STOP_LOSS_INDEX
      Column index of the stop-loss price within a trade row.
      See Also:
    • POSITION_DATA_TAKE_PROFIT_INDEX

      public static final int POSITION_DATA_TAKE_PROFIT_INDEX
      Column index of the take-profit price within a trade row.
      See Also:
    • POSITION_DATA_CLOSE_TIME_INDEX

      public static final int POSITION_DATA_CLOSE_TIME_INDEX
      Column index of the close time within a trade row.
      See Also:
    • POSITION_DATA_CLOSE_PRICE_INDEX

      public static final int POSITION_DATA_CLOSE_PRICE_INDEX
      Column index of the close price within a trade row.
      See Also:
    • POSITION_DATA_PROFIT_LOSS_INDEX

      public static final int POSITION_DATA_PROFIT_LOSS_INDEX
      Column index of the realized profit/loss within a trade row.
      See Also: