Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MtApiClient.ObjectCreate #175

Closed
ssnworkout opened this issue Sep 12, 2019 · 0 comments
Closed

MtApiClient.ObjectCreate #175

ssnworkout opened this issue Sep 12, 2019 · 0 comments
Labels
Projects

Comments

@ssnworkout
Copy link

Конструкция ObjectCreate не работает

Tuple<DateTime, double> K = new Tuple<DateTime, double>(DateTime.Now,1.066);
List<Tuple<DateTime, double>> Coords = new List<Tuple<DateTime, double>>();
Coords.Add(K);

MtApiClient.ObjectCreate(ChartIndex, "AUDNZD_HLine", ENUM_OBJECT.OBJ_HLINE, 0, DateTime.Now, 1.065, Coords);

Если не передавать параметр List<Tuple<DateTime, double>> ошибка NullReferenceException

vdemydiuk added a commit that referenced this issue Nov 6, 2019
#175 Fix null reference exception
vdemydiuk added a commit that referenced this issue Nov 6, 2019
@vdemydiuk vdemydiuk added the bug label Nov 7, 2019
@vdemydiuk vdemydiuk added this to the MtApi MT5 v1.0.21 milestone Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
MtApi MT5
Awaiting triage
Development

No branches or pull requests

2 participants