email for trade closed
-
Hi Dreema,
I'm traing to ad the function to send a email after the trade close with the new account ballance!
I use the "for each closed trade" buy it now send a email fal all trades in the history! How can I limit it to only the current trades!Thanks
Wapen -
"For each Closed Trade" - in the name of this block you can see the word "Closed", which means that this block works only with already closed, history trades. There is another block "For each Trade" that is working with trades who are currently opened.
These blocks are used to create a loop, but "For each Trade" can load the newest trade anyway, just set "Not more than "n" trades" to 1. Then in "Condition" (or other blocks) you can get any parameter of that trade in the "(in loop)..." category, which has pink icon.