Save variables before metatrader shutdown

[Deleted]

Hi,

is it possible to save variables which are calculated in an expert advisor even if i close

the metatrader and restart the programm?

In this case it would be very nice to have the parameters!

If this is not possible is there a chance to whrite the parameters into the log file in case of a programm shut down?

AiGelb

AiGelb:

Hi,

is it possible to save variables which are calculated in an expert advisor even if i close

the metatrader and restart the programm?

In this case it would be very nice to have the parameters!

If this is not possible is there a chance to whrite the parameters into the log file in case of a programm shut down?

AiGelb

Yes you can use files to save the data or Global Variables if the data is just numeric.
[Deleted]

Do you have a short guideline how to use it?

Data are just ints and doubles...

AiGelb:

Do you have a short guideline how to use it?

Data are just ints and doubles...

Yes, here: Read Me
AiGelb:

Do you have a short guideline how to use it?

Data are just ints and doubles...


https://book.mql4.com/variables/globals