Here's a picture that best explains what happened with my code....

  1. 1,118 Posts.
    Here's a picture that best explains what happened with my code.

    20160212 Profit from Volatility.png

    Put simply, it generates a stack load of positions when my stop loss is hit. I am thus trying to profit from the assumption that it will rally after my stop loss is hit. In other words, my random system was generating profits from rallies. I'll post some results later on whether this theory is true.
 
arrow-down-2 Created with Sketch. arrow-down-2 Created with Sketch.