- Topics: 5
- Replies: 602
- Posts: 607
There are a few errors with the script you posted.
With V1, the High function doesn’t support Bars or Backtype days, for your script the High() is all you need.
Also, only V2 and V3 are Boolean, so the last line should not be referencing V1.
The final adjusted script would look like this:
V1 = HIGH() * 0.7;
V2 = CLOSE() <= V1;
V3 = OPEN() <= V1;
V2 and V3
This script returns results, here’s an example: