search Nothing found
Main Algotrading documentation Data structures


A structure that contains all operation parameters for opening a position

public struct OpenPositionOperation
public string SymbolName; // symbol name
public int PositionType; // position type
public double Volume; // position volume
public double TakeProfit; // take profit
public double StopLoss; // stop loss
public int TakeProfitByPips; // take profit in points
public int StopLossByPips; // stop loss in points
public int PositionId; // variable for position id
public string LabelField; // position label

Subscribe to our newsletter and stay up to date with all the news!