ProRealTime trading read only once the code at Close (checks conditions at candlestick Close and launch orders at next Open). The code conversion in MQ5 must use the same logic please.