Errors, bugs, questions - page 1257
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
It worked. I checked my EA and it opens orders via buttons. That's why it does not print, I wonder...
The interesting thing is that I've done it myself before, but not through a button, but through an object, and it all worked.
and it printed and it drew.
Where is the information that OnChartEvent() should work in the tester? Did I miss something? It still doesn't work for me. Neither in 4, nor in 5.
You can't miss something that didn't go by.)
Most likely it's the button.
Checked button property in OnTick and everything is fine.
It works. I checked my EA, it opens orders from the buttons. That's why it doesn't print, I wonder...
Can you post the code? I don't have any panels that work on live charts in the tester.
You can't miss something that didn't go by.)
Most likely it's the button.
I checked the button property in OnTick and it's fine.
You can't miss something that didn't go by.)
Most likely it's the button.
I checked the button property in OnTick and it's fine.
No, unfortunately. The Expert Advisor is bespoke.
That's what I'm saying: OnChartEvent() doesn't work in the tester :)))
something has changed in the tester:
if the indicator has OnChartEvent and runs it on the visualization chart, then everything works
if this indicator is called via iCustom, it's not that nothing works, but the OBJ_RECTANGLE_LABEL and OBJ_LABEL objects are not created at all.
And if the event to call OnTick, and then print from there?
I used a globally declared variable, changed its value at the event and printed it in OnTick.
Doesn't work.
SZY: Doesn't work even just on a click on the chart. Tried the comment too.
We will do through checking button presses.