同花顺无忧波段指标公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
//均5:MA(CLOSE,5), colorred,LINETHICK1;
//均10:MA(CLOSE,10), colorgreen,LINETHICK1;
//均20: MA(CLOSE,20), colorcyan,LINETHICK1;
//均30: MA(CLOSE, 30), coloryellow,POINTDOT,LINETHICK2;
//均60: MA(CLOSE, 60), colorblue ;
//上轨:=均30 + 2*STD(CLOSE,30), coloryellow, POINTDOT, LINETHICK2 ;
//下轨:=均30 - 2*STD(CLOSE,30), coloryellow ,POINTDOT ,LINETHICK2;
//DRAWICON(CROSS(均5,均10),均5*0.98,1);
//DRAWICON(CROSS(均10,均5),均10*1.02,2);
N:=13;
L0:=0.02;
L5:=ABS(L-REF(L,N))&-lt;=L0
OR ABS(C-REF(L,N))&-lt;=L0
OR ABS(O-REF(L,N))&-lt;=L0
OR ABS(L-REF(O,N))&-lt;=L0
OR ABS(C-REF(O,N))&-lt;=L0
OR ABS(O-REF(O,N))&-lt;=L0
OR ABS(L-REF(C,N))&-lt;=L0
OR ABS(C-REF(C,N))&-lt;=L0
OR ABS(O-REF(C,N))&-lt;=L0
OR ABS(L-REF(H,N))&-lt;=L0
OR ABS(C-REF(H,N))&-lt;=L0
OR ABS(O-REF(H,N))&-lt;=L0;
精准线首次:= L5;
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)&-lt;=L0;
STICKLINE(精准左,L,L,190,-1),COLOR0099FF,LINETHICK3;
DRAWLINE(精准左,L,精准右,LTS,0),COLOR0099FF,LINETHICK3;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,7);
B:=REF(A,1);
STICKLINE(A&-gt;B,A,B,4,0),colormagenta,LINETHICK6 ;
STICKLINE(A&-lt;B,A,B,4,0),colorblue,LINETHICK6 ;
M1:=EMA(CLOSE,3);
M2:=EMA(CLOSE,8);
M3:=EMA(M2,13);
M4:=EMA(M2,55);
VAR1:=EMA(M3,55);
M5:=EMA(M4,81), colorred,LINETHICK2;
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;
VAR6:=CROSS(79,VAR5);
VAR7:=FILTER(VAR6,4);
//A7:=(2*C+H+L)/4;
//VAR10:=LLV(LOW,34);
//VAR11:=HHV(HIGH,34);
//SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
//SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
//DRAWTEXT(IF(COUNT(CLOSE&-lt;REF(CLOSE,1),8)/8&-gt;6/10 AND VOL&-gt;=1.5*MA(VOL,5) AND
//COUNT(SK&-gt;=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进') ,colorred;
//DRAWTEXT(IF(COUNT(CLOSE&-lt;REF(CLOSE,1),13)/13&-gt;6/10 AND
//COUNT(SK&-gt;SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE&-gt;=OPEN,4) AND
//REF(CLOSE&-gt;OPEN,3) AND REF(CLOSE&-gt;OPEN,2) AND REF(OPEN&-gt;CLOSE,1) AND
//OPEN&-gt;REF(CLOSE,1),1,0),LOW,'●买进'), colorred;
//D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
//DRAWTEXT(IF(CLOSE&-lt;D AND VOL/240&-gt;MA(VOL,5)/240 AND CLOSE&-gt;REF(CLOSE,1)*1.08
//AND CLOSE&-lt;MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'),colorred;
//以下是文字提示
回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);
经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D;
MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));
MAHL2:=IFF(EMA(C,2)&-gt;回归斜率线A AND MAHL1&-gt;0,EMA(C,3),LLV(EMA((H+L)/2,5),30));
MAHL3:=IFF(EMA(C,2)&-gt;回归斜率线A AND MAHL1&-gt;0,LLV(EMA((H+L)/2,5),30),EMA(C,5));
上线:=SMA(C,6.5,1);
一号支撑线:=SMA(C,14.5,1);
上线1:=SMA(C,3,1);
一号支撑线1:=SMA(C,8,1);
上线2:=SMA(C,3.5,1);
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;
UPR:=BBI+3*STD(BBI,13);
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,55);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A7:=(2*C+H+L)/4;
操作:=MA(A7,5);
操作1:=MA(A7,5)*1.03;
操作2:=MA(A7,5)*0.97;
VAR1:=LLV(A7,21);
VAR2:=HHV(A7,30);
YCX:=IFF(操作&-gt;=REF(操作,1),1,0);
H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);
L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
M1:=1000*操作/一号支撑线&-lt;=1015 AND 1000*操作/一号支撑线&-gt;=975;
M2:=1000*一号支撑线1/一号支撑线&-lt;=1020 AND 一号支撑线1/一号支撑线&-gt;=980;
M3:=1000*上线/一号支撑线&-lt;=1015 AND 上线/一号支撑线&-gt;=985;
D:=MA(CLOSE,89)-MA(CLOSE,10)/3;
RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
K:=SMA(RSV,3,1);
D1:=SMA(K,3,1);
J:=3*K-2*D1;
VAR3:=(2*CLOSE+HIGH+LOW)/3;
VAR4:=EMA(EMA(EMA(VAR3,4),4),4);
E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;
F:=MA(E,3)+0.03;
G:=MA(E,1);
zhusheng1:=IF(CLOSE&-gt;OPEN AND H1&-lt;C AND O&-lt;L1 AND YCX AND CROSS(上线1,操作) AND LOW&-gt;VAR1 AND 上线1&-gt;一号支撑线 AND J&-lt;90,LOW *0.9,'' ),colorred;
zhusheng2:=IF(CLOSE&-gt;OPEN AND 上线&-gt;一号支撑线1 AND 一号支撑线1&-gt;一号支撑线 AND CLOSE&-gt;MA(CLOSE,一号支撑线) AND 操作&-gt;=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW&-gt;VAR1 AND J&-lt;90,LOW *0.9,'' ),colorred;
quancang:=IF(CROSS(上线1,一号支撑线1) AND 上线1&-gt;操作 ,LOW *0.98,'' );
DRAWTEXT(zhusheng1 OR zhusheng2 AND quancang,H*1.07,'主升浪' ),coloryellow;//鼎盛:主升+全仓
买:=CROSS(G,F);
见底:=IF(CROSS(上线1,操作) AND 上线1&-lt;一号支撑线 AND 上线1&-lt;一号支撑线1 AND 上线1&-lt;上线 AND CLOSE&-gt;VAR1,LOW *1.98,''),colorred;
DRAWTEXT(买 AND 见底,LOW *0.90,'底部' ),coloryellow;//鼎盛:见底+钱袋
A1:=DATE &-lt;= 13181231;
工作线:=(EMA(C,14)) * A1;
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05&-gt;30 AND AA05&-gt;REF(AA05,1), AA05,DRAWNULL);
AA10:=MA(C,10), LINETHICK0;
AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
IF(BB05&-lt;0 AND AA05&-lt;REF(AA05,1), AA05,DRAWNULL);
AA30:=MA(C,30), LINETHICK0;
三拾日乖离率:=(C-AA30)/AA30*100,NODRAW;
VAR1:=(AA20-AA30)&-gt;REF((AA20-AA30),1) AND AA20&-gt;REF(AA20,1) AND AA30&-gt;REF(AA30,1);
VAR2:=(AA30-AA20)&-lt;REF((AA30-AA20),1) AND AA20&-lt;REF(AA20,1) AND AA30&-lt;REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30&-gt;30 AND BB10&-gt;45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)&-gt;=1 AND AA05&-gt;REF(AA05,1) AND 三拾日乖离率&-gt;REF(三拾日乖离率,1) AND AA10&-gt;REF(AA10,1)
AND 加速度5&-gt;REF(加速度5,1) AND 速度5&-gt;REF(速度5,1) ,10) ;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)&-gt;=1 AND (C&-gt;AA30 OR O&-gt;AA30) AND AA05&-lt;REF(AA05,1) AND 三拾日乖离率&-lt;REF(三拾日乖离率,1) AND AA10&-lt;REF(AA10,1),10);
DRAWTEXT(加仓 ,H*1.05,'加仓'),coloryellow;//加仓
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率&-lt;REF(三拾日乖离率,1) AND AA10&-gt;REF(AA10,1) ;
减仓:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖离率,0),3)&-gt;=1 AND 三拾日乖离率&-gt;REF(三拾日乖离率,1) AND AA05&-gt;REF(AA05,1) AND (C/REF(C,1)-1)*100&-gt;5 AND REF(C,1)&-lt;AA30;
DRAWTEXT(减仓,H*1.03,'减仓'),colorcyan;//减仓
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR5:=CROSS(CCI,-100);
VAR6:=CCI&-gt;=200;
DRAWTEXT(VAR6,H*1.01,'注意'),coloryellow;//注意
SJ:=VAR5;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH*1.09,'清仓'),colorgreen;//清仓
选股票看什么指标最好 >股票指标网