TA的每日心情 | 开心 2024-12-8 10:18 |
---|
签到天数: 2319 天 [LV.Master]伴坛终老
|
指标源代码:
参数N=27
DRAWGBK(CLOSE>0, COLORRGB(1,3333,6666), COLORRGB(1,8888,8888),3);
盘:CAPITAL/1000000,linethick0,colorff9933;
益:FINANCE(33),linethick0,colorff9933;
资:FINANCE(34),linethick0,colorff9933;
换手率:=VOL/CAPITAL;
长阳:=(WINNER(C)-WINNER(O))>=0.15 and 换手率<=0.04;
缩量长阳:IF(长阳,(WINNER(C)-WINNER(O))*100,0),stick,Color6EA4FF;
VAR1:=(C-ref(c,1))/ref(c,1);
VAR2:=(INDEXC-ref(INDEXC,1))/ref(INDEXC,1);
个股:=ema(SUM(VAR1,20),5);
大盘:=ema(SUM(VAR2,20),5);
领涨:=(个股-大盘)>=0;
Var3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
Var4:=SMA(Var3,72,1);
Var5:=SMA(Var4,34,1);
中线趋势:=3*Var4-2*Var5;
中线趋势升:=(中线趋势-ref(中线趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
PARTLINE(均五升 AND 均十升 AND 中线趋势升,0),colorcyan,linethick3;
领涨大盘:IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),colorff99ff;
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,n);
VAR8:=HHV(H,n);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,linethick0,colorred;
金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3),coloryellow,linethick0;
PARTLINE(攀登>金山 AND 攀登>=ref(攀登,1),攀登),COLORRED,linethick2;
PARTLINE(攀登>金山 AND 攀登<ref(攀登,1),攀登),COLORwhite,linethick2;
PARTLINE(攀登>=金山,金山),COLORyellow,linethick2;
PARTLINE(攀登<金山,金山),COLORcyan,linethick1;
FILLRGN(领涨大盘=4,攀登,金山),colorff99ff;
强弱界:0,colorcyan;
DRAWICON(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升,金山,10);
运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<0,1,0);
起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,8,0),colorcyan,linethick1;
DRAWTEXT(起攀=8,金山,'←起攀'),colorwhite;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
准备:STICKLINE(乖离<-6 AND 乖离>=-12,-6,0,6,1 ),COLOR33ffcc;
抄底一:IF(乖离<-12 AND 乖离>=-18,-12,0),COLOR33cccc,stick;
STICKLINE(乖离<-12 AND 乖离>=-18,-12,0,6,0) ,COLOR33cccc;
抄底二:IF(乖离<-18,-18,0),COLOR3399cc,stick;
STICKLINE(乖离<-18,-18,0,6 ,0) ,COLOR3399cc;
必抄底:IF(起攀=8 AND COUNT(乖离<-12,10)>=1,10,0),linethick0,colorred;
DRAWTEXT(必抄底=10,10,'←必抄底'),colorred;
STICKLINE(必抄底=10,10,0,10,1),colorred;
|
|