太极箱体
-
相关简介:太极箱体 C/C++ Code 复制内容到剪贴板 input:T(38,1,100),DDF(18,13,30); VAR1N:=1980331; U1:=IF(DATE=VAR1N,1,0); N:=13; 【箱顶】:PEAK(CLOSE,N,1)*U1*0.98,LINETHICK2,colorFF99FF; PEAK(CLOSE,N,1)*U1*0.99,LINETHICK2,colorFF99FF; 【箱顶】B:=PEAK(CLOSE,N,1)*U1*0.9
-
文章来源:择股网作者:股海网发布时间:2009-06-13浏览次数:
太极箱体
C/C++ Code复制内容到剪贴板
- input:T(38,1,100),DDF(18,13,30);
- VAR1N:=1980331;
- U1:=IF(DATE<=VAR1N,1,0);
- N:=13;
- 【箱顶】:PEAK(CLOSE,N,1)*U1*0.98,LINETHICK2,colorFF99FF;
- PEAK(CLOSE,N,1)*U1*0.99,LINETHICK2,colorFF99FF;
- 【箱顶】B:=PEAK(CLOSE,N,1)*U1*0.95;
- 【箱底】:TROUGH(CLOSE,N,1)*U1*1.02,LINETHICK2;
- TROUGH(CLOSE,N,1)*U1*1,LINETHICK2;
- VARA:=IF(CLOSE>150,91.3,0.913);
- 箱下沿:=INTPART(CLOSE/VARA)*VARA;
- 箱上沿:=箱下沿+VARA;
- 箱中线:=(箱下沿+箱上沿)/2;
- 走势:=SMA(FORCAST(CLOSE,18),6,1);
- 黄金定位线:HHV(走势,3)*0.96*U1,LINETHICK4,color4080;
- EMA(黄金定位线,3)*0.98*U1,LINETHICK2,color4080;
- LC:=REF(CLOSE,1);
- RSI:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
- E:=CROSS(83,RSI);
- DRAWICON(E,HIGH,2);
- DRAWTEXT(E,HIGH,'准备减仓'),colorFF9966;
- VAR0:=EMA(EMA(EMA(CLOSE,2),2),2);
- 钓鱼线:HHV(VAR0,5)*0.98*U1,LINETHICK2,colorFF00;
- EMA(钓鱼线,3)*U1,LINETHICK1;
- 收盘价格:CLOSE,POINTDOT;
- B0:=REF(CLOSE-OPEN,2);
- B1:=REF(CLOSE,1);
- B2:=REF(CLOSE,2);
- B3:=REF(CLOSE,3);
- B4:=REF(CLOSE,4);
- CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);
- CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3)*U1;
- STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 OR B2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,5,1),colorFF;
- STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,5,1),colorFF;
- STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 OR B2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,5,0),colorFF00;
- STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,5,0),colorFF00;
- STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 OR B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,5,0),colorFF00;
- STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 OR B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,5,1),colorFF;
- K1:=EMA(CLOSE,3);
- K2:=EMA(CLOSE,5);
- K3:=EMA(CLOSE,8);
- K4:=EMA(CLOSE,13);
- K5:=EMA(CLOSE,15);
- K:=EMA(CLOSE,21);
- QQ:=(MA(K1,1)+MA(K2,3)+MA(K3,5)+MA(K4,7)+MA(K5,9))/5;
- K6:=EMA(CLOSE,30);
- MA13:=MA(QQ,13);
- 暗器24:=IF(CROSS(K6,QQ),【箱底】,0);
- DRAWTEXT(暗器24>0,LOW,'■神偷关注'),colorFFFF;
- DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'《股海神偷独门暗器指标》:版块:'+BLKNAME),ALIGN4,colorFFFF;
- DRAWTEXT(SYSPARAM(3)=BARPOS,CLOSE,'证券代码:'+STKLABEL),ALIGN5,PXUP4,colorFF00;
- MA6:=MA(CLOSE,5);
- MA18:=MA(CLOSE,21);
- MA55:=MA(CLOSE,34);
- MA125:=MA(CLOSE,125);
- MA250:=MA(CLOSE,250);
- DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIFF,9);
- MACD:=2*(DIFF-DEA);
- 加码价:=((CLOSE-REF(MA18,1))/18+MA18)*1.004;
- 加码条件:=CROSS(CLOSE,加码价) AND 加码价>REF(加码价,1);
- 黄K出现股价站上临界点加码:=IF(加码条件,LOW,HIGH)*U1;
- STICKLINE(加码条件 AND MACD<0.1,HIGH,LOW,0,1),LINETHICK2,colorFFFF;
- STICKLINE(加码条件 AND MACD<0.1,OPEN,CLOSE,4,1),LINETHICK2,colorFFFF;
- DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIFF,9);
- MACD:=2*(DIFF-DEA);
- HH:=MA(CLOSE,10);
- GG:=MA(CLOSE,12);
- 上:=FFT(MA(HIGH,3)*1.05,30);
- 下:=FFT(MA(LOW,3)*0.96,30);
- DIFF2:=EMA(CLOSE,2)-EMA(OPEN,5);
- 操盘手:=DIFF2;
- 短线5%选股2:=IF(CROSS(操盘手,MACD) AND MACD<=-0.12 AND LOW<=下,1,0);
- DRAWTEXT(短线5%选股2>0,【箱底】*0.98,'●'),PXUP6,color4600FF;
- DRAWTEXT(短线5%选股2>0,【箱底】*0.95,'红球出现等股价靠近钓鱼线qqc
- '),colorFFFF;
- VAR1:=IF(DATE<=1090531,1,0);
- TYP:=(HIGH+LOW+CLOSE)/3;
- CCIX:=(TYP-MA(TYP,3))/(0.055*AVEDEV(TYP,3));
- 超声波:=EMA(CCIX,2)*VAR1;
- 短线进出:=3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,5,1),3,1);
- 低吸区:=(IF(短线进出<=10 AND 超声波<-20,-20,0))*(U1);
- DRAWTEXT(低吸区<0,【箱底】*1.12,'◎\n==\n出\n手\n赢\n赢\n**\n'),PXUP6,color4600FF;
- VAR1R:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;
- VAR2R:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
- VAR3R:=VAR1R AND VAR2R;
- BY20:=MA(CLOSE,5);
- 招财猫:=MA(CLOSE,20)*U1;
- 助涨线:=(IF(BY20>招财猫,招财猫,BY20))*U1;