What's the difference between "calculate" and "calculateValues"?

funk101

Member
Joined
Nov 19, 2023
Posts
11
Likes
0
Can someone please explain the difference between these methods?
Thank you
 

igor.s

Well-known member
Joined
May 22, 2019
Posts
289
Likes
153
The SDK has a straightforward explanation:
...
protected void calculate(int index, DataContext ctx)
Override this method to calculate the values at a specific index in the data series. This method is called from calculateValues(ctx) and onBarUpdate(ctx)
...
cheers
 
Top