- Topics: 5
- Replies: 602
- Posts: 607
Are you applying the script to the SPX directly? If not, V3 needs to use a GETDATA() for the SPX index as well. I’d also use the WithinRange() function to work out if the close is within the zone it needs to be. Here it is in isolation…
D1 = GETDATA(CODE=SPX:WI) ;
D2 = HIGHESTHIGH(D1, BACKTYPE=Bars, BARS=256);
If adjusting the script to use the above does not fix the issue you are seeing please provide more information on what the problem is.