It will never be empty. The variable will always have a value in it. And yes, that block will automatically change the value of the variable overwriting it on top of the previous one.
@floko125 Considering that this is a new project, can you please open a new thread for it? Additionally I stronglly recommend you to share the link to the project instead of sharing screenshots. That would help a lot.
Hi,
I guess you are talking of a sell stop on a long position. It will be difficult to do it on the close of a candle, but very easy to do it right after i.e. on the open of a new candle. Pls, see https://fxdreema.com/shared/BP9Z32Zzd
you should have in mind that the new candle has the ID 0 and you count starting from that...