TroubleshCloseOnlyOnProfit - true/false - when this method is enabled, positions will be closed only on profit or where stop loss is reached. When CloseOnlyOnProfit=false /default/, positions will be closed in accordance with the system logic.Generally test the Expert Advisor with a demo account in