Thank you!
I'll check them carfully 
Have a nice weekend
Dave
Thank you!
I'll check them carfully 
Have a nice weekend
Dave
__Ummm... I think it is saved but then it does not appear as saved... bug 
I don't know when I will fix it, so for now I can give a workaroud - define this parameter as "int" and use 0 and 1. Integer is compatible with boolean.[/quote:5jqo8r32]
__Ummm... I think it is saved but then it does not appear as saved... bug 
I don't know when I will fix it, so for now I can give a workaroud - define this parameter as "int" and use 0 and 1. Integer is compatible with boolean.[/quote:5jqo8r32]
hi,
i'm facing with a lot of problem due to this bug..
trying to reproduce it you can see it here
https://fxdreema.com/shared/l5JA69Tjd
when i set as timeframe of an indicator or what else a constant like "MyTimeframe" in that project
and update the block and save mq4 file everything is fine.
If i open again that block and don't update again, constants remains saved in the mq4 even if are not visible in the block in FxDreema.
But now i realized (after an entire month of work )that after change any parameters of that block and update it i lost all ore some constants in the mq4 file.
The only way is to remember all the constants i use in blocks and re-insert them every time i update a block.
Unfortunatly in big projects it became a big issue to remember all of them
and all my backtest have to run a second time..
This happens both on Local and Web versions.
Are you thinking to fix it shortly? I don't want to make you any pressure!

I ask just to know if i have to found a new way to solve the problem like correct the code directly in mq4
or can i wait for your fix.
Thanks again for your help!!!
Dave
Ok i found the problem!
your example version works well on my MT4
so i gradually removed everything from my EA leaving only the indicator...
and discovered the problem was in the constant i used in the timeframe field.. i set it as integer..
but make it as text solved the problem!

Hope this can help someone else..
Thanks for your time
Dave
Oh sorry! I forget it! 
Forgive me, really!
Can you help me to understand this other problem?
I have several indicators that create this issue
https://dl.dropboxusercontent.com/u/492826/Schermata 2014-07-10 alle 02.34.46.png
It's like they open several times when they are loaded and condition is valid..
Instead seems they are opened and closed when the condition is not valid..
This is an example of what i found in the journal
Condition not valid
2014.07.10 01:21:21.238 2014.04.09 23:25 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: removed
2014.07.10 01:21:21.235 2014.04.09 23:25 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:21:21.228 2014.04.09 23:20 BABAGO BACKTEST AUDUSD,M5: FLAT TREND NON VALIDA
2014.07.10 01:21:21.201 2014.04.09 23:20 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: removed
2014.07.10 01:21:21.197 2014.04.09 23:20 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
condition valid
2014.07.10 01:25:45.063 2013.05.08 02:25 BABAGO BACKTEST AUDUSD,M5: FLAT TREND NON VALIDA
2014.07.10 01:25:45.052 2013.05.08 02:25 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:25:45.033 2013.05.08 02:20 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:25:45.017 2013.05.08 02:15 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:25:45.001 2013.05.08 02:10 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:25:44.982 2013.05.08 02:05 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
2014.07.10 01:25:44.968 2013.05.08 02:00 Custom indicator FlatTrend_Macd nmc AUDUSD,M5: loaded successfully
When i run backtest without visual mode they starts to skips trade or, sometimes, after a while, backtest stops and in the journal i found "invalid ex4"...
Probably due to the big number of indicator loaded, in fact the ram fills up to 4gb when usually it's around 1gb..
This is one of that indicators..
https://dl.dropboxusercontent.com/u/492 ... %20nmc.mq4
Probably i have to modify some code in it to prevent this problem?
Thanks again,
have a nice day
Probably i found another bug..
i tried with a lot of configuration but
https://fxdreema.com/shared/vgSonh6S
Can you check please?
Thank you, it resolve the problem!

Can you check please why i can't set boolean parameters with constants i created?
i would like to set, for example, "forceconsecutive" with the "Forceconsecutive" constant..
but it not save the change
i also tried with integer 0-1
https://fxdreema.com/shared/rpJ6VjAM
thanks
Can you please help me to use this indicator on FXdreema?
When i compile the EA it gives me this error "Undeclared identifier"
is the only indicator that gives me this error.. also if i tried with Indicator Tester..
Thanks
Dave
......
GMTS-Tape.mq4
ok i've tried like you suggest and unselect "skip useless results" but now i see just one result with no trades.
The strange thing is if i use that inputs parameters, clicking twice on that optimize result, and backtesting just that configuration
it returns a profitable backtest.. 
Hi,
i want you to know i resolved both my issues.. Grazie!

