//+------------------------------------------------------------------+ //| CloseAllTrades.mq4 | //| Copyright © 2005, Renato | //| | //+------------------------------------------------------------------+ #property copyright "Copyright © 2005, rodrigokaus" #property link "http://www.forex-tsd.com/expert-advisors-metatrader-4/703-100-pips.html" extern color clCloseBuy = Yellow; extern color clCloseSell = Yellow; extern string Name_Expert = "CloseAllTrades"; void deinit() { Comment(""); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int start(){ CloseAllTrades(); return (0); } void CloseAllTrades() { for (int i=0; i