i tried to do, but it still no good. I don't understand why, what is reason.
Logic seems correct but acting bad. so strange is that open trade buy altought one of stoch is down of levelforopen.
and if turn on close by stoch -True ,condition for close is ok(cross) , trade is close and then open another altought using string stopbuy and maxtradeperbar
please look , maybe your eyes find what is bad.
It's night, i must go to sleep