@Grant & Tom: Thanks for the responses. I apologize for the lack of expiation and late response.
Granted this might be a feeble attempt at finding breaks in the market and detecting specific patters. I will do my best to explain what's going on.
I retrieve probabilities based on the trailing 20 prices and append them to two different lists. If the prices over that time period are somewhat unstable ( (mu-var/2)/mu< some value ) I enter the trade at an attempt to find a future trend (i.e. assuming that the instability will cause a change in direction). I admit my explanation is very hand wavy but I will try to post (soon) my work as to how I found the seemingly arbitrary constantans I used as a threshold.
I used the lognormal distribution as I assume that stock prices follow this distribution over a longer period and given high instability I assume it will revert back to its stable state after the break ( (mu-var/2)/mu<=-63 ).
I also implemented a network that attempts to check, based on correlation of the stock in question relative to that of a security in my universe, if the probabilities are moving in the same direction. I also check their moving averages and determine whether the distribution would give me like results for both securities. If this is the case than the number of fires will surpass the misses. I do this for my entire universe and if the signal is great enough I have the go ahead to use the distribution to assess a profitable trade.
I hope this clears some questions you guys may have. Feel free to give suggestions or corrections that account for untrue assumptions or unaccounted for problems in the algo.
P.S. Thanks for all the views and responses. They are much appreciated