Two compiler warnings in Trailing Block
-
I get two warnings when i add a trailing block.
"expression not boolean AW_tpl_EA.mq4 2280 37"
Its not visible when compiling with fxdreema but if I compile it directly in MT4:
in the second line of those
bool go_modify=false;
if (polarity=="buy" && TrailWhat*(askbid-avg_price>toDigits(t_start)))
{
if ((TrailWhat*(askbid-group_stop)>=toDigits(t_stop+t_step)) || group_stop==0 || resetSL==true)
{
group_stop=askbid-toDigits(t_stop)*TrailWhat;
go_modify=true;
}
}and 8 lines later the same
My settings are
Group#
2
buys and sells
TakeProfit
fixed pips
4
Pips
2
Yes...
Clear ...
DeepPink -
Warnings are not scary. The block itself does not produce warnings, they are probably because you use some variable with. The important thing is to work properly

-
Yeah , i have 1 warning with "Modify variables" , but all works well .
One thing worries me , I cant load my online project(.mq4) to local version , win 7 and 10 ? (allmost 200 blocks).
Where is gone "save xml" in online version ? . OK , i read some Dreema updates ... But my projekt looks
better day by day , and i dont wanna loose it , so i hope at u have some backup for online projects ?
OK , i dont wanna complain for that , there is more important things to do . like win 10 , etc. -
Copy of the project data is automatically embedded at the end of all .mq4/.mq5 files that you create (it is compressed, that's why it looks weird), so you have the actual code + fxDreema project data in the same file. Imagine that those .xml files are now .mq4 and .mq5 files.
I change things sometimes and I even change the way that project data looks like. Old project data eventually becomes in "wrong" format for the new version of fxDreema, but I have functions that convert it to the newest version. Now the local version generates old version of that data and the web version can work with it, but the opposite is not true. If you try to import .mq4 file from the web version into the local versions, it will fail, because the local version is not aware of the new rules.