Errors, bugs, questions - page 1009
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
Is there a software analogue of the button call ?
ChartRedraw does not work.
OK, I'll ask the question another way, maybe there's a normal answer.
There is an indicator that is calculated on the arrival of a timer event.
If there are no ticks, then even after the indicator data is updated, it is not shown on the chart until the chart is forced to be updated.
Is there a normal way to do an automatic display of new data without ticks?
OK, I'll ask the question another way, maybe there's a normal answer.
There is an indicator that is calculated on the arrival of a timer event.
If there are no ticks, then even after the indicator data is updated, it is not shown on the chart until the chart is forcibly updated.
Is there a normal way to automatically show new data without ticks?
There is a problem when the whole data set is not displayed until a new tick comes. And you can either press the Refresh button or switch the timeframe. I made call OnCalculate() in timer for such cases, but it doesn't help. The data from indicator buffers can be received, but they aren't displayed until a new tick or forced update or timeframe switch.
I consider it a bug.
Is it the same case with you or it is only the latest new data that is not displayed?
Is it the same for you or is it just the latest new data that isn't showing?
It's probably the same. I'm currently writing the logic for offline and weekend work.
Apparently it is very expensive in terms of resources to give software access to this function. But it would be worth doing an update if the indicator has changed more than (x) values.
Doesn't ChartRedraw help?
OK, I'll ask the question another way, maybe there's a normal answer.
There is an indicator that is calculated on the arrival of a timer event.
If there are no ticks, then even after the indicator data is updated, it is not shown on the chart until the chart is forcibly updated.
Is there a normal way to do an automatic display of new data without ticks?
The tried and tested ancient way is to switch the timeframe, for lack of a better one.
By clicking the button is done here: https://www.mql5.com/ru/code/224
build 821
when using the standard library(CTrade class) when opening a buy market position, it can be selected to change the stop or profit after 2.5 seconds (no less)
returns false
there is no such situation with a sell position
Can't get the order symbol on the order history a bug or an error?
I thought the answer to this question was yes. You select the ticket from the trade history, and you try to get the property from the order history. They are different lists.
P.S. There isalso an article with examples: MQL5 Recipes - Trade History and Library of Functions for Getting Position Properties