I found the article (with the EA uploaded) so it may be related to your question: Trend-Hunting
The article contains a description of a trading method - volume accumulation of profit trades. I suppose only profit trades can be accumulated. The article explains the optimal way to implement this and contains an EA code that helps to execute such trades correctly.
And this is the CodeBase:
Stop Hunter - expert for MetaTrader 4
This EA is based on the strategy "Stop Hunting with the Big Players". It sends BuyStop and SellStop orders at the given Distance from the round price targets.
To learn more about Stop Hunting: