So the period() will return the minutes of the current chart, oi on the same chart you want something to happen every 15 minute candle open, then in separate block add 15 for the minutes
On chart tab, purple trade closed block-blue check profit (last closed)-modify variable or something to save the result. You could also just use the blue check profit (last closed) block on tick, anywhere and this will activate when needed <0 is a loss
No, it is just the magic number, so if added to a new account, you would either need to change the magic number in the EA inputs, or delete the variable. But thinking about this you could set to work on account number, or both. I have added a new link, where I have moved all to on init (where it should have been before), you will see the 3 options on how to do this: https://fxdreema.com/shared/N5SCuW2lb