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?
0_1585329815566_b3e7c52c-b06d-4096-ab10-4001a10a1401-image.png
0_1585330015671_69dfff27-5b8f-4f71-beca-d2ae83846733-image.png