I don't know why it didn't open? Is there anything wrong?
-
I guess the value for buy was not 21010 after it raised up again, because the value is calculated continous on candleID 0 and 1. I think you could see that on chart on the Trace buy value?
Maybe you could add a variable to save price level of last buy/sell trade, then make a second rule to open a new trade if the price retrace to that level again?

