X 1:CROSS(MA(C,30),MA(C,250));
The second formula is: the stock price falls back above the 250-day moving average for more than 15 trading days, and fluctuates sideways within the range of 15%.
M250:=MA(C,250);
t:= bars last(H & lt; m250);
HH:=HHV(H, 15);
LL:=LLV(L, 15);
HHT:=HHV(H,T+ 1);
x 1:= T & gt; 15;
X2:=LLV(L,5)= LL;
X3:= HHT * 0.9 & gt; HH;
x4:=(HH-LL)/HH & lt; 15/ 100;
ZRXG:x 1 * X2 * X3 * X4;
For example, the following signal