For an example, if i want to add the last 20 closes i type; close + close[1] + close[2] + close [3] + [4]……….. How do i do this smart? There must be a better way… So how do i “sum” or select a range in code?
Same with if i want the last 20 closes to be below current close, how do i type that?
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