Hello. Need some help. Can anyone suggest how to reduce the font size on the strategy tester chart so that it doesn't cover the chart and fits entirely on the chart, like in the picture below (option 2):
Hello. Need some help. Can anyone suggest how to reduce the font size on the strategy tester chart so that it doesn't cover the chart and fits entirely on the chart, like in the picture below (option 2):
Try selecting the standard system font size in the Windows settings, or even reducing it.
TheXpert: Well apparently you have to update before you commit.
Is this a prescription? Does it help? Just updated from storage in the morning, then worked for half a day and here's the error#170004 when committing.
barabashkakvn: Is this a prescription? Does this kind of thing help? Just updated from repository in the morning, then worked for half a day and here at fixing such error#170004.
Well, if it says that the repository is not up to date, then it is logical to try to update it.
Looking for an existing GV of the terminal by name. Through it the ID of the chart on which the EA is running is passed to the indicator. The indicator hangs on another symbol. I.e., I want to pass to the indicator the ID of the chart the Expert Advisor is running on. I am looking for it like this:
for(int i=0; i<GlobalVariablesTotal(); i++) {
string gv_name=GlobalVariableName(i);
if(StringFind(gv_name,"Multick")<0) continue;
if(StringFind(gv_name,"chart_id")>0) {
Print("Нашли такую переменную: "+gv_name);
string xxx=IntegerToString(long(GlobalVariableGet(gv_name)));
Print("Значение в ней = "+xxx);
}
}
//2014.07.05 01:54:06.111 ChartsAgent NZDUSD,H1: ID главного = 130392553686025168// а истинный ID = 130392553686025170
This is what the terminal tells me:
I tried to read the variable. I put it directly to the string and put it to the journal, as well as in variables of different types - all the same. It's two different.
Hello. Need some help. Can anyone suggest how to reduce the font size on the strategy tester chart so that it doesn't cover the chart and fits entirely on the chart, like in the picture below (option 2):
Hello. Need some help. Can anyone suggest how to reduce the font size on the strategy tester chart so that it doesn't cover the chart and fits entirely on the chart, like in the picture below (option 2):
Try selecting the standard system font size in the Windows settings, or even reducing it.
When committing changes in MQL5 Storage, error 170004 occurred. This is the second time I've seen this.
Well apparently you have to update before you commit.
Is this a prescription? Does this kind of thing help? Just updated from repository in the morning, then worked for half a day and here at fixing such error#170004.
Well, if it says that the repository is out of date, then it's logical to try to update it.
More of a question:
Looking for an existing GV of the terminal by name. Through it the ID of the chart on which the EA is running is passed to the indicator. The indicator hangs on another symbol. I.e., I want to pass to the indicator the ID of the chart the Expert Advisor is running on. I am looking for it like this:
This is what the terminal tells me:
I tried to read the variable. I put it directly to the string and put it to the journal, as well as in variables of different types - all the same. It's two different.
What's wrong?
More like a question:
What's wrong?
I'd also like to see the code that writes to the variable (especially when and how often it happens).
Simple. In OnInit()
symbol=Symbol();tf=Period();other.initNames(symbol,tf,Prefix,Magic); // Создаём префикс и магик// -------------------------------------------------------------
// -------------------------------------------------------------
Something like this ...