What you want is an ambitious project. It cannot be implemented with a few blocks. Additionally, crystal clear conditions to execute are a must. So let's begin with the first one you mentioned. You said: 'I would like the bot detect the closest price level above...' Why is 158.000 the closest? Shouldn't it be 157.859 as the closest one? Are you requiring round numbers to be the 'closest ones'? There are some other ambiguities in your explanation that need to be perfectly clarified before moving on.
T