In ProScreener, ProBuilder and ProOrder, to find if the current CLOSE is a the new highest CLOSE within, say, the last 20 bars, you have to manually write:
New Highest Close
1
NewHigh=(close=highest[20](close))
NewHigh will be set to TRUE if it’s the highest CLOSE, FALSE otherwise.
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