RE: 庆祝升级,发大额分析分时指标
主贴正文:http://www.178448.com/thread-60970-1-1.html楼主空间:http://www.178448.com/space-uid-41576.html
回好帖,有礼貌,谢分享,祝成功
{转贴请注明来自股海明灯论坛:http://www.178448.com/forum.php} 谢谢 RCC:=DYNAINFO(3);
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=10*(S2-S6);
KK:=IF(PERIOD=5,0.95,1);
STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;
STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;
XG:HHV(H,480),DOTLINE,COLORRED;
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORGREEN;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'上突'),COLORYELLOW;
T:=BARSCOUNT(C);
TP:=FILTER( C>=HHV(H,T) AND V>MA(V,BARSCOUNT(CLOSE))*2 AND DYNAINFO(17)>1 AND TIMETOSEC(TIME)>39600 ,240) ;
DRAWTEXT(TP,L,'★突破'),COLORRED;
STICKLINE(TP,REFDATE(HHV(H,BARSCOUNT(CLOSE)),DATE),REFDATE(LLV(L,BARSCOUNT(CLOSE)),DATE),0,-1),COLORGREEN,LINETHICK2;
HHV(H,T),DOTLINE,COLOR00FFFF; 什么意思,搞不懂
:) 好好学习,天天向上。 好好学习天天向上 好好学习天天向上 没有回复前我试了一下,有错误 回复一下指标才完整 {强势抄底吃货A,副图} B:=EMA((C-LLV(L,3))/(HHV(H,3)-LLV(L,3))*C*1.2,3); 吃货:=COUNT(B<H*0.2,2) AND C/REF(C,1)>1.02,COLORRED;抄底吃货MQ:COUNT(吃货,2) AND (CROSS("KDJ.J"(9,3,3),"KDJ.K"(9,3,3))AND CROSS(C,MA(C,10)) OR CROSS("KDJ.J"(3,2,2),"KDJ.K"(3,2,2))AND CROSS(C,MA(C,5))),COLORYELLOW,LINETHICK2;螺旋A:=(C/REF(C,3)-1)*100; 大盘螺旋:=(INDEXC/REF(INDEXC,3)-1)*100,NODRAW; 抄底吃货MA:COUNT(抄底吃货MQ,2)AND COUNT(CROSS(螺旋A,0),3) AND COUNT(CROSS(大盘螺旋,0),3); STICKLINE(抄底吃货MA,0,0.8,2,0),COLORRED; STICKLINE(抄底吃货MA,0,0.3,5,0),COLORYELLOW; 关注:B<H*0.2,COLORRED; 关注介入:COUNT(B<H*0.2,2) AND C/REF(C,1)>1.02AND CROSS(C,B<H*0.2),COLORRED; 螺旋:(C/REF(C,3)-1)*100,NODRAW; 螺旋介入:CROSS(螺旋,0) AND COUNT(CROSS(大盘螺旋,0),3),NODRAW; 板块排序:HORCALC('板块指数',105,1,0),NODRAW; OB:SIGNALS_SYS(11); OS:SIGNALS_SYS(12); 什么意思,搞不懂 {TDX分时用}
LTA:=FINANCE(7)+300000000;
C1:=CLOSE;
V1:=TIME;
A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );
T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),
(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
成交额:AMOUNT,NODRAW;
VV2:=SUM(AMOUNT,T),NODRAW;
VV3:=VV2/T;
SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF(CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000000,3,
IF(CAPITAL<5000000,1.5,1)))))),NODRAW;
VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL *10000+0.1))*SS,NODRAW;
大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;
大额线位:大额线*100,COLOR00FFFF;
初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);
初负1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);
初正:=CONST(SUM(IF(初正1>=大额线 AND T=1,初正1,0),T)),NODRAW;
初负:=CONST(SUM(IF(初负1>=大额线 AND T=1,初负1,0),T)),NODRAW;
初正2:=CONST(SUM(IF(初正1<大额线 AND T=1,初正1,0),T)),NODRAW;
初负2:=CONST(SUM(IF(初负1<大额线 AND T=1,初负1,0),T)),NODRAW;
T00:=IF(C1>REF(C1,1),0.9,-0.9);
T01:=IF(C1<REF(C1,1),-0.9,0.9);
T02:=T00+T01,NODRAW;
TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;
TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;
TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));
正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交额,0),NODRAW;
负V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交额,0),NODRAW;
正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;
负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;
正V:=IF(正V1>=大额线,正V1,0);
负V:=IF(负V1>=大额线,负V1,0);
正V2:=IF(正V1<大额线,正V1,0);
负V2:=IF(负V1<大额线,负V1,0);
大正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;
大负总:初负+SUM(负V,T),NODRAW,COLOR00FF00;
差%大正总-大负总)/(大正总+大负总)*100,COLOR00FF00,NODRAW;
正总2:=初正2+SUM(正V2,T),NODRAW,COLOR0000FF;
负总2:=初负2+SUM(负V2,T),NODRAW,COLOR00FF00;
小差%正总2-负总2)/(正总2+负总2)*100,COLOR00FF00,NODRAW;
STICKLINE(TT=1,0,AMOUNT*100,3,1),COLOR0000FF;
STICKLINE(TT=-1,0,AMOUNT*100,3,0),COLOR00FF00;
STICKLINE(TT=0 AND TT1<TT2,0,AMOUNT*100,3,1),COLOR00FFFF;
STICKLINE(TT=0 AND TT1>TT2,0,AMOUNT*100,3,0),COLORFF0000;
STICKLINE(正V>大额线,0,AMOUNT*100,3,1),COLORFF00FF;
STICKLINE(负V>大额线,0,AMOUNT*100,3,0),COLORFFFFFF;
STICKLINE(T=1 AND 初正1>0,0,初正1*100,3,0),COLOR00FFFF;
STICKLINE(T=1 AND 初负1>0,0,初负1*100,3,0),COLORFF0000;
STICKLINE(T=1 AND 初正>0,0,初正*100,3,0),COLORFF00FF;
STICKLINE(T=1 AND 初负>0,0,初负*100,3,0),COLORFFFFFF;
KL:=FLOOR(LTA/10000000)/50,LINETHICK0;
VARA:=EMA(REF(CLOSE,1),4);
青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
绿水:=青山<3.5,COLORDBDBDB;
红红的天:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)
-LLV(LOW,27))*100,5,1),3,1),LINETHICK0;
DRAWICON(CROSS(红红的天,2),0,1);