I want to build an algorithm to scan pre-market stocks trading in the NASDAQ for big volume and large volatility. Is there any similar algorithm or algorithms in c#, c++ that I can use as a reference? Also, I would place the stop loss 10 percent below the trading price. Can anyone please provide some code snippets or an algorithm for these particular issues?