2018通达信指标公式 通达信尖底抄底副图公式源码(3)
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
NOTEXT①:IF(REF((MA(ADVANCE,5)-ADVANCE)/ADVANCE>0.04 AND (MA(ADVANCE,10)-MA(ADVANCE,5))/MA(ADVANCE,5)>0.04 AND 观望期=0 AND ADVANCE>REF(ADVANCE,1),1),44,0),COLORCYAN,LINETHICK3;
NOTEXT②:IF(REF(KDJ.J,1)<0 AND KDJ.J>0 AND TAI1>=TAI2 AND TAI3>TAI4,34,0),COLORRED,LINETHICK3;
NOTEXT③:IF(REF(股市黑客,1)<=13 AND CROSS(股市黑客,升跌临界) AND REF(MA(ADVANCE,55),1)>REF(MA(ADVANCE,55),2) AND (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;
NOTEXT④:IF(底背离,57,0),COLORBROWN,LINETHICK3;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)