In real time it started to collect data and build charts (though it does not draw candles on all timeframes).
Judging by the documentation, the history should have been pumped up (or used the existing one) and as I understood it should have drawn the history on the custom tool ?
But for some reason it did not happen, how to build a historical chart ?
In real time it started to collect data and build charts (though it does not draw candles on all timeframes).
Judging by the documentation, the history should have been pumped up (or used the existing one) and as I understood it should have drawn the history on the custom tool ?
But for some reason it did not happen, how to build a historical chart ?
Maybe I wrote the formula wrong, for example I need to buy 0.5 EURUSD and sell 0.7 EURGBP.
Can you tell me how to remove the icons in the tester?
After one day of tests, the tester hardly moves because of these objects
in the EA itself periodically pull ObjectDelete :-) For example, when changing dates - go through a cycle and delete everything except the previous trading day. Or simply after closing a position, deleting an order - delete the corresponding graphical objects.
in the Expert Advisor itself periodically pull ObjectDelete :-) For example, when changing dates - go through a cycle and delete everything except the previous trading day. Or simply after closing a position or deleting an order - delete the corresponding graphical objects.
It exists, but it doesn't work
if (Ptime != iTime(NULL,PERIOD_D1,0)) {
Ptime = iTime(NULL,PERIOD_D1,0);
ObjectsDeleteAll(0,0);
}
firstly ChartRedraw() is needed...and ChartSetInteger(0,CHART_SHOW_TRADE_HISTORY,false) and CHART_SHOW_TRADE_LEVELS are optional.
and there is a suspicion that ObjectsDeleteAll(0,0) may not affect history and trade volumes. I have not used this combination of parameters (always only for specific names and prefixes) so I cannot say....
Once a day you can loop through all volumes and delete all unnecessary :-) without saving a few lines of code.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Can you tell me how to remove icons in the tester?
After one day of tests, the tester hardly moves because of these objects
Can you tell me how to remove the icons in the tester?
After one day of tests, the tester hardly moves because of these objects
in the EA itself periodically pull ObjectDelete :-) For example, when changing dates - go through a cycle and delete everything except the previous trading day. Or simply after closing a position, deleting an order - delete the corresponding graphical objects.
in the Expert Advisor itself periodically pull ObjectDelete :-) For example, when changing dates - go through a cycle and delete everything except the previous trading day. Or simply after closing a position or deleting an order - delete the corresponding graphical objects.
It exists, but it doesn't work
How to collect "Checksum" of parameters from for example such a series of parameters?
it is necessary for checking the same conditions in different terminals and passes in the tester.
the upper true has "weight" more than the lower and subsequent ones, for example
It's there, but it doesn't work
firstly ChartRedraw() is needed...and ChartSetInteger(0,CHART_SHOW_TRADE_HISTORY,false) and CHART_SHOW_TRADE_LEVELS are optional.
and there is a suspicion that ObjectsDeleteAll(0,0) may not affect history and trade volumes. I have not used this combination of parameters (always only for specific names and prefixes) so I cannot say....
Once a day you can loop through all volumes and delete all unnecessary :-) without saving a few lines of code.
ChartSetInteger(0,CHART_SHOW_TRADE_HISTORY,false)
Nothing helps.
Apparently, these objects are not deleted in the tester.
Try it