副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
AA:IF(G1>SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
BB:IF(G1<SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORCYAN;
GUA1:SUM(EMA((G1+G2)/2,1)/3,3),COLORYELLOW;
GUA2:EMA(GUA1,3),COLORMAGENTA;
GUA3:EMA(GUA2,3),COLORGREEN;
GUP6:=MA(G1,13);
GUP7:=100-ABS((G1-GUP6)/GUP6*100);
GUP8:=MA(WINNER(G1*0.95)*100,1);
GUP9:=GUP8>GUP7;
STICKLINE(GUP9,G4,G2,0,1),COLORYELLOW;
STICKLINE(GUP9,G1,G3,3.2,0),COLOR117777;
STICKLINE(GUP9,G1,G3,2.6,0),COLOR119999;
STICKLINE(GUP9,G1,G3,1.9,0),COLOR11BBBB;
STICKLINE(GUP9,G1,G3,1.1,0),COLOR11DDDD;
STICKLINE(GUP9,G1,G3,0.3,0),COLORYELLOW;
DRAWICON(GUP8>GUP7 AND PERIOD=5,G4+0.1,25);
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G4,G2,0,1),COLORMAGENTA;
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G1,G3,3.2,0),COLORMAGENTA;
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G1,G3,2.6,0),COLOR990099;
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G1,G3,1.9,0),COLORBB00BB;
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G1,G3,1.1,0),COLORDD00DD;
STICKLINE(GUP9 AND GUP7>REF(GUP7,1) AND REF(GUP9,1)>0,G1,G3,0.3,0),COLORMAGENTA;
选股公式源码
{选股公式:红钻石图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=SUM(EMA((G1+G2)/2,1)/3,3),COLORYELLOW;
GUA2:=EMA(GUA1,3),COLORMAGENTA;
GUA3:=EMA(GUA2,3),COLORGREEN;
GUP6:=MA(G1,13);
GUP7:=100-ABS((G1-GUP6)/GUP6*100);
GUP8:=MA(WINNER(G1*0.95)*100,1);
GUP9:=GUP8>GUP7;
红钻石图标:GUP8>GUP7 AND PERIOD=5; |