Questions from Beginners MQL4 MT4 MetaTrader 4 - page 39

 
Игорь:
I've checked it again and the tool disappears from the chart leaving only the last traces when I close it !

when starting the terminal is now what it was before?

Or what do you need?

You may be satisfied with the following option

void deinit() {
  Comment("");
  ObjectsDeleteAll();
}
Absolutely all signs will be deleted when the terminal is closed
 
Renat Akhtyamov:

when starting the terminal is now what it was before?

or what do you need?

void init() {
  //Comment("");
  //start();
}

void deinit() {
  //Comment("");
  //for (int i=0; i<3; i++) ObjectDelete("iTotalStopCurrency"+i);
}

The old data is there, but the indicator doesn't work until you hit the TF again.

 
Игорь:

void init() {
  //Comment("");
  //start();
}

void deinit() {
  //Comment("");
  //for (int i=0; i<3; i++) ObjectDelete("iTotalStopCurrency"+i);
}

I've got the old data, but the indicator doesn't work until you hit the TF again.

I see.

What messages appear on the "Experts" tab when the indicator is running?

 
void deinit() {
  Comment("");
  ObjectsDeleteAll();
}
It's the same as it was with the screenshot you sent when you changed the tf is normal.
 
Renat Akhtyamov:

I see.

What messages appear on the "experts" tab when the indicator is running?

I don't have an Expert tab, the chart is clean and it does not have anything except its indicator
 
Игорь:
I don't have an Expert Advisor tab, it's a blank chart with nothing on it but its indicator
 
Renat Akhtyamov:
looked it up there is no crime, just initialization and no swearing
 
Игорь:
I looked through it and there's no criminal activity, just initialization and no swear words.
Here's a screenshot after changing the TF
 
Игорь:
Here's a screenshot after switching to a different TF

Yeah, that's fine.

I still don't get it - are you not counting at all?

So you're saying that the calculation is only done when you switch to another TF and back?

 
Renat Akhtyamov:

Yeah, that's fine.

I still don't get it - do you not have any readings at all?

So you're saying that the calculation is done only when you switch to another TF and back?

I put it on a clean chart and everything is fine.

I close and start the terminal, screenshot 1

I change the TF and everything appears again and works until the next restart

i just want to avoid ticking the TF because i have paid indices that take 1-2 minutes to re-calculate

i have three terminals and all three of them have the same disease i've tried it with one window and without it i still have it

Reason: