Bucket of trades bug
-
Hi FxDreema,
the "Bucket of trades" update is really great, thanks for implement it!
I know, is still in beta version but, probably you already know, the bucket is not updated when some positions are closed or opened..
In my case, for example, as you can see in the pictures, I had a bucket of 6 positions but when 3 of them were closed bucket was still of 6 and also total profit had reported a strange result.
Also when trying to open an additional trade, this was not updated in the bucket (still report 6 trade and strange profit)..
it seems that once the bucket has been created that is not updated...In some bucket where any trade was opened or close after the creation of the bucket, after a while, the profit (Sum), it's not anymore correct..
If i stop and re-attach the EA, the bucket return correct..
Thanks
Dave -
Ok, I fixed the issue when a trade is meanwhile closed. I'm not sure that this is the better way, maybe someone will want to use the initial count of trades, but because you are reporting this now, let's say that this is the way to do it.
The other thing is a bit harder to make and I'm even more unsure about it. I mean, when a trade from the list is closed, it sounds fair to work with it anymore. But when a list is created at moment A and then at moment B a new trade is created, why should this trade appear in the list? Well, in fact it will appear in the list on the very next tick.
-
Thank you!
I tried and now trades are added to the list when created...
but still not erased when a trade is closed.
Moreover the profit is not updated with current trades but it appears to remain in the memory the profit of closed trade.Probably I did not understand the way you want to use this new feature.
The only thing I can tell you is that without this feature i don't think there is in your software a way to view the total profit of a certain group of trades.
the only two functions that come close are:
Check current unrealized profit -> but here the total profit of the group can not be obtained but only compared with another value
Trailing money loss (group of trades) --> here is the same and we can operate a trailing stop (great function by the way!)But i can use "for each trade" and formulas to calculate current profit and count trades even if is a bit redundant..
so probably you can leave as it is now..
so that one can have a historical view of his basket regardless of its current profit.... -
I have this:
https://fxdreema.com/shared/fDHlfRh8d
http://prntscr.com/8za8pz
It appears for me that when a trade is closed after the block was used, the information is updated.What if you put this block right before using it's values?