HedgingAPI/HedgingAPI.mq5

117 lines
9.2 KiB
MQL5
Raw Permalink Normal View History

2025-05-30 14:58:51 +02:00
<EFBFBD><EFBFBD>// ---------------------------------------------------------------------------
// **Overview of MQL5 Languagesator=0 Functionsaed Into53 Qu MileFactors=_unread/catemecalVs06< Planned_func
//
// -<C;OF8O EM468=3>2>9 B>@3>2;8 =0 =5BB8=3>2>< B5@<8=0;5:
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
public enum ENUM_TRADE_DIRECTION
{
ENUM_TRADE_DIRECTION_BUY = 1,
ENUM_TRADE_DIRECTION_SELL = -1,
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
public enum ENUM_POSITION_STATE
{
ENUM_POSITION_STATE_CLOSED = 0,
ENUM_POSITION_STATE_OPENED = 1,
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 >B;>65==>3> >@45@0:
// ---------------------------------------------------------------------------
public class OrderBase
{
public long Volume { get; set; }
public ENUM_TRADE_DIRECTION Direction { get; set; }
public ENUM_ORDER_STATE State { get; set; }
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 >B:@KB>9 ?>78F88:
// ---------------------------------------------------------------------------
public class PositionBase
{
public long Volume { get; set; }
public ENUM_TRADE_DIRECTION Direction { get; set; }
public ENUM_POSITION_STATE State { get; set; }
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 ":
// ---------------------------------------------------------------------------
public class TakeProfitBase
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 !:
// ---------------------------------------------------------------------------
public class StopLossBase
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 A:>;L7OI53> ":
// ---------------------------------------------------------------------------
public class TrailingTakeBase
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA 4;O M<C;OF88 A:>;L7OI53> !:
// ---------------------------------------------------------------------------
public class TrailingStopBase
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ">@3>2K9 8=B5@D59A:
// ---------------------------------------------------------------------------
public interface TradeInterface
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ">@3>2K9 8=B5@D59A 4;O B5@<8=0;0 '"5':
// ---------------------------------------------------------------------------
public class MT5TradeAPI : TradeInterface
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ">@3>2K9 8=B5@D59A 4;O B5@<8=0;0 'Quik':
// ---------------------------------------------------------------------------
public class QuikTradeAPI : TradeInterface
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
//
// ---------------------------------------------------------------------------
public class TradeGroup
{
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// 07>2K9 :;0AA M<C;OF88 :
// ---------------------------------------------------------------------------
public class BaseHedgingAPI
{
}
// ---------------------------------------------------------------------------