You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Will the timer not work for polling everything?
You can move stop by holding left mouse button pressed on SL+ or SL- button. Check mouse left button status and increase or decrease stop while it is held down. Release button - stop. This seems to me a good way to do it. Corresponding button must be preselected (clicked by left mouse button), and then you have to repeatedly click the left mouse button over this button for stop movement.
If events are handled as you write, then you clicked with the mouse - where you clicked, they took SL
where you let go - there you put SL
In the MT4 tester it doesn't work (
The question was about non tester:
Forum on trading, automated trading systems and strategy testing
Drag and drop SL and TP in the tester.
Dmitry Fedoseev, 2016.02.15 18:43
I wish I could think of something so that when working on an account the EA would have an instant reaction to the global variables created by the indicator, instead of waiting for a tick.No one has tried the sequence in which expert and indicator events are triggered?
Generally, click events in MQ are incomplete, they are handled only after releasing the mouse button, and they should be handled when the button is pressed, as it is done in js
mousedown - Mouse button is pressed.
mouseup - Mouse button released.
About the sequence, it looks like the indicator works first and then the expert.
Generally, click events in MQ are incomplete, they are handled only after releasing the mouse button, and they should be handled when the button is pressed, as it is done in js
mousedown - Mouse button is pressed.
mouseup - Mouse button released.
About the sequence, it seems that the indicator works first and then the Expert Advisor.
If events are handled as you write, then you clicked with the mouse - where you clicked, they took SL
where you let go - there you put SL