Reply To: Multiple Symbol list Script values for historical data

Optuma Forums Optuma Scripting Multiple Symbol list Script values for historical data Reply To: Multiple Symbol list Script values for historical data

#51827
Dan
  • Topics: 3
  • Replies: 5
  • Posts: 8

Thanks Mathew. This is quite helpful.

So I went further and was creating multiple conditions assigned to v1 in relation to this question and not sure why a number of them did not return a value and some others returned 0 for the ACC() function. ARNC and NLSN did not return a value for the following script:

VX = GETDATA(CODE=VIX:WI);

COND1 = CLOSE() < MA(STYLE=Exponential, BARS=30, CALC=Close) ;

COND2 = VX > 20;

COND3 = CLOSE() CrossesBelow BB(BARS=30).LowerLine;

COND4 = (RSI(BARS=30) > 25) and (RSI(BARS=30) < 55);

V1 = COND1 and COND2 and COND3 and COND4;

ACC(V1);

Pin It on Pinterest