Besides the default TF, I think GETTIMEFRAME has yet another bug in the monthly TF ! For example if we run this code:
1
2
3
timeframe(1month)
c=gettimeframe/(60*60*24)// days per month
returnc
it should return the number of days of the actual month but it will return 30 days for every month no matter what. I guess this bug will propagate to the quarterly and yearly TFs, but I didnt test those.
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