diff -r MetaTrader4/blocks/IsGreater.tpl MetaTrader5/blocks/IsGreater.tpl 1c1 < (<@printBlockChild block "#Left#" shift /> > <@printBlockChild block "#Right#" shift />) \ No newline at end of file --- > (NormalizeDouble((double) <@printBlockChild block "#Left#" "0" true />, 6) > NormalizeDouble((double) <@printBlockChild block "#Right#" "0" true />, 6)) \ No newline at end of file
Java Code:
@Override public boolean OnEvaluateComparison() throws TradingException { double val1 = SQUtils.round(Left.evaluateBlock(), 6); double val2 = SQUtils.round(Right.evaluateBlock(), 6); return val1 > val2; }
Status changed from New to Refused
It's perfectly clear it will not make a big difference in general but it also does not exclude/prove lack of differences. It's question of consistency.
The issue is rounding is gradually introduced/implemented in Java code, MT5 code but MT4 code does not follow up.
Thank you for you comment.