Add a advanced example

It uses its own API which I packed between MTApi5 and MatLab.
Possible that this is useless, but errors from the .NET assembly are more tradable.
This commit is contained in:
Christian_x7
2020-10-24 10:14:58 +02:00
parent 9eedf15e9e
commit 76a6216cf7
35 changed files with 7125 additions and 0 deletions
@@ -0,0 +1,38 @@
classdef Position < handle
%POSITION Summary of this class goes here
% Detailed explanation goes here
properties
POSITION_TIME = datetime([],[],[]);
POSITION_TICKET = int64([]);
POSITION_TIME_MSC = int64([]);
POSITION_TIME_UPDATE = int64([]);
POSITION_TIME_UPDATE_MSC = int64([]);
POSITION_TYPE = MtApi5.ENUM_POSITION_TYPE;
POSITION_MAGIC = int64([]);
POSITION_IDENTIFIER = int64([]);
POSITION_REASON = MtApi5.ENUM_POSITION_REASON;
POSITION_VOLUME = double([]);
POSITION_PRICE_OPEN = double([]);
POSITION_SL = double([]);
POSITION_TP = double([]);
POSITION_PRICE_CURRENT = double([]);
POSITION_SWAP = double([]);
POSITION_PROFIT = double([]);
POSITION_SYMBOL = char([]);
POSITION_COMMENT = char([]);
end
methods
function obj = Position()
%POSITION Construct an instance of this class
% Detailed explanation goes here
end
end
end