wds3817 / パブリケーション メイン コード Close All Positions include pending ones. MetaTrader 4のため This one may not be the fastest, but it will definitely close all your positions