资源描述:
《【股票指标公式下载】-【通达信】波段k线解盘(中短波、早晨之星、黄昏之星、大阴烛)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)-指标公式源码{中短波}短波:EMA(EMA(CLOSE,13),1),COLOR00DD00;中波:EMA(EMA(CLOSE,13),26),COLORRED;HZ2:EMA(EMA(CLOSE,13),8),COLORGREEN,LINETHICK2;HZ4:EMA(EMA(CLOSE,13),39),COLORFF00FF,LINETHICK2;STICKLINE(HZ2HZ2,短波,HZ2,1,0),COLORGREEN;STICK
2、LINE(中波>HZ4,中波,HZ4,1,0),COLORFF00FF;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);{红}STICKLINE(MACD>0,C,O,2.8,0),COLOR000080;STICKLINE(MACD>0,H,L,0,0),COLOR0000E5;{淡蓝}STICKLINE(MACD<0ANDMACD3、),COLORFFFF00;{黄}STICKLINE(MACD<0ANDMACD>REF(MACD,1),C,O,2.8,0),COLOR0099FF;STICKLINE(MACD<0ANDMACD>REF(MACD,1),H,L,0,0),COLOR00FFFF;T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)[1.05ANDCLOSE>REF(CLO]
4、SE,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)<0.02ANDCLOSE/OPEN<0.97ANDCLOSE[1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPENANDCLOSE=LOWANDCLOSE!=HI]
5、GH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)[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]6、EF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOWANDHIGH-LOW>3*(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,CLO
7、SE))ANDCLOSE3*(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,]