Because they both RETURN nothing (take a look at the last line of their code), since they are made to only plot/draw objects on the price chart, not below.
You need to click on the sparrow on the upper left corner of the price chart, then select ADD INDICATOR and choose the one you want, then repeat the operation for the next indicator.
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