RSVP:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50;
KV:=SMA(RSVP,3,1);
DV:=Sma(KV,3,1);
JV:=3*KV-2*DV;
ZDZK1:=ema(JV,6);
ZDZK2:=REF(ZDZK1,1);
JJP1:=REF(INDEXC,1);
JJP2:=FILTER((INDEXC-JJP1)/JJP1>0.03 AND ZDZK1>=ZDZK2,7);
买:JJP2;
RSVP:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50;
KV:=SMA(RSVP,3,1);
DV:=Sma(KV,3,1);
JV:=3*KV-2*DV;
ZDZK1:=ema(JV,6);
ZDZK2:=REF(ZDZK1,1);
JJP1:=REF(INDEXC,1);
JJP2:=FILTER((INDEXC-JJP1)/JJP1>0.03 AND ZDZK1>=ZDZK2,7);
买:JJP2;