regarding the text filter function in "each object", the only way i resolved it is like this
https://dl.dropboxusercontent.com/u/492826/Schermata 2014-06-05 alle 05.04.40.png
if i use only "contains" option it doesen't work... not matter at all..
Now i quite finish my EA but i have a "last" problem:
i would like to use optimization function of MT4 so i use some constants and checked some "inputs parameters for optimizing" box in blocks
but when i try to optimize, MT4 every time, in any EA i created, return me always
"There were 64 passes done during optimization, 64 results have been discarded as insignificant" even with 300+ passes..
i've tried with values and constants both integer and boolean but any time optimization doesn't return any results..
Any idea where i have to looking for to resolve it?
Thank you!
Dave
Thanks for the new build,
i'll test it on Monday when markets open again and i'll let you know if it works!
but i have a new doubt. 
I've searched on forum how to check and modify BE and Trailing stop but i can't figure out how to do it properly both at the same cycle..
for example for trades with RR 1:3
i would like to go to BE (2 pips over open price) when the profit is 33 % of the original TP (so when RR is 1:1)
and Trailing stop will start at 2:1 only if it set the TS-SL over the BE point.. (or under for sells)
i tried with this configuration in a loop
but i don't know if is it correct.
In this way probably, when floating RR is like 2,3:1, every time the EA set the BE again and then the Trailing Stop, so it modify the SL two times for every check..
I would like the EA check the trailing just for BE trades
and i can't use flags or counters or variables because it check in loop for all markets all open trades..
How i can check if the BE (at 2 pips from open price) is already set and then use TS only if it SL goes over BE?
Sorry for the confused explanation...
wow!!! it seems perfect!
but how can i use it with the desktop version of fxdreema?
Thanks again
Dave
Great! With that tweak i'll finish my first EA... About 120 Blocks!! WOW

Are you able to write a custom block for me or you know someone who can?
The logic is IF Symbol(market name) CONTAINS Object Description (picked in loop) THEN - ELSE
in these way FxDreema can read news!!!
billworld 2008.04.29 21:20 #
stringo:
I've checked your code. It works. More details please
To be clear, in my last post I supplied two code excerpts. The top one which uses StringFind does NOT work but it used to work in earlier versions of MT4. The bottom one which uses StringSubstr DOES work and this is the method I now use to remove objects. No big deal, I just struggled with trying to figure out why StringFind wasn't yielding the expected result until I just decided to go with StringSubstr.
i found this here
http://forum.mql4.com/3804
Hint for your code
if(StringFind(ObjectName(i),"_tbeg",0)>0)
Your objects should have such names as "1_tbegTrendLine", "XXX_tbegSymbol" and so on. If your objects begin from "_tbeg" then You must change condition
if(StringFind(ObjectName(i),"_tbeg",0)==0)
or
if(StringFind(ObjectName(i),"_tbeg",0)>=0)
See http://docs.mql4.com/strings/StringFind. Position begins from 0. So was always.
THANKS
MARKET PROPRIETIES -> SYMBOL (MARKET NAME) give EURUSD.
in fact if i have a label text named EURUSD it find it, but not the labels EUR
......
Schermata 2014-05-21 alle 10.46.19.png
Schermata 2014-05-21 alle 11.01.58.png
Hi,
i'm using this software and founding it very useful! Thanks a lot!
At the moment i'm trying to use the loop function "for each object" looking for a text label with one of the two currency of the actual market symbol.
I use easily this function as you explain in the documentation if i have to search for a market symbol (EURUSD) in various labels (EURUSD,USDJPY,EURCHF.. Ecc)
But now i have just label with one currency displaying me the coming news and i dont know how to compare with the market symbol.
The condition EUR==EURUSD it return false.. i would like it return true..
Can you help me to resolve it? 
Thank you!
Dave
Hi,
i use a set of custom indicators that i want to import in the EA generator.
Two of them use history tape visualization.
The others i'm asking to a programmer to convert also them in history tape.
For the moment i don't find the way to extract the color of the indicator and use it in the ea generator.
You think is it possible? i found the buffer but don't understand how to check the color.
i attach here the one i already have, but for the others i have to ask something in particular to the programmer
so i can use later on the generator?
Thanks all for your help
https://dl.dropboxusercontent.com/u/492826/Schermata 2014-05-15 alle 00.02.42.png
https://dl.dropboxusercontent.com/u/492826/Stoch-Tape.mq4