副图公式源码支持: 手机/电脑
GUP2:=(HIGH+LOW+CLOSE*2)/4;
GUP3:=EMA(GUP2,21);
GUP4:=STD(GUP2,21);
GUP5:=((GUP2-GUP3)/GUP4*100+200)/4;
GUP6:=(EMA(GUP5,5)-25)*1.56;
BDAK:=EMA(GUP6,2)*1.22;
AD1:=EMA(BDAK,2);
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP22:=LLV(LOW,34);
GUP32:=HHV(HIGH,34);
CYSK:=EMA((GUP12-GUP22)/(GUP32-GUP22)*100,13);
CYSD:=EMA(CYSK,3);
GUP13:=(CLOSE*2+HIGH+LOW)/4;
SK:=(EMA(GUP13,13)-EMA(GUP13,21))*100;
SD:= EMA(SK,2);
BDZX:=CROSS(BDAK,AD1) OR BARSLAST(CROSS(BDAK,AD1))<=1;
CYHT:=CROSS(CYSK,CYSD) OR BARSLAST(CROSS(CYSK,CYSD))<=1;
DXGS:=CROSS(SK,SD);
买入:IF(BDZX AND CYHT AND DXGS,50,0);
卖出:IF(CROSS(AD1,BDAK) OR CROSS(CYSD,CYSK) OR CROSS(CYSD,CYSK),50,100);
选股公式源码
{选股公式:买入}
GUP2:=(HIGH+LOW+CLOSE*2)/4;
GUP3:=EMA(GUP2,21);
GUP4:=STD(GUP2,21);
GUP5:=((GUP2-GUP3)/GUP4*100+200)/4;
GUP6:=(EMA(GUP5,5)-25)*1.56;
BDAK:=EMA(GUP6,2)*1.22;
AD1:=EMA(BDAK,2);
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP22:=LLV(LOW,34);
GUP32:=HHV(HIGH,34);
CYSK:=EMA((GUP12-GUP22)/(GUP32-GUP22)*100,13);
CYSD:=EMA(CYSK,3);
GUP13:=(CLOSE*2+HIGH+LOW)/4;
SK:=(EMA(GUP13,13)-EMA(GUP13,21))*100;
SD:= EMA(SK,2);
BDZX:=CROSS(BDAK,AD1) OR BARSLAST(CROSS(BDAK,AD1))<=1;
CYHT:=CROSS(CYSK,CYSD) OR BARSLAST(CROSS(CYSK,CYSD))<=1;
DXGS:=CROSS(SK,SD);
买入:IF(BDZX AND CYHT AND DXGS,50,0); |