Hi All
One of my favorite indicators – WyckoffWave – stopped working in V11.1
I traced the root cause to the function Today – in V10.3 this function returned the current date, in V11.1 it seems to return the current bar date.Anyone else noticed this?
I used Today to make sure calculations are made only on the last bar in the timeframe and now I lost this functionality
The TODAY instruction still returns the today date in YYYYMMDD format with version 11. What is the returned value you have please? Try this code:
RETURN today
Just did, it gives the correct value for each bar. My problem is what it returns in “non trading” days where there’s no bar on the chart.
I coded a WyckoffVolume Wave “indicator”, which I’ll be happy to share once I solve this problem, and in order to keep the calculation time short I want it to operate only once – at the time: Today. Thats why I need to function
Thanks
I can confirm now that the TODAY instruction has changed in version 11, it is not a bug. It returns now the today date of when the code is read, and not the actual (real time) date anymore, as I explained here: https://www.prorealcode.com/topic/identification-of-the-last-bar-on-a-chart-in-prorealtime-v11/#post-109485