Hi all, i need help with what i think is a piece of simple code, but if it was that simple i wouldn’t be asking for help in the first place. Basically all i’m doing is plot a 200 simple moving average of the close together with the closing price data series. The end result though is baffling me, for instance when a candle closes below the moving average on the main chart i expect to see the same behavior on bottom panel where i plotted the MA and the closing price data series. The vertical line on the chart shows an instance of the challenge i’m having. What am i missing. Any help will be much appreciated. since i couldn’t find any Time Frame related functions, i’m attempting to periodize the 200 MA plotted on the weekly chart on to the daily chart by simply multiplying the 200 MA by 5. The end result left me scratching my head and so i simply returned the closing Price series and the 200 MA to a separate panel and that’s when i realized this behavior. Thanks for the assistance.
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