How to remove indicator when MT5 closes?

To add comments, please log in or register
jaffer wilson
767
jaffer wilson  

How I can remove the indicator which was applied on the MT5 when it is closed or accidentally closed?

Kindly, let me know.

Naguisa Unada
265
Naguisa Unada  
Delete it from the template, or temporarily move it to another folder.
jaffer wilson
767
jaffer wilson  
Naguisa Unada:
Delete it from the template, or temporarily move it to another folder.

Is there no automatic way out? I do not like to intervene manually. Even if the indicator is removed automatically, I am willing to run it manually later. 

Naguisa Unada
265
Naguisa Unada  
jaffer wilson :


Probably it is impossible. I think that it was frozen, in that case, there is no way to remove it automatically.
Sergey Golubev
Moderator
106086
Sergey Golubev  
jaffer wilson:

How I can remove the indicator which was applied on the MT5 when it is closed or accidentally closed?

Kindly, let me know.

you can close chart with indicator by deleting profile file in the folder (Metatrader may ve closed in this time).

jaffer wilson
767
jaffer wilson  
Sergey Golubev:

you can close chart with indicator by deleting profile file in the folder (Metatrader may ve closed in this time).

Sir I am saying that my complete MT5 is closed and when I load I do not want the indicator to load. Thats my query. Can there be any solution to that?

Mohamad Zulhairi Baba
15901
Mohamad Zulhairi Baba  
jaffer wilson:

Sir I am saying that my complete MT5 is closed and when I load I do not want the indicator to load. Thats my query. Can there be any solution to that?

https://www.mql5.com/en/docs/chart_operations/chartindicatordelete
Sergey Golubev
Moderator
106086
Sergey Golubev  
jaffer wilson:

Sir I am saying that my complete MT5 is closed and when I load I do not want the indicator to load. Thats my query. Can there be any solution to that?

I can explain:

-----------------

1. I open two charts on MT5 - 


2. I close MT5.

3. go to data folder - MQL5 folder - Profiles folder - Charts folder - Defauls folder

and delete two profiles (delete two charts) - 


and after you open MT5 - I will not have those two charts - 

----------------

So, if you do not want to load the indicators on some chart (in case MT5 is closed) so - close the chart with indicators.

Minions Labs
1138
Minions Labs  
jaffer wilson:

Sir I am saying that my complete MT5 is closed and when I load I do not want the indicator to load. Thats my query. Can there be any solution to that?

Maybe you need to rethink your first premise...

Why do you need it closed?

;)

jaffer wilson
767
jaffer wilson  
Minions Labs:

Maybe you need to rethink your first premise...

Why do you need it closed?

;)

There are eight different symbol I am calling with the help of indicator. It is automatically applied on the other eight charts. If the MT5 is closed, when started again, it do not close the other charts instead creates eight new charts which is not good. Hence, I wanted to close the indicator which will help me not to get this sort of behavior. 

kypa
976
kypa  

There is a function that does that, also a MQ class that implies it with another name. Names weren't the most intuitive, ChartDeleteIndicator or something like that.

Run it in DeInit depending on reason code.

You probably need to fix what's already written though - check for opened charts before opening new ones maybe.
To add comments, please log in or register