Dear hunter,
The function ValOnTime does not exist now. It remained in Tradecision Help by mistake. And this will fixed in the next release.
Instead of this function we recommend to use the following function:
Close\BarsSinceDate(2000,01,01)\
It is similar to ValOnTime(Close,2000,01,01)
If you want to work with time parameters instead of daily ones, please use the following function:
Close\BarsSinceTime(10,35)\
Sincerely,
Tradecision Support Team
I saw a function in the manual ValOnDate(Price, Year, Month, Day). However while using it, the editor did not recognize it, and showed an error. Why is this so? This is a very useful function. Can you tell me how to use it?
In case it is possible, can you include a similar function ValOnTime(Price, Hour, Min, Sec) for the CURRENT day only (to keep it simple without having to resolve dates of lookback period). This may be made available for Intraday trading.