大智慧趨勢(shì)壓力與支撐操盤指標(biāo)公式
- 指標(biāo)類別: 大智慧指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫線方法: 主圖
- 日期:2019-04-10 來源:互聯(lián)網(wǎng)
大智慧趨勢(shì)壓力與支撐操盤指標(biāo)公式:含有未來函數(shù)
VARA:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
趨勢(shì)線:EMA(((VARA/10)+EMA(CLOSE,10)),3);
VARB:=(OPEN+HIGH+LOW)/3;
VARC:=EMA(VARB,4);
行情線:=VARC;
BUY11:=IF(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),1,0);
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.98,'▲'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.975,'|'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.975,'||'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.97,'|'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.97,'||'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.965,'|'),COLOR0000FF;
DRAWTEXT(CROSS(行情線,趨勢(shì)線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線>趨勢(shì)線),LOW*0.965,'||'),COLOR0000FF;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.02,'風(fēng)險(xiǎn)'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.025,'|'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.025,'||'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.03,'|'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.03,'||'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.035,'|'),COLOR00FF00;
DRAWTEXT(CROSS(趨勢(shì)線,行情線) OR (REF(行情線,1)=REF(趨勢(shì)線,1) AND 行情線<趨勢(shì)線),HIGH*1.035,'||'),COLOR00FF00;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
FA:=IF(CROSS(FF,MA15),1,0);
TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW));
ATR:=MA(TR,14);
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1=1 AND 行情線>=趨勢(shì)線 AND BUY11=0) OR (B2=1 AND 行情線>=趨勢(shì)線 AND BUY11=0),LOW*0.98,'▲'),COLORFF00FF;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
Y:=EMA(X,13);
加倉A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加倉A,0) OR CROSS(CLOSE,Y)) AND 行情線>=趨勢(shì)線 AND BUY11=0 AND FA=0,3),LOW*0.98,'▲'),COLORFF00FF;
加倉:=(B1=1 AND 行情線>=趨勢(shì)線 AND BUY11=0) OR (B2=1 AND 行情線>=趨勢(shì)線 AND BUY11=0) OR FILTER((CROSS(加倉A,0) OR CROSS(CLOSE,Y)) AND 行情線>=趨勢(shì)線 AND BUY11=0 AND FA=0,3);
{STICKLINE(加倉,C,O,6,1),COLORFF00FF;}
STICKLINE(加倉,OPEN,CLOSE,4.5,0),COLORff0099;
STICKLINE(加倉,OPEN,CLOSE,3,0),COLORff00CC;
STICKLINE(加倉,OPEN,CLOSE,2,0),COLORFF00FF;
VARJ1:=REF(CLOSE,1);
VARJ2:=((SMA(MAX(CLOSE-VARJ1,0),6,1))/(SMA(ABS(CLOSE-VARJ1),6,1)))*(100);
減倉A:=CROSS(85,VARJ2);
DRAWTEXT(減倉A AND 行情線>=趨勢(shì)線,HIGH*1.03,'風(fēng)險(xiǎn)'),coloryellow;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
減倉B:=FILTER(CROSS(84,RSI) OR DY,5);
DRAWTEXT(減倉B AND 行情線>=趨勢(shì)線,H*1.03,'風(fēng)險(xiǎn)'),coloryellow;
減倉:=減倉A OR 減倉B;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:=BBI+3*STD(BBI,10);
中:=BBI;
下:=BBI-3*STD(BBI,10);
優(yōu)選:=BETWEEN(上,OPEN,CLOSE) AND BETWEEN(中,OPEN,CLOSE) AND BETWEEN(下,OPEN,CLOSE) AND CLOSE>OPEN AND 上>=REF(上,1) AND 中>=REF(中,1) AND 下>REF(下,1);
DRAWTEXT(FILTER(優(yōu)選,2),LOW*0.95,''),COLOR00FF00;
DRAWTEXT(FILTER(優(yōu)選,2),LOW*0.95,'●'),COLOR00FF00;
DRAWTEXT(FA AND BUY11=0,(LOW * 0.98),'□'),COLOR0099FF;
底背離:=FA AND BUY11=0;
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A2:=REF(C,BARSLAST(HD));
B2A:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)
頂:IF(T1,A2,A2),COLOR00FF00,POINTDOT,LINETHICK2;
STICKLINE(T1,A2,A2,9,0),COLOR00FF00;
底:IF(T2,B2A,B2A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T2,B2A,B2A,9,0),COLORFF00FF;
Var2:=(C+L+O+H)/4;
多頭線:= (20*Var2+19*REF(Var2,1)+18*REF(Var2,2)+17*REF(Var2,3)+16*REF(Var2,4)+15*REF(Var2,5)+14*REF(Var2,6)+13*REF(Var2,7)+12*REF(Var2,8)+11*REF(Var2,9)+10*REF(Var2,10)+9*REF(Var2,11)+8*REF(Var2,12)+7*REF(Var2,13)+6*REF(Var2,14)+5*REF(Var2,15)+4*REF(Var2,16)+3*REF(Var2,17)+2*REF(Var2,18)+REF(Var2,20))/210;
空頭線:=EMA(多頭線,4);
STICKLINE(多頭線>空頭線,多頭線,空頭線,4,10),coloryellow;
STICKLINE(多頭線<空頭線,多頭線,空頭線,4,10),COLORCCCCCC;
大智慧趨勢(shì)壓力與支撐操盤指標(biāo)公式實(shí)例圖解:
大智慧趨勢(shì)壓力與支撐操盤指標(biāo)公式
- ·通達(dá)信籌碼多空趨勢(shì)指標(biāo)公式
- ·通達(dá)信牛霸天下趨勢(shì)指標(biāo)公式
- ·通達(dá)信主力趨勢(shì)走勢(shì)信號(hào)指標(biāo)公式
- ·通達(dá)信長線趨勢(shì)指標(biāo)公式
- ·通達(dá)信大盤趨勢(shì)指標(biāo)公式
- ·通達(dá)信全天的成交重心主圖趨勢(shì)買賣指標(biāo)公式
- ·通達(dá)信錯(cuò)落有致趨勢(shì)買賣指標(biāo)公式
- ·通達(dá)信漲幅前兆趨勢(shì)指標(biāo)公式
- ·通達(dá)信神龍?jiān)谔熠厔?shì)指標(biāo)公式
- ·通達(dá)信天馬圖趨勢(shì)買賣指標(biāo)公式
- ·通達(dá)信弘歷趨勢(shì)王指標(biāo)公式
- ·通達(dá)信非趨勢(shì)擺動(dòng)指標(biāo)公式