资源描述:
《【股票指标公式下载】-【通达信】k线形态解盘(早晨之星、黄昏之星、黄昏十字星)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、【通达信】K线形态解盘(早晨之星、黄昏之星、黄昏十字星)-指标公式源码TT:=240/FROMOPEN;比:=TT;J12:=(HIGH-((HIGH-LOW)/3));J23:=(LOW+((HIGH-LOW)/3));AAA:=CONST(HHV(H,90));BBB:=CONST(LLV(L,100));DRAWBAND(AAA,RGB(50,100,00),BBB,RGB(00,00,00));MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);MA5:MA(CLOSE,1
2、20);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,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(O]
3、PEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<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、F(OPEN,1)=REF(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*(MAX(OPEN,C]
5、LOSE)-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、HIGH-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>REF(OPEN,1)ANDOPEN]7、ST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03ANDCLOSE/OPEN<0.97ANDOPEN>REF(CLOSE,1)ANDCLOSE[1.03ANDOPEN][REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>]
8、0.04ANDABS(C