Beware that you MUST write the date the weekly bar closes, it is usually 6 days AFTER it opens (which is shown on your chart), but for some instruments/assets it’s 7 days AFTER the opening.
You may add this simple indicator to your weekly chart to find out:
1
RETURNDateAS"Closing Date"
Be warned that screeners with IG have a 254-bar history (1024 with PRT’s Premium version) and that MACD uses EMAs to make calculations, which require more that twice the PERIODS used in Macd itself. So you won’t be able to use periods larger than 70-80 for any of your MACD periods(MACD[70,110,10] will fail).
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