Experts: VR Locker Lite - Trading strategy based on a positive lock

 

VR Locker Lite - Trading strategy based on a positive lock:

Works using a positive lock; the trading robot creates one positive lock, and the trader decides what to do with it.

VR Locker Lite - Trading strategy based on a positive lock

Author: Vladimir Pastushak

 
Good day Vladimir, for some reason VR Locker Lite for MT5 does not open trades, but compiles without errors. I tried it with different brokers and different compilers - it doesn't work. At the same time, the version for MT4 works perfectly. Perhaps there is a logical error somewhere in the code.
 
Dmitry Gaskov #:
Good day Vladimir, for some reason VR Locker Lite for MT5 does not open trades, but compiles without errors. I tried it with different brokers and different compilers - it doesn't work. At the same time, the version for MT4 works perfectly. Perhaps there is a logical error somewhere in the code..

Edits have been made...

 
Vladimir Pastushak #:

I've made the edits.

Thank you! It worked...

 
Vladimir, when do you plan to finish your further work with the lock? Will there be any protection against strong trends?
 
ac323600 #:
Vladimir, when do you plan to finish your further work with the lock? Will there be any protection against strong trends?
I have posted the source code, then you can do whatever you want.