副图公式 源码支持手机/电脑
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(SMA(RSV1,3,1),3,1);D:=SMA(K,3,1);J:=(3*K-2*D);
买1:IF(K<20 AND D<20 AND CROSS(J,K) AND CROSS(K,D),60,0);
CHA1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
CHA2:=10;
买2:IF(CROSS(CHA1,CHA2),40,0);
CAI1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
CAI2:=SMA(CAI1,7,1);
CAI3:=SMA(CAI2,5,1);
买3:IF(CROSS(CAI2,CAI3) AND CAI2<20,50,0),LINETHICK1,COLORRED;
CAI8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CAI9:=SMA(CAI8,5,1);
CAIA:=SMA(CAI9,5,1);
买4:IF(CROSS(CAI9,CAIA) AND CAI9<20,60,0),COLORYELLOW,LINETHICK1;
选股公式源码
{选股公式一:买1}
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K1:=SMA(SMA(RSV1,3,1),3,1);D1:=SMA(K1,3,1);J1:=(3*K1-2*D1);
买1:K1<20 AND D1<20 AND CROSS(J1,K1) AND CROSS(K1,D1);
{选股公式二:买2}
CHA1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
CHA2:=10;
买2:CROSS(CHA1,CHA2);
{选股公式三:买3}
CAI1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
CAI2:=SMA(CAI1,7,1);
CAI3:=SMA(CAI2,5,1);
买3:CROSS(CAI2,CAI3) AND CAI2<20,,LINETHICK1,COLORRED;
{选股公式四:买4}
CAI8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CAI9:=SMA(CAI8,5,1);
CAIA:=SMA(CAI9,5,1);
买4:CROSS(CAI9,CAIA) AND CAI9<20,COLORYELLOW,LINETHICK1; |