通達(dá)信神奇波段線峰頂波谷指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫(huà)線方法: 副圖
- 日期:2019-07-12 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信神奇波段線峰頂波谷指標(biāo)公式:
趨勢(shì):SMA(((CLOSE- LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORYELLOW;
DRAWBAND(趨勢(shì),RGB(155,50,50),50,RGB(0,100,50));
{STICKLINE(趨勢(shì)>50,趨勢(shì),50,6,0),COLORFF00FF;
STICKLINE(趨勢(shì)<50,趨勢(shì),50,6,0),COLORGREEN;}
轉(zhuǎn)強(qiáng):IF(趨勢(shì)>50,趨勢(shì),DRAWNULL),COLOR0000FF;
轉(zhuǎn)弱:IF(趨勢(shì)<50,趨勢(shì),DRAWNULL),COLORGREEN;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
轉(zhuǎn)點(diǎn):=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
STICKLINE(轉(zhuǎn)點(diǎn)=1,50,50,2,0),COLORYELLOW;
STICKLINE(轉(zhuǎn)點(diǎn)=0,50,50,2,0),COLORCYAN;
STICKLINE(C,90,90,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
判斷:SMA(趨勢(shì),3,1),COLORYELLOW;
IF(判斷>50 AND 趨勢(shì)>判斷,判斷,DRAWNULL ),COLORYELLOW,LINETHICK2;
IF(判斷<50 AND 趨勢(shì)>判斷,判斷,DRAWNULL),COLORFF00FF;
IF(判斷>50 AND 趨勢(shì)<判斷,判斷,DRAWNULL),COLORGREEN,LINETHICK2;
風(fēng)險(xiǎn)區(qū):80,COLORFF85FF,POINTDOT;
安全區(qū):20,COLORYELLOW,POINTDOT;
頂部:90,COLORFFFF00;
強(qiáng)弱線:50,COLORGREEN,POINTDOT;
DRAWICON(CROSS(趨勢(shì),判斷) AND 趨勢(shì)<80 ,判斷,1);
DRAWICON(CROSS(趨勢(shì),頂部),頂部,2);
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趨勢(shì)1: IF(VAR6>45,VAR6-45,0),COLOR00FFFF;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q>100,100,VAR8Q);
STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;
STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),3,0),COLOR000033;
STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),2,0),COLOR000077;
STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),1.5,0),COLOR0000BB;
STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),1,0),COLOR0000DD;
STICKLINE(REF(趨勢(shì)1,1)> 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),3,0),COLOR003300;
STICKLINE(REF(趨勢(shì)1,1)> 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),2,0),COLOR007700;
STICKLINE(REF(趨勢(shì)1,1)> 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),1,0),COLOR00DD00;
逃頂:=CROSS(82,RSI);
STICKLINE( 逃頂,逃頂,20,3,0),COLORFF5500;
STICKLINE( 逃頂,逃頂,30,2,0),COLORFF8800;
STICKLINE( 逃頂,逃頂,30,1,0),COLORFFAA00;
STICKLINE( 逃頂,逃頂,30,0.5,0),COLORFFCC00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
DRAWICON(BBUY,10,1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),10,2);
DRAWTEXT(CROSS(82,VARR1),35,'減'),COLORYELLOW;
神奇線選股:(CROSS(趨勢(shì),判斷) AND 趨勢(shì)<80),LINETHICK0;
波段選股:(BBUY),LINETHICK0;
通達(dá)信神奇波段線峰頂波谷指標(biāo)公式實(shí)例圖解:
通達(dá)信神奇波段線峰頂波谷指標(biāo)公式
- ·通達(dá)信紅黃樓梯波段買賣主圖指標(biāo)公式
- ·通達(dá)信牛起身進(jìn)入主圖波段買賣指標(biāo)公式
- ·通達(dá)信蘭色飄帶主圖波段買賣指標(biāo)公式
- ·通達(dá)信波段專家1指標(biāo)公式
- ·通達(dá)信波段專家2買賣指標(biāo)公式
- ·通達(dá)信精準(zhǔn)陽(yáng)光波段指標(biāo)公式
- ·通達(dá)信命運(yùn)之神波段買賣指標(biāo)公式
- ·通達(dá)信紅彤彤波段買賣指標(biāo)公式
- ·通達(dá)信波段買入逃頂主圖指標(biāo)公式
- ·通達(dá)信貪心不足波段買賣指標(biāo)公式
- ·通達(dá)信西游記波段買賣指標(biāo)公式
- ·通達(dá)信波段雄鷹頂?shù)踪I賣指標(biāo)公式