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

Implement "UnlockTicks" function in Mt5Api #122

Closed
KptKuck opened this issue May 13, 2018 · 4 comments
Closed

Implement "UnlockTicks" function in Mt5Api #122

KptKuck opened this issue May 13, 2018 · 4 comments

Comments

@KptKuck
Copy link

KptKuck commented May 13, 2018

This is a very important and meaningful function. Several settings would be useful.
Please implement as soon as possible.
#67 #69

greetings

@vdemydiuk
Copy link
Owner

I have implemented functionality of locking ticks in backtesting mode.
Expert MtApi.ex5 has input value BacktestingLockTicks with 3 possible states:
NO_LOCK - ticks are not locked,
LOCK_EVERY_TICK - backtesting will be locked after each tick,
LOCK_EVERY_CANDLE - bactesting will be locked after each candle.
Client side must call function UnlockTicks to continue backtesting after lock.

@KptKuck
Copy link
Author

KptKuck commented Jun 6, 2018

Fine.. Great work. 😙

@vdemydiuk
Copy link
Owner

I added event OnLockTicksEvent to notify client side about lock backtesting and server side will wait on unlock signal from client.

@KptKuck
Copy link
Author

KptKuck commented Jun 7, 2018

I will be update my matlab program this weekend and subjecting the new features to a stress test.

@KptKuck KptKuck closed this as completed Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants