本帖最后由 叶梵宸 于 2023-11-14 14:30 编辑
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(2*G1+G4+G2+G3)/5;
GUP2:=LLV(G2,34);
GUP3:=HHV(G4,34);
K1:EMA((GUP1-GUP2)/(GUP3-GUP2)*100,13);
D1:EMA(K1,5);
警戒:80,COLORGREEN;
机会:20,COLORRED;
GUA1:=HHV(G4,9)-LLV(G2,9);
GUA2:=HHV(G4,9)-G1;
GUA3:=G1-LLV(G2,9);
GUA4:=GUA2/GUA1*100-70;
GUA5:=(G1-LLV(G2,60))/(HHV(G4,60)-LLV(G2,60))*100;
GUA6:=(2*G1+G4+G2)/4;
GUA7:=SMA(GUA3/GUA1*100,3,1);
GUA8:=LLV(G2,34);
GUA9:=SMA(GUA7,3,1)-SMA(GUA4,9,1);
GUA10:=IF(GUA9>100,GUA9-100,0);
GUA11:=HHV(G4,34);
GUA12:=EMA((GUA6-GUA8)/(GUA11-GUA8)*100,13);
GUA13:=EMA(0.667*REF(GUA12,1)+0.333*GUA12,2);
抄:=CROSS(GUA12,GUA13) AND GUA12>GUA13 AND GUA12<18;
STICKLINE(抄,15,10,3,0),COLORRED;
GUB5:=EMA(G4,30)*1.15;
GUB6:=REF(GUB5,1);
GUB7:=EMA(G2,3)*0.99;
GUB8:=EMA(G2,30)*0.85;
GUB9:=CROSS(GUB8,GUB7);
GUB10:=CROSS(GUB5,GUB7);
STICKLINE(GUB9,15,10,3,0),COLORYELLOW;
STICKLINE(GUB10,15,10,3,0),COLORLIRED;
DRAWTEXT(抄,抄,'买入'),COLORYELLOW;
选股公式源码
{选股公式:买入}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=HHV(G4,9)-LLV(G2,9);
GUA2:=HHV(G4,9)-G1;
GUA3:=G1-LLV(G2,9);
GUA4:=GUA2/GUA1*100-70;
GUA5:=(G1-LLV(G2,60))/(HHV(G4,60)-LLV(G2,60))*100;
GUA6:=(2*G1+G4+G2)/4;
GUA7:=SMA(GUA3/GUA1*100,3,1);
GUA8:=LLV(G2,34);
GUA9:=SMA(GUA7,3,1)-SMA(GUA4,9,1);
GUA10:=IF(GUA9>100,GUA9-100,0);
GUA11:=HHV(G4,34);
GUA12:=EMA((GUA6-GUA8)/(GUA11-GUA8)*100,13);
GUA13:=EMA(0.667*REF(GUA12,1)+0.333*GUA12,2);
抄:=CROSS(GUA12,GUA13) AND GUA12>GUA13 AND GUA12<18;
买入:抄;
|