【股票指标公式下载】-【通达信】K线形态解盘(早晨之星、黄昏之星、黄昏十字星)

合集下载

(精品)K线形态组合解析

(精品)K线形态组合解析
出现在下跌途中,阳线(亦可以是阴线)实体很小,上影 线大于或等于实体的两倍,一般无下影线,少数会略有 一点下影线
7.锤头线
见底信号,后市看涨,锤头实体与下影线比例越悬殊, 越有参考价值。
出现在下跌途中,阳线(亦可以是阴线)实体很小,下 影线大于或等于实体的两倍,一般无上影线,少数会略 有一点上影线。
5.旭日东升
注释:见底信号,后市看涨,强于曙光初现,阳线实体 高于阴线实体越多,转势信号越强。
出现在下跌趋势中,由一阴一阳2根K线组成,先是一根 大阴线或中阴线,接着出现一根高开的大阳线或中阳线 ,阳线的收盘价高于前一根阴线的开盘价。
6.倒锤头线
注释:见底信号,后市看涨,实体与上影线比例越悬殊信 号越有参考价值
注释:见底信号,后市看涨 在上涨途中出现,由若干K线组成,连续跳高开盘,即使 中间收出阴线,但收盘价比前一根K线的收盘价高
19.弧形线
注释:见底信号,后市看涨,一旦弧形线为市场认可, 上涨周期就很长
涨势初期出Байду номын сангаас,由若干K线组成,股价走势是一个向上的 抛物线
20.下探上涨形
注释:见底信号,后市看涨
46.徐缓下跌形
注释:卖出信号,后市看跌 多数出现在跌势初期,先连接出现几根小阴线,然后拉 出中大阴线
47.下跌不止形
注释:卖出信号,后市看跌
出现在下跌途中,由若干根阴线和阳线组成,但阴线大 大多于阳线,连续跳低开盘,即使中间收出阳线,但收 盘价也要比前一根K线收盘价低
48.高开出逃形
注释:卖出信号,后市看跌
注释:见顶信号,后市看跌 出现在上涨趋势中,先是一根大阳线或中阳线,后为一 连串的小阳小阴线,最后出现一根大阴线或中阴线
37.圆顶

通达信k线组合形态指标公式

通达信k线组合形态指标公式

通达信k线组合形态指标公式通达信K线组合形态指标公式是一种技术分析工具,用于分析股票市场中的价格走势和趋势。

该指标通过对K线图中的不同形态进行识别和分析,帮助投资者判断市场的买卖信号和趋势变化,从而指导投资决策。

通达信K线组合形态指标公式主要包括以下几个方面:1. 大阳线形态:大阳线形态是指当日的收盘价高于开盘价,并且涨幅较大的K线形态。

大阳线形态通常表示市场情绪乐观,买盘力量强劲,投资者可以考虑逢低买入。

2. 大阴线形态:大阴线形态是指当日的收盘价低于开盘价,并且跌幅较大的K线形态。

大阴线形态通常表示市场情绪悲观,卖盘力量强劲,投资者可以考虑逢高卖出或持币观望。

3. 缺口形态:缺口形态是指相邻两个交易日的开盘价之间存在明显的价格间隔。

缺口形态通常表示市场出现重要的突破或反转信号,投资者可以根据缺口的类型和位置来判断市场的走势。

4. 反转形态:反转形态是指市场价格走势由上升转为下降,或由下降转为上升的K线形态。

常见的反转形态包括头肩顶、双顶、头肩底、双底等。

反转形态通常表示市场即将发生趋势反转,投资者可以根据形态的完整性和确认信号来判断市场的转折点。

5. 持续形态:持续形态是指市场价格走势在一段时间内保持相对稳定的K线形态。

常见的持续形态包括盘整、上升通道、下降通道等。

持续形态通常表示市场处于震荡或趋势延续的状态,投资者可以根据形态的特征和交易信号来选择合适的买卖时机。

通达信K线组合形态指标公式的应用需要结合其他技术指标和量价分析进行综合判断,不能单独依靠形态指标进行交易决策。

投资者在使用该指标时应注意市场的整体趋势和风险控制,避免盲目跟随形态信号而导致损失。

总之,通达信K线组合形态指标公式是一种辅助投资决策的技术工具,通过对K线图中的不同形态进行识别和分析,帮助投资者判断市场的买卖信号和趋势变化。

投资者在使用该指标时应结合其他技术指标和量价分析进行综合判断,以提高投资决策的准确性和成功率。

【股票指标公式下载】【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)

【股票指标公式下载】【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)

【通达信】波段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(HZ2<HZ4,短波,HZ4,1,0),COLORBLUE ;STICKLINE(短波>HZ2,短波,HZ2,1,0),COLORGREEN;STICKLINE(中波>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<0 AND MACD<REF(MACD,1),C,O,2.8,0),COLORFF9900; STICKLINE(MACD<0 AND MACD<REF(MACD,1),H,L,0,0),COLORFFFF00;{黄}STICKLINE(MACD<0 AND MACD>REF(MACD,1),C,O,2.8,0),COLOR0099FF; STICKLINE(MACD<0 AND MACD>REF(MACD,1),H,L,0,0),COLOR00FFFF;T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0));N:=0.04;TS1:=IF(T1=1,0+N,0);TS2:=IF(T2=1,TS1+N,TS1);TS3:=IF(T3=1,TS2+N,TS2);TS4:=IF(T4=1,TS3+N,TS3);TS5:=IF(T5=1,TS4+N,TS4);TS6:=IF(T6=1,TS5+N,TS5);TS7:=IF(T7=1,TS6+N,TS6);TS8:=IF(T8=1,TS7+N,TS7);TS9:=IF(T9=1,TS8+N,TS8);TS10:=IF(T10=1,TS9+N,TS9);TS11:=IF(T11=1,TS10+N,TS10);TS12:=IF(T12=1,TS11+N,TS11);TS13:=IF(T13=1,TS12+N,TS12);TS14:=IF(T14=1,TS13+N,TS13);TS15:=IF(T15=1,TS14+N,TS14);TS16:=IF(T16=1,TS15+N,TS15);TS17:=IF(T17=1,TS16+N,TS16);TS18:=IF(T18=1,TS17+N,TS17);TS19:=IF(T19=1,TS18+N,TS18);TS20:=IF(T20=1,TS19+N,TS19);TS21:=IF(T21=1,TS20+N,TS20);TS22:=IF(T22=1,TS21+N,TS21);TS23:=IF(T23=1,TS22+N,TS22);TS24:=IF(T24=1,TS23+N,TS23);TS25:=IF(T25=1,TS24+N,TS24);TS26:=IF(T26=1,TS25+N,TS25);TS27:=IF(T27=1,TS26+N,TS26);TS28:=IF(T28=1,TS27+N,TS27);TS29:=IF(T29=1,TS28+N,TS28);TS30:=IF(T30=1,TS29+N,TS29);TS31:=IF(T31=1,TS30+N,TS30);TS32:=IF(T32=1,TS31+N,TS31);TS33:=IF(T33=1,TS32+N,TS32);TS34:=IF(T34=1,TS33+N,TS33);TS35:=IF(T35=1,TS34+N,TS34);TS36:=IF(T36=1,TS35+N,TS35);AAA:=CONST(HHV(H,90));DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升'); DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落'); DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转');DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号'); DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升');DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落');DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低');DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升');DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈');DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号');DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号');DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号');DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

【指标公式源码下载】通达信四彩K线KDJ主图指标公式

【指标公式源码下载】通达信四彩K线KDJ主图指标公式

通达信四彩K线KDJ主图指标公式零轴:=DYNAINFO(3)*1,COLOR0000FF;STICKLINE(1,90/100+零轴,90/100+零轴,2,0),COLOR00BBBB; STICKLINE(1,10/100+零轴,10/100+零轴,2,0),COLOR0000BB; STICKLINE(1,100/100+零轴,100/100+零轴,2,0),COLORBBBBBB; STICKLINE(1,50/100+零轴,50/100+零轴,2,0),COLORFF0000; STICKLINE(1,0/100+零轴,0/100+零轴,2,0),COLORBBBB00;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100+50/100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;KK:=零轴+K/100;DD:=零轴+D/100;JJ:=零轴+J/100;EE:=50/100+零轴;DRAWBAND(KK,RGB(200,0,150),EE,RGB(0,170,120));DRAWBAND(JJ,RGB(220,0,0),KK,RGB(120,120,170));DRAWKLINE(H,O,L,C);AAA:=JJ>=KK AND KK>=EE;BBB:=JJ>=KK AND KK<EE;DDD:=JJ<KK AND KK>=EE;EEE:=JJ<KK AND KK<EE;STICKLINE(AAA,H,L,0,0),COLOR0000FF;STICKLINE(BBB,H,L,0,0),COLORFF00FF;STICKLINE(DDD,H,L,0,0),COLOR00FFFF;STICKLINE(EEE,H,L,0,0),COLORFFFF00;STICKLINE(AAA,CLOSE,OPEN,3.2,0),COLOR000099;STICKLINE(AAA,CLOSE,OPEN,1.8,0),COLOR0000BB;STICKLINE(AAA,CLOSE,OPEN,1.3,0),COLOR0000DD;STICKLINE(AAA,CLOSE,OPEN,0.5,0),COLOR0000FF;STICKLINE(BBB,CLOSE,OPEN,3.2,0),COLOR990099;STICKLINE(BBB,CLOSE,OPEN,1.8,0),COLORAA00AA;STICKLINE(BBB,CLOSE,OPEN,1.3,0),COLORDD00DD;STICKLINE(BBB,CLOSE,OPEN,0.5,0),COLORFF00FF;STICKLINE(DDD,C,O,3.2,0),COLOR009999;STICKLINE(DDD,C,O,2.4,0),COLOR00BBBB;STICKLINE(DDD,C,O,1.0,0),COLOR00DDDD;STICKLINE(DDD,C,O,0.6,0),COLOR00FFFF;STICKLINE(EEE,C,O,3.2,0),COLOR999900;STICKLINE(EEE,C,O,1.6,0),COLORBBBB00;STICKLINE(EEE,C,O,1.0,0),COLORDDDD00;STICKLINE(EEE,C,O,0.5,0),COLORFFFF00;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;SELL2:=(CROSS(88,RSI1));DRAWTEXT(SELL2,HIGH*1.02,'←卖'),COLOR00FF00;VB1:=C-REF(C,1);VB2:=100*EMA(EMA(VB1,6),6)/EMA(EMA(ABS(VB1),6),6);VB3:=IF(LLV(VB2,2)=LLV(VB2,7) AND COUNT(VB2<0,2) AND CROSS(VB2,MA(VB2,2)),1,0);VB4:=FILTER(VB3=1,5);DRAWTEXT(VB4,LOW*0.98,'←买'),COLOR00FFFF;DRAWTEXT_FIX(1,0,0,0,HYBLOCK);威廉波段:=100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;威廉风险:=IF(威廉波段>95,(100/100+零轴)-(100/100+零轴)*0.009,100/100+零轴),COLOR00FFFF,LINETHICK0;DRAWBAND(100/100+零轴,RGB(220,220,0),威廉风险,RGB(0,0,0));WLDB:=IF(威廉波段<5,(0/100+零轴)+(0/100+零轴)*0.009,0/100+零轴),COLORFFFF00,LINETHICK1;DRAWBAND(WLDB,RGB(0,220,220),0/100+零轴,RGB(0,0,0));DRAWTEXT_FIX(1,0.05,0.0,0,'【彩色K线标识】★★红色柱---J大于K并在中轴上★★黄色柱--J小于K并在中轴上★★ '),COLORFFFFFF;DRAWTEXT_FIX(1,0.05,0.035,0,'【彩色K线标识】★★粉色柱---J大于K并在中轴下★★青色柱--J小于K并在中轴下★★ '),COLOR00FFFF;DRAWTEXT_FIX(1,0.05,0.07,0,'【彩色三角型标识】★★青色三角形---威廉底部★★黄色三角形--威廉顶部★★ '),COLORFFFF00;。

k线早晨之星黄昏之星指标

k线早晨之星黄昏之星指标

k线早晨之星黄昏之星指标K线早晨之星黄昏之星指标K线早晨之星和黄昏之星是技术分析中常用的两个形态指标,用于判断股票或其他金融资产的趋势转折点。

本文将详细介绍这两个指标的含义、特征和应用方法。

一、K线早晨之星K线早晨之星是一种看涨信号,通常出现在下跌趋势中,预示着股票或其他金融资产价格可能出现反转。

它由三根连续K线组成,具体特征如下:1. 第一根K线是一根长阴线,表示卖盘力量较强,下跌趋势仍在继续。

2. 第二根K线是一根较小的K线,它的实体部分位于第一根K线的下方,形成了一个下跌缺口。

这表明卖盘逐渐减弱,买盘开始进入市场。

3. 第三根K线是一根长阳线,它的实体部分位于第二根K线的上方,形成了一个上涨缺口。

这表明买盘力量强劲,价格可能出现反转。

K线早晨之星的出现意味着市场情绪由悲观转为乐观,投资者可以考虑买入股票或其他金融资产。

二、黄昏之星黄昏之星是一种看跌信号,通常出现在上涨趋势中,预示着股票或其他金融资产价格可能出现反转。

它也由三根连续K线组成,具体特征如下:1. 第一根K线是一根长阳线,表示买盘力量较强,上涨趋势仍在继续。

2. 第二根K线是一根较小的K线,它的实体部分位于第一根K线的上方,形成了一个上涨缺口。

这表明买盘逐渐减弱,卖盘开始进入市场。

3. 第三根K线是一根长阴线,它的实体部分位于第二根K线的下方,形成了一个下跌缺口。

这表明卖盘力量强劲,价格可能出现反转。

黄昏之星的出现意味着市场情绪由乐观转为悲观,投资者可以考虑卖出股票或其他金融资产。

三、应用方法在实际应用中,投资者可以通过以下步骤使用K线早晨之星和黄昏之星指标:1. 观察市场趋势:首先,需要判断当前的市场趋势是上涨还是下跌。

只有在明确的趋势中才能有效使用这两个指标。

2. 确认形态特征:在确定了市场趋势后,需要寻找K线早晨之星或黄昏之星形态。

根据前述特征,分别寻找三根连续K线,判断它们是否符合指标的要求。

3. 确认交易信号:当出现K线早晨之星时,意味着可以考虑买入;当出现黄昏之星时,意味着可以考虑卖出。

K线形态 通达信指标公式源码

K线形态 通达信指标公式源码

K线形态,成交量解盘主图,保证你看过不后悔好不好先上图,不用刻意挑选最成功的的股票,按照深市来000001TT:=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,120);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 ANDREF(OPEN,1)> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) ANDMIN(CLOSE,OPEN)> MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1) ,REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 ANDABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2) -REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1) <=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE, 2))<=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) ANDREF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) ANDREF(HIGH,4)>REF(HIGH,2)AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) ANDREF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) ANDREF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) ANDCLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0)); T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1) <REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0));T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPENAND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR(REF(CLOSE,1)>REF(OPEN,1)AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12=1,TS11+0.03,TS11);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T18=1,TS17+0.03,TS17);TS19:=IF(T19=1,TS18+0.03,TS18);TS20:=IF(T20=1,TS19+0.03,TS19);TS21:=IF(T21=1,TS20+0.03,TS20);TS22:=IF(T22=1,TS21+0.03,TS21);TS23:=IF(T23=1,TS22+0.03,TS22);TS24:=IF(T24=1,TS23+0.03,TS23);TS25:=IF(T25=1,TS24+0.03,TS24);TS26:=IF(T26=1,TS25+0.03,TS25);TS27:=IF(T27=1,TS26+0.03,TS26);TS28:=IF(T28=1,TS27+0.03,TS27);TS29:=IF(T29=1,TS28+0.03,TS28);TS30:=IF(T30=1,TS29+0.03,TS29);TS31:=IF(T31=1,TS30+0.03,TS30);TS32:=IF(T32=1,TS31+0.03,TS31);TS33:=IF(T33=1,TS32+0.03,TS32);TS34:=IF(T34=1,TS33+0.03,TS33);TS35:=IF(T35=1,TS34+0.03,TS34);TS36:=IF(T36=1,TS35+0.03,TS35);TS37:=IF(T37=1,TS36+0.03,TS36);TS38:=IF(T38=1,TS37+0.03,TS37);TS39:=IF(T39=1,TS38+0.03,TS38);TS40:=IF(T40=1,TS39+0.03,TS39);TS41:=IF(T41=1,TS40+0.03,TS40);TS42:=IF(T42=1,TS41+0.03,TS41);TS43:=IF(T43=1,TS42+0.03,TS42);DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLOR00FFFF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORFFFF00 ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORFFFF00 ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORFF00FF ;DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLOR0000FF ;DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORFFFF00 ;DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

4.早晨之星(启明星)K线组合形态图解

4.早晨之星(启明星)K线组合形态图解

4.早晨之星(启明星)K线组合形态图解早晨之星又称“黎明之星”、“启明星”、“希望之星”,是由三根K线组成的K线组合形态,它是一种行情见底转势的形态。

顾名思义:就是在太阳尚未升起的时候,黎明前最黑暗的时刻,一颗明亮的启明星在天边指引着那些走向光明的夜行人,前途当然看好。

这种形态如果出现在下降趋势中应引起注意,因为此时趋势已发出比较明确的反转信号,是一个非常好的买入时机。

早晨之星的K线形式一般出现在下降趋势的末端,是一个较强烈的趋势反转信号,谨慎的投资者可以结合成交量和其它指标分析,得出相应的投资参考。

形态简介:早晨之星(启明星)由三根K线组成,价格或指数在下跌过程中,某日价格或指数出现一根长长的阴线,第二根为向下跳空小实体线(或十字星),第三根是一根阳线,且收盘价显著地向上穿入第一根阴线实体内部,则形成早晨之星(启明星),早晨之星(启明星)被视为底部反转的信号。

这与黄昏之星形态刚好相反,操作也相反。

形态要点:早晨之星(启明星)的走势意味着下跌行情的结束,市场开始见底反弹,所以第一根线必须是阴线,承接前期的跌势,而第三根线必须是阳线,表明上升行情开始,而中间的那一根K线可以是阳线,也可以是阴线。

当第三根K线收盘价超过第一根K线实体的一半以上时,早晨之星的见底反转信号更加强烈。

技术含义:见底回升信号,后市看涨。

早晨之星止跌回升的效果与下列因素有密切关系:1、阳线实体深入阴线实体的部分越多,其转势信号越强;2、第一根K线对应的成交量越小,第三根K线对应的成交量越大,其信号就越可靠。

3、早晨十字星的转势信号比早晨之星强;早晨之星是见底信号,说明股价经过大幅回落后,做空能量已大量释放,股价无力再创新低,呈底部回升态势,是较明显的转向信号,见此K线组合后,再结合其他技术指标,可考虑适量买进做多。

操作策略:早晨之星(启明星)形态属于底部反转形态,预示着价格的上涨,形态确认后可以积极做多。

注意要点:1、“早晨之星”K线组合是股市中比较常见的底部或是阶段性底部的信号之一。

通达信主图K线图选股指标公式

通达信主图K线图选股指标公式

通达信主图K线图选股指标公式V1:=A bs((2*CLOSE+HIGH+LOW)/4-ma(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(dma(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORCYAN;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);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 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,L,L*0.98,3,0),COLORBLUE;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,H*1.01,H,3,0),COLOR00FF00{98FD};MA3:MA(C,3);MA5:MA(C,5),COLORRED;MA10:=MA(C,10),NODRAW;MA30:MA(C,34),NODRAW;五日乖离率:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;IF(BB5>30 AND MA5>REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORWHITE;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB5<0 AND MA5<REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORCYAN;DD5:=MA5<REF(MA5,1);IF(DD5,MA5,DRAWNULL),COLOR00FF00;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+1 5*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*RE F(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF (X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK1;{用法:黄托底买进,绿压顶买出。

第五讲:早晨十字星、黄昏十字星、早晨之星与黄昏之星的识与运用

第五讲:早晨十字星、黄昏十字星、早晨之星与黄昏之星的识与运用

早晨之星冉冉升起
此次1311点后在 月7日只出现阴十字 点后在1月 日只出现阴十字 此次 点后在 星的小幅震荡, 月 日马上以两阳夹一阴 星的小幅震荡,1月8日马上以两阳夹一阴 多头炮形式展开上攻,从最佳买点来看, 多头炮形式展开上攻,从最佳买点来看, 就是刚刚势如破竹吞食1月 日最高点 日最高点1346 就是刚刚势如破竹吞食 月7日最高点 点之际.当然这仅仅解决了"不买地价, 点之际.当然这仅仅解决了"不买地价, 买在鱼身" 而卖出的学问则更大. 买在鱼身",而卖出的学问则更大.
上海科技( 上海科技(600608)走势图 )
早晨之星冉冉升起
那么是否只要出现早晨之星就意味 着是一个很好的买点呢? 着是一个很好的买点呢?对于短线客而 晨星当中的第三根K线即阳线本身 言,晨星当中的第三根 线即阳线本身 就是一个较好的介入点,从此次1311点 就是一个较好的介入点,从此次 点 开始的反攻可得到验证.但这种简单的 开始的反攻可得到验证. 运用对于力求稳健或厌恶风险的投资者 而言仍然是风险性太高. 而言仍然是风险性太高.
悦达投资( 悦达投资(600805)走势图 )
黄昏之星落袋为安
实战中需注意: ,第二根K线的性质 实战中需注意:1,第二根 线的性质 较为重要,阴线比阳线见顶的可能性要高, 较为重要,阴线比阳线见顶的可能性要高, 阴或阳十字星比阳线见顶的可能性要高. 阴或阳十字星比阳线见顶的可能性要高. 如上海航空( 如上海航空(600591)在2003年4月17日长 ) 年 月 日长 阴后构筑黄昏之星, 月 日为长上影线 阴后构筑黄昏之星,其4月16日为长上影线 的阳十字星,随后股价跳空暴跌下行. 的阳十字星,随后股价跳空暴跌下行.
上证综指

通达信指标公式源码K线形态

通达信指标公式源码K线形态

通达信指标公式源码K线形态通达信是国内一款常用的股票分析软件,其拥有丰富的指标库。

下面是我随机选取的一些通达信指标公式源码,主要涉及K线形态的指标:1. 三重顶(ThreeTop)公式源码如下:```C:=REF(CLOSE,1);AVGMA:=(MAX(HIGH,C)+MIN(LOW,C))/2;XG:=AVGMA>REF(AVGMA,1)ANDAVGMA>REF(AVGMA,2)ANDREF(AVGMA,1)>R EF(AVGMA,2);COUNT1:=SUM(IF(XG,1,0),30);DST:=(C-LOW)/(HIGH-LOW)>IF(HIGH>REF(HIGH,1),0.75,1);COUNT2:=SUM(DST,30);THREETOP:CROSS(COUNT1,COUNT2)ANDCOUNT1>15ANDCOUNT2<5;```此公式计算了三重顶的形态,利用三个条件来判断:前一天的平均价大于前两天,前一天的收盘价高于前两天,且最近30天中出现三重顶的数量大于15个,且没有出现破位的情况。

2. 三重底(ThreeBottom)公式源码如下:```C:=REF(CLOSE,1);AVGMA:=(MAX(HIGH,C)+MIN(LOW,C))/2;XG:=AVGMA<REF(AVGMA,1)ANDAVGMA<REF(AVGMA,2)ANDREF(AVGMA,1)<R EF(AVGMA,2);COUNT1:=SUM(IF(XG,1,0),30);DST:=(C-LOW)/(HIGH-LOW)<IF(LOW<REF(LOW,1),0.25,0);COUNT2:=SUM(DST,30);THREEBTM:CROSS(COUNT1,COUNT2)ANDCOUNT1>15ANDCOUNT2<5;```此公式计算了三重底的形态,利用三个条件来判断:前一天的平均价小于前两天,前一天的收盘价低于前两天,且最近30天中出现三重底的数量大于15个,且没有出现破位的情况。

通达信四色k线主图指标公式

通达信四色k线主图指标公式

通达信四色k线主图指标公式通达信四色k线主图指标公式DD:=(H+L+2*C)/4;M3:EMA(DD,3);M8:EMA(DD,8);M21:EMA(DD,21);M55:EMA(DD,55),LINETHICK2,COLOR00FF00;TT:=BARSCOUNT(C);PT:=IF(TT<55,TT,55);上:M55+2.1*STD(C,PT),COLORRED;下:M55-2.1*STD(C,PT),COLOR00FF00;月涨幅:=(C-LLV(C,20))/LLV(C,20)*100;月跌幅:=(HHV(H,20)-C)/HHV(H,20)*100;DRAWTEXT(CROSS(上,M3),上,抛),COLORYELLOW;DRAWTEXT(CROSS(M3,下),下,抄),COLORYELLOW;HH:=MAX(MAX(MAX(M3,M8),M21),M55);LL:=MIN(MIN(MIN(M3,M8),M21),M55);SXZH:=HH/LL<=1.03 AND M3>REF(M3,1)AND M8>REF(M8,1) AND M21>REF(M21,1) AND M55>REF(M55,1);SXZL:=HH/LL<=1.03 AND M3<REF(M3,1)AND M8<REF(M8,1) AND M21<REF(M21,1) AND M55<REF(M55,1);向上:SXZH AND L<HH AND C>HH AND 月涨幅>月跌幅,NODRAW;向下:SXZL AND H>LL AND C<LL AND 月涨幅<月跌幅,NODRAW;DRAWICON(向上,MIN(L,LL)*0.97,1);DRAWICON(向下,MAX(H,HH)*1.03,2);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD:=2*(DIFF-DEA);做多:=IF(K>D AND MACD>0 AND V>1,2,0),COLORRED;做空:=IF(K<D AND MACD<0 AND V>1,-2,0),COLOR00FF00; 强洗:=IF(MACD>0 AND K<D AND V>1,1,0),COLOR0099FF; 弱升:=IF(MACD<0 AND K>D AND V>1,-1,0),COLORFFFF00; CCI:="I";DRAWICON(CCI>185 AND H>上,H*1.02,6); DRAWICON(CCI<-185,L*0.98,5);STICKLINE(做多,L,H,0.5,0),COLORRED;STICKLINE(做多 AND C>=O,C,O,3,1),COLORRED; STICKLINE(做多 AND C<O,C,O,3,0),COLORRED; STICKLINE(做空,L,H,0.5,0),COLOR00FF00;STICKLINE(做空 AND C>=O,C,O,3,1),COLOR00FF00; STICKLINE(做空 AND C<O,C,O,3,0),COLOR00FF00; STICKLINE(强洗,L,H,0.5,0),COLOR0099FF;STICKLINE(强洗 AND C>=O,C,O,3,1),COLOR0099FF; STICKLINE(强洗 AND C<O,C,O,3,0),COLOR0099FF; STICKLINE(弱升,L,H,0.5,0),COLORFFFF00;STICKLINE(弱升 AND C>=O,C,O,3,1),COLORFFFF00; STICKLINE(弱升 AND C<O,C,O,3,0),COLORFFFF00;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,2,0),COLORRED;STICKLINE(ZDF<-9.8,O,C,2,0),COLORBLUE;IF(M3>M8,M3,DRAWNULL),COLORFFFF00;IF(M8>M21,M8,DRAWNULL),COLORFFFF00;IF(M21>M55,M21,DRAWNULL),COLORFFFF00;IF(M55>REF(M55,1),M55,DRAWNULL),COLORRED,LINETHIC K2;。

解析几种三根K线的组合形态

解析几种三根K线的组合形态

解析几种三根K线的组合形态一、底部现阳线反转所谓底部现阳线反转,俗称为早晨之星,其位置主要出现在某只个股的底部,是一种十分明显的见底信号。

一般来讲,底部现阳线反转的特征有:在下降趋势中某一天出现一根长阴实体;第二天出现一根向下跳空低开的星形线,且最高价低于头一天的最低价,与第一天的阴线之间产生一个缺口;第三天出现一根长阳实体,且其长度至少要升至第一根阴线实体的二分之一处。

如果能够“包容”第一根阴线则最好不过了。

需要说明的是,第一根K线可以是中阴线,也可以是大阴线,但不是小阴线,第二根K线应该是一根止跌性的K线,如小阴线,小阳线,十字星,不是大阳线或中阳线。

第三根K线则是实体较长的中阳线或大阳线。

另外,第一根K 线后出现的第二根K线,可以是一根K线,也可以是两根K线,第三根K线的大阳线变为第四根K线。

在实战中,底部现阳线反转是典型的底部形态,通常出现在股价连续大幅下跌和数浪下跌的中期底部或大底部。

实际上,在底部容易出现底部现阳线反转组合,如果在市场出现大幅上涨之后,再度出现做多的信号是底部现阳线反转,买入的信号就要打折扣。

一般情况下,底部现阳线反转的出现,表明大势可指见底回升。

对于投资者而言,利用底部现阳线反转作为买进信号,其大前提是股价已有一定的跌幅,否则可能会出现判断失误。

另外,底部现阳线反转也有可能会被市场中的庄家所利用。

要识别底部现阳线反转是否为陷阱,关键要把握下面几点:第一,看股价的整体位置。

如果股价前期下跌幅度较大,已经严重超跌,底部现阳线反转成为反转信号的可能性比较大。

如果在下跌途中,下跌动能还没有得到有效释放,则很可能是诱多陷阱,短暂反弹后将重归跌势。

第二,看量。

如果下跌的时候无量而上涨的时候放量,这样的底部现阳线反转应更可靠,反转的成功率更高。

如果反弹无量能配合,则更可能是诱多的陷阱。

第三,需要后市确认,如果底部现阳线反转是陷阱则很快会滞涨,然后反转下跌,因为陷阱不可能隐藏很久。

通达信简约K线主图指标公式

通达信简约K线主图指标公式

通达信简约K线主图指标公式{涨跌停K线变色}C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,1,0),COLORYELLOW;{涨停K线色}跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,1,0),COLORBLUE;{跌停K线色} DRAWTEXT_FIX(C>0,0,0.15,0,'黄色K线是涨停,蓝色K线是跌停。

'),COLORWHITE;{大机构黄金波浪线}{精简版}{本指标核心}M8:=EMA(CLOSE,8);M13:=EMA(M8,13);VAR1:=EMA(M13,62);VAR2:=(CLOSE+HIGH+LOW)/3;VAR3:=EMA(VAR2,10);VAR4:=REF(VAR3,1);STICKLINE(VAR3>VAR4,VAR3,VAR4,0.28,0),COLOR00FFFF;STICKLINE(VAR3<VAR4,VAR3,VAR4,0.28,0),COLORFF0000;{均线}MA5:MA(CLOSE,5)COLORWHITE;MA10:MA(CLOSE,10)COLORYELLOW;MA20:MA(CLOSE,20)COLORGREEN;MA60:MA(CLOSE,60)COLORDB00DB;{区间换手率}DRAWTEXT_FIX(ISLASTBAR,0.985,0.01,1.0,STRCAT('今日换手率: ', CON2STR(DYNAINFO(37)*100,2))),COLORC080FF;DRAWTEXT_FIX(ISLASTBAR,0.985,0.06,1.0,STRCAT('5日换手率: ', CON2STR(SUM(DYNAINFO(37)*100,5),2))),COLORC080FF;DRAWTEXT_FIX(ISLASTBAR,0.985,0.11,1.0,STRCAT('20日换手率: ', CON2STR(SUM(DYNAINFO(37)*100,20),2))),COLORC080FF;{基本面}{------第1行-------所属行业及板块-------------}DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLORC080FF;DRAWTEXT_FIX(1,0.04,0,0,HYBLOCK)COLORC080FF;DRAWTEXT_FIX(1,0.08,0,0,'所属地区:')COLORC080FF;DRAWTEXT_FIX(1,0.12,0,0,DYBLOCK)COLORC080FF;DRAWTEXT_FIX(1,0.16,0,0,'概念板块:')COLORC080FF;DRAWTEXT_FIX(1,0.20,0,0,GNBLOCK)COLORC080FF;{------第二行------重要参考------------------}DRAWTEXT_FIX(1,0.00,0.05,0,'重要参考:')COLORC080FF;DRAWTEXT_FIX(1,0.04,0.05,0,'每股净资产:'),COLORC080FF;DRAWNUMBER_FIX(1,0.09,0.05,0,FINANCE(34)),COLORC080 FF;DRAWTEXT_FIX(1,0.13,0.05,0,'每股未分配利润:'),COLORC080FF;DRAWNUMBER_FIX(1,0.19,0.05,0,FINANCE(32)),COLORC080 FF;DRAWTEXT_FIX(1,0.23,0.05,0,'每股公积金:'),COLORC080FF;DRAWNUMBER_FIX(1,0.28,0.05,0,FINANCE(18)),COLORC080 FF;。

【股票指标公式下载】-【通达信】K线形态解盘(早晨之星黄昏之(精)

【股票指标公式下载】-【通达信】K线形态解盘(早晨之星黄昏之(精)

【通达信】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,120);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1) -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9); TS11:=IF(T11=1,TS10+0.03,TS10); TS12:=IF(T12=1,TS11+0.03,TS11); TS13:=IF(T13=1,TS12+0.03,TS12); TS14:=IF(T14=1,TS13+0.03,TS13); TS15:=IF(T15=1,TS14+0.03,TS14); TS16:=IF(T16=1,TS15+0.03,TS15); TS17:=IF(T17=1,TS16+0.03,TS16); TS18:=IF(T18=1,TS17+0.03,TS17); TS19:=IF(T19=1,TS18+0.03,TS18); TS20:=IF(T20=1,TS19+0.03,TS19); TS21:=IF(T21=1,TS20+0.03,TS20); TS22:=IF(T22=1,TS21+0.03,TS21); TS23:=IF(T23=1,TS22+0.03,TS22); TS24:=IF(T24=1,TS23+0.03,TS23); TS25:=IF(T25=1,TS24+0.03,TS24); TS26:=IF(T26=1,TS25+0.03,TS25); TS27:=IF(T27=1,TS26+0.03,TS26); TS28:=IF(T28=1,TS27+0.03,TS27); TS29:=IF(T29=1,TS28+0.03,TS28); TS30:=IF(T30=1,TS29+0.03,TS29); TS31:=IF(T31=1,TS30+0.03,TS30); TS32:=IF(T32=1,TS31+0.03,TS31); TS33:=IF(T33=1,TS32+0.03,TS32); TS34:=IF(T34=1,TS33+0.03,TS33); TS35:=IF(T35=1,TS34+0.03,TS34); TS36:=IF(T36=1,TS35+0.03,TS35); TS37:=IF(T37=1,TS36+0.03,TS36); TS38:=IF(T38=1,TS37+0.03,TS37); TS39:=IF(T39=1,TS38+0.03,TS38); TS40:=IF(T40=1,TS39+0.03,TS39); TS41:=IF(T41=1,TS40+0.03,TS40); TS42:=IF(T42=1,TS41+0.03,TS41); TS43:=IF(T43=1,TS42+0.03,TS42);DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLOR00FFFF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORFFFF00 ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORFFFF00 ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORFF00FF ;DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLOR0000FF ;DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORFFFF00 ;DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

通达信十字星线选股指标公式

通达信十字星线选股指标公式

通达信十字星线选股指标公式XV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);{虚拟成交量}HS:=XV/CAPITAL*100;{换手}TJ1:=REF(O,1)<=REF(L,2) || REF(O,1)>=REF(H,2);{下跳十字星线或上跳十字星线}TJ2:=ABS(REF(C,1)-REF(O,1))/(REF(H,1)-REF(L,1))<3/10;{K线实体%比小于3/10}TJ3:=XV/REF(VOL,1)>1.5;{单日量比>1.5}TJ4:=HS>3;{换手>3}TJ5:=C>REF(H,1);{十字星线反转或向上确认}XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5;简单的通达信十字星选股(基础,可以改进)1.C/O=1 AND HIGH>C AND LOW<C;2.缩量且K线为十字星VOL<REF(VOL,1) AND VOL<MA(VOL,5) AND VOL/CAPITAL<0.03 AND0.997<C/O AND C/O<1.003 AND H>L;通达信十字星选股副图公式XG5:=C=O AND C>2 AND O>2 AND 去除大盘股AND V<REF(V,1) ;关注十字星:XG5,LINETHICK0;DRAWBAND(0>关注十字星,RGB(0,0,0),0<关注十字星,RGB(255,0,0));DRAWTEXT(XG5,关注十字星,'关注十字星'),COLOR0000FF;通达信十字星选股(貌似相同,待研究)理念:当价格上涨超过前一天的高点(条件2);而前一天的最低价又比更前一天最低价还低的时候(条件1);那么这就是短期低点所在的位置。

【股票指标公式下载】-【通达信】星日同辉(全仓、买卖)

【股票指标公式下载】-【通达信】星日同辉(全仓、买卖)

【通达信】星日同辉(全仓、买卖)-指标公式源码天:80,COLORBLUE,LINETHICK4,POINTDOT;海:20,COLORFF00FF,LINETHICK4,POINTDOT;ZKK:"KD.K#WEEK"(9,3,3),COLORRED;ZKD:"KD.D#WEEK"(9,3,3),COLORYELLOW;KCD:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1)<30,13);KCD1:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1)>30,13); DRAWICON(KCD1,ZKD,23);XG1:=KCD;STICKLINE(XG1,20,10,4,0),COLOR000099;STICKLINE(XG1,20,10,2,0),COLOR0000BB;STICKLINE(XG1,20,10,1,0),COLOR0000DD;STICKLINE(XG1,0,20,0.3,0),COLOR0000FF;DRAWTEXT(XG1,20,'K买'),COLOR0000FF;SCD:=FILTER(CROSS(ZKD,ZKK) AND REF(ZKK,1)>78,13);STICKLINE(SCD,90,80,4,0),COLOR009900;STICKLINE(SCD,90,80,2,0),COLOR00BB00;STICKLINE(SCD,90,80,1,0),COLOR00DD00;STICKLINE(SCD,100,80,0.3,0),COLOR00FF00;DRAWTEXT(SCD,95,'K卖'),COLOR00FF00;DIFW:="MACD.DIF#WEEK"(12,26,9);DEAW:="MACD.DEA#WEEK"(12,26,9);FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13);XG2:=FCA;STICKLINE(XG2,10,20,4,0),COLOR990099;STICKLINE(XG2,10,20,2,0),COLORBB00BB;STICKLINE(XG2,10,20,1,0),COLORDD00DD;STICKLINE(XG2,10,20,0.3,0),COLORFF00FF;DRAWTEXT(XG2,10,'M买'),COLORFF00FF;SCA:=FILTER(CROSS(DEAW,DIFW) AND REF(DIFW,1)>0,13); STICKLINE(SCA,90,80,4,0),COLOR999900;STICKLINE(SCA,90,80,2,0),COLORBBBB00;STICKLINE(SCA,90,80,1,0),COLORDDDD00;STICKLINE(SCA,90,80,0.3,0),COLORFFFF00;DRAWTEXT(SCA,83,'M卖'),COLORFFFF00;STICKLINE(XG1 AND XG2,20,80,0.1,0 ),COLORFF00FF;DRAWTEXT(XG1 AND XG2,50,'K.M买'),COLORRED;DRAWTEXT(XG1 AND XG2,43,'全仓'),COLORRED;STICKLINE(SCD AND SCA,20,80,0.1,0 ),COLOR00FF00;DRAWTEXT(SCD AND SCA,50,'K.M卖'),COLORFF0000;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);TJ1:=DIFF>DEA;SA1:=DIFF<DEA;RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);TJ2:=K>D;SA2:=K<D;LC:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100; TJ3:=RSI1>RSI2;SA3:=RSI1<RSI2;LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,3,1);TJ4:=LWR1>LWR2;SA4:=LWR1<LWR2;BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;TJ5:=CLOSE>BBI;SA5:=C<BBI;MTM:=CLOSE-REF(CLOSE,1);MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3);MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12);TJ6:=MMS>MMM;SA6:=MMS<MMM;TTJ:=TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6;TTJ0:=FILTER(TTJ,13);GOLD:=TTJ0;STICKLINE(GOLD,20,30,4,0),COLOR009999;STICKLINE(GOLD,20,30,2,0),COLOR00BBBB;STICKLINE(GOLD,20,30,1,0),COLOR00DDDD;STICKLINE(GOLD,10,30,0.3,0),COLOR00FFFF;DRAWTEXT(GOLD,33,'金指'),COLOR00FFFF;SAA:=SA1 AND SA2 AND SA3 AND SA4 AND SA5 AND SA6;SAA0:=FILTER(SAA,13);SAIL:=SAA0;STICKLINE(SAIL,80,70,4,0),COLOR990000;STICKLINE(SAIL,80,70,2,0),COLORBB0000;STICKLINE(SAIL,80,70,1,0),COLORDD0000;STICKLINE(SAIL,90,70,0.3,0),COLORFF0000;DRAWTEXT(SAIL,75,'指卖'),COLORFF0000;【通达信】星日同辉(全仓、买卖)-指标公式效果图(文档来源:若水财经社区)。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【通达信】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,120);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1) -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9); TS11:=IF(T11=1,TS10+0.03,TS10); TS12:=IF(T12=1,TS11+0.03,TS11); TS13:=IF(T13=1,TS12+0.03,TS12); TS14:=IF(T14=1,TS13+0.03,TS13); TS15:=IF(T15=1,TS14+0.03,TS14); TS16:=IF(T16=1,TS15+0.03,TS15); TS17:=IF(T17=1,TS16+0.03,TS16); TS18:=IF(T18=1,TS17+0.03,TS17); TS19:=IF(T19=1,TS18+0.03,TS18); TS20:=IF(T20=1,TS19+0.03,TS19); TS21:=IF(T21=1,TS20+0.03,TS20); TS22:=IF(T22=1,TS21+0.03,TS21); TS23:=IF(T23=1,TS22+0.03,TS22); TS24:=IF(T24=1,TS23+0.03,TS23); TS25:=IF(T25=1,TS24+0.03,TS24); TS26:=IF(T26=1,TS25+0.03,TS25); TS27:=IF(T27=1,TS26+0.03,TS26); TS28:=IF(T28=1,TS27+0.03,TS27); TS29:=IF(T29=1,TS28+0.03,TS28); TS30:=IF(T30=1,TS29+0.03,TS29); TS31:=IF(T31=1,TS30+0.03,TS30); TS32:=IF(T32=1,TS31+0.03,TS31); TS33:=IF(T33=1,TS32+0.03,TS32); TS34:=IF(T34=1,TS33+0.03,TS33); TS35:=IF(T35=1,TS34+0.03,TS34); TS36:=IF(T36=1,TS35+0.03,TS35); TS37:=IF(T37=1,TS36+0.03,TS36); TS38:=IF(T38=1,TS37+0.03,TS37); TS39:=IF(T39=1,TS38+0.03,TS38); TS40:=IF(T40=1,TS39+0.03,TS39); TS41:=IF(T41=1,TS40+0.03,TS40); TS42:=IF(T42=1,TS41+0.03,TS41); TS43:=IF(T43=1,TS42+0.03,TS42);DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLOR00FFFF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORFFFF00 ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORFFFF00 ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORFF00FF ;DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLOR0000FF ;DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORFFFF00 ;DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

相关文档
最新文档