资源描述:
《【股票指标公式下载】-【通达信】K线解盘(K线形态、趋》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】K线解盘(K线形态、趋势停顿、反转)-指标公式源码MA5:MA(C,5);MA10:MA(C,10);MA20:MA(C,20);MA55:MA(C,55),LINETHICK2;MA144:MA(C,144),LINETHICK2;MA233:MA(C,233),LINETHICK2;回调认同:EMA(EXPMA(C,20),13),CROSSDOT,LINETHICK1,COLORRED;{K线形态解盘}AAA:=CONST(HHV(H,90));T1{早晨之星}:=CONST(IF((REF(CLOSE,
2、2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)[1.05ANDCLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2)>1.03ANDREF(OPEN,1)>REF(CLOSE,2)ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1]
3、)<0.02ANDCLOSE/OPEN<0.97ANDCLOSE[1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPENANDCLOSE=LOWANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)]4、EF(CLOSE,1)ANDCLOSE/OPEN>1.05ANDCLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2)>1.05ANDREF(OPEN,1)>REF(CLOSE,2)ANDREF(OPEN,1)=REF(CLOSE,1)ANDCLOSE/OPEN<0.95ANDCLOSE[3*(]
5、MAX(OPEN,CLOSE)-LOW)ANDCLOSE>MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOWANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)ANDCLOSE3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE6、NST(IF((HIGH=MAX(OPEN,CLOSE)ANDHIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03ANDCLOSE/OPEN<0.96ANDCLOSE[REF(CLOSE,1))OR(REF(CLOSE,1)/REF(OPEN,1)<0.97ANDCLOSE/OPEN>1.04ANDCLOSE>RE]
7、F(OPEN,1)ANDOPEN[1.03ANDCLOSE/OPEN<0.97ANDOPEN>REF(CLOSE,1)ANDCLOSE][1.03ANDOPEN][REF(CLOSE,1]
8、)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04ANDABS(CLOSE-OPEN)/CLOSE<0.005ANDMAX(CLOSE,OPEN)