- Topics: 4
- Replies: 83
- Posts: 87
When using a GETDATA() function and a Time Frame override it is best to set the time frame as part of the Get Data function rather than the ROC function.
The following script should work:
V1 = GETDATA(CODE=XAO:ASX, TIMEFRAME=1 Month);
ROC(V1, BARS=1) > 0
You can see on the chart for BHP the Show Views show different results (as expected), where as the XAO chart they are the same.