Hi,
For your first question you can use ROUND instruction that will round your decimal number to the nearest superior value.
About finding a range of 10 days in the past, you can find it with the HIGHEST and LOWEST instructions, please have a look into the online documentation.
Finding the highest high and lowest low of the last n days is like compiling the last n candlesticks into a biggest one, so you get your range.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue