通达信按步就班指标公式
2020/3/2 19:15:34
ZIG2:=(HIGH+LOW+CLOSE*2)/4;
ZIG3:=EMA(ZIG2,17);
ZIG4:=STD(ZIG2,17);
ZIG5:=((ZIG2-ZIG3)/ZIG4*100+200)/4;
ZIG6:=(EMA(ZIG5,5)-25)*1.56;
FFT2:=(HHV(HIGH,3)+LLV(LOW,3)+CLOSE*2)/4;
FFT3:=EMA(FFT2,25);
FFT4:=STD(FFT2,25);
FFT5:=((FFT2-FFT3)/FFT4*100+200)/4;
FFT6:=(EMA(FFT5,20)-25)*1.56;
PEAK1:=EMA(CLOSE,12)-EMA(CLOSE,26);
COST1:=EMA(PEAK1,9);
BACKSET1:=(PEAK1-COST1)*2,COLORSTICK;
AK: EMA(ZIG6,2)*1.22;AD: EMA(AK,2);AJ: 3*AK-2*AD,LINETHICK2;
BK: EMA(FFT6,3)*1.22,COLORWHITE;BD: EMA(BK,3),COLORLIBLUE;
BJ: 3*BK-2*BD,COLORLIGREEN;
XMA1:=MA(((3*C+L+O+H)/6),3),LINETHICK1,COLORGRAY;
IF(CLOSE>=SAR(4,2,20)*0.98,BD,DRAWNULL),LINETHICK1,COLORLIRED;
{投股票网-股票公式网站 www.tou18.cn}
DRAWICON(CROSS(XMA1,SAR(4,2,20))=1,BD-10,7);
DRAWICON(CROSS(SAR(4,2,20),XMA1)=1,BD+10,8);
DRAWICON(CROSS(AD,AK),AD+10,2);
DRAWICON(CROSS(AK,AD) AND UPNDAY((O+C)/2,1),AD-10,1);
DRAWICON(CROSS(AD,AK) AND AK<BK AND DOWNNDAY(MA(C,18),1),AD+15,2);
DRAWICON(CROSS(AK,AD) AND AK>BK AND UPNDAY(MA(C,18),1),AD-15,1);
LA:100,POINTDOT;LB:0,POINTDOT;LC:80,POINTDOT;LD:20,POINTDOT;
IF(BD>=REF(BD,1) && BACKSET1>=0,BD,DRAWNULL),STICK,COLORRED;
投 股票网 www.t ou18.cn
股市公式下载推荐