同花順薛斯通道及突破量系統(tǒng)主圖指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫(huà)線方法: 主圖
- 日期:2023-02-07 來(lái)源:互聯(lián)網(wǎng)
同花順薛斯通道及突破量系統(tǒng)主圖指標(biāo)公式:
N:=5;M:=3;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AA*N/100,LINETHICK2;
通道2:AA*(200-N)/100,LINETHICK2;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,LINETHICK2;
通道4:(1-M/100)*DD,LINETHICK2;
二分位:(H+L)/2 ,LINETHICK2,colorgreen,POINTDOT;
VAR1:=MA(CLOSE,3);
FF:=VAR1>REF(VAR1,1);
PARTLINE(Var1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
X:=REF(J,1)<10 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
STICKLINE(X,L ,L,20,0),COLOR008888;
STICKLINE(X,L ,H,0,0),COLORFF00FF;
STICKLINE(X,C ,O,5,0),COLORFF00FF;
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);
DRAWTEXT(CROSS(BIAS,乖離) AND 乖離<-9,C,'---------BIAS底買'),colorgreen;
DRAWTEXT(CROSS(BIAS,乖離) AND 乖離>3,C,'---------BIAS頂'),colorblue;
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < REF(CLOSE, 7))));
bb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF(CLOSE, 3) <= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) > REF(CLOSE, 6), 1,REF(CLOSE, 6) > REF(CLOSE, 7))));
DRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;
DRAWTEXT(bb AND CLOSE<REF(CLOSE,2),HIGH,'三平頂'),color00ff00;
S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
Sppp:=-(S上-S下)/REF(C,1)*100;
Sptem1:=(MIN(O,C)-L)/(H-L)*100;
Sptem2:=(H-MAX(O,C))/(H-L)*100;
SPTEM3:=(C-O)/(H-L)*100;
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;
SKJ2:=(SPTEM3<=49 AND SPTEM3>20 AND SPTEM1>SPTEM2);
SKJ3:=(SPTEM3<=20 AND sptem3>-20 AND sptem1>1.2*sptem2);
SKJ4:=(SPTEM3<-20 AND SPTEM3>-40 AND SPTEM1>2*SPTEM2);
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );
短買:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4),5*skj),colorred;
DRAWTEXT(短買,L,'短買'),colorwhite;
x1:=(C+L+H)/3;
bb13:=ATAN(EMA(x1,13)-REF(EMA(x1,13),1))*3.1416*10;
ema8:=EMA(C,8);
DRAWTEXT(FILTER(bb13>1 AND EMA(x1,13)>REF(EMA(x1,8),1),10),
ema8,'∠45'),colorwhite;
STICKLINE(C>=COST(50)AND C<=COST(58)AND C>O,O,C,5,0),colorred;
STICKLINE(C>=COST(97)AND C<=COST(100)AND C>O,O,C,5,0),colorwhite;
DRAWTEXT(C>=COST(97)AND C<=COST(100) AND C>O,C,'-->97%'),colorred;
DRAWTEXT(C>=COST(50)AND C<=COST(58) AND C>O,C,'--50%'),coloryellow;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
買入線:=IF(CROSS(K,15),100,0);
DRAWTEXT(買入線,L,'←kd底'),colorff00ff;
買出線:=IF(CROSS(K,80),100,0);
DRAWTEXT(買出線,H,'←KD頂'), colorwhite ;
LC := REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
買入線:=IF(CROSS(RSI1,20),100,0);
DRAWTEXT(買入線,L,'←RSI底'), colorred ;
買出線:=IF(CROSS(RSI1,80),100,0);
DRAWTEXT(買出線,H,'←RSI頂'),colorcyan;
wr:="W&R"(14);
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉買點(diǎn)
DRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉賣點(diǎn)
DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉買'),ALIGN0,colorred;//威廉買點(diǎn)
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉賣'),ALIGN2,colorgreen;//威廉賣點(diǎn)
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
買入線:=IF(CROSS(CCI,-160),100,0);
DRAWTEXT(買入線,L,'←CCI底'),COLOR0099FF ;
買出線:=IF(CROSS(CCI,200),100,0);
DRAWTEXT(買出線,H,'←CCI頂'),coloryellow ;
Var3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
Var4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
Var5:=Var3 AND Var4;
DRAWTEXT(Var5,LOW,'★ '),coloryellow , ;
極品底:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,50,0),colorwhite;
DRAWTEXT(極品底=50,LOW,'★ ');
DRAWTEXT(V>=REF(V*1.88,1) AND C>O AND C>REF(C,1),O,'←---突量-------------------------------------------------------------------------------------'),coloryellow;
DRAWTEXT(V>=REF(V*1.88,1) AND C<O AND C<REF(C,1),O,'←---跌量-------------------------------------------------------------------------------------'),colorblue;
DRAWTEXT(LLV(VOL,13)=VOL AND C>=REF(C,1),O,'縮量'),coloryellow;
AA0:=SUMBARS(VOL,CAPITAL);
DRAWTEXT(IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL<MA(VOL,AA0)/3),L,'地量'),colormagenta;
同花順薛斯通道及突破量系統(tǒng)主圖指標(biāo)公式實(shí)例圖解:
同花順薛斯通道及突破量系統(tǒng)主圖指標(biāo)公式
- ·通達(dá)信突破追漲主圖指標(biāo)公式
- ·通達(dá)信突破上軌并次日站穩(wěn)選股指標(biāo)公式
- ·通達(dá)信密集成本突破指標(biāo)公式
- ·通達(dá)信漲停突破薛絲主圖+選股指標(biāo)公式
- ·通達(dá)信牛市突破主圖指標(biāo)公式
- ·通達(dá)信突破薛絲選股指標(biāo)公式
- ·通達(dá)信30日均線突破變平買入主圖指標(biāo)公式
- ·通達(dá)信RSI壓力突破指標(biāo)公式
- ·通達(dá)信個(gè)股突破買賣指標(biāo)公式
- ·通達(dá)信籌碼突破主圖指標(biāo)公式
- ·通達(dá)信RSI突破指標(biāo)公式
- ·同花順平臺(tái)突破選股指標(biāo)公式