You are missing trading opportunities:
        - Free trading apps
 - Over 8,000 signals for copying
 - Economic news for exploring financial markets
 
          Registration
          Log in
        
        You agree to website policy and terms of use
    If you do not have an account, please register
  
Hi, ive taken this code from online but struggling to adapt it. In the backtest, the pivot points vanish once the week is over. Instead i want to see previous pivot points for it designated week, and for the lines to only be drawn during that week. How can i amend this code?