In general, it is quite strange pattern ... but, strangely enough, it works. When the price moves downward on 3 bars (three "falling" candles) on M15, the green is above the red on Stochastic of M1 and M5 charts. Stop loss, take profit can be optimized. Variables: extern int StopLoss // I hope this is clear extern int TakeProfit // I hope this is also clear :) extern double Lots // if lot is not set to 0, then it is fixed, if set to 0, then the