副图公式 源码支持手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,3))/(HHV(G4,3)-LLV(G2,3))*100;
GUP2:=SMA(GUP1,6,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=10-GUP2+2*GUP3;
GUP5:=(3*GUP2+2*GUP3)/4;
GUP6:=ABS(ABS(GUP5)-ABS(GUP4));
GUP7:=ABS(ABS(GUP5)-ABS(GUP6));
洗盘:GUP4-GUP7,LINETHICK2,COLORYELLOW;
顶部:STICKLINE(洗盘<0,洗盘,0,1,0),COLORBLUE;
情绪:GUP5-GUP7,COLORGREEN;
DRAWICON(CROSS(情绪,洗盘),情绪,1);
25,POINTDOT,LINETHICK3,COLOR88CC00;
GUA1:=REF(G1,1);
GUA2:=SMA(MAX(G1-GUA1,0),5,1)/SMA(ABS(G1-GUA1),5,1)*1000;
GUA3:=GUA2-LLV(GUA2,10);
GUA4:=(MA(GUA3,2)*3+GUA3*13)/16;
短线买:=IF(GUA4>13,MA(GUA4,2),GUA4)/6,COLORYELLOW;
DRAWTEXT(CROSS(短线买,1) AND (短线买<30),30,'短买'),COLOR0000FF;
选股公式源码
{选股公式一:短买}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,3))/(HHV(G4,3)-LLV(G2,3))*100;
GUP2:=SMA(GUP1,6,1);
GUA1:=REF(G1,1);
GUA2:=SMA(MAX(G1-GUA1,0),5,1)/SMA(ABS(G1-GUA1),5,1)*1000;
GUA3:=GUA2-LLV(GUA2,10);
GUA4:=(MA(GUA3,2)*3+GUA3*13)/16;
短线买:=IF(GUA4>13,MA(GUA4,2),GUA4)/6,COLORYELLOW;
短买:CROSS(短线买,1) AND (短线买<30);
{选股公式二:红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,3))/(HHV(G4,3)-LLV(G2,3))*100;
GUP2:=SMA(GUP1,6,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=10-GUP2+2*GUP3;
GUP5:=(3*GUP2+2*GUP3)/4;
GUP6:=ABS(ABS(GUP5)-ABS(GUP4));
GUP7:=ABS(ABS(GUP5)-ABS(GUP6));
洗盘:=GUP4-GUP7,LINETHICK2,COLORYELLOW;
情绪:=GUP5-GUP7,COLORGREEN;
红箭头图标:CROSS(情绪,洗盘); |