Error in mt5 position bucket
-
I am having problems with the buckets in mt5, since it is not loading the data
I have many bots that when migrated from mt4 to mt5 stop working for the same reason
In the strategy tester it works perfectly but when you run the real one they stop workingThe error is practically that it does not show the total profit or the order counter
annex example..
It works perfectly in mt4 and in the mt5 strategy tester but when I run it in real mt5 it no longer works and the value is empty -
Try setting the ID to the used colour, not well practiced on MT5 so cant help more than this
-
I already did that too, but the problem persists
They work very well in mt4, and in the mt5 strategy tester, but in real life the values are zero
There are many bots that stop working when you move them from MT4 to MT5 for this reason. -
I only use MT4, because it is more stable, FX, and MT.
-
@jstap We agree, mt4 is more stable... but mt5 is very efficient in backtesting
gives many more options
I use mt5 a lot to search for strategies and then to work live I use mt4
but still in mt5 it should be able to work fine, and it can't because the bucket has errors -
All you can do is ask the admin... see if he can help.
-
@jstap That's where I am, thank you very much for the support, that is the idea of this report
-
In OnTrade, have a position created and closed block, connected into bucket of positions (gray). Then OnInit, pass and comment using bucket of trades (gray) values you want. This works for live and backtesting. The only thing is when you're EA has no trades open, it'll show random large values. You can fix this using variables and normalizing them but commenting buckets does work. Having this on OnTrade updates the values each "On Trade".
https://fxdreema.com/shared/V2BZeqmXb -
@willramsey I tested it on my terminal and it still doesn't work, as I told you live it doesn't work.... and in my opinion it is an error in the fxdremma system, something is wrong in the buckets
I made the code in mt4 and it worked fine
then i moved it to mt5 and it works fine only in strategy tester
live it doesn't work... the values are =0
both the counter and the profit -
I just put it on live chart and it worked so not sure then.
-
-
@mauro0425 I thought it was my PC, because the problem has been there since last year but I installed Windows from scratch and installed it again and the problem continued
and I have some people who also use my bot and it doesn't work on their terminals either. -
If you're using pending orders, you need to use bucket of pending orders not positions. Or both of the bucket blocks if you want both. My project is just for positions I posted earlier.
-
There is an open order in the photo I sent you and as you can see the value is zero
-
I am sure that something is wrong with the buckets, I have been programming with fxdremma for 7 years... this was not the case, since I always use this function and this error appeared last year 2022, I thought it was a fault with my team, that's why it didn't work. I said nothing at first but after reestablishing my PC and doing tests on other terminals I concluded that there is a problem with mt5 in fxdremma.
but I haven't used mt5 in a while because of this failure. I have been limited to working only with mt4 precisely for that reason -
Not sure then, just so you can see my pov recorded a quick clip. You could always comment them a different way just using a variable for a counter though if your having problems and want to use MT5.
https://youtu.be/vaWMaTmEXIE?si=aonKp7X3sO_0IFwd -
I did exactly the same
and the image I have is = 0
-
Very odd, I honestly have no idea lol. I haven't seen something like this happen before and I mainly work with MQL5.
-
I have just tested this, and if 3 buckets were connected to each other, the bottom bucket wouldn't work, with a pass everything worked on mt5 backtest: https://fxdreema.com/shared/Z9B0OI3cc
-
I already tried it too, and it doesn't work either.

