SL in the minimum and maximum of a moving average with adjust of 1 pip.
Log Testing Visualization 0_1498778256481_20170629.log

shared/N6G5WVy2
SL in the minimum and maximum of a moving average with adjust of 1 pip.
Log Testing Visualization 0_1498778256481_20170629.log

shared/N6G5WVy2
After I added the next blocks 13, 14, 15, 16, 17, 18, 19, 20 of the problem appeared.
template parameter ambiguous, cold be 'ulong' or 'int'

shared/DtjSILOrd
No. Only the maximum and minimum of the previous candle in the Buy and Sell blocks
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 error
shared/KYm5pm8yd
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
Ok.
Why do these errors happen? How do I fix them?
Hello @fxDreema. Help me. Or teach me to correct these errors.
Why are there such errors?
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/aZiVAVive
I think I can help: https://www.mql5.com/pt/articles/1391
@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
@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.
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?
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));}
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.
Problem solved by myself.
It was enough to just compile again the mql5 code that worked the cloud optimization.
Hello fxDreema.
I'm having the following error in the optimization: "2017.05.09 01: 13: 11.413 Tester obsolete version of" MQL5 \ Experts \ Advisors \ X Standard v8.1 P.ex5 "can be optimized on local or remote agents only, no Cloud "
I need to do optimizations through the MQL5 Cloud Network.
0_1494307238934_20170509.log
@fxDreema said in Stop Loss according to the Max, Min of the day.:
@tcanuto, please, take some time to learn how to make things easier! What you are showing me is an example that I need to see... that's ok. But do you think that this example should contain both, Buy and Sell blocks + 2 blocks of TS...
Oops .. Truth! I'd forgotten about this.
Here I simplified it a bit. I just want to see the calculated value actually, that's why I added this "Comment" block. But are you sure you want it to be that value? From what I see, in "Formula" block you are calculating the half of the size of the Daily candle.
I need the total value of the daily candle for the TS value. Only that.
And again, the current candle has 0 size when created and starts to grow from there. I don't think you want to work with that candle.
Okay. Corrected too.