【通达信免费源码】宝岛精英指标 主图 波段 短线 买卖点
搜牛趋势:=HHV(MA((LOW+HIGH+CLOSE)/3,3),1);
VAR1:=HHV(MA((LOW+HIGH+CLOSE)/3,5),2);
VAR2:=EMA((HIGH+LOW+CLOSE)/3(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))20/10+(LOW+HIGH+CLOSE)/3,1);
UPR:=VAR1+8/10*STD(LOW,19);
DWN:=VAR1-8/10*STD(LOW,19);
VAR3:=(3VAR2-2SMA(VAR2,5,1))*0.3;
VAR4:=IF(VAR3>VAR1,DWN,IF(VAR3<VAR1,DWN,UPR));
UPP:=VAR4+11/10*STD(LOW,21);
VAR5:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*(-100);
VAR6:=EMA(VAR5/10+EMA(CLOSE,5),1);
中轨线:IF(VAR6<VAR4,VAR4,IF(VAR6>HHV((LOW+HIGH+CLOSE)/3,1),UPP,VAR6)),LINETHICK1,COLORFFDD00;
搜牛中轨:=LLV(MA((LOW+HIGH+CLOSE)/3,3),10);
STICKLINE(中轨线>搜牛趋势,中轨线,搜牛趋势,3,0),LINETHICK2,COLOR99FF44;
A:=(3*C+L+O+H)/6;
X1:=(20A+19REF(A,1)+18REF(A,2)+17REF(A,3)+16REF(A,4)+15REF(A,5)+
14REF(A,6)+13REF(A,7)+12REF(A,8)+11REF(A,9)+10REF(A,10)+9REF(A,11)+8*REF(A,12)
+7REF(A,13)+6REF(A,14)+5REF(A,15)+4REF(A,16)+3REF(A,17)+2REF(A,18)+
REF(A,20))/210;
回调认同:=EMA(X1,13),COLORFF00FF;
快线:=EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK2,COLOR0000FF;
慢线:=EMA(REF(快线,1),3),LINETHICK2,COLOR00FFFF;
趋势:=EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK2,COLORFF00FF;
神奇买卖线:=MA(C,19),,LINETHICK2;
A1:= 3SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1)-2SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1);
A2:= (EMA(A1,5)-REF(EMA(A1,5),1))/REF(EMA(A1,5),1)*100;
A3:= (C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
趋势线:= MA(3SMA(A3,6,1)-2SMA(SMA(A3,5,1),5,1),2);
VAR8:= LLV(L,5)=LLV(L,45) AND C>=O*1.04;
VAR9:= C>(REF(H,1)+REF(L,1))/2;
VAR10:= VAR8 AND VAR9;
VAR14:= LLV(L,1)=LLV(L,35) AND C>=O*1.04;
VAR17:= ((C-MA(C,6))/MA(C,6)100+(C-MA(C,24))/MA(C,24)100+(C-MA(C,32))/MA(C,32)*100)/3;
VAR27:= MA(HHV(HIGH,485),17);
VAR28:= MA(HHV(HIGH,222),17);
VAR29:= MA(HHV(HIGH,96),17);
VAR30:= MA(LLV(LOW,485),17);
VAR31:= MA(LLV(LOW,222),17);
VAR32:= MA(LLV(LOW,96),17);
VAR33:= MA((VAR300.96+VAR310.96+VAR320.96+VAR270.558+VAR280.558+VAR290.558)/6,17);
VAR34:= MA((VAR301.25+VAR311.23+VAR321.2+VAR270.55+VAR280.55+VAR290.65)/6,17);
VAR35:= MA((VAR301.3+VAR311.3+VAR321.3+VAR270.68+VAR280.68+VAR290.68)/6,17);
VAR36:= LLV(LOW,30);
VAR37:= MA((VAR333+VAR342+VAR35)/6*1.738,17);
VAR38:= VAR37;
VAR39:= LOW;
VAR40:= REF(LOW,1);
VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),3,1)*100;
VAR42:= MA(IF(CLOSE1.35<=VAR38,VAR4110,VAR41/10),3);
VAR43:= HHV(VAR42,30);
VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR75:= SMA(VAR73,3,1);
绝佳买点:= MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0),3);
跑:= FILTER(REF(EMA(A1,5),1)>90 AND A2<0 ,7);
买线:= EMA(CLOSE,2);
卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
龙:= VAR10;
AA1:= AMOUNT/VOL;
BB1:= LOW<AA1*0.9;
CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
DD1:= LOW<MA(CLOSE,5)*0.921;
EE1:= VOL<MA(VOL,5)*1.5;
FF1:= BB1 AND CC1 AND DD1 AND EE1;
二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:= SMA(RSV,3,1);
D:= SMA(K,3,1);
J:= 3K-2D;
X:= LLV(J,2)=LLV(J,8);
长期底部:= LLV(HIGH,30);
上:= SMA(LOW,5,2)*0.96;
短期底部:= LLV(HIGH,30)*0.93;
LC:= REF(CLOSE,1);
RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
大顶:= FILTER(VAR17>20 AND FILTER(VAR17<REF(VAR17,1),5),5);
VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;
短底2:= EMA(VAR76,5);
支撑:= HHV(短底2,60);
VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR78:= SMA(VAR77,5,1);
VAR79:= SMA(VAR78,8,1);
VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;
VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;
VAR82:= IF(CLOSE>1000,VAR80,VAR81);
VAR93:= 100-3SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))100,20,1)+2SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))100,20,1),15,1);
VAR94:= 100-3SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))100,20,1)+2SMA(SMA((O-LLV(L,75))/(HHV(H,75)-LLV(L,75))100,20,1),15,1);
VAR95:= VAR93<REF(VAR94,1) AND V>REF(V,1) AND C>REF(C,1);
大资金入场:=VAR95 AND COUNT(VAR95,30)=1;
DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLORYELLOW;
DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLORYELLOW;
逃:= FILTER(HIGH>支撑 AND CLOSE<支撑 AND CLOSE/OPEN>0-1.06 AND CLOSE<OPEN,5);
选逃:= FILTER(VAR82>0 OR 逃 OR CROSS(84,RSI) OR 大顶,3);
卖:= CROSS(卖线,买线);
散户:= SMA(VAR75,3,1);
新庄:= SMA(散户,3,1);
买:= CROSS(买线,卖线);
大黑马:= CROSS(趋势线,0) AND EMA(A1,5)<40;
大买:= FILTER(绝佳买点>30000,5);
买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3;
买2:= FILTER(FF1,3);
买3:= VAR14;
选底:= FILTER(LOW<=上 AND HIGH>=短期底部 AND CLOSE>=长期底部 AND CLOSE/OPEN>1.03,3);
选买:= FILTER(买2 OR 选底,3) AND COUNT(买1+买3+龙,3)>0 ;
STICKLINE(选买,C,HHV(H,10)*0.94,0.3,0),COLORFB2DFB;
DRAWTEXT(选买,HHV(HIGH,10)*1,'稳赚 '),COLORFB2DFB;
DRAWTEXT(选买,HHV(HIGH,10)*0.97,'10%'),COLORFB2DFB;
DRAWTEXT(买,L,'买'),COLOR0000FF;
DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;
DRAWTEXT(大买,L*0.98,'大买'),COLOR0000FF;
DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;
DRAWTEXT(卖,H,'卖'),COLOR00FFFF;
DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;
DRAWTEXT(跑,H*1.02,'跑'),COLOR00FFFF;
DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!