通達信分時短線寶典指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2019-05-21 來源:互聯(lián)網(wǎng)
通達信分時短線寶典指標公式:含有未來函數(shù)
VAR1:=(CLOSE-LLV(LOW,56))/(HHV(HIGH,56)-LLV(LOW,56))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
股價波段線: VAR3,COLORRED;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,3,'抄底'),LINETHICK3 ;
STICKLINE(FILTER(VAR6,10)=1,5,30,40,0),COLORGREEN ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>70;
STICKLINE(FILTER(VAR7,5)=1,80,95,40,0),COLORYELLOW ;
DRAWTEXT(FILTER(VAR7,5)=1,100,'逃頂'),LINETHICK3 ,COLORYELLOW;
95 ;
0,COLORYELLOW;
在D前8后加點:0,COLORRED;
出現(xiàn)逃頂要注意: 0;
出現(xiàn)抄底供參考:0;
{STICKLINE(C>0,80,80,50,0),COLORFF9900;}
百萬指標改編:=STICKLINE(C>0,20,20,50,0),COLORCCFF99;
VAR5:SMA(VAR4,3,1),COLORCYAN;
【陽】:SMA(VAR5,3,1),LINETHICK2,COLOR0000FF;
K2:=BACKSET(【陽】<REF(【陽】,1),2);
IF(K2,【陽】,DRAWNULL),COLOR00A600,LINETHICK2;
IF(【陽】>REF(【陽】,1),【陽】,DRAWNULL),COLOR00FFFF,LINETHICK4,POINTDOT;
Y1:=SMA(【陽】,3,1);
【陰】:SMA(VAR6,3,1),LINETHICK2,COLOR00FFFF;
Y2:=SMA(【陰】,3,1);
VAR8:=SMA(MAX(VAR3-VAR7,0),13,1)/SMA(ABS(VAR3-VAR7),13,1)*100;
VARB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
VARC:=MA(C,3)*100/MA(C,10)-100;
VARD:=C*100/MA(C,10)-100;
VARE:=IF(VARB>10,10,VARB);
VARF:=IF(VARE<-10,-10,VARE);
VAR10:=IF(VARC>10,10,VARC);
VAR11:=IF(VAR10<-10,-10,VAR10);
VAR12:=REF(VARB,1);
VAR13:=100*(VAR3-REF(VAR3,1))/REF(VAR3,1);
VAR14:=INDEXC;
VAR15:=REF(VAR14,1);
VAR16:=100*(VAR14-VAR15)/VAR14;
VAR17:=MA(VAR13,3);
VAR18:=MA(VAR16,3);
VAR19:=(3*C+VAR1+O+H)/6;
VAR1A:=(20*VAR19+19*REF(VAR19,1)+18*REF(VAR19,2)+17*REF(VAR19,3)+16*REF(VAR19,4)+15*REF(VAR19,5)+14*REF(VAR19,6)+13*REF(VAR19,7)+12*REF(VAR19,8)+11*REF(VAR19,9)+10*REF(VAR19,10)+9*REF(VAR19,11)+8*REF(VAR19,12)+7*REF(VAR19,13)+6*REF(VAR19,14)+5*REF(VAR19,15)+4*REF(VAR19,16)+3*REF(VAR19,17)+2*REF(VAR19,18)+REF(VAR19,20))/210;
VAR1B:=MA(VAR1A,12);
VAR1C:=EMA(VAR1A,5);
VAR1D:=ABS(VAR1A-VAR1B);
VAR1E:=REF(VAR3,1)*0.015;
VAR1F:=REF(INDEXC,1);
VAR26:=MA(C,26);
VAR27:=VAR26+2*STD(VAR3,26);
VAR28:=VAR26-2*STD(VAR3,26);
VAR29:=VAR26+2*STD(REF(VAR3,1),26);
VAR2A:=VAR26-2*STD(REF(VAR3,1),26);
D1:=EMA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5);
D2:=REF(D1,1);
{STICKLINE(D1>=REF(D1,1),D1,D2,2.5,0),COLOR00AAFF;}
{STICKLINE(D1>=REF(D1,1),D1,D2,1.5,0),COLOR99AAFF;
STICKLINE(D1>=REF(D1,1),D1,D2,1,0),COLOR99DD00;}
【強弱】:SMA(MAX(VAR3-VAR7,0),5,1)/SMA(ABS(VAR3-VAR7),5,1)*100,COLORFF22FF;
短吃:DRAWTEXT(ISLASTBAR=1 AND CROSS(【強弱】,Y2),80,'短期吃貨!'),COLORFFFFCC;
短出:DRAWTEXT(ISLASTBAR=1 AND CROSS(Y1,【強弱】),80,'短期出貨!'),COLOR00FF00;
強:DRAWTEXT(ISLASTBAR=1 AND VAR17>VAR18,60,'個股強于大盤!'),COLORFF66FF;
大盤:DRAWTEXT(ISLASTBAR=1 AND VAR12>VARF,50,'大盤處在下降通道'),COLORCCFF99;
弱:DRAWTEXT(ISLASTBAR=1 AND VAR18>=VAR17,60,'個股弱于大盤!'),COLORFFFF00;
待漲:DRAWTEXT(ISLASTBAR=1 AND VAR1A>VAR1B AND VAR1D>VAR1E AND NOT(CROSS(75,VAR8)),40,' 持股待漲!'),COLOR6699FF;
減持:DRAWTEXT(ISLASTBAR=1 AND VAR1A<VAR1E AND NOT(CROSS(【強弱】,20)),40,'下調(diào)減持!'),COLORFF9900;
盤整:DRAWTEXT(ISLASTBAR=1 AND VAR1D<=VAR1E,40,'盤整階段!'),COLORFF9900;
井噴:DRAWTEXT(ISLASTBAR=1 AND (INDEXC-VAR1F)/VAR1F>0.035,90,'出現(xiàn)井噴行情!'),COLORFF00FF;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:MA(MM,3),COLORRED,LINETHICK1;
買入信號:EMA(MN,2);
抄底653:IF(MN<-6,-10,-15),COLORGREEN;
DRAWTEXT(CROSS(MN,買入信號) AND COUNT(買入信號<-6,2)>1,-10,'」'),COLORRED,LINETHICK3;
STICKLINE((MN<-9),0,-15,2,0 ),COLORCC0033;
STICKLINE((MN<-9),0,-11,2,0 ),COLORFF9966;
底部預警信號:
STICKLINE( (MN<-9),0,-6,2,0) ,COLORFFCC66;
STICKLINE( (MN<-9),0,-2,2,0 ),COLORFFFF66;
XY1272:
STICKLINE((MN<-12),10 ,-15,2 ,0) ,COLOR0066FF;
STICKLINE((MN<-12),10 ,-5,2 ,0 ),COLOR0099FF;
STICKLINE((MN<-12),10 ,0,2 ,0 ),COLOR00CCFF;
STICKLINE((MN<-12),10 ,3,2 ,0),COLOR00FFFF;
通達信分時短線寶典指標公式實例圖解:
通達信分時短線寶典指標公式