I am trying to make a simple change to the 1/n algorithm that was posted last week.  I simply want to change the trade frequency to a defined number of days, rather than each new month.  With limited skills in programming I've made attempts at coding trade frequency in days without success.  Attached are my changes - trying to trade every 61 days.  Any direction or help is appreciated.  

Regarding this forum, community and tools you all have set up. It is amazing to see the work that has been done here.  It is truly creating change and will help step the industry in a new direction.