Nice,
slide orders started to work 
No, never said that. look, now it will be easy for you to understand: http://prnt.sc/ak0qdf
Two phases:
got it?
Dreema look at this: http://prnt.sc/ajfg7b
I'am trying to slide my pending order which has a yellow square around it's entrance point. The price I want it to slide to is the stop-loss point of itself and is printed on the message: "price" 2629.1113... (its the RED line in the SS). Look, I'AM SURE this exact number is being inserted into the "custom price" box of the "Slide Order" box, because it's being printed right before the box.
What could be it? 
ps: alrady tried to change the "positive direction for SELL is:"
Well, ok, thanks for your response!
Now using the check pending orders->check age and it's working, thanks. 
"
" lol
VALEI40 xp investimentos, the demo acc you got at my thread "NOTHING WORKING ON .EX5".
BTW, it's not working on any symbol. You can try in any stock symbol also: OIBR4, USIM5 
Dreema look at this: http://prnt.sc/aixyjb
Why is that? 
Dreema, is there a way to edit a text time variable, inside fxDreema like:
"2016.12.11 17:24"
I want just the 17.
thanks!
how can I read this numeric value? I didnt figure it's pattern. Like, for 11h candle, what is the number? 
What the heck is this time I'am getting from the ID 0 Candle?
http://prnt.sc/ago42o
I need the Candle's hour. I'am using hour charts, how could I do?
ty
__And I guess MetaTrader also don't know what to do, because when I don't see "zero divide" errors, I see nothing at all, like MetaTrader just hangs. What can I say, when you want to work with specific times of the day when most of the days there is not even a single candle... I can't see how this can ever work.[/quote:bmzh24cd]
Ok, you are telling me that the probable cause of the hanging MT5 is the leck of liquidity or candle informations, or anything else. So take a look at my setup right now:
http://prntscr.com/adx841
https://fxdreema.com/shared/TJN9DFb9
I'am using normal stocks:OIBR3,USIM5,GOAU4 they have all candles and no leck of liquidity at any time.
I even put boxes which are conditions to make de EA only trade when there are real trading conditions on the market: volume>10.000 / spread<0.03 /last deal price != 0. This setup would prevent the MT5 from just hanging right? Wrong. The EA is doing nothing at all, even for a "Last month" back-test. Does nothing after downloading GOAU4 historical http://prntscr.com/adxcbe it just hangs, no matter what symbol, conditions, etc. Dreema, are you sure this "Set market for next blocks" box work? Can I expect to see something like this image below from my EA's built from fxDreema?
http://2.bp.blogspot.com/_n3zFhUAFFR8/TEsLy3x52lI/AAAAAAAAAXI/AatZ4V0ICTQ/s1600/Multi-Currency+Strategy+Testing+with+MetaTrader+5_5.PNG
Dreema, about the BEP. There is something going wrong. The EA: https://fxdreema.com/shared/cpQuMbEMd
Tried a BEP with fixed scalar number "30 pips" http://prntscr.com/admfty. Didn't work. The value which is inserted into the BEP Box "pips on profit" isnt getting recognized by the EA. I mean, Dreema, I already tried to put a numeric value there, and it didn't work. What the heck should I do now? o.o Please, try yourself with the demo account I provided you, on the market I'am trying right now: VALEC44
Yes, the history quality of those are urgh! There are 1000 symbols like theese I want to test my EA. They're not stocks, but options. My EA will work on Options. And as you may know, options have a time expiring, and when they expire, no one trades it. That answers the missing candle days, and all the weird things.
So, can you be more specific for the problem you've just fixed? I'am facing more one right now with the "Break Even Point" box, let me put it down:
here is the setup:
https://fxdreema.com/shared/m6hl7wyMb
I have a trailing stop and a break even point on my program:
http://prnt.sc/ad1qc0
Those "indicator testers" boxes show the break even point calculated in block 31. Just for you to know, as the variable "break_even_pips" is of type unsigned int, I then put it inside a float one "break_even_pips_float" at the block 31, Ok?. You can see in the below SS that the BEP get printed in the chart perfectly. The green dot with a yellow circle around it is the BEP (5.76). Now, take a further look on the SS. The entrance of the last short trade was 6.41. Then the price went down below the green dot but the SL didn't move to the 6.41. It didn't activate the BEP. BUT, the Trailing stop loss was activated 4 times. Why the BEP was not activated?
http://prnt.sc/ad1qqk
Another question: what is the parameter that I have to change in my TSL box which will change the cadency of the refreshment of my SL level? I mean, for exemple: I got a TSL that allow a maximum distance of 15% between the actual price and the SL. If for exemple the price goes 1 PIP above that 15%, the TSL should refresh the SL level. This would be perfect, but it's not happening in my EA. The price is going like 15 pips above the 15% for the TSL to refresh the SL level. How can I adjust that for just ONE pip cross above?
2008.02.18 11:00:00 candle is OK
http://prnt.sc/acnv90
Here goes the Demo account:
BTW, if I only use VALEC44, it works. My only problem is with the "Set market for next blocks" Box.
Please, let me know if you need anything else.
Thanks
Hi, I'am working with stocks and MT5. Stocks have a maximum 2 digits after dot. I don't know why but, one pip into my stocks graphs mean 0.01 change. As you can see, I did the same as you, but for a stock, and it work as well:
http://prnt.sc/ac3oh7
http://prnt.sc/ac3pp9
My EA is working PERFECTLY when I don't use the "Set Market for next block" box. Look:
you can test it:
https://fxdreema.com/shared/fuoMjJEld
now, I put the "Set market for next blocks" box:
https://fxdreema.com/shared/I3nZctoT
and I Get:
*FQ 0 20:09:19.336 Startup MetaTester 5 x64 build 1241 (22 Dec 2015)
FD 0 20:09:19.339 Server MetaTester 5 started on 127.0.0.1:3001
HO 0 20:09:19.340 Startup initialization finished
LM 0 20:09:19.817 127.0.0.1 login (build 1241)
NK 0 20:09:19.830 Network 38760 bytes of account info loaded
PL 0 20:09:19.830 Network 1490 bytes of tester parameters loaded
LK 0 20:09:19.830 Network 8388 bytes of input parameters loaded
LQ 0 20:09:19.860 Network 35110 bytes of symbols list loaded
PK 0 20:09:19.861 Tester expert file added: Experts\setup_pedrina99.ex5. 178939 bytes loaded
EF 0 20:09:19.861 Tester initial deposit 8000.00 BRL, leverage 1:1
DM 0 20:09:19.863 Tester successfully initialized
KS 0 20:09:19.863 Network 201 Kb of total initialization data received
HR 0 20:09:19.863 Tester Intel Core i7-2620M @ 2.70GHz, 3656 MB
MH 0 20:09:19.868 Symbols VALEC44: symbol to be synchronized
JQ 0 20:09:19.868 Symbols VALEC44: symbol synchronized, 3384 bytes of symbol info received
EJ 0 20:09:19.872 History VALEC44: load 29 bytes of history data to synchronize
CL 0 20:09:19.872 History VALEC44: history synchronized from 2007.02.12 to 2016.03.03
GM 3 20:09:19.873 Tester VALEC44: start time changed to 2008.02.16 00:00 to provide data at beginning
PF 0 20:09:19.873 History VALEC44,H1: history cache allocated for 63702 bars and contains 106 bars from 2007.02.12 16:00 to 2008.02.15 17:00
JH 0 20:09:19.873 History VALEC44,H1: history begins from 2007.02.12 16:00
DD 0 20:09:19.873 Tester VALEC44,H1 (XPMT5-PRD): every tick generating
QN 0 20:09:19.873 Tester VALEC44,H1: testing of Experts\setup_pedrina99.ex5 from 2007.02.12 00:00 to 2016.03.05 00:00 started with inputs:
DQ 0 20:09:19.873 Tester lowest_price=1.20000005
NJ 0 20:09:19.873 Tester objective=true
IH 0 20:09:19.873 Tester trailing_stop=true
JO 0 20:09:19.873 Tester start_hour=11
MG 0 20:09:19.873 Tester open_order_hour=16
RP 0 20:09:19.873 Tester open_order_min=30
GQ 0 20:09:19.873 Tester tp_hour=17
PG 0 20:09:19.873 Tester tp_min=40
KP 0 20:09:19.873 Tester end_hour=17
DL 0 20:09:19.873 Tester end_min=50
QI 0 20:09:19.873 Tester sl=0.15000001
LD 0 20:09:19.873 Tester tp=0.25
LQ 0 20:09:19.873 Tester sl_trailing_per=0.15000001
QJ 0 20:09:19.873 Tester adjust_entrance_per=0.05
JM 0 20:09:19.873 Tester break_even_per=0.10
QP 0 20:09:19.873 Tester MagicStart=1116
RG 0 20:09:19.909 Symbols VALEC22: symbol to be synchronized
LQ 0 20:09:19.909 Symbols VALEC22: symbol synchronized, 3384 bytes of symbol info received
IP 0 20:09:23.114 History VALEC22: load 29 bytes of history data to synchronize
FF 0 20:09:23.114 History VALEC22: history synchronized from 2014.12.17 to 2016.03.04
DP 2 20:09:23.114 setup_pedrina99 (VALEC44,H1) 2008.02.18 11:02:00 zero divide in 'tmp.mq5' (5842,50)
FN 2 20:09:23.114 Tester OnTick critical error
JD 0 20:09:23.117 Tester VALEC44,H1: 1 ticks (1 bars) generated in 0:00:03.245 (total bars in history 107, total time 0:00:03.307)
FD 0 20:09:23.117 Tester 221 Mb memory used
EI 0 20:09:23.117 Tester log file "C:\Users\zenega\AppData\Roaming\MetaQuotes\Tester\FB9A56D617EDDDFE29EE54EBEFFE96C1\Agent-127.0.0.1-3001\logs\20160306.log" written
CP 0 20:09:23.240 Tester tester agent shutdown started
QJ 0 20:09:23.262 Tester shutdown tester machine
ML 0 20:09:23.285 Tester tester agent shutdown finished[/list:u:25measrt]
Any Ideas?
Simply not working.
__This thing appears to be 0. I can admit that I have no idea what this value is. It comes from here...[/quote:31ipopry]
Dreema, help me with this.
Remember: If I remove the "Set market for next blocks" box from the EA, the zero divide erros wipe out. So, there is some bug happening with this block probably. This block is KEY for MT5 users Dreema. This block mean I can build an EA for every market, optimizing at same time through %(#BF00BF)[fxDreema]. For me and for many other MT5 users, this block is KEY.
It seems that it is a division by 0, when I calculte the POSITION SIZE at block 899. The formula is: POS_SIZE = 5000/(last deal price).
The EA is not filling the "last deal price" variable (last_deal). So I put a fixed position size. Ok, the error is gone. But now I have another: http://prnt.sc/a9f9op
//-- now calculate the candle ID, it is relative to the current time
if (mins_diff > 0) {
CandleID = (int)MathCeil((double)mins_diff/(double)mins_tf);
}
//Print(TimeToStr(TimeCurrent())+" "+TimeToStr(time_stamp) +" ::: " + mins_tf + " " + days_adjust + " " + (days_adjust*1440/mins_tf) + " " + CandleID);
//-- now, after all the shifting and in case of missing candles, the calculated candle id can be few candles early
// so we will search for the right candle
Another division by zero at the line: "CandleID = (int)MathCeil((double)mins_diff/(double)mins_tf);".
Why am I getting all those division by zero in my EA? 
__Well, in this case - yes. If you write GBPUSD in some block and then use the EA in EURUSD, it will work. If there is a problem, it would be something else - how to make multicurrency project without copying the same group of blocks over and over again for each symbol. There is a block "Set "Current Market" for next blocks" to help with this... probably.[/quote:2z3iw0u3]
So here we go:
trying to make the Multi-market EA. Here it is:
https://fxdreema.com/shared/7REkRjpae
getting the following errors:
http://prnt.sc/a9ewik
When I remove the "Set the current market for next blocks" block, the error desapears. In other words, if I disable the EA's Multi-market capability, it works. So, how can I do it doctor Dreema? 
I think I didn't get it. I'am constructing an MT5 EA right now, not an MT4 one.
As I saw that guy who made the Multicurrency EA for MT5, I came here to ask you: is there a way to do what he did with fxDreema?
here is his Multi Currency MT5 EA, you can download it and test it by yourself:
http://sites.google.com/site/metatrader5info/metatrader-5-ea-s/GurooMultEx03_mod.mq5?attredirects=0&d=1
here is the proof that his EA is executing orders on multiple currencies:
http://2.bp.blogspot.com/_n3zFhUAFFR8/TEsLy3x52lI/AAAAAAAAAXI/AatZ4V0ICTQ/s400/Multi-Currency+Strategy+Testing+with+MetaTrader+5_5.PNG
and here is the proof that MT5 is optimizing the EA at the same time:
http://2.bp.blogspot.com/_n3zFhUAFFR8/TEsLzZejWqI/AAAAAAAAAXQ/0B0uqR28g4o/s400/Multi-Currency+Strategy+Testing+with+MetaTrader+5_4.PNG
The thing is:** I want to keep the optimizable feature of the EA's backtest, testing it through multiple symbols that I want at the same time**
As is known:
__One of the big advantages of the new Metatrader 5 strategy tester is the option to backtest multi-currency EA's. This was not possible in MT4. The testing and optimization process of an multi-currency expert advisor is the same as with other EA's. Metatester 5 will automatically read the code for multiple-symbol testing. The optimization results ad the equity curve will combine all symbols in one result.[/quote:paipka8x]
So, let me redo the question then:
Is it possible to create an MultiSymbol-Optimizable EA for MT5 through %(#BF40BF)[fxDreema]?