股票公式源码
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);
AJ:= 3*BDAK-2*AD1;
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);
多头能量:= 2*(SK-SD)*3.8;
空头能量:=(-2)*(SK-SD)*3.8;
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);
图片示例
·END·
股旁网
好公式 只为你