Scripting; BARNUMBER Function Request

Hi Guys,

We have a script function BARDATE(), which is very useful for, say, calculating the number of days between signals.

It would also be very useful if we had a similar function, say BARNUMBER(), returned the Bar’s index number in code’s data array so that the number of Bars between signals can be calculated.

Cheers

Trevor R Bird

 

 

Hi Trevor,

That should be easy to add - it won’t make this weeks release of Optuma 1.5 but we’ll add it to Optuma 1.6

All the best

Mathew