
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
Yes. The tester template can.
This is how your test works in both the indicator and the EA.
This is how your test works in both indicator and EA.
Are you deaf?
OnChartEvent
It doesn't work in the tester with the EA.
It does not work in the tester. Running the indicator on the visual test chart is not working in the tester.
And I thought visual testing was also a job using a tester.
The same, but not the same.
The indicator called in visual mode is not needed in visual mode, while there is no need in visual mode when I run it.
It is not about the modes, but about the conditions in which the indicators are located. The indicator called in their EA and the indicator applied to the visual testing chart are in absolutely different conditions.
The indicator called in the EA both in standard mode and in visual mode is in the same conditions.
What does the button have to do with it? The button reacts when pressed, no problem here. You put some Print in the OnChartEvent and make sure it doesn't work in the tester. Of course if you don't have OnChartEvent called manually from some class, I've seen such variants in articles on the site.
I have buttons working in visual test mode and on CHARTEVENT_OBJECT_CLICK event the colour of button changes and global variable sets control code for expert.
This is some kind of conversation with a deaf person )))) There's no point in going any further.