本帖最后由 九转妖 于 2023-2-25 10:40 编辑
副图公式源码 :支持手机/电脑
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUP1:=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);
J1:=SMA(RSV1,3,1);
J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);
W2:=SMA(W1,3,1);
见顶:100,COLORCCFF00;
准备卖出:IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK2,COLOR00FF00;
趋势:=GUP1,LINETHICK2;
准备买入:IF(趋势<=10,30,0),LINETHICK2,COLORYELLOW;
STICKLINE(趋势>88,100,趋势,3,1),COLORGREEN;
STICKLINE(趋势<=10,0,趋势,3,1),COLORYELLOW;
STICKLINE(COUNT(趋势<REF(趋势,1) AND 趋势<10,2)=2,0,20,3,0),COLORRED;
STICKLINE(CROSS(J2,J1) AND J2>85,100,80,3,0),COLORGREEN;
选股公式源码
{选股公式一:准备买入}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUP1:=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);
J1:=SMA(RSV1,3,1);
J2:=SMA(J1,3,1);
W1:=SMA(RSV2,3,1);
W2:=SMA(W1,3,1);
趋势:=GUP1,LINETHICK2;
准备买入:IF(趋势<=10,30,0),LINETHICK2,COLORYELLOW;
{选股公式二:红柱}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
GUP1:=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);
趋势:=GUP1,LINETHICK2;
红柱:COUNT(趋势<REF(趋势,1) AND 趋势<10,2)=2; |