Are variables in temporary memory
-
Hello ,
I'm asking about if any value store in a variable will be in temporary memory so that if the computer or even the terminal restart it will be erased
If that tru how can I save a value that won't be erased until I manually change it because I'm building many things on Variable but once the terminal restart it's all collapsed -
Also , Do block counters that allow to pass once will have the same way as variable so if the terminal restart it can allow to pass one more time wrongly without being reset
-
Yes, all those variables are temporary. Take a look at those variables, they remain - https://fxdreema.com/tutorial/builder/constants-and-variables#terminal_variables
Sometimes you can use the objects as a memory, because they remain on the chart
-
@fxdreema Thanks for your reply
and Do counters also considered as temporary ? -
@traderz said in Are variables in temporary memory:
@fxdreema Thanks for your reply
and Do counters also considered as temporary ?@fxDreema Can you clarify this please ?
I mean if I made a counter that won't pass trade group number 2 but once until group number 1 is closed which will reset the counter
If the terminal restarted the group number 2 can pass again even I didn't reset the counter ? -
Yes, the counter blocks also use temporary variables. This is true for all blocks like this, even some money management methods. Only when you are working with trades and objects, their data is not temporary, because they exist in MetaTrader even if you restart it.