I also think, but it still has not worked properly.
In a 3 lots position, this closing partial 66% instead of 33% in 100% pips away. In this case it should close only 1 contract, leaving 2 contracts open.
Posts made by tcanuto
-
RE: partial closeposted in Questions & Answers
-
RE: partial closeposted in Questions & Answers
@tcanuto said in partial close:
How to Close Two Partials?
The first 100% pips away from SL
The second 200% pips away from SLAnd this way?
-
partial closeposted in Questions & Answers
How to Close Two Partials?
The first 100% pips away from SL
The second 200% pips away from SL -
RE: Divide by zero bugposted in Bug Reports
@fxDreema It is with Custom Price level - Candle - Parameter Candle High or Low - Candle ID 1, which means SL in the minimum or maximum of the previous candle.
-
RE: Divide by zero bugposted in Bug Reports
It is with Custom Price level - Candle - Parameter Candle High or Low - Candle ID 1, which means SL in the minimum or maximum of the previous candle.
-
OrderCheck() failed: Invalid stops (10016)posted in Bug Reports
SL in the minimum and maximum of a moving average with adjust of 1 pip.
Log Testing Visualization 0_1498778256481_20170629.log

shared/N6G5WVy2
-
RE: Compilation errorsposted in Bug Reports
After I added the next blocks 13, 14, 15, 16, 17, 18, 19, 20 of the problem appeared.
-
Compilation errorsposted in Bug Reports
template parameter ambiguous, cold be 'ulong' or 'int'

shared/DtjSILOrd
-
RE: Zero divided inposted in Bug Reports
No. Only the maximum and minimum of the previous candle in the Buy and Sell blocks
-
Zero divided inposted in Bug Reports
Test stopped unexpectedly
SL based on the minimum or maximum of the previous candle
2017.06.20 16:08:46.183 2017.01.02 12:09:00 zero divide in '1726-8736.mq5' (3119,69)
2017.06.20 16:08:46.183 OnTick critical errorshared/KYm5pm8yd
-
RE: Divide by zero bugposted in Bug Reports
Hello. The solution to this error is here: http://fxdreema.com/forum/topic/4712/how-to-fix-critical-runtime-error-503-in-ontick-function/5
-
RE: Compilation error correctionposted in Bug Reports
Ok.
Why do these errors happen? How do I fix them?
-
RE: Compilation error correctionposted in Bug Reports
Hello @fxDreema. Help me. Or teach me to correct these errors.
Why are there such errors?
-
Compilation error correctionposted in Bug Reports
Hello fxDreema. All right?
I need the compilation errors: possible due to type conversion, implicit enum conversion and
implicit conversion from 'number' to 'string' to be fixed. Every time I see these errors I imagine it will give future problems in EA.Shared/vBaDyCUb
Shared/aZiVAViveI think I can help: https://www.mql5.com/pt/articles/1391
-
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
@miro1360 It worked! Thanks for the info.
Maybe you could help me in this post: https://fxdreema.com/forum/topic/3036/How-to-use-2-volume-modes/3?page=1#none
-
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
@fxDreema Hello!
I'm having this problem with the 'WDO @ N' symbol (which is the Dollar / Real), but I've had this same problem with other symbols.
-
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
Thanks for the info. I'll be trying to do that.
So ... would not it also be interesting to have this fixed also in the mql5 codes generated by fxDreema?
-
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
Hello Miro1360
I do not use in the ATR_Multiple parameter 0, but optimize from 1, of type int.
The problem is specifically mentioned in this line of code:else if (mode=="balanceRisk"){size=((value/100)*AccountBalance())/(sl*TickValue*PipValue(symbol));} -
How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
Hello fxDreema! All right? Hope so.
I'm having this problem again:
2017.05.18 10: 48: 30,097 MQL5 Cloud USA Genetic pass (0, 287) tested with error "Runtime Critical Error 503 in OnTick Function (Zero Division, Module Experts \ Advisors \ X Standard v8.1 P.ex5, File X Standard V8.1 P.mq5, line 14358, col 69) "at 0: 16: 00.329 (PR 139)I checked in other post that the problem is in the indicator. I created the ATR for the fxDreema together with you, but it's not perfect.
See the project here: shared/8KUuCxldc
I would like to fix it so that it can work perfectly in the tests, and if possible I need a fix to be identical to the ATR of the MT5 platform.
