副图公式源码支持: 手机/电脑
GUP1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
GUP2:=SMA(SMA(GUP1,3,1),3,1)/28.57;
GUP3:=EMA(GUP2,5);
GUP4:=3*GUP2-2*GUP3;
GUP5:=CROSS(GUP4,GUP2) AND GUP2<2.1 AND CLOSE>OPEN;
STICKLINE(GUP5,82,0,0.005,0),COLORRED;
DRAWICON(GUP5>0,85,38),COLORYELLOW;
GUP6:=CROSS(GUP4,GUP2) AND GUP2<2.1 AND CLOSE>OPEN;
GUP7:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,13);
GUP9:=HHV(HIGH,13);
GUP10:=EMA((GUP7-GUP8)/(GUP9-GUP8)*100,13);
GUP11:=EMA(0.667*REF(GUP10,1)+0.333*GUP10,2);
STICKLINE(GUP10>GUP11,GUP10,GUP11,3,0),COLOR0055AA;
STICKLINE(GUP10>GUP11,GUP10,GUP11,2.8,0),COLOR0066BB;
STICKLINE(GUP10>GUP11,GUP10,GUP11,2.5,0),COLOR0077CC;
STICKLINE(GUP10>GUP11,GUP10,GUP11,2.2,0),COLOR0088DD;
STICKLINE(GUP10>GUP11,GUP10,GUP11,1.7,0),COLOR0099EE;
STICKLINE(GUP10>GUP11,GUP10,GUP11,1.2,0),COLOR00AAFF;
STICKLINE(GUP10>GUP11,GUP10,GUP11,0.7,0),COLOR00CCFF;
STICKLINE(GUP10>GUP11,GUP10,GUP11,0.2,0),COLORYELLOW;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,3,0),COLOR990099;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,2.8,0),COLOR990088;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,2.5,0),COLOR990077;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,2.2,0),COLOR990066;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,1.7,0),COLOR990055;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,1.2,0),COLORBB00BB;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,0.7,0),COLORDD00DD;
STICKLINE(GUP10<=GUP11,GUP10,GUP11,0.2,0),COLORMAGENTA;
底部:20,COLORLIRED;
中位:50,COLORYELLOW;
顶部:80,COLORBLUE;
拉升:EMA(0.382*REF(GUP10,2)+0.618*GUP10,6),COLORRED;
IF(拉升>REF(拉升,1),拉升,DRAWNULL),COLORGREEN,LINETHICK2;
买牛:IF(CROSS(4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1),8),58,0),STICK,COLORYELLOW,LINETHICK3;
STICKLINE(买牛,50,0,3.5,0),COLORGREEN;
STICKLINE(买牛,50,0,3.4,0),COLORGREEN;
STICKLINE(买牛,50,0,3.1,0),COLORGREEN;
STICKLINE(买牛,50,0,2.8,0),COLOR009900;
STICKLINE(买牛,50,0,2.5,0),COLOR009900;
STICKLINE(买牛,50,0,2,0),COLOR009900;
STICKLINE(买牛,50,0,1.5,0),COLOR00BB00;
STICKLINE(买牛,50,0,0.9,0),COLOR00DD00;
STICKLINE(买牛,50,0,0.3,0),COLORGREEN;
STICKLINE(买牛,50,0,0.05,0),COLORYELLOW;
DRAWICON(买牛>0,58,13),COLORYELLOW;
GUP14:=REF(CLOSE,1);
GUP15:=SMA(MAX(CLOSE-GUP14,0),6,1)/SMA(ABS(CLOSE-GUP14),6,1)*100;
GUP16:=CROSS(70,GUP15)*70;
DRAWICON(GUP16,80,14);
选股公式源码
{选股公式一:红球图标}
GUP7:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,13);
GUP9:=HHV(HIGH,13);
GUP10:=EMA((GUP7-GUP8)/(GUP9-GUP8)*100,13);
GUP11:=EMA(0.667*REF(GUP10,1)+0.333*GUP10,2);
买牛:=IF(CROSS(4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1),8),58,0),COLORYELLOW,LINETHICK3;
红球图标:买牛>0;
{选股公式二:红三角图标}
GUP1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
GUP2:=SMA(SMA(GUP1,3,1),3,1)/28.57;
GUP3:=EMA(GUP2,5);
GUP4:=3*GUP2-2*GUP3;
GUP5:=CROSS(GUP4,GUP2) AND GUP2<2.1 AND CLOSE>OPEN;
红三角图标:GUP5>0; |