I have found the bug, ran a quick test and it seems to be working now, the trades closes when the price drops above/below the ATR line.
Will publish an update now, give it one hour and download both the indicator and the WAE cBot from your account downloads.