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

