New to Tradovate, interested in building some indicators. I took the example code and changed d.value() to d.open() and I’m getting an error. What am I missing?
Are you sure you had it typed like this: return d.open() - 2.0; and not return d.open - 2.0;?
What happens if you simply add this extra line for testing and keep the return statement as is:
map(d) {
const open = d.open();
return d.value() - 2.0;
}