PLACING MAX LOTS
-
https://fxdreema.com/shared/FjFV14Rcc
On each block ive set 1% risk. If I initiate onto the chart, it works perfectly. However If I shut down mt5 and start it again, intitate a trade, one of the trade goes to 40 lots????
-
this is specifically for GBPJPY
-
Has to be some sort of bug unless someone can point to me how it can possibly place 40 LOTS on gbpjpy only.....other instruments are fine
-
@jstap can you load this on your chart and have a test please.
-
@sssddd said in PLACING MAX LOTS:
https://fxdreema.com/shared/FjFV14Rcc
On each block ive set 1% risk. If I initiate onto the chart, it works perfectly. However If I shut down mt5 and start it again, intitate a trade, one of the trade goes to 40 lots????
yes, it is possible, because the lot size depends on the stop loss. Since the stop loss is based on the ATR, we have no idea how much it is (10 pips away? or 150 pips away?). I personally avoid using atr as a stop loss or take profit. I suggest you these two topics to better understand how atr works.
-
i know how the ATR works mate, this doesnt asnwer the problem. The ATR value is fixed everyday and the block should never output 40 lots, ive used the ATR in fxdreama for 5 years and only recently for gbphpy its outputting a 40 lot trade and on the next pass its calculatiing correctly.
-
@sssddd That happened to me several times in the past. Your logic is correct. That means that probably the issue is the corrupt code of a block there. Try to rebuild the structure from scratch. I mean, don't copy previous existing blocks. Use new ones only.
-
@sssddd said in PLACING MAX LOTS:
i know how the ATR works mate, this doesnt asnwer the problem. The ATR value is fixed everyday and the block should never output 40 lots, ive used the ATR in fxdreama for 5 years and only recently for gbphpy its outputting a 40 lot trade and on the next pass its calculatiing correctly.
on what time frame does this problem occur?
-
Daily chart
-
@sssddd i'm sorry, on my side there are no issue, i clicked, i shut down, restart and clicked again. I don't know. Sorry for my reply above.

-
@ambrogio thank you. For me it works also however try closing mt5 and turn on again, press buy or sell, one of the trades goes to 40 lots, then it goes back to normal..
-
@l-andorrà @ambrogio is there a way of using formula blocks to calculate the Lot size and then put it into a variable. Then I could enter the variable into "volume upper limit" to prevent it placing 40 lots maybe.
-
@sssddd said in PLACING MAX LOTS:
@ambrogio thank you. For me it works also however try closing mt5 and turn on again, press buy or sell, one of the trades goes to 40 lots, then it goes back to normal..
that's what i done
-
@ambrogio maybe I need to try reinstalling mt5
-
@sssddd it's worth a try
-
its working okay now, weird one,,,,,,,
-
