RE: Scripts for Relative Rotation Graphs (RRGs)

I would like to start even earlier. Namely when the chart in the Weakning Quadrant changes direction to the north or north-east.

Unfortunately, my script does not accept (not valid). Perhaps you can help?

V1 = JDKRS().Quadrant == 1;
V2 = JDKRS().Heading;
V3 = V2 >= 0 and V2 <= 67;
V4 = V3 and not V3[1];
Filter = V1 and V4;

Hi Sascha,

A true condition has a value of 1, so you can set the signal using V3 ChangeTo 1 for when it becomes true:

V1 = JDKRS().Quadrant == 1;
V2 = JDKRS().Heading;
V3 = V2 >= 0 and V2 <= 67;
V4 = V3 ChangeTo 1;
V1 and V4

Three stocks in the S&P500 changed direction in the Weakening quadrant yesterday